diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index db539c8..f67ffa0 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,17 +1,19 @@ lockVersion: 2.0.0 id: 140336b3-3873-4a19-9c47-b02749d85f10 management: + docChecksum: aa2a8269120179ce815d515bfa2e31e7 docVersion: 1.0.0 - speakeasyVersion: 1.790.2 - generationVersion: 2.918.3 - releaseVersion: 1.0.0 + speakeasyVersion: 1.790.3 + generationVersion: 2.918.4 + releaseVersion: 1.0.1 + configChecksum: b2c94cda68764487add2a106bb936f13 repoURL: https://github.com/TextQLLabs/textql-python-v3.git installationURL: https://github.com/TextQLLabs/textql-python-v3.git published: true persistentEdits: - generation_id: 04243628-82e1-44e6-a697-527e7084bce7 - pristine_commit_hash: 125e7bcb7ff1b29e233f2867a8e8f49279bb466a - pristine_tree_hash: c9d3b8bbc0dbe9a5f2662c46c4cbec0b5b558671 + generation_id: 04a9c838-d90b-43ef-bee9-a43bd353dcc2 + pristine_commit_hash: e659d4bdff0ee5bef053e46ac229c6e873980878 + pristine_tree_hash: 3807974fb57d77aba7a477a1c8dcfd8c0995a373 features: python: additionalDependencies: 1.1.0 @@ -71,6 +73,10 @@ trackedFiles: id: d99ea9900688 last_write_checksum: sha1:84a991a873a26402e5ece990f47ff9e7388467c8 pristine_git_object: a70670af539c588fa4cd96c7cfc5774156645b16 + docs/models/afterseq.md: + id: 3d3bfa58cf6f + last_write_checksum: sha1:2211395d6f4da8600c6e93d8665faf06b84aa952 + pristine_git_object: 6655fe8e4d163f8934b2e2eb50bb296a316ce40b docs/models/agentservicecreateagentrequest.md: id: 1bc0de3b5ad6 last_write_checksum: sha1:05fc465e84163d5710eeab9194731d05fd1a973c @@ -167,6 +173,10 @@ trackedFiles: id: 4151382c81ee last_write_checksum: sha1:89b2bba39a4afb44ab908229e26b84f50193f123 pristine_git_object: e301b29d1d0ba05b24a9178a9780150a8b538ff5 + docs/models/appdb.md: + id: c56a719b2650 + last_write_checksum: sha1:2d81f6bb89c1512e7b858116d9f6f6e40e7d5f4e + pristine_git_object: c35d4d3225348d0e5ab2370f070c358c8015ea19 docs/models/appserviceappheartbeatrequest.md: id: d461b0221a38 last_write_checksum: sha1:8146b80808088adab65564a5d100b4173a150682 @@ -199,6 +209,14 @@ trackedFiles: id: e2553ca8a1cc last_write_checksum: sha1:bad30af10953576d7477d7b46ed28272cede2421 pristine_git_object: cdfd194005ed72e9297cd10c4b6d16f187c4a2eb + docs/models/appservicegetappmemberstaterequest.md: + id: f2a07a94d230 + last_write_checksum: sha1:cbd8dd5285be4e9b0bd0423dbc19436554508763 + pristine_git_object: f6554c7d3d7da2382cf444c507621cd1dd6b2429 + docs/models/appservicegetappmemberstateresponse.md: + id: f9e3aff48d68 + last_write_checksum: sha1:1efc464f1201f05e0962527f60a8a82045d7972a + pristine_git_object: 76c85b4320a9d72ba50fc36e76db7892af3a1487 docs/models/appservicegetapprequest.md: id: d12612208d31 last_write_checksum: sha1:1489123e6e1b890bc9f34e6b03f81fc1a6a0bf1b @@ -239,6 +257,14 @@ trackedFiles: id: f5f2b37f208c last_write_checksum: sha1:31bcf1a7823d012a78cc9f1402ae8f5f74917f20 pristine_git_object: db58ebb4c266137695265808ea940a53fb9e7f64 + docs/models/appservicelistappactivitysincerequest.md: + id: 6bf48b421bd3 + last_write_checksum: sha1:f92c3d9320bcaedbd0d840dbf7091556f2b88a6f + pristine_git_object: 4b7891daa1cf990aedf31fa03cfde898d2650972 + docs/models/appservicelistappactivitysinceresponse.md: + id: ac1f72c28373 + last_write_checksum: sha1:bb194c109c9fac6bceddd83b8604abfa5ca3cfff + pristine_git_object: b868b5949f6b231fec379d9bdfe8d918f2dff7a5 docs/models/appservicelistappsrequest.md: id: d787c9ded80a last_write_checksum: sha1:69cf5401504ae04171f393b750a256ceb40c5b7d @@ -255,6 +281,14 @@ trackedFiles: id: 8b6cd4e1bdcf last_write_checksum: sha1:a334bbb546c39db70398d9ae0101d65b3da74815 pristine_git_object: 02be98902af9d5507df5dea8b9f321abfb049090 + docs/models/appservicelistmyappmemberactivityrequest.md: + id: 85257195b866 + last_write_checksum: sha1:174a2434a62e0fc02ce5cffa7af65b7fcc6d4d8e + pristine_git_object: d8b07a9bbcd1dd5ce3433c81c98dba2df5dd1701 + docs/models/appservicelistmyappmemberactivityresponse.md: + id: 507240b8e2e0 + last_write_checksum: sha1:e03eb62d9dda1013fb28cf713309e8ccdf5df5f6 + pristine_git_object: a3fad8316a83ee89e6b817d36c3e80f704ebd1f8 docs/models/appservicemoveapptofolderrequest.md: id: 941d9d2038c5 last_write_checksum: sha1:f9cb2cbc3674081932620db85e42b2cd99c91908 @@ -263,6 +297,22 @@ trackedFiles: id: 9e5cda53a8cb last_write_checksum: sha1:815fdf2c9911a8d54a1afe0d8106c0c64efb04b1 pristine_git_object: 72628d3ebf97e3d9c69fef5da76924933bd3d861 + docs/models/appservicepresenceheartbeatrequest.md: + id: 3ff4bc1d084d + last_write_checksum: sha1:4b231b5d74bd106028cd63d59d578f659f568ffc + pristine_git_object: 0a85a572cd76676ce781e1e1b824ec5f7a638d94 + docs/models/appservicepresenceheartbeatresponse.md: + id: 208f0da0a792 + last_write_checksum: sha1:aa7bd74a8d6be70f79351a914edb8b1938801c06 + pristine_git_object: 05b6211723711d2efc9f939dfacda966c1feb069 + docs/models/appservicerecordappmemberactivityrequest.md: + id: 1ee616d38c62 + last_write_checksum: sha1:33f078a72c68ad7e3a4d46be5b03345b2b308cba + pristine_git_object: 400f38ccd89dbd3dbaa5c8484bac6dfe30eadce8 + docs/models/appservicerecordappmemberactivityresponse.md: + id: c76e0a41ab2f + last_write_checksum: sha1:cd9d9a8e7450ca8b2afbb399bed32b58c1a620c1 + pristine_git_object: 1a20b109c5f04fad553951dd86bad91ba314e623 docs/models/appservicerefreshapprequest.md: id: 9a65e9ce8969 last_write_checksum: sha1:09dfd388025ceb3d04bc962855e466da520ad612 @@ -279,6 +329,14 @@ trackedFiles: id: f520387f4275 last_write_checksum: sha1:955f6f8058ed51fa7209d1d4e88f3e496a79a8fb pristine_git_object: 421b00c98e742a3bbecf54e5bd9040f0208db5ff + docs/models/appservicesetappmemberstaterequest.md: + id: 995162a0dd60 + last_write_checksum: sha1:d7db8cbad62a381df8aa07c375881093fdede0ae + pristine_git_object: f66db38cd62a0a7f29011e7a5bb258c2bd95b986 + docs/models/appservicesetappmemberstateresponse.md: + id: 7dec2d19b1c5 + last_write_checksum: sha1:554620da37436842a85ec1fedd9ffdfffd5b4394 + pristine_git_object: f9b25e50523c38d150945433241ed3a4b9b7f73d docs/models/appservicesetfavoriterequest.md: id: 752bd170ec7c last_write_checksum: sha1:7afeb3fd1e03d856d84792b48feb5101fbeabce3 @@ -1515,582 +1573,6 @@ trackedFiles: id: 71a6c2903ffd last_write_checksum: sha1:9a5feea42f6502253d460092fefbadef5934d6d2 pristine_git_object: 56c5e76cd21cbe3c9197929d337f5b01d8ce5dd2 - docs/models/libraryserviceaddlibrarysubmodulerequest.md: - id: 4178f3cb95a6 - last_write_checksum: sha1:ad90490255362df46b3071807b8a868f2a0a5c7b - pristine_git_object: 9a88db01c13fa0a68052dfcef98b37049c83e61e - docs/models/libraryserviceaddlibrarysubmoduleresponse.md: - id: 782e9620bb2c - last_write_checksum: sha1:cfc94d563174ebd061ea31f9f9296cb6ab7cbd46 - pristine_git_object: 102bb818e4f7ac9f8f2071be2c66dda205759727 - docs/models/libraryserviceapprovepatchrequest.md: - id: 6eb68d107fc2 - last_write_checksum: sha1:af337a375ec35c42c9e56d2c17e3b4672df75936 - pristine_git_object: 417d339e17969634c0f037e5b6739a0ba28d2d05 - docs/models/libraryserviceapprovepatchresponse.md: - id: 01a5e3b75c12 - last_write_checksum: sha1:a402cd84604a8ffe84f71b82ea923633afd23e53 - pristine_git_object: e0087f4ddf6e06ac03f5eecc55485dec6ecad098 - docs/models/libraryserviceconfigurelibraryremoterequest.md: - id: 6773f3cb7a1d - last_write_checksum: sha1:f04f0c90a87239d4ccd7c9ed3fc0f9058556de44 - pristine_git_object: 83d27111ab4e0f6b9c33f9870f842a72f5c9a7d0 - docs/models/libraryserviceconfigurelibraryremoteresponse.md: - id: 819256f884e3 - last_write_checksum: sha1:d234d9e638de7b9f704f69c11260e22959f4b973 - pristine_git_object: 43a38a59da3078b5a83f6c7d261190859a3533c4 - docs/models/libraryservicecreateapprovalrulerequest.md: - id: c713a868135e - last_write_checksum: sha1:de512f373536c4138b0dbdb902750a8a82650bc5 - pristine_git_object: ddbaadecfd3d1bed7c0dbd16e62c62d9c143334d - docs/models/libraryservicecreateapprovalruleresponse.md: - id: 4875b8367f5b - last_write_checksum: sha1:01d9e69e43f3d21d0d2ae3ecfb4b1b151641d7dd - pristine_git_object: 96f75fa9329063313d8b2ce9460c57e26821b67b - docs/models/libraryservicecreatecontextpatchautoapproverulerequest.md: - id: 1d7c2a06e4be - last_write_checksum: sha1:8363ae92eecd909d3551cb9f2a69af94ada1fe8b - pristine_git_object: 5b5d19b7f9093c2376c9a59e822f9f6f11b84c7e - docs/models/libraryservicecreatecontextpatchautoapproveruleresponse.md: - id: f2259431e65f - last_write_checksum: sha1:d468c2cb65284ac1152184ba7e6934887d65484b - pristine_git_object: f83c2ca7d4611ff42bc79d3d60b74c342ea27d22 - docs/models/libraryservicecreatelibrarydirectoryrequest.md: - id: 1e5548ab145b - last_write_checksum: sha1:3e35055e29a5acc77248fa79fff2fc6eb74eefd6 - pristine_git_object: 4448423d499b6a8e32aac80c21ed505d962a0395 - docs/models/libraryservicecreatelibrarydirectoryresponse.md: - id: e7c47f73273d - last_write_checksum: sha1:736f5923c7777a5bc0e245273e50bc36925ed9c5 - pristine_git_object: 15f3b978822dadeb2cbdb5c2e938d2d0c02cb755 - docs/models/libraryservicecreatelibraryfileuploadurlrequest.md: - id: 211646f9133e - last_write_checksum: sha1:15fabbd5afa3d8f284478cf7bf330820eb478f4a - pristine_git_object: 42898ecc1de337c21d138c2315b50d86427546f8 - docs/models/libraryservicecreatelibraryfileuploadurlresponse.md: - id: ea19ea118125 - last_write_checksum: sha1:f03f835de5ec88d1d11a3a580b872dd4f1770a8c - pristine_git_object: 94b00986d5b833fcdda5d1d7b06edaad04dfe686 - docs/models/libraryservicedeleteapprovalrulerequest.md: - id: 3f20dbae5e64 - last_write_checksum: sha1:60eea3f8b76efd8b2e3abeded9472d42bcd49dae - pristine_git_object: a85864074b3f5a8a5941c3e3f25cba432bee4be0 - docs/models/libraryservicedeleteapprovalruleresponse.md: - id: e2609da83c87 - last_write_checksum: sha1:9091894758741461dbf242f2a69a08d3a0a1f049 - pristine_git_object: c62c14f13f3508d1985b1eaf1abba7401623cd24 - docs/models/libraryservicedeletecontextpatchautoapproverulerequest.md: - id: e6f9208d70bf - last_write_checksum: sha1:76edfeff93bcbb34313998a2157a00bdb950fbfd - pristine_git_object: 3c31a7a171c6c9c605845f5d43ca66978afde4ee - docs/models/libraryservicedeletecontextpatchautoapproveruleresponse.md: - id: 3f87a0f97545 - last_write_checksum: sha1:3306fc5bba71b26a1568dfe78e5ef46bad90dc93 - pristine_git_object: b2cc2c8131bea692ed592ec16a45979c1fd41fbd - docs/models/libraryservicedeletelibrarydirectoryrequest.md: - id: 3bc219003106 - last_write_checksum: sha1:776d4c3a8d3ab9391231b829a32eab6e8938b88c - pristine_git_object: c456822377edeb3093911b73b80f376e7b249bfd - docs/models/libraryservicedeletelibrarydirectoryresponse.md: - id: 980b488d3db7 - last_write_checksum: sha1:6e350cc77296f9324e0fde502441ab25d9733abe - pristine_git_object: f677151350d4e82806bc91f70deb9cca4ed78200 - docs/models/libraryservicedeletelibraryfilerequest.md: - id: ff784efc877d - last_write_checksum: sha1:a036334212de8d1297b3c570a5a5c7d344fd64bd - pristine_git_object: d1fb6f8fe0f6d5d4e25632653535b4c3185e492a - docs/models/libraryservicedeletelibraryfileresponse.md: - id: 5493622fcbef - last_write_checksum: sha1:ade9620b513704dc23d8eb12b122b5aa47d1679a - pristine_git_object: 00bc1ab1a68667c04eaa5a560c261481f265b6c6 - docs/models/libraryservicedeletelibraryownersrequest.md: - id: 3a5319296a0e - last_write_checksum: sha1:6edca24d22121c9eb2846f65727756b2de5ad38c - pristine_git_object: 4b83919d109a98ecc7f7c9af6816cad72146a137 - docs/models/libraryservicedeletelibraryownersresponse.md: - id: 7f74a0d0ffd6 - last_write_checksum: sha1:4001355ff62c1e4307124e7bdd23eb8ab92cda59 - pristine_git_object: d721154ae01bbbb671b9610d1dbdc9f516ef08f7 - docs/models/libraryservicedenypatchrequest.md: - id: 3b3dcb29a7b2 - last_write_checksum: sha1:c85051a4eb5cf46f0a30e92458c6104250311c73 - pristine_git_object: 6d9bf95ae96e3e779b9d1e7e36cad50b31fc2603 - docs/models/libraryservicedenypatchresponse.md: - id: 58f4411cfed4 - last_write_checksum: sha1:33c96bfc3b43a3b0208377ac5452e62b87a0f9de - pristine_git_object: c41f8b83f17bfdc935a4f72f77a1e8c3f6f03986 - docs/models/libraryserviceexchangelibrarygithubcoderequest.md: - id: 9986540e4f4f - last_write_checksum: sha1:a729efb091ad3dfcf7eecfab7bf944a02b6be2d6 - pristine_git_object: 63c076a05e882cf780c01622015f11b191a23c13 - docs/models/libraryserviceexchangelibrarygithubcoderesponse.md: - id: 9936a7caf015 - last_write_checksum: sha1:6c2dff5ac2482bd74f35ce7be450bd918241c37f - pristine_git_object: 12801a81317a48fb1ee72fd69f2dbbc5c0306d70 - docs/models/libraryservicefinalizelibraryfileuploadrequest.md: - id: e4f3943a21c9 - last_write_checksum: sha1:f9af369e004f38be5b067cef7c80792c7a4aa956 - pristine_git_object: f169cdde12b8ef7869ccea280fe78a12043345f4 - docs/models/libraryservicefinalizelibraryfileuploadresponse.md: - id: 4051dead61b2 - last_write_checksum: sha1:8a981a7da2835d482461e900a83f0b123f5638d8 - pristine_git_object: f243533c1e01e1023731ddfa4d09832bd571ce6d - docs/models/libraryservicegetcodeownercoveragerequest.md: - id: b71f5f78b143 - last_write_checksum: sha1:4fb52c8ce7a123dbd8c18a6d74ecc84429cb77be - pristine_git_object: 74a8375fa0e87dff95e949583b4dbd48cfd5715a - docs/models/libraryservicegetcodeownercoverageresponse.md: - id: 4e0252f74bc2 - last_write_checksum: sha1:6d37e116e784bd16aa3e1630f5bd53946838a19f - pristine_git_object: 304ae5f611a05279697127d2f1f3dd72b209c6a9 - docs/models/libraryservicegetconfigexportcapabilitiesrequest.md: - id: cffaad72361c - last_write_checksum: sha1:53802764a47b87f8b91dd84b537abac4bc5ab226 - pristine_git_object: e6b978ddb4a54c7a1a5dbb7c1fa108fd8d19c533 - docs/models/libraryservicegetconfigexportcapabilitiesresponse.md: - id: c8d2d5def886 - last_write_checksum: sha1:7e2892c83a1178137a1856ca2ea29572776e1b30 - pristine_git_object: 6cebb9f969f258edefa19b4ce73664ea64a0264f - docs/models/libraryservicegeteffectivelibraryownersrequest.md: - id: 557031b5e2f4 - last_write_checksum: sha1:906621409416bc1cbaf9e44f0d58acca18218cd4 - pristine_git_object: 632be102b549c5d3c979629095d4820d7b82a9ea - docs/models/libraryservicegeteffectivelibraryownersresponse.md: - id: 15c4edba88b3 - last_write_checksum: sha1:d2911fb3099cb4896c5f110841594da4f5418cd0 - pristine_git_object: 25ffcfe7762f2641746886a29ccbf033a4c6619c - docs/models/libraryservicegetfileusagerequest.md: - id: e1e1f403f6c8 - last_write_checksum: sha1:3a18544cec4ac3a2677cdca6de25854f22165f9c - pristine_git_object: 8a62f7ab5aafd3940d040ac05137285de64ab2df - docs/models/libraryservicegetfileusageresponse.md: - id: 66f590412199 - last_write_checksum: sha1:76be69b01b0aaa8c87e84d49df83b999d16cb8ec - pristine_git_object: 6eb18bb892f4098feff3213cc9ae1cc5c1452113 - docs/models/libraryservicegetfileusagetimelinerequest.md: - id: c8a20ff7fa3a - last_write_checksum: sha1:127fdf9e8e5361ff2bc92feaf30c46ba4f59c5e2 - pristine_git_object: 841fcd5d5b6cfd32702a23b1dad45f6e749d7a7d - docs/models/libraryservicegetfileusagetimelineresponse.md: - id: 43fdde0a5479 - last_write_checksum: sha1:4f13a47d9f8f8aefc54f1d8f22795b2c43497428 - pristine_git_object: 56ca694ed11c8a291aeb8980e699c6d517715769 - docs/models/libraryservicegetlibraryanaconfigrequest.md: - id: cfcba4d76393 - last_write_checksum: sha1:bd522f6879bf5683ed97a892950822bd238e09a6 - pristine_git_object: 4be3365a462314ad4d1bf6d9e37757cab1085501 - docs/models/libraryservicegetlibraryanaconfigresponse.md: - id: 5e1101774676 - last_write_checksum: sha1:706a698d93d73226af060f02d8d983e408b50511 - pristine_git_object: d1674e3a884566401df68c8b9a661cc779139a4a - docs/models/libraryservicegetlibraryfilerequest.md: - id: 61832ede62b1 - last_write_checksum: sha1:814a1ad63c0711928bacb61d8bb3bb0f4a902214 - pristine_git_object: e020868982a7c6e518f67905f38d5e88c723c04e - docs/models/libraryservicegetlibraryfileresponse.md: - id: 7714e8e2c296 - last_write_checksum: sha1:f24b031af0007908af2aa6abb30d916a319d793d - pristine_git_object: cdb8bc0447dfff13e936a3a1c69c5d9ce7d6474e - docs/models/libraryservicegetlibrarygithuboauthurlrequest.md: - id: 6091506bb143 - last_write_checksum: sha1:1ab4e9a79af115b0043731410c5679e458d17b83 - pristine_git_object: 169f94ffae030082f3417f064697a4647c95d5aa - docs/models/libraryservicegetlibrarygithuboauthurlresponse.md: - id: 732307cde0c3 - last_write_checksum: sha1:550cf0756b8a0d62ad668d70425e3cfb2f265e21 - pristine_git_object: 9fca47136c7377b56921508dd4eb7c0dee640733 - docs/models/libraryservicegetlibraryhistoryfilediffrequest.md: - id: a3c61394e044 - last_write_checksum: sha1:f3414073e9782bd7faadefccb96e1a70721fd5ca - pristine_git_object: 5f80587c9515a1046b35a308fafe20f8298d7e6f - docs/models/libraryservicegetlibraryhistoryfilediffresponse.md: - id: a1e82ef2ea68 - last_write_checksum: sha1:e25629699e8ef5e73f5beda49b523a63e05aa43d - pristine_git_object: 86bc796beb138dbf3198ced58a96d4db1799069a - docs/models/libraryservicegetlibrarymigrationstatusrequest.md: - id: 8e64307e6cdd - last_write_checksum: sha1:95cfabd8d0bfec938b5be3ade0f0da14441bae21 - pristine_git_object: 2e2ee8870ee7c52c539708b7f0644d53b80ca1c9 - docs/models/libraryservicegetlibrarymigrationstatusresponse.md: - id: 1d92460d4961 - last_write_checksum: sha1:0e3e8a546ca60f2d3103707808f7e58c79279222 - pristine_git_object: 3d1d8a9aa7d9f4805666deaaa44c98af5c926064 - docs/models/libraryservicegetlibraryownersrequest.md: - id: 55dbcf41129d - last_write_checksum: sha1:96dece81c8408e5eace1c2e94dd3cbb76467f711 - pristine_git_object: 72410f32c6155cb64d13ae777235f8df740f0cdf - docs/models/libraryservicegetlibraryownersresponse.md: - id: 9726da010b34 - last_write_checksum: sha1:55b108e62c2fe502ea3fc6d66e1a13ab549855fc - pristine_git_object: 263e325aac003d360f8f775a70e1457bd0c76ee7 - docs/models/libraryservicegetlibraryremoterequest.md: - id: f5a3bab1543b - last_write_checksum: sha1:ad15d6591d6e2e55dcb75dfe58fcec34140139ba - pristine_git_object: 460e311695327096d05b57cf0adf38a26b364bb6 - docs/models/libraryservicegetlibraryremoteresponse.md: - id: cdb7033cabd9 - last_write_checksum: sha1:c382ae074f371c1221371d3048b4f28f3e78ad40 - pristine_git_object: 4a950e4b54c32d7c22d9bf468b8e7100f496796e - docs/models/libraryservicegetlibrarysizetimelinerequest.md: - id: bc1151f0444e - last_write_checksum: sha1:f781f2fe5a5a33efa11b6684a8539a04578cf492 - pristine_git_object: 0832e3d4bc885d89f046f3cfa6e70be1e39f6c63 - docs/models/libraryservicegetlibrarysizetimelineresponse.md: - id: 076c9a1b9fe4 - last_write_checksum: sha1:b477b91ac7e636ddf19d10df0ed013939f645bf0 - pristine_git_object: f26ab1ae1f18683dd297a70a17491c51ce62459c - docs/models/libraryservicegetlibrarysyncconflictsrequest.md: - id: 7e3e06a5a553 - last_write_checksum: sha1:30af085cd993a83ccef3b1e0ed16ac647bc87e68 - pristine_git_object: 5bc33a3729f946587e8599ceba5dffbea5e0b073 - docs/models/libraryservicegetlibrarysyncconflictsresponse.md: - id: 9e8eb77a7970 - last_write_checksum: sha1:34897a321008d1e9af523b372a79f9d4b7ed2722 - pristine_git_object: 54c6f448578fbc41ae097bc7072e729739b9978b - docs/models/libraryservicegetontologyusagesummaryrequest.md: - id: 954440c50ada - last_write_checksum: sha1:547428863fb76e52233ad5a75ab716e229a89e68 - pristine_git_object: 30e0fb2445e7623bee65582c6b621ee229e5d36b - docs/models/libraryservicegetontologyusagesummaryresponse.md: - id: 25372a71e3a3 - last_write_checksum: sha1:aa78a05f6f460d8eba70383520eda14901e6ac3a - pristine_git_object: 89ba07655fcaa72acbf640587a174ca12fee0e4c - docs/models/libraryservicegetpatchbynumberrequest.md: - id: 8d50723e0929 - last_write_checksum: sha1:ea20b20b013a54323ac6b6837ad61635fa25b318 - pristine_git_object: 1e5368eeab1e9bd1b2c28f4dfdf96915f38006ce - docs/models/libraryservicegetpatchbynumberresponse.md: - id: 6f5d852141da - last_write_checksum: sha1:78e13e060baaf3e67c77627fb8efd19b83ee7e3e - pristine_git_object: 90e82c8b81ed2ae0dc50aee47d468cf652348fac - docs/models/libraryservicegetpatchcapabilitiesrequest.md: - id: a29c5a336dc1 - last_write_checksum: sha1:c3d0108eb984f10e2f363f712d8de5ef48d44a38 - pristine_git_object: d64d525067bd41e738a134ba027008a540946474 - docs/models/libraryservicegetpatchcapabilitiesresponse.md: - id: f7bda03b75d1 - last_write_checksum: sha1:f40c07dc518277ec3445b75ba0be721f2e93bd48 - pristine_git_object: 0f2288f2b01e9f89823274d2602260a56960a4ec - docs/models/libraryservicegetpatchrequest.md: - id: 9e3702356a7b - last_write_checksum: sha1:b2953fbd4b5cc1dfb3e09d61d7945a0e426f97d9 - pristine_git_object: e2155cc3ff56938bdbe78718823ebfebfc2d9f06 - docs/models/libraryservicegetpatchresponse.md: - id: 989468a4c0c5 - last_write_checksum: sha1:d38a567e4e6d8882abb8e889bfe7f8e058621ddf - pristine_git_object: 693ccbba07a2ca18d98279ceb1ce53de33f10d95 - docs/models/libraryservicegetrawpatchrequest.md: - id: 25b4106135cc - last_write_checksum: sha1:fa40c17b023c275b105958879b4ca33e4b0abf1b - pristine_git_object: f2a50fee9e6ed2268ad892ec3197ad0825e7bab6 - docs/models/libraryservicegetrawpatchresponse.md: - id: 9ecdb4d66a53 - last_write_checksum: sha1:adc039b7778a226788fb552b702a87816ee4f66a - pristine_git_object: ea15ba261bc229d1b54b1136f2b779e72e2e8461 - docs/models/libraryservicegetusagedetailsforfilerequest.md: - id: 3f3c896cf968 - last_write_checksum: sha1:5fea7c0d63763f2f94fa411d5fa4d626196d9ce5 - pristine_git_object: 1e66f8b883a82ce53716d1dceb4e2de173a9659b - docs/models/libraryservicegetusagedetailsforfileresponse.md: - id: 5b9a3c8db651 - last_write_checksum: sha1:05caaea6833f243a44c9ae0de7f33324cdb6aadf - pristine_git_object: 2bb86302c4f66f4c534a5e0533b7b08a6341cd3e - docs/models/libraryservicelistapprovalrulesrequest.md: - id: ed843b1f32e1 - last_write_checksum: sha1:8231509f39cdcef9e46e90fc4e5ca1560b7303a8 - pristine_git_object: 9d91342380d0e124960db90e34073b46a9c9a7fd - docs/models/libraryservicelistapprovalrulesresponse.md: - id: 4f69d9ee97c5 - last_write_checksum: sha1:3e83d3553b565a4542ce64ad6c10642bf17c7fd4 - pristine_git_object: f65ef951edcf793cba747df014a9764ef497e1fd - docs/models/libraryservicelistchatsforfilerequest.md: - id: 02512b71d285 - last_write_checksum: sha1:8302de03c6289f81a7c1a8734eae3df21b5ed761 - pristine_git_object: 95ae4eb9c88a981cba2519e1192157fb2e9d768a - docs/models/libraryservicelistchatsforfileresponse.md: - id: 7f74d83c02a7 - last_write_checksum: sha1:47c2676893ee9fcd2056afeb24459bc125c3ca34 - pristine_git_object: a3d02472cd72e80d4edd2207497cc68fa66232fe - docs/models/libraryservicelistcontextpatchautoapproverulesrequest.md: - id: a3c83b36ed98 - last_write_checksum: sha1:c125ab4606dd89d0e04dd96959cdafcfdf749c56 - pristine_git_object: 9ae92a8a4de77996e661a0d7967f2df2883c0ad0 - docs/models/libraryservicelistcontextpatchautoapproverulesresponse.md: - id: b10f6aee59f1 - last_write_checksum: sha1:97b288665e928e03173f65f2aee1ca44f93ef3d3 - pristine_git_object: 814bc51f60956f2529c9e6f96022c2993ed8e3b5 - docs/models/libraryservicelistgoldenfilesrequest.md: - id: db0d639c2d2b - last_write_checksum: sha1:a531d3fbd2fa8832430850bee514533b76dfab22 - pristine_git_object: 7f7311f22dadd57b4c6d2fba6e857948b80d30ae - docs/models/libraryservicelistgoldenfilesresponse.md: - id: 3eaf977ca08d - last_write_checksum: sha1:796fa3ac7d58bb9997a74e83b37c5657ce4b7944 - pristine_git_object: a091356bc001d2df788d4f0df1dd09f5db64f067 - docs/models/libraryservicelistlibraryentriesrequest.md: - id: 397282a80f2b - last_write_checksum: sha1:3f8b8e994c92810415ca13ac0390b0d851e28b29 - pristine_git_object: 49b2a57c7361607fc5f5afb9627d86a350ebb5d4 - docs/models/libraryservicelistlibraryentriesresponse.md: - id: a55c48a4595b - last_write_checksum: sha1:b7193eade87ccc588284ebbee40ba9f464e65e84 - pristine_git_object: 0e64070221ff78ef67b2d68bbab14a4cc41242f9 - docs/models/libraryservicelistlibraryhistoryrequest.md: - id: 83429d15ac87 - last_write_checksum: sha1:27504bfaf72a9cce8972cc0c3b550c8292cb6633 - pristine_git_object: fd39466b3a986e397de5ef2bf987d91744563d48 - docs/models/libraryservicelistlibraryhistoryresponse.md: - id: 66183ed615d6 - last_write_checksum: sha1:284415dd6e8180480ad07653df3a0d69edfd280d - pristine_git_object: 894c3e31dd914f0541dc4f90cfc22265ede45e3e - docs/models/libraryservicelistlibraryimportsrequest.md: - id: ecda28715c6a - last_write_checksum: sha1:53cd7d4ef3f69b782e79da0fa7745fd92f3d29ab - pristine_git_object: 732fd4502470aa1bf4b38f7f40efe52d6a11223b - docs/models/libraryservicelistlibraryimportsresponse.md: - id: 54b3a73e36f4 - last_write_checksum: sha1:c58f76a1a0d23254ba95e0ba00dc7fb89078c4a5 - pristine_git_object: 0642916effd3347137594b9e2eea377b61ae88d4 - docs/models/libraryservicelistlibrarysubmodulesrequest.md: - id: da6a9315466c - last_write_checksum: sha1:eb9bf32e0159077bf3995450ae3a89ca05a583c9 - pristine_git_object: 48de20918cfd3731e627c829af3b7f3faf00685f - docs/models/libraryservicelistlibrarysubmodulesresponse.md: - id: ff1aca5fc822 - last_write_checksum: sha1:45ba54fbbf0b097bc3fdaf4805aaf33bdd70dcaf - pristine_git_object: cb50e1b7f3ed6d7c38c33d6e873969549347d144 - docs/models/libraryservicelistlibrarysyncrunsrequest.md: - id: 8c50b3f1f96f - last_write_checksum: sha1:8b3de70afa71a7190556bcbe1959db3d4ef57e67 - pristine_git_object: cfe79cf2a9d46ed09ce1848508db92dfd41b3e3c - docs/models/libraryservicelistlibrarysyncrunsresponse.md: - id: d08adf5972ff - last_write_checksum: sha1:630264e809721d1b83c131f0ff36532b96a60538 - pristine_git_object: 830311a57925d8ba59d69ef9ad306610cfaab74f - docs/models/libraryservicelistpatchesrequest.md: - id: 7f546d08b695 - last_write_checksum: sha1:b7eaa64ba32b4850f78646207dc6b25f222ef3e5 - pristine_git_object: c9e9c52a91e7be6ad198f9d252216a7a47ec0c26 - docs/models/libraryservicelistpatchesresponse.md: - id: 4359c243538f - last_write_checksum: sha1:142fcdae83d30d2e73dce2a8411448febd6d8163 - pristine_git_object: 73dfd782e77f4cfb5176aa0faf985a940865f839 - docs/models/libraryservicelistpatchreviewersrequest.md: - id: 457b62e3da56 - last_write_checksum: sha1:b8ecc8bd904a9f346937b7f4747bdd74d184513b - pristine_git_object: 5003f2a5a6d47c4e62a6a6eafba78b09d3404169 - docs/models/libraryservicelistpatchreviewersresponse.md: - id: d425e7efcd5f - last_write_checksum: sha1:9d03bf00dff48b7e642fe41bd6975b5079a94439 - pristine_git_object: 27f9aa6581067ddcdea1c3252ea61458fc22ea2c - docs/models/libraryservicelistskillsrequest.md: - id: cdc04489fb68 - last_write_checksum: sha1:17f71b0b94ea8a88ea742bdb2978f6ef03f3084d - pristine_git_object: 49cd52af461ddc653eeb1105d82033460c6f75f8 - docs/models/libraryservicelistskillsresponse.md: - id: 7951c11da397 - last_write_checksum: sha1:eafd78f84c2da9324f54e4edb6feac4f8008df85 - pristine_git_object: eb145815ebb1e2b425e3d6be17b93e84d729824f - docs/models/libraryservicemigratelegacycontexttolibraryrequest.md: - id: 5caad54e74ee - last_write_checksum: sha1:a1bbd5a2ff4c6d159cfa2a893f19f8363bad4ee7 - pristine_git_object: 36b27bb708e891e40261f800e259c2c6d763f10a - docs/models/libraryservicemigratelegacycontexttolibraryresponse.md: - id: dd625bcb2133 - last_write_checksum: sha1:6854bb89b573d06213345af184620035ecbaed08 - pristine_git_object: a718b03925f32caaa4a92469ef1418a9bec6bd44 - docs/models/libraryservicemigrateontologytolibraryrequest.md: - id: ce9583f3d7a9 - last_write_checksum: sha1:c0c98443b60a368306cd7eb7f3174b7359b2d755 - pristine_git_object: 402c63762c7285bacfd3255c4560a2921ac7fdc9 - docs/models/libraryservicemigrateontologytolibraryresponse.md: - id: 484251a17f9f - last_write_checksum: sha1:c9fd2bfe3f15c0d7cf9f90e04f82017d42183b9b - pristine_git_object: 6cfa6169cc7f4c0cb4fe6b772157c13c7a87d0c0 - docs/models/libraryserviceplanlibrarymergerequest.md: - id: 21f64b42ba00 - last_write_checksum: sha1:84223f4d7bb9671e049ba94f30825b752aa12746 - pristine_git_object: 53a04878b4db9e0282d4154a79454bc89502e52b - docs/models/libraryserviceplanlibrarymergeresponse.md: - id: 1a84519c0dab - last_write_checksum: sha1:f9dce18bfae70dbbd909cad49f0b217215818cae - pristine_git_object: ec4d0336d6efcc60ec51a07fbbe9f1dcaf255730 - docs/models/libraryservicepreviewlibrarypullfromremoterequest.md: - id: cdd3951440da - last_write_checksum: sha1:643a11085cfc43ff26ad3a5b471dd7478ea14c7d - pristine_git_object: 117f9245d7db7b2f0e6792cf30560996fa395a8e - docs/models/libraryservicepreviewlibrarypullfromremoteresponse.md: - id: 3eac6687d54b - last_write_checksum: sha1:574467f22111d08157bb7703e080df96501291c7 - pristine_git_object: 3c993d58f7635d274257c7f875a67883328dea81 - docs/models/libraryservicepulllibraryfromremoterequest.md: - id: 0e0dfc65f637 - last_write_checksum: sha1:02f3728a57086b3fde41a7fe399496e64232bb3b - pristine_git_object: 87abb8b5e1e6bd04caa3dffb9a353caff5d41b72 - docs/models/libraryservicepulllibraryfromremoteresponse.md: - id: 78421d49a3e6 - last_write_checksum: sha1:eecc28ab7899841353a09e3667fd20e1360d39d9 - pristine_git_object: fac0abe985dbd6ab48a4e0ef179c79116a8a80e3 - docs/models/libraryservicepushlibrarytoremoterequest.md: - id: 825f09807098 - last_write_checksum: sha1:75fd5aa2ef40ae70892c06aeab276439bd2d4135 - pristine_git_object: 7b16bc5451a3c7ccbb233f348e585b000220aea9 - docs/models/libraryservicepushlibrarytoremoteresponse.md: - id: 823d7fd7a41f - last_write_checksum: sha1:bbd61d935eedd2760d946eac21615792fe70247a - pristine_git_object: ff1c6347b08154c02c4627540f75aaf0f61a0b44 - docs/models/libraryservicerecoverlibraryrequest.md: - id: 4ae425ba5f67 - last_write_checksum: sha1:3553866d4cd73019b69eccae80440e1ca54f9f6d - pristine_git_object: 1905a969a5e3baf5e4a6d97b461c1284c3209f67 - docs/models/libraryservicerecoverlibraryresponse.md: - id: 15bb4e7c1290 - last_write_checksum: sha1:8b6e018000876b7d6bf830a93059f7827f70e9e2 - pristine_git_object: 5e18d18e83088b90f23c15501c05a90735982b96 - docs/models/libraryserviceremovelibraryremoterequest.md: - id: a6ed70805f49 - last_write_checksum: sha1:b49519ca13af09a720135038ceb85d2db7e806cf - pristine_git_object: 7773fa2fe8f45dc10ba376799f0f2dc10ec0a3b5 - docs/models/libraryserviceremovelibraryremoteresponse.md: - id: 8c775aa480e2 - last_write_checksum: sha1:0b4933df54c0f2ab6162f10cbf3b0e16a91f83d0 - pristine_git_object: 841536d34fd296d16003e466e819076de7106d6a - docs/models/libraryserviceremovelibrarysubmodulerequest.md: - id: 5f8a497c1c77 - last_write_checksum: sha1:97ddca372e48e56b3233f2baa3f432954e301807 - pristine_git_object: bb91eafc88443e8bc0529a283309cfb4c7a90e87 - docs/models/libraryserviceremovelibrarysubmoduleresponse.md: - id: a8169610ad25 - last_write_checksum: sha1:f6451453928a2b5c94e5e42b26ee55d57e84e25b - pristine_git_object: 99607bf7b25b06cbac04751f979f881d13b7f3bc - docs/models/libraryservicerenamelibraryfilerequest.md: - id: 1470122bac1b - last_write_checksum: sha1:f580ac10d86972b3cbbcfd2ddade9c54e3cadf6a - pristine_git_object: b0c8c83755801d73d647d700a71a63e01d01580a - docs/models/libraryservicerenamelibraryfileresponse.md: - id: ab54247ef2ed - last_write_checksum: sha1:5943e23e25b01317a507593d3d3be5523b7053f2 - pristine_git_object: 4e8fbf5b646138c9e035d0aaef2770c3cfdc3e88 - docs/models/libraryservicerequestpatchreviewrequest.md: - id: 7445829ecaab - last_write_checksum: sha1:dfac8bec5257b61954b98deeecff23ddf55b4804 - pristine_git_object: fed926dfdd3bdec733007f2db9ba00e84ec4aee3 - docs/models/libraryservicerequestpatchreviewresponse.md: - id: 9ff04c8cde61 - last_write_checksum: sha1:cf65c772a25b78ef88f6d220760718ace5b57649 - pristine_git_object: d958f02895c94dfe1fe48bab960844d559f9dfd0 - docs/models/libraryserviceresolvelibrarysyncconflictrequest.md: - id: e568d2ab8919 - last_write_checksum: sha1:6ac5b226c4078e21ddd30b430d8a43becdf0b52f - pristine_git_object: d08e50839ccf15a95573e5a8b012cda67fbb1a09 - docs/models/libraryserviceresolvelibrarysyncconflictresponse.md: - id: 47133b367601 - last_write_checksum: sha1:9b8dd47fd5288e1b1f7f8b7aa4cdb7a5581cbb6c - pristine_git_object: 4ba1727c1addc5087a47c1a5db97671a2fec5fc9 - docs/models/libraryservicerestorepatchrequest.md: - id: b04e34c1b873 - last_write_checksum: sha1:42d2c45a5d82fb0d89c99b4f1ad1f89020367715 - pristine_git_object: d3ada987f1f5908bdfb06a7d8ae58b4b5392c9a5 - docs/models/libraryservicerestorepatchresponse.md: - id: 5fd964a4f7ef - last_write_checksum: sha1:11a949f881053152cff7c50b919449390dbf14dc - pristine_git_object: b675bc70046d3dee29c9a68dd2c3311cba03446e - docs/models/libraryservicerevertpatchrequest.md: - id: 930949bc86ef - last_write_checksum: sha1:c9963e7b8e6212e79e50ebba288e32bf366d45e6 - pristine_git_object: a0c55a4631a791ae7cc698de7f234da5d8c5a9f7 - docs/models/libraryservicerevertpatchresponse.md: - id: 086132e9e861 - last_write_checksum: sha1:ba17a3464f6dca61b0ea3f5fce51e8925ad304c6 - pristine_git_object: 5a23570e16b2e700e56250b9795003ad96cb2e51 - docs/models/libraryservicesaveallobjectsasconfigrequest.md: - id: e36faf39c4f9 - last_write_checksum: sha1:4444ced1adeddb01eb6af6969438851513944e52 - pristine_git_object: 03c4d685525100459a6703fb3949a65c5e7db30a - docs/models/libraryservicesaveallobjectsasconfigresponse.md: - id: 68a1b0fbcb64 - last_write_checksum: sha1:aa928eab2ca33a8d03283ba25898d9fe08234c5e - pristine_git_object: 9d9e8176307603acf0f4075c59bf36819549f680 - docs/models/libraryservicesaveobjectasconfigrequest.md: - id: bc0cab513b45 - last_write_checksum: sha1:94c0c3a73c5f4a60dc94cf934565bfc071aa1ba2 - pristine_git_object: a5eced118a66e1b063537c70e00925a468bb49b9 - docs/models/libraryservicesaveobjectasconfigresponse.md: - id: dd17f6127996 - last_write_checksum: sha1:ca8ab540bde61870ee3c9ca4f60b2f7016e8d18b - pristine_git_object: edd47acb301d5e34a7ad7c4062166a080a0574cc - docs/models/libraryservicesetlibraryfilegoldenrequest.md: - id: 1fb9be77cdad - last_write_checksum: sha1:4527155fef0897e2bde34e3de5eeebc5694f0389 - pristine_git_object: ea967d629384a76331f5ae7af3ba850a77c487a0 - docs/models/libraryservicesetlibraryfilegoldenresponse.md: - id: cd641e5ff24e - last_write_checksum: sha1:443dee935046249217f7d771fbc998f87a896b7f - pristine_git_object: 1bbb905e7d1dcf648cb74046af3482096159c480 - docs/models/libraryservicetriggerconfigdriftreconcilerequest.md: - id: 3fc9dbd70a7e - last_write_checksum: sha1:cfc36c39dd007d2e43e785b26402e67e3b4a1f6a - pristine_git_object: ce6a2583f53240267b860c6b005588596854e891 - docs/models/libraryservicetriggerconfigdriftreconcileresponse.md: - id: c29857e302e6 - last_write_checksum: sha1:6f70758f5296e3044925e9fe69ece5567e8762a1 - pristine_git_object: 775f9e65591be5232404a5f2f114fe2c0f335907 - docs/models/libraryserviceupdateapprovalrulerequest.md: - id: 9ac2bbbca421 - last_write_checksum: sha1:955e073f1a696e65d8817e168be102acaeee0e6e - pristine_git_object: b7f494e7d716deefb95fc685e9133f81be6e8aa8 - docs/models/libraryserviceupdateapprovalruleresponse.md: - id: 6364717e171d - last_write_checksum: sha1:772f4783fb251780ca4834f2f3e2eb3a9f810c1e - pristine_git_object: bd7d203b06798d72d8c61dcfec068277a906b4fa - docs/models/libraryserviceupdatecontextpatchautoapproverulerequest.md: - id: a073b51bcd59 - last_write_checksum: sha1:2a58efcdb61241eb284c48a714efac886af40fc5 - pristine_git_object: 6f22c6b5b4be933fa985ddd4591faec50a7a8ce9 - docs/models/libraryserviceupdatecontextpatchautoapproveruleresponse.md: - id: 5dc6fb33266d - last_write_checksum: sha1:0ed31b4ae9ab7c4a85f92afddaa13bf623c5fae4 - pristine_git_object: 86da7df3629d5b7df946de9e3e6cd0e3d69d87d4 - docs/models/libraryserviceupdatelibrarysyncconfigrequest.md: - id: 573ee1eb0dff - last_write_checksum: sha1:36d82b125e8f6dbe7186604f5bc4a86d4a29f901 - pristine_git_object: 45dc3b372b753cf0d48223168589cf7fdfde2376 - docs/models/libraryserviceupdatelibrarysyncconfigresponse.md: - id: 0493aa241081 - last_write_checksum: sha1:bbb48c3cfcbbc5bcf9641bed9b48c351124e534d - pristine_git_object: 22e7cedeba5032d0d9d5d35d53ab4527a487bd7f - docs/models/libraryserviceupsertlibraryanaconfigrequest.md: - id: 6f6cfa263112 - last_write_checksum: sha1:4c8edceb5c06af24d00ef6d09d7d321fa7315ba3 - pristine_git_object: f2990ef3982d70472ad772d3a436257b378cab30 - docs/models/libraryserviceupsertlibraryanaconfigresponse.md: - id: 5dad331d8374 - last_write_checksum: sha1:2d971ce580fadc8114975c154fcb209e61bc7363 - pristine_git_object: b497b49eee6b64e4149c23ea90aac226d0a17853 - docs/models/libraryserviceupsertlibraryfilerequest.md: - id: e6d497d95347 - last_write_checksum: sha1:fe86474aec9fdeac18bebea30cd8d87650d8f57d - pristine_git_object: 9cc10ffd1ac7563ef1896033ec1efa6331de3192 - docs/models/libraryserviceupsertlibraryfileresponse.md: - id: 2c7ecd7a1b24 - last_write_checksum: sha1:45e618698f93d6bb529a3c8f0296e400d2e8e688 - pristine_git_object: 2c96120673cf4f4a15f4e94e6cc080f7a0d57bcb - docs/models/libraryserviceupsertlibraryownersrequest.md: - id: 8ec34d51ee90 - last_write_checksum: sha1:2556ef292b8addfe8ea15bb6654a14df52034c6f - pristine_git_object: 42d53370c4bc494482c8a5b481b3710a5c0d4101 - docs/models/libraryserviceupsertlibraryownersresponse.md: - id: a8f743d896cf - last_write_checksum: sha1:ff65710c0a2352a99379f84b0dc596b4f9a02eef - pristine_git_object: 1584e1a04983712b8592d82aa07b8783292d93ee - docs/models/libraryservicevalidateconfigrequest.md: - id: aa4f03d4c0a6 - last_write_checksum: sha1:b1d5ff3922516a3ea349d4ce6ef33002e3f58a1d - pristine_git_object: 494f36a1cdab33d7b7034dc1e98c3885e2e713e5 - docs/models/libraryservicevalidateconfigresponse.md: - id: 78196fd2317d - last_write_checksum: sha1:d79f7eedd45e8e037af382d3ac18013793313f22 - pristine_git_object: 797341944ef161c811cbc4c21c5ca30859b2b61a docs/models/linesadded.md: id: 334609a6509a last_write_checksum: sha1:928406b24a97b40767fdce20d9cea79e626f244f @@ -2123,14 +1605,6 @@ trackedFiles: id: d7a44da47e01 last_write_checksum: sha1:0f782a42d8665225cec04366eaa048375fd464fa pristine_git_object: 3c59e27fd2a0e11b731eccefdd0cb499290b4b28 - docs/models/maxrows1.md: - id: 65f9deecff64 - last_write_checksum: sha1:41a92a2db2ba56aa61e20d3054e73bc4bd7f1303 - pristine_git_object: 969eb61116e8a2e826c491fac9b26a4a4c334825 - docs/models/maxrows2.md: - id: c54e3e14929c - last_write_checksum: sha1:43c3d612ca31dcaf865416509fb41bc3ae017804 - pristine_git_object: f82c57c3c1de2b3e990c77b9d1e5965f95b623af docs/models/maxtokens.md: id: 65304e5fc485 last_write_checksum: sha1:b486b9c943b43e73f90190847e80a72732c9dee3 @@ -2555,6 +2029,558 @@ trackedFiles: id: f7e0ddd91b66 last_write_checksum: sha1:899678b85d6c2d8f807a46ead5aa3720885ef184 pristine_git_object: f9fcb11f6df9eb8c490299d2f0438561bf1d4dcd + docs/models/ontologymanagementserviceaddontologysubmodulerequest.md: + id: bed84a94b24e + last_write_checksum: sha1:d74c9068a3fddb338610e41cb7e85949c4aa34bb + pristine_git_object: cbfea31a75571979233339269002b2feff17deaa + docs/models/ontologymanagementserviceaddontologysubmoduleresponse.md: + id: 5e2874c8cc83 + last_write_checksum: sha1:08b0a6f0c784552c15a3805d1daa14f8e4e17c8e + pristine_git_object: 759d8d849c354442da04f3d9f166428141baf067 + docs/models/ontologymanagementserviceapprovepatchrequest.md: + id: 2eed1cca9fb0 + last_write_checksum: sha1:106f7c127d2d7d9a11c0b155b0765d05eaf68579 + pristine_git_object: e41da637bbede6e98ba4c8512d98c9a00849f329 + docs/models/ontologymanagementserviceapprovepatchresponse.md: + id: f7dee7adc932 + last_write_checksum: sha1:a148a731e8f562d9a12a6677fe6d81d9c330eba3 + pristine_git_object: 1d59ff9695f4fc85baf019776eee069e271baa78 + docs/models/ontologymanagementserviceconfigureontologyremoterequest.md: + id: 75d3e0995f00 + last_write_checksum: sha1:bcded48cca450d97b80a68fdb535c43fcaa3227b + pristine_git_object: 7f76a45a5a269d35f15c7fa8171c4dbfa234da53 + docs/models/ontologymanagementserviceconfigureontologyremoteresponse.md: + id: a8c2ad4ab498 + last_write_checksum: sha1:a3628a14f9cbb14d40aae5396a4e2fc0a7075cf4 + pristine_git_object: 4e7e99951f3330c246e8efa743cdc030d693911d + docs/models/ontologymanagementservicecreateapprovalrulerequest.md: + id: 9fb0888a960f + last_write_checksum: sha1:b1bc0c3cc72b9632b2f3b07f8ba157dbf9968f11 + pristine_git_object: 26cc45016a6258c39f7840807578bebf5f8fee7a + docs/models/ontologymanagementservicecreateapprovalruleresponse.md: + id: bc9024871bd7 + last_write_checksum: sha1:9ce2ef6312dfad872ecaa29a31f39d0b977af30f + pristine_git_object: 41b73d7a8cac6d246f3233b200f63c46395c7cb2 + docs/models/ontologymanagementservicecreatecontextpatchautoapproverulerequest.md: + id: 0fe7fcc8bc4c + last_write_checksum: sha1:ef258877a63a99fab8c15a159cf4b979716a961b + pristine_git_object: e1e32923b15520f251cffd94f1ecfe2fd5eede3b + docs/models/ontologymanagementservicecreatecontextpatchautoapproveruleresponse.md: + id: c94a1717c986 + last_write_checksum: sha1:cf5279597fa994a94964b7ef74b2e37ea5a165c6 + pristine_git_object: bebd51ded99e9feb5709e10513efe18a198418bd + docs/models/ontologymanagementservicecreateontologydirectoryrequest.md: + id: a08ed3e7b22d + last_write_checksum: sha1:be29717157cbee911e107a71bed1a5360cf6abbe + pristine_git_object: 5c78b904c8d38c2e78233aa04e8c85d1abb3b633 + docs/models/ontologymanagementservicecreateontologydirectoryresponse.md: + id: f80260527b27 + last_write_checksum: sha1:d0870412ec34cb3498f3b67b0ea04f7dd7fed024 + pristine_git_object: 352e1360c5439b4f1642852df878d3630efccb96 + docs/models/ontologymanagementservicecreateontologyfileuploadurlrequest.md: + id: 17b2e5b0cf75 + last_write_checksum: sha1:373bc5e6a79630d66044705c6f92a25ae4df5dcc + pristine_git_object: b28d51051870bdbeeaf68e6950959c292c36faf3 + docs/models/ontologymanagementservicecreateontologyfileuploadurlresponse.md: + id: 628982f61ea6 + last_write_checksum: sha1:dfe2686d2e30fe1832adde4984235441de451cc2 + pristine_git_object: 448fad1405e200e73e2b36ef15f4a0b9c6d14135 + docs/models/ontologymanagementservicedeleteapprovalrulerequest.md: + id: d2b8786bddb3 + last_write_checksum: sha1:d1290c283301ed7c742b6f23eae663b7d6a533ba + pristine_git_object: f979f548bef2d304644be7cf699eaecd22559de6 + docs/models/ontologymanagementservicedeleteapprovalruleresponse.md: + id: 7d3c6a1a0ab3 + last_write_checksum: sha1:17ded50f26e0cb86ef3d085491e5a6221750a3cd + pristine_git_object: 87a133978bb35618c1e78bf71b8cef063de2ddc7 + docs/models/ontologymanagementservicedeletecontextpatchautoapproverulerequest.md: + id: 6d73baa0dc5c + last_write_checksum: sha1:892d93af1d5a2634ddfff70a4800273ce9815adc + pristine_git_object: 2809ee7c3ae3626afc2d775b3a69c9ceb94614d3 + docs/models/ontologymanagementservicedeletecontextpatchautoapproveruleresponse.md: + id: 69fa284eafcd + last_write_checksum: sha1:c7ca8baa4273817d54802db575070317f1ef5808 + pristine_git_object: 929b1976caee4917533bac798f24a0b62c480f3b + docs/models/ontologymanagementservicedeleteontologydirectoryrequest.md: + id: a5cb2ac2a2de + last_write_checksum: sha1:b957467d3506a8924de036abc34329a01b577101 + pristine_git_object: 0e84c2e3bc128f879c9acfc36c4f237a22ac2439 + docs/models/ontologymanagementservicedeleteontologydirectoryresponse.md: + id: 26f91ec12f39 + last_write_checksum: sha1:7b44af290867d3358b27c32fda483dad8b4e1b7e + pristine_git_object: 3e682e33eb54b8f97ef00e6b10030b4c1d8adc8d + docs/models/ontologymanagementservicedeleteontologyfilerequest.md: + id: d1f3ae72da7b + last_write_checksum: sha1:eb369242c98b38eb69a7d4340564aa7f2fcaddd8 + pristine_git_object: caac4194c010e418de383833921207955c19902d + docs/models/ontologymanagementservicedeleteontologyfileresponse.md: + id: b78e0402985c + last_write_checksum: sha1:84ed29d2555b8d018a1823f403bea488f536a750 + pristine_git_object: fc82c2847fcd01d22f42274e825cb61dfdc844c0 + docs/models/ontologymanagementservicedeleteontologyownersrequest.md: + id: bd994b9cf381 + last_write_checksum: sha1:3e19f29651f7015b6fd65d8486e475d7c97333a5 + pristine_git_object: 49bd014f01ba77f69b30d47b9802dcd12ecac93a + docs/models/ontologymanagementservicedeleteontologyownersresponse.md: + id: e5be536f266a + last_write_checksum: sha1:7cb540a2c3eff219dad4fbb22c4620c7809c1753 + pristine_git_object: 083a7620acc9517096cca95af9931e998c4f5a3a + docs/models/ontologymanagementservicedenypatchrequest.md: + id: be34255f7a7e + last_write_checksum: sha1:b33afc8228a96f8f67383124df9ba60e24339d28 + pristine_git_object: 0013d200cf3fdbbcf4e2e96ace66873fa4d43938 + docs/models/ontologymanagementservicedenypatchresponse.md: + id: 6b1e3db4928d + last_write_checksum: sha1:7977934e8930203a8180e5bf20ba5c1cc945fcfe + pristine_git_object: a29cd226faaab0d00c87fad51d62fcad9261f03e + docs/models/ontologymanagementserviceexchangeontologygithubcoderequest.md: + id: 2687d5240c4b + last_write_checksum: sha1:26e2f1c40735490d37706c5c6cbb1b7d683506fe + pristine_git_object: d40ad91c23b2495e73eeec12c60581f985ed002d + docs/models/ontologymanagementserviceexchangeontologygithubcoderesponse.md: + id: 291abb7c65dc + last_write_checksum: sha1:ec3465a095d906a14c590f94608526315fecd8af + pristine_git_object: d973db494780c4631600a9e0b3beb8074852e1d0 + docs/models/ontologymanagementservicefinalizeontologyfileuploadrequest.md: + id: 7925bf53b259 + last_write_checksum: sha1:aaf476f77edb3720cfd890922c4e2938ca33c031 + pristine_git_object: 911c9e6c7613f49bdfd99e39b9a23e0ee3e7e6d5 + docs/models/ontologymanagementservicefinalizeontologyfileuploadresponse.md: + id: 4dfb889dec4c + last_write_checksum: sha1:3e0288f9eb3bcfa8b0d53b512f98ed640137339e + pristine_git_object: 767bc81be718367c5f8864b5dcbc45da8db446aa + docs/models/ontologymanagementservicegetcodeownercoveragerequest.md: + id: 69d78d3a5d05 + last_write_checksum: sha1:4ff0f79e1a292e9d4e1c34c1e77d1b01e7b1367b + pristine_git_object: 7641a014757b6944cbcd64bea262177c08c95773 + docs/models/ontologymanagementservicegetcodeownercoverageresponse.md: + id: fc221cbd1f89 + last_write_checksum: sha1:80b3094e3acc504d42e0e64b4807faaf3c7f3f83 + pristine_git_object: 0de7f3f6b14afe77daac1492a34bb3d88fa39dc7 + docs/models/ontologymanagementservicegetconfigexportcapabilitiesrequest.md: + id: 11ec98c7596c + last_write_checksum: sha1:ac799671ad541379a8ae23b6e1779eb391b0fa73 + pristine_git_object: 6398d9ddb616268743f3b87587dfcb3f33e295ba + docs/models/ontologymanagementservicegetconfigexportcapabilitiesresponse.md: + id: 553f2b86cca7 + last_write_checksum: sha1:a05c2fa0f9e3f0ce2fc5bc12b6a1576e6d149b2b + pristine_git_object: f01a070390758ea573a107a25548d22fb3170c5b + docs/models/ontologymanagementservicegeteffectiveontologyownersrequest.md: + id: 6dae04151a61 + last_write_checksum: sha1:f6b2068ba880ffcc2249dd5cac7bbc06f92a77f7 + pristine_git_object: 617e7bab4630a22b2436fbfec111c3d07cd2d3cb + docs/models/ontologymanagementservicegeteffectiveontologyownersresponse.md: + id: ca08fb647d63 + last_write_checksum: sha1:d1fe5632470e7881f03b45f93bb3c6528dcaa8eb + pristine_git_object: 617d29bfc7155e1361c8986e4fab250cb474fde0 + docs/models/ontologymanagementservicegetfileusagerequest.md: + id: e7524a1f4b95 + last_write_checksum: sha1:b7e3da6ed81c92fdaa82648b6492045683b49e71 + pristine_git_object: 36acf3b36e4886665c79153fb4644d12515a772b + docs/models/ontologymanagementservicegetfileusageresponse.md: + id: 3a88c8fb9827 + last_write_checksum: sha1:4c9b97dc18ea147c442a8311fcac5b2bbc2640c7 + pristine_git_object: c5782542bf3789b09bf134b157d5aba0371367c6 + docs/models/ontologymanagementservicegetfileusagetimelinerequest.md: + id: 54792ec373fd + last_write_checksum: sha1:44777cc0acd3832fa8229da439ef5aa540a012dc + pristine_git_object: b4f400a607d04d7ff15ef1dabc9cd98c3bf58f5c + docs/models/ontologymanagementservicegetfileusagetimelineresponse.md: + id: 549206a52dda + last_write_checksum: sha1:bb850548e562a378b8892396121333e651b0c138 + pristine_git_object: a7856fa983530aece89e537d881fe4a8bd44bbbf + docs/models/ontologymanagementservicegetontologyanaconfigrequest.md: + id: 1ed45379cec4 + last_write_checksum: sha1:9ac55fe1e2af62a098320af5d9f0ccedbfed9b05 + pristine_git_object: 35e7ef553c653e8c2d51720a41a53439a35a6aae + docs/models/ontologymanagementservicegetontologyanaconfigresponse.md: + id: 3d6c34829681 + last_write_checksum: sha1:63cff0b18c965678335e093fccbb13613b23b200 + pristine_git_object: 3f785935d8279fc2e5061613ce48bc0c3aab38dd + docs/models/ontologymanagementservicegetontologyfilerequest.md: + id: abbdddf95544 + last_write_checksum: sha1:88a4dcc593c4f1a90c5bb085a03d5be061ea681d + pristine_git_object: a96da00dfb980b1a18606602d0d4452c555bf7bc + docs/models/ontologymanagementservicegetontologyfileresponse.md: + id: b0408cea7ce1 + last_write_checksum: sha1:ee4fb8f688cd4004de764bb6283ee33bdaf716c2 + pristine_git_object: ad018fe1795175247e941a5f967ea1de6bc2878a + docs/models/ontologymanagementservicegetontologygithuboauthurlrequest.md: + id: 8b66f8136231 + last_write_checksum: sha1:47fc281850d383d459b23fca74d602cc6853355e + pristine_git_object: 94b5713fb5dc90bea80840aefcb0aa7d3a7b4d86 + docs/models/ontologymanagementservicegetontologygithuboauthurlresponse.md: + id: 08598c0964fa + last_write_checksum: sha1:85f0c73c37687809b32093755aac7a39ca9342d2 + pristine_git_object: a7bc518b59e9d11cee09ac7adadd17adfd39a33e + docs/models/ontologymanagementservicegetontologyhistoryfilediffrequest.md: + id: 5b0e69bb2ed5 + last_write_checksum: sha1:d06c3e799e09f2689b42fa7a0246bf7f0cca7e67 + pristine_git_object: f724999711be4b6017e1c639b9e743e2a7facd5c + docs/models/ontologymanagementservicegetontologyhistoryfilediffresponse.md: + id: 9daeda78f7af + last_write_checksum: sha1:2e00c79ddb99a55c467cd8a0dd4a17a8d84d7cb4 + pristine_git_object: 91036085b745c4d5c1040434c674f5439bb91bb0 + docs/models/ontologymanagementservicegetontologyownersrequest.md: + id: 087b27908301 + last_write_checksum: sha1:c28d36b93631005efc4a93f7de8c39fd61df9574 + pristine_git_object: 5e1cdd2e282ba7a09c3a42c5eb69981d6fbc3701 + docs/models/ontologymanagementservicegetontologyownersresponse.md: + id: f9649c7366c1 + last_write_checksum: sha1:497e0fd11f66e81771cb81bafa9fe7b650960749 + pristine_git_object: 5d22e8a11fe7c52317683fc0ae2a0651b7041754 + docs/models/ontologymanagementservicegetontologyremoterequest.md: + id: ad4a3d35dba9 + last_write_checksum: sha1:f4affed5ab8ad63aefeeb4cf822e865882f87cd1 + pristine_git_object: 799b13217da87654b369ea7e5a5de1422c76cecc + docs/models/ontologymanagementservicegetontologyremoteresponse.md: + id: 1072d527b255 + last_write_checksum: sha1:321ddce6046a91c96e0467a97017f2c664a5d68d + pristine_git_object: 512811476c689b21635b7455ad97b0c99ed45305 + docs/models/ontologymanagementservicegetontologysizetimelinerequest.md: + id: 90d5bddaed80 + last_write_checksum: sha1:cac63f9ed84cb43f8b9118ff8d1bc35076379afb + pristine_git_object: d3253e7073183e22772f86708238859c1d7e6c9d + docs/models/ontologymanagementservicegetontologysizetimelineresponse.md: + id: 9a2e6c8a96db + last_write_checksum: sha1:6aff4e4c202404a7d7384edfa3df6dbcb6f7ea6a + pristine_git_object: 9f826f61e3f29171245a8142f6d1265cf4ca59a4 + docs/models/ontologymanagementservicegetontologysyncconflictsrequest.md: + id: be2f80cab41b + last_write_checksum: sha1:31abe5260640b510dfaf2b9d3e59a9634271987e + pristine_git_object: dca932b8984ad353beb1aefc4ae4e8e8a825a83b + docs/models/ontologymanagementservicegetontologysyncconflictsresponse.md: + id: 3bacecc9d161 + last_write_checksum: sha1:3aabad644a27a8fb1c97db4b8b6df4e6952e006f + pristine_git_object: 42faf5e2ca4fb619d60ea682690e881393e714c4 + docs/models/ontologymanagementservicegetontologyusagesummaryrequest.md: + id: dd2ec80a42d8 + last_write_checksum: sha1:0fe65f214284853ba0742c6e078a712e5b9e0caa + pristine_git_object: ffb33b4db0f03ab4409b85b1b70c492257fe1b9a + docs/models/ontologymanagementservicegetontologyusagesummaryresponse.md: + id: f3a793e4db94 + last_write_checksum: sha1:80ee43b68062f4b48629f9fa7a31626d3b18ad4a + pristine_git_object: 499536e7bbf82f1452211c7382c17f23ba45c378 + docs/models/ontologymanagementservicegetpatchbynumberrequest.md: + id: 8df1c92c5037 + last_write_checksum: sha1:a5e70340dbc376aedf02a0751cc6dfff5375fa73 + pristine_git_object: da3514d0aed5e3aae9ee5ba9f98b17583ef6891d + docs/models/ontologymanagementservicegetpatchbynumberresponse.md: + id: af31b37945d6 + last_write_checksum: sha1:ac731bcefa21e8ce282926def6469298f099b9e6 + pristine_git_object: b1043396eac3afec9b80aef82f914550f3688729 + docs/models/ontologymanagementservicegetpatchcapabilitiesrequest.md: + id: b8d85a5e6036 + last_write_checksum: sha1:c427581697a343e8654460b67e87e3153b9e23e9 + pristine_git_object: 9dc062095dc70d15147f1c6c4ef75bb60fcab45c + docs/models/ontologymanagementservicegetpatchcapabilitiesresponse.md: + id: 3a583dd71c8a + last_write_checksum: sha1:09520a14921201e3f01f9772c7efe592225d29c6 + pristine_git_object: a28506dcb644cc562f9c6e53db4ff2f82f94aa79 + docs/models/ontologymanagementservicegetpatchrequest.md: + id: b46afc05dbf0 + last_write_checksum: sha1:bc749e10509010874d1c0d08f86cc415aed8fba8 + pristine_git_object: e8f24a23de10c5280516e87d80303b279d7131f6 + docs/models/ontologymanagementservicegetpatchresponse.md: + id: d3bdbc6ddba3 + last_write_checksum: sha1:5e7aa1aea3ecb86030e468a835008aa382a0eeff + pristine_git_object: 07fe25c351a3b3261f4372dcc072e39c20d1dbd8 + docs/models/ontologymanagementservicegetrawpatchrequest.md: + id: aa7a63c262f1 + last_write_checksum: sha1:adf94c8cb528a7ccbf9db1b944b427d34ec8816a + pristine_git_object: ae44de0bf38e0d4e4a9c97aad599a0868e1d1f58 + docs/models/ontologymanagementservicegetrawpatchresponse.md: + id: bc6e018f9113 + last_write_checksum: sha1:17d1690d0c637d03da2697f43f5bf9d5a45aa96a + pristine_git_object: 4a064b94686484b65385b52f6623f771e7151416 + docs/models/ontologymanagementservicegetusagedetailsforfilerequest.md: + id: 6371ff74ed13 + last_write_checksum: sha1:cfaba0704f3f87758a5c53ff62aeec7738bd058f + pristine_git_object: bed4dccaf8d5b268b72dd6c9964de2c9a729120a + docs/models/ontologymanagementservicegetusagedetailsforfileresponse.md: + id: e8b7979b27b2 + last_write_checksum: sha1:10bdf987686291613b40e2e60b6ad8c5adf56dbb + pristine_git_object: be7e8d46a102adbee2f6ed6f2ef7abea68874085 + docs/models/ontologymanagementservicelistapprovalrulesrequest.md: + id: 551e6d200e14 + last_write_checksum: sha1:d278547080cce3acbd0efe92d31cac9d65cbe342 + pristine_git_object: ac7d3f7e7e8dff45cad7bfc321c8a218a7b6315a + docs/models/ontologymanagementservicelistapprovalrulesresponse.md: + id: 0ab9c4d9425f + last_write_checksum: sha1:b62bc03fd165bd51a950d566e47e42ae454200df + pristine_git_object: 08197e7c592b20faef63844a4b24885556e73537 + docs/models/ontologymanagementservicelistchatsforfilerequest.md: + id: 2affb1ce709b + last_write_checksum: sha1:63efc853dbb4de686f3e6969abe54d985bc2e7dd + pristine_git_object: b38c11140b9783b1ac43a2791b86dd53f63f9308 + docs/models/ontologymanagementservicelistchatsforfileresponse.md: + id: e650c70c9676 + last_write_checksum: sha1:208f707efe4d2770f67a4afb4c4cf52fef00294a + pristine_git_object: 4115fa2d263ed7b8a16511692404ee5691ca3d52 + docs/models/ontologymanagementservicelistcontextpatchautoapproverulesrequest.md: + id: d7f6cf0f3c39 + last_write_checksum: sha1:ef4dbaf44931324e26ca02e958317a1fefa771db + pristine_git_object: 4d78761850f1177a57c0e55a78148e1983a0d410 + docs/models/ontologymanagementservicelistcontextpatchautoapproverulesresponse.md: + id: 8ee52846f0c9 + last_write_checksum: sha1:275119f4d92b5057113cfc59854b9e8be0b3621c + pristine_git_object: 1db79a3cb349176d74789e898e38e98a9af90014 + docs/models/ontologymanagementservicelistgoldenfilesrequest.md: + id: 195c8cabf3ca + last_write_checksum: sha1:3460324b960954a69c08f9ae74604c26af82da7b + pristine_git_object: 079d1ea922063ea5659f7f1787807b5919fbbb08 + docs/models/ontologymanagementservicelistgoldenfilesresponse.md: + id: c5d84bec6686 + last_write_checksum: sha1:e3242bb72c74a98d14daca58579f4fe5d7041012 + pristine_git_object: b4a5e3fde656065e104c6799288f9fb37979f040 + docs/models/ontologymanagementservicelistontologyentriesrequest.md: + id: 249fbd42f1cd + last_write_checksum: sha1:c766753098b9f1a14291ad6228ead6b42e976e83 + pristine_git_object: 65762523fcbaea9d49753b7e6d8614bbc9a9bdb1 + docs/models/ontologymanagementservicelistontologyentriesresponse.md: + id: c54349cebd40 + last_write_checksum: sha1:dbc5534498a8773ad73aa82f6176a83784b1b0f9 + pristine_git_object: 8e7748f68895c75847a9f2f0f3ff56cdf204140b + docs/models/ontologymanagementservicelistontologyhistoryrequest.md: + id: 8e1590143ef4 + last_write_checksum: sha1:9ea7229997fc63d6fe75ed9a45dee3e6c395f8cb + pristine_git_object: 1f6ade3cddd217cafcf8f466e6a9d85a0950648b + docs/models/ontologymanagementservicelistontologyhistoryresponse.md: + id: b2f88c500f1d + last_write_checksum: sha1:fa9186f343beda783f5582ac6ee4b17898345893 + pristine_git_object: b18b40ebb1c490f40cdf6a83ae4d6f9745259048 + docs/models/ontologymanagementservicelistontologyimportsrequest.md: + id: cb5da3ebdfe8 + last_write_checksum: sha1:2b3ae7bfd459b231277b999928485bafddaddcc8 + pristine_git_object: 066d21bf5da230ba585c14e7439ae907e4aca537 + docs/models/ontologymanagementservicelistontologyimportsresponse.md: + id: 69e4c2e06d58 + last_write_checksum: sha1:309447dfb7b015d85dedd134fece8d163c85107a + pristine_git_object: 11bcd7ba5236f7ae51a201618384421efe367df1 + docs/models/ontologymanagementservicelistontologysubmodulesrequest.md: + id: 359d645b07d6 + last_write_checksum: sha1:72392984e1f50998ab3eee604eb78f01524bcad3 + pristine_git_object: 6fc0f7b5badee44801bb5f91f13235953a5de7d0 + docs/models/ontologymanagementservicelistontologysubmodulesresponse.md: + id: 5850b901008d + last_write_checksum: sha1:a9944dcc4a4fb05cca11f4e6207fa1750fce5fe9 + pristine_git_object: cc1eb844bcdbbb97c747eb5f64ac499a0e3139e9 + docs/models/ontologymanagementservicelistontologysyncrunsrequest.md: + id: 94552dbcec61 + last_write_checksum: sha1:60a0cba1f3e2c7729761eba82153bf3fca997adb + pristine_git_object: 72874bd606ba2bcfbdf8930bf983fc9070b741a2 + docs/models/ontologymanagementservicelistontologysyncrunsresponse.md: + id: 02578a51f516 + last_write_checksum: sha1:ef55317fbdb7358aa136760ec6dbe038d8296002 + pristine_git_object: 59e4e9449692fde90dd62f06f6712b8be79ef423 + docs/models/ontologymanagementservicelistpatchesrequest.md: + id: e3e7f54ea39a + last_write_checksum: sha1:db9e8c33fe0037a7ad6cdde2e39e7bd23ca5aeaf + pristine_git_object: 1ae8538e3da9a39e3bd79b1534e78f7980c288c9 + docs/models/ontologymanagementservicelistpatchesresponse.md: + id: 9c81037dac13 + last_write_checksum: sha1:46621f95f5b6901bd2495c060bcf3657b8069c10 + pristine_git_object: bccf0bfe08ee0ad80a073e2454a04e8dd948d9c5 + docs/models/ontologymanagementservicelistpatchreviewersrequest.md: + id: f3fbd7ab0e1c + last_write_checksum: sha1:488b4ed1ee64b2290e100d4a8edfd12d0b03e095 + pristine_git_object: 41a8fdf547a30ceee204fa7eb5251e6a4798303a + docs/models/ontologymanagementservicelistpatchreviewersresponse.md: + id: 2d4762a2cebe + last_write_checksum: sha1:0e303cf40904b3012eb0cac37c180ba681a18cca + pristine_git_object: d7fb099b4faeddf3fdb39fb0a557c71504afe7d3 + docs/models/ontologymanagementservicelistskillsrequest.md: + id: cc2e931e4f76 + last_write_checksum: sha1:a229e65eb215909eef9feaf7f4ab1f80baff25da + pristine_git_object: 0adc45ce3dd3083896895d4922823938b498ff47 + docs/models/ontologymanagementservicelistskillsresponse.md: + id: 0c51b22bff10 + last_write_checksum: sha1:1246e2ac1e41c5f78cb2a14b42a6e783858ee49b + pristine_git_object: b7a87b59f0514d311acf7505f67ab5340b70555a + docs/models/ontologymanagementserviceplanontologymergerequest.md: + id: 03f6c514af15 + last_write_checksum: sha1:96b036a125b8eaa5338af854f1eb7a1563e59d2a + pristine_git_object: 53e2be3fe9d821d7ed546077d15eed2a59ed0d34 + docs/models/ontologymanagementserviceplanontologymergeresponse.md: + id: 7a8df5e13cf5 + last_write_checksum: sha1:60f155c313cc2c7c565fb8cf7d5301f861c80778 + pristine_git_object: 67a70fb838b6e4e462744def364eebef0b5fbd66 + docs/models/ontologymanagementservicepreviewontologypullfromremoterequest.md: + id: 8b8cd252f8ca + last_write_checksum: sha1:6be0ccd2c3b29c118a09aa06711903bd8a0db351 + pristine_git_object: 1255c4976b1792d6476f44ebd1dc235315a2dc2f + docs/models/ontologymanagementservicepreviewontologypullfromremoteresponse.md: + id: 984427c14efc + last_write_checksum: sha1:fa4504f37126716680f3f05d754c5099d2aef939 + pristine_git_object: e095a69fb8b5949b588b93b1620f13a7e0c531bb + docs/models/ontologymanagementservicepullontologyfromremoterequest.md: + id: c275461fdaf0 + last_write_checksum: sha1:2374a070d1d008e15a5f81518434d554ded3ae17 + pristine_git_object: 1a0875d10a058c7887fe4f01bfc27411c74fd417 + docs/models/ontologymanagementservicepullontologyfromremoteresponse.md: + id: cd4fbb33099b + last_write_checksum: sha1:6147eb19a52d3018f6747fe680656b942d49e878 + pristine_git_object: ba80d5c661e5a243fc0739ed1f7e15da48232bb8 + docs/models/ontologymanagementservicepushontologytoremoterequest.md: + id: b69ab5386ebf + last_write_checksum: sha1:2dedf64e8c52c66b7ee8d80de08058309d572e73 + pristine_git_object: cd99b78de78fc6c0742b70c3afa424fda40d4bcf + docs/models/ontologymanagementservicepushontologytoremoteresponse.md: + id: 8fb18a244ea3 + last_write_checksum: sha1:70a91f742299788f04243a9d85309108894be1b2 + pristine_git_object: 66d550184f142eb3c42f65538b4a6d897ba48d5c + docs/models/ontologymanagementservicerecoverontologyrequest.md: + id: 8ff7166418fa + last_write_checksum: sha1:8378b59358f05e43961a359a7971ed7ab354b60e + pristine_git_object: 5e65125c914768f5218b0cf341b86d531e284295 + docs/models/ontologymanagementservicerecoverontologyresponse.md: + id: 429b49f54305 + last_write_checksum: sha1:8a7de4c3d7f7ba8abd4ccdc671a81a84610c3517 + pristine_git_object: 24e2b0b6d8831e5d39994a8288403a7b68a9aff9 + docs/models/ontologymanagementserviceremoveontologyremoterequest.md: + id: c2503a4d44d2 + last_write_checksum: sha1:1f68e114dd11593aa0c10c52fcc4f1dbc88d4701 + pristine_git_object: 7fdc8f6fddd9f359f1558a3299e1441542b9932a + docs/models/ontologymanagementserviceremoveontologyremoteresponse.md: + id: a278a4855293 + last_write_checksum: sha1:056bf08d34501e6225bd82a750712ace7745eef8 + pristine_git_object: f06307990b64c23abeb49620682b5187e4665d54 + docs/models/ontologymanagementserviceremoveontologysubmodulerequest.md: + id: ee34541d66a1 + last_write_checksum: sha1:1ca59a27681c1222241ad42b20dbc79bea3fe339 + pristine_git_object: 6e2c9d8efb5c039afca67386516bf16c78e73272 + docs/models/ontologymanagementserviceremoveontologysubmoduleresponse.md: + id: b72827a3eabe + last_write_checksum: sha1:e0f587a946ec5e37fcca798c44e0af4bdea86116 + pristine_git_object: 7fb2d3a9e3e7dc583e97c9294d84b06306d064f7 + docs/models/ontologymanagementservicerenameontologyfilerequest.md: + id: b3bdb4420c21 + last_write_checksum: sha1:516f4bb287c957f0e7e707f23b2fe49bd5eee358 + pristine_git_object: 85e7965d33da7934ccf7d4b5f6ef833eee212716 + docs/models/ontologymanagementservicerenameontologyfileresponse.md: + id: 3356be6cfc54 + last_write_checksum: sha1:f33ee7d4590db62f1250f13af7526b127b53beb7 + pristine_git_object: f895a8cc036f657049e7adbe7517da56162a6bd6 + docs/models/ontologymanagementservicerequestpatchreviewrequest.md: + id: f07f5ecec64f + last_write_checksum: sha1:d985708c9e783ea4300a060648d098aa5be336df + pristine_git_object: 22eb95401706d67027300dc427db905bae89b7a1 + docs/models/ontologymanagementservicerequestpatchreviewresponse.md: + id: 6f4fed7dccfa + last_write_checksum: sha1:adf183d023f2478f9840373eb26d0a369bc843e9 + pristine_git_object: 485d82d6895129db0abcb215e871ec9746676492 + docs/models/ontologymanagementserviceresolveontologysyncconflictrequest.md: + id: 16147211891e + last_write_checksum: sha1:c81be38113fb5bc3e1ba8b9d1ac170a97725fd91 + pristine_git_object: 5dacef13aaf240643b9e22f5efb60d689b0f052d + docs/models/ontologymanagementserviceresolveontologysyncconflictresponse.md: + id: 0ac4c3763342 + last_write_checksum: sha1:92517e4a4fbdaa9793e3c1b870cb68898f19c2c3 + pristine_git_object: 337034b3f9723f02bc62c7e3e5995108afa94a24 + docs/models/ontologymanagementservicerestorepatchrequest.md: + id: d27065e3f03b + last_write_checksum: sha1:31e88f97291c3a0db56524508f2ccef61861130f + pristine_git_object: 54786808855b75737b46656eeec8ec7773a0892b + docs/models/ontologymanagementservicerestorepatchresponse.md: + id: cd6b9f7d0b09 + last_write_checksum: sha1:ae0a0ea0de70b10d6bdd5884482b0ff5435f6a10 + pristine_git_object: d7ff266de3926580b0d117227fd60bb9cdb33ea1 + docs/models/ontologymanagementservicerevertpatchrequest.md: + id: 63d7e5b33128 + last_write_checksum: sha1:5ae77c7256a48c08c60da321213cc0e3029e0f4c + pristine_git_object: ca710b9939b74177cd8c3bcb0f2b0d11b1ba0816 + docs/models/ontologymanagementservicerevertpatchresponse.md: + id: 19b051cd4320 + last_write_checksum: sha1:4b0ee2abd692f7166ed867977a0330e57095bced + pristine_git_object: 4270bb298996fc04bc5d08b1ababae0275298890 + docs/models/ontologymanagementservicesaveallobjectsasconfigrequest.md: + id: 95730b25d300 + last_write_checksum: sha1:518261dac250a1344d34b8d77617a71f7084dad2 + pristine_git_object: 11733be9079ac08bd252186f314a179d447e2284 + docs/models/ontologymanagementservicesaveallobjectsasconfigresponse.md: + id: 1215df73febd + last_write_checksum: sha1:8f9433531f6a38e965e4531297bfed7d74b09034 + pristine_git_object: 7d970ebd8e61b1ee059229af2ee33fe1a0b7e87f + docs/models/ontologymanagementservicesaveobjectasconfigrequest.md: + id: 68ed88374444 + last_write_checksum: sha1:437076696ae233469cb949a4cce786af91a268b6 + pristine_git_object: ba16e3050955c86881a55ce06fc31adf87cf1487 + docs/models/ontologymanagementservicesaveobjectasconfigresponse.md: + id: 86e4da3bb6dc + last_write_checksum: sha1:73b225adbc83a67476706ac6474c13f227d74c85 + pristine_git_object: e8240ab942d1ce69591a68dfcd0e8775d103b1d5 + docs/models/ontologymanagementservicesetontologyfilegoldenrequest.md: + id: 588d0993705e + last_write_checksum: sha1:4157b43ee92757c8c657cd33677f3fc130f13051 + pristine_git_object: b6dfd71376efe86b1ac48f7bdef1cf8b5cd07507 + docs/models/ontologymanagementservicesetontologyfilegoldenresponse.md: + id: 3309a9a6abea + last_write_checksum: sha1:a2263af53d4c363185b56e2e8390a9193b389077 + pristine_git_object: 699420223082e82d380a030e1ae57817f197274b + docs/models/ontologymanagementservicetriggerconfigdriftreconcilerequest.md: + id: 6ba6e8bc20ef + last_write_checksum: sha1:ce61ff338414950b7c945492694d0956c9aacac2 + pristine_git_object: fc4ae02c985ceabaa27571ed8a5c63ed3a0cd20f + docs/models/ontologymanagementservicetriggerconfigdriftreconcileresponse.md: + id: de66608bd91d + last_write_checksum: sha1:fc084cac2ded006ccc2560803af4e666ce81fe51 + pristine_git_object: d58489c4cc918d49886bb17b53fdbcf685e4647e + docs/models/ontologymanagementserviceupdateapprovalrulerequest.md: + id: c46b5ea9d2a8 + last_write_checksum: sha1:bb84a8cab5012ae2c730f6552f18a87a4e5cc304 + pristine_git_object: 1524895a49d3f7ba49f62075c358dece23aa8049 + docs/models/ontologymanagementserviceupdateapprovalruleresponse.md: + id: b6ecb658e53d + last_write_checksum: sha1:68a8149a8e7c63a3a404394a4538d51e68ff4f08 + pristine_git_object: 7fce5a5e54e45e89dc1fdf384722d018276a35e1 + docs/models/ontologymanagementserviceupdatecontextpatchautoapproverulerequest.md: + id: c17029df5c8f + last_write_checksum: sha1:4156a04c2d804b4f8d20c6ac4d5e1b88ded207ae + pristine_git_object: bfbba8af66e43e9e8131adaf68b0a4e8cdf1eae5 + docs/models/ontologymanagementserviceupdatecontextpatchautoapproveruleresponse.md: + id: a5ae84394133 + last_write_checksum: sha1:e267e11bcff9bbd8c3f7fd22416260bc4249009d + pristine_git_object: bc5689b9f5c6ebb4d39249aa54021fc49d0c7e9d + docs/models/ontologymanagementserviceupdateontologysyncconfigrequest.md: + id: 8df95f68a289 + last_write_checksum: sha1:131dcdf486c571ae32e789225e28fb05771a6f45 + pristine_git_object: 045265e2d0a40cb301f64736fd74c5a92fbdc853 + docs/models/ontologymanagementserviceupdateontologysyncconfigresponse.md: + id: 1bfad5666898 + last_write_checksum: sha1:1f7053fefe1a446b497a750b64bd1284fc8295c2 + pristine_git_object: ca110225d3fbe24c7b76f80bb8614ebb1f5f4f3e + docs/models/ontologymanagementserviceupsertontologyanaconfigrequest.md: + id: 8d9f98505fe5 + last_write_checksum: sha1:f66a09a4dfefc4ee4d15f93e3eefc0681db98b49 + pristine_git_object: f66312e742796002f0f235383939b31096688649 + docs/models/ontologymanagementserviceupsertontologyanaconfigresponse.md: + id: 55c85b4fef29 + last_write_checksum: sha1:8abbc592a25e7b5098a0948e477ce47145b9fc12 + pristine_git_object: cf6adb0b15ee526c9e2da705b5950dada1c091cd + docs/models/ontologymanagementserviceupsertontologyfilerequest.md: + id: 341cd3167009 + last_write_checksum: sha1:9d8a6952af5b3fbf51e4c1310d24900ec3386d5b + pristine_git_object: 80042c096bfd016100d4a260993dc9cd0fbf0dc8 + docs/models/ontologymanagementserviceupsertontologyfileresponse.md: + id: 0f16b7904944 + last_write_checksum: sha1:d2002d5656d74664eda6a205f73ca16347126c33 + pristine_git_object: de9e2011fee52d6291ebb0c4c3876505008319da + docs/models/ontologymanagementserviceupsertontologyownersrequest.md: + id: 17c3e5d691fd + last_write_checksum: sha1:5e96e450d590d7f13c9f5d5026eaec4db18e424c + pristine_git_object: aed16f4fcae6e00f18c5647b5daa5e0e0a6d693f + docs/models/ontologymanagementserviceupsertontologyownersresponse.md: + id: 7351dc5acdfd + last_write_checksum: sha1:c0f085fbcf17cb7457cd623b02bc4a2befa042cf + pristine_git_object: 8dd21b53d4ddd88f69c99ace56fc9b6d3cb8fa5f + docs/models/ontologymanagementservicevalidateconfigrequest.md: + id: 73f919463097 + last_write_checksum: sha1:2749c0ce2393f0d4d6e5f4af43e20538a228a370 + pristine_git_object: 83156f479058f3de776fee982e047b69694907fc + docs/models/ontologymanagementservicevalidateconfigresponse.md: + id: 42c775f2c5af + last_write_checksum: sha1:561930ec448aee9255b4302cd6f0e58f654de858 + pristine_git_object: 3c59385a1c0a89ef9fb7d04a1eb72a1dd1ce7492 docs/models/ontologyopenobjectcell.md: id: 7337f6f4646a last_write_checksum: sha1:e277e1dcbfe2cb3747e2d33c3ef0552d41157e93 @@ -2569,8 +2595,8 @@ trackedFiles: pristine_git_object: 545248eb474bd8cef631c717e186857f4fa2312e docs/models/ontologysql.md: id: 0c11a1bf7f5c - last_write_checksum: sha1:6512e7ddddd689b5f52bb210b7cfb847c7922cbe - pristine_git_object: a044902f97e1151027ac2ba543f8e5461eeb0099 + last_write_checksum: sha1:1523aaa6b066556aec636a8a5a487b650f3630e9 + pristine_git_object: f8c5fd1ddfcf67da686df5f3849602ef108ab012 docs/models/opened.md: id: 60443baca4bf last_write_checksum: sha1:d718aba86aa76cab6a29164a4fde644617ff91d3 @@ -3041,8 +3067,8 @@ trackedFiles: pristine_git_object: a1216df8abf01b35c2129ea60565dfe68e2831c9 docs/models/pythoncode.md: id: 75ca41bc22b9 - last_write_checksum: sha1:884a090f9a8779b935800407912485893c8ce5ea - pristine_git_object: 8f0281c63575664957756b10fd880560e0bb1f0e + last_write_checksum: sha1:99136e76e5ab5111a9891bcdfa2bfa21ece89cb8 + pristine_git_object: 061208d7928857479664e7454657422451626644 docs/models/questionscell.md: id: 2bce91488a46 last_write_checksum: sha1:9ca7ef55cb85f8cf6cd648a4e2b0ddbf9c66a150 @@ -3375,6 +3401,14 @@ trackedFiles: id: 54e94a8614ed last_write_checksum: sha1:92aacf0c8c7dbeef2d38bd020028ead3b189aeb9 pristine_git_object: db9fb615b07143ab87b8ab4b0bb50ee40bfdb495 + docs/models/rbacservicesetrolepermissionsrequest.md: + id: 73917406a63c + last_write_checksum: sha1:bbb10e415e42f7073f0933442428e7c525ac0a3f + pristine_git_object: 1a5273264eb521c1c89b75231069463dea4522d8 + docs/models/rbacservicesetrolepermissionsresponse.md: + id: 4f1cfbe7c02f + last_write_checksum: sha1:4f891858dcbd9063f6bcc72d05629ee3d0ebe8ab + pristine_git_object: 216ddac416a71630cea189a517ccf1f23072c668 docs/models/rbacserviceshareobjectrequest.md: id: c218285e803f last_write_checksum: sha1:8988ed5af399041046feaf8faf9874f6db1cad5f @@ -3455,10 +3489,6 @@ trackedFiles: id: 4b8199471a7f last_write_checksum: sha1:c7e51dfcb8646664aefd77951712aed887fb37c0 pristine_git_object: eeab9e23b04584de942f75764f7db07e73098244 - docs/models/revision.md: - id: d26c214d5030 - last_write_checksum: sha1:fbf3ced6b547eccba5a2cb068815504d3a2688b4 - pristine_git_object: 651bf4c3a571638af893aa76e834eb86efe0e31e docs/models/rowcount.md: id: 15fa4f3ea222 last_write_checksum: sha1:ad5fbb9060ca7cb4a5becee32ba273824198ecc2 @@ -3547,6 +3577,38 @@ trackedFiles: id: aa88812d9ea2 last_write_checksum: sha1:f3e489887ae188aee656c0c143444e6f8ad96ff5 pristine_git_object: 1f3dae3bc9b86275b0acdb0628e17c052d15ada3 + docs/models/sandboxcapabilityserviceexecutewriterequest.md: + id: 703a31f4c580 + last_write_checksum: sha1:8cbd1384f08536d2c6ae6d4b8f40b78d610645ba + pristine_git_object: 9f2e2ea89e8a421f61470adefaac90aa13a424bf + docs/models/sandboxcapabilityserviceexecutewriteresponse.md: + id: 52ad6c8ae1ae + last_write_checksum: sha1:7364609be9a7717832b39eafad40bb300b9bdca2 + pristine_git_object: c0e6842f1dc28da65f71358c20b18042fc890dd8 + docs/models/sandboxcapabilityserviceputassetrequest.md: + id: 2e190186c681 + last_write_checksum: sha1:4548c8b94d75b7023dd73a064241b5f3cd07687c + pristine_git_object: 041989be747dac97524416729e7004653c6f0228 + docs/models/sandboxcapabilityserviceputassetresponse.md: + id: 67420a6aa252 + last_write_checksum: sha1:1dc8a9168ca66f7fd14762440775f9394aea7db5 + pristine_git_object: 0df3907f91a7a3fe56272721618c85162e93b2a8 + docs/models/sandboxcapabilityservicesendnotifyrequest.md: + id: a0762c17cda9 + last_write_checksum: sha1:32ab37029fcf1f0e8ee3edac7147e48691a1e4a6 + pristine_git_object: 4312ba69ebf9e27f36b8ac86315765d9a4f1b71d + docs/models/sandboxcapabilityservicesendnotifyresponse.md: + id: 0f4100ea2a24 + last_write_checksum: sha1:98e7d78c7bc5c3ce5e3a22974b156a298915a50a + pristine_git_object: 5a6ae4ae3d6f1cea541c2fe3141f9a9261a51b11 + docs/models/sandboxcapabilityservicestateoprequest.md: + id: 1d41e90f4a97 + last_write_checksum: sha1:2f9199caeb8974280915320762bd78da9e437111 + pristine_git_object: 434e85842c5582a87f61be10dbe7fe183309ac95 + docs/models/sandboxcapabilityservicestateopresponse.md: + id: f85e3710c3b5 + last_write_checksum: sha1:74bf11c5492cd2bef4de0a176734c1599ff10bd7 + pristine_git_object: a47d18fc675662f0479adbd0be7d503e2178b05e docs/models/sandboxqueryserviceexecutequeryrequest.md: id: 7903408b0c68 last_write_checksum: sha1:8d8695dcb84343d1f861c2af271766dd1a1025a3 @@ -3611,30 +3673,6 @@ trackedFiles: id: d50449d367c0 last_write_checksum: sha1:459b2c7ddb78936a0b24fb9f2f67c050acfd7e91 pristine_git_object: f253f7193d7d4f6ac65afc9bd2d68b9cceeb1c0d - docs/models/secretservicecreateapirevisionrequest.md: - id: cf4df5393a42 - last_write_checksum: sha1:0c9d9b9604d842ba6a36688a21448000e8395b83 - pristine_git_object: b56121ab6cc484b5626495cc8626f850d484cf3d - docs/models/secretservicecreateapirevisionresponse.md: - id: 20e4c24a29d4 - last_write_checksum: sha1:7747ef890d524018e7dc29c149a3dd8fc6be5301 - pristine_git_object: 2f0ca19f06c1d52965e287414a5ae6c4457bfd2b - docs/models/secretservicedeleteapiaccesskeyrequest.md: - id: 0a402c6d8bef - last_write_checksum: sha1:aa666a2a37f5ff93517de3f1189db51181fe7d6e - pristine_git_object: c2fbca20ecaa7571540b1b194bf2df3590b76039 - docs/models/secretservicedeleteapiaccesskeyresponse.md: - id: cb287639b8eb - last_write_checksum: sha1:39850d9de6192eb5ef71ae5d99bd5489af984ea2 - pristine_git_object: eee9eb9d13a519653b476f15d430f45851aca6ba - docs/models/secretservicedeleteapirevisionrequest.md: - id: 084a1a64c54e - last_write_checksum: sha1:7c33e4a2573d8c4397aa76f674d24d0c42a5afdd - pristine_git_object: 606131731a280fdf47ccac7bdd87f792e3da97a1 - docs/models/secretservicedeleteapirevisionresponse.md: - id: 023a5d80791d - last_write_checksum: sha1:d652ad044121f8ff21adfccc24400579a86f056a - pristine_git_object: ee55fa4ff86daca21610707dd7252f4c509fde91 docs/models/secretservicedeletesecretrequest.md: id: 239922be754f last_write_checksum: sha1:9df9b230d8e39486b63f1f31b2349cee5745e9b3 @@ -3643,14 +3681,6 @@ trackedFiles: id: db61496fa864 last_write_checksum: sha1:d0def6a7c089e9557383497c0c2fe551b58a8aba pristine_git_object: a5040c2929c7d933ab79c2d969f0dba1cb7d1902 - docs/models/secretservicegetapiaccesskeyrequest.md: - id: da575507af2b - last_write_checksum: sha1:b621bfb1501287ca3e1132d4f1db8606ab406fde - pristine_git_object: 6c4ade49215f8ad4f1d77b679583d6aeea474b54 - docs/models/secretservicegetapiaccesskeyresponse.md: - id: 55a35744cac8 - last_write_checksum: sha1:ee9bbd0e3b3b1f7b432314ce0b4e93d901e314c3 - pristine_git_object: b39e6ce42ec5857456a7e7cfd5c69178a34fe89f docs/models/secretservicegetmemberswithsecretsrequest.md: id: eeeb7c8b8470 last_write_checksum: sha1:835b844e0e17a829a7d94bab8b53aa215578fc60 @@ -3659,22 +3689,6 @@ trackedFiles: id: 154dc1e009e9 last_write_checksum: sha1:34305ae664230626ebc9669d4e52fe4818c2ddfe pristine_git_object: 3a456024047fab46186f0478eb3ccd02d5c8332f - docs/models/secretservicelistapiaccesskeysrequest.md: - id: f32cb946385d - last_write_checksum: sha1:dcd6e0c610b05a9f6e32eca1b4af55ce2f0ed807 - pristine_git_object: 7b01cb7a8b9bee4d9cdfa50a6673b1d43b3e465e - docs/models/secretservicelistapiaccesskeysresponse.md: - id: 5f0275762d55 - last_write_checksum: sha1:da8996473718fd605e7d717df0a059c1a050eda8 - pristine_git_object: b9a4cfbf504effb5eb484d6f188e336bc6380083 - docs/models/secretservicelistapiprovidersrequest.md: - id: 9959b8893af5 - last_write_checksum: sha1:2e403792fc43768a0ce415b49e9d668a7d7c2300 - pristine_git_object: 59460e879cd0cdf084f40c5add8e965968e907d2 - docs/models/secretservicelistapiprovidersresponse.md: - id: 1556566df8fa - last_write_checksum: sha1:5da6b01f79a28856ab7868404070860e8b62a2e4 - pristine_git_object: c2fe68ddf28c2c6e6b3f06ac26515b3236fab7c8 docs/models/secretservicelistsecretsrequest.md: id: 4aa3d4483d5e last_write_checksum: sha1:a9141ad2a8c1855bca1a87a1f17f8e55e1c244d3 @@ -3683,14 +3697,6 @@ trackedFiles: id: ed3f1f4b1302 last_write_checksum: sha1:bb4e62e10099d6a0e4b98c0171cf9e7ea60e07f4 pristine_git_object: 57fad71c6a4f37a930ae694a2a58fee83f9e4d06 - docs/models/secretservicemigratesecrettoapiconnectorrequest.md: - id: d6e77c05ab4e - last_write_checksum: sha1:f546e364862b2a71577cad502914b77ffef7ad90 - pristine_git_object: 2b631d75a54215d0e48b5bc3d26ae5a54bff15a4 - docs/models/secretservicemigratesecrettoapiconnectorresponse.md: - id: 5134e7cac6eb - last_write_checksum: sha1:66276e542b9ac96ead14c4412b0b381d49ad3aad - pristine_git_object: 2f00a750818ece52d6dd857df040d8f8841097b8 docs/models/secretserviceputsecretrequest.md: id: 00e27361a4a8 last_write_checksum: sha1:8707785c6ddb6e3dc6ffe293a52e8b910a8e4a7b @@ -3699,14 +3705,6 @@ trackedFiles: id: fdf963998ff0 last_write_checksum: sha1:5433f5b9ba193c4ca9735ce194a41e1ff945c4e2 pristine_git_object: 6b65af7930815345e37b935c0826cc6eaf523f1a - docs/models/secretservicetestapiaccesskeyrequest.md: - id: ddef88d9a66f - last_write_checksum: sha1:c3b547589db990ec8bb7dd7db0e94b486e67b42d - pristine_git_object: c302e6643a9d0dd0c46e1d0d130fd91fb53da455 - docs/models/secretservicetestapiaccesskeyresponse.md: - id: b7ec4b950ac7 - last_write_checksum: sha1:83396059f545994c695d805d6f8456e5243524a3 - pristine_git_object: c0dff20001d2a1ec506b007dd6d8590c871f4b71 docs/models/secretserviceupdatesecretrequest.md: id: 16a831522389 last_write_checksum: sha1:879a1168317dcb72411ad0c6e640688bb407d2b7 @@ -3715,14 +3713,6 @@ trackedFiles: id: d89aed9b6add last_write_checksum: sha1:e03e79b2b671af37373d581f4dabdc53742d7b66 pristine_git_object: 58b4280e8352efda775d766086d55c4f067cc604 - docs/models/secretserviceupsertapiaccesskeyrequest.md: - id: 4522d9228bb8 - last_write_checksum: sha1:f2754f81fc0aa77762232315d5b1de331accfae4 - pristine_git_object: c160edb344f6123e749d25fbb5290f06d96444b7 - docs/models/secretserviceupsertapiaccesskeyresponse.md: - id: 74e556d36514 - last_write_checksum: sha1:a297ca5e3a7bab089c01c711cf92b5bbdd26e41b - pristine_git_object: 598e7f7fa8b31a1d8862271d6a12bd41d189afe3 docs/models/security.md: id: 452e4d4eb67a last_write_checksum: sha1:45b7b8881a6560a468153662d61b99605a492edf @@ -4077,8 +4067,8 @@ trackedFiles: pristine_git_object: c1967f6f6dd3050e3a04f039bbe435d958a0ce0c docs/models/textqlrpcparadigmparamsparadigmtype.md: id: 2edcff736470 - last_write_checksum: sha1:efbc40a5d7584bb76ce0c5d01011ae8704d6b1e0 - pristine_git_object: 361b9f443e78b8269b67deac7c67573a0d8336fd + last_write_checksum: sha1:9ce8004e0587bd49a7184c3a32f2f49540295359 + pristine_git_object: a7b3fbc2d88d276d9e58321ad05592be222a6721 docs/models/textqlrpcpowerbiselectionpowerbiselection.md: id: 1a69379d57b6 last_write_checksum: sha1:d96e08db07b1b484d7a3387cba44b44bcfe1db67 @@ -4213,8 +4203,16 @@ trackedFiles: pristine_git_object: 15b36da843485f1f8d674b42739ea157b64d2e74 docs/models/textqlrpcpublicappapp.md: id: 5f9502463847 - last_write_checksum: sha1:32f3bc983ebd0e49f614a73d64aff1ae2cd3c2f8 - pristine_git_object: 733c877361ce0ca52c4ff9fef01f81f1dd9d9324 + last_write_checksum: sha1:f85545e3fcb65f7e5da8da6ae543f48d43a7001f + pristine_git_object: 698580b709dd454160459635a43b9e6f75258580 + docs/models/textqlrpcpublicappappactivityrecord.md: + id: f76db091721b + last_write_checksum: sha1:e3cae1f4d09763045cd7f2fc425b769f944118a4 + pristine_git_object: c1443934a557dfbab85c6b431565f144ad880259 + docs/models/textqlrpcpublicappappactivityrecordseq.md: + id: e2e832dd9e84 + last_write_checksum: sha1:eec5f82ba17333901362c370f4cabcbd5a737652 + pristine_git_object: 2a0391c4694d962f469dc8cdff43f49f184ccbd3 docs/models/textqlrpcpublicappappfile.md: id: c692896fc0af last_write_checksum: sha1:2fb70e9b69ee2165cf36fbc702253fd1859b9899 @@ -4223,26 +4221,42 @@ trackedFiles: id: 69c5da31899b last_write_checksum: sha1:1350ece5c769508a28fa894a4914949884043632 pristine_git_object: b232e4a5568fb33be6b623c4b3bacee91940c78a + docs/models/textqlrpcpublicappappmemberactivityrow.md: + id: 64ab0140bfeb + last_write_checksum: sha1:dd7f06e6430948ab17ba54e199e7d7b097601d0d + pristine_git_object: 674b8a7f48a7abb7755d461a776b92cff6b0a4e0 + docs/models/textqlrpcpublicappappmemberactivityrowseq.md: + id: 20e16e609006 + last_write_checksum: sha1:113f6c66634ba21048d10135740911d7cb172557 + pristine_git_object: 3e3568e5ca79b48da3b2461991df0f3bef4c8682 docs/models/textqlrpcpublicappappversion.md: id: e3c1e1e3aa81 - last_write_checksum: sha1:4cf724fd5ce9e76400a0411eb8f6df82d3e8434c - pristine_git_object: 3806f22e8234574c61e39c97f2428c7e5d12aa62 + last_write_checksum: sha1:363cfc3e0302b4cf1bbf14a33fe96a8e79767d2c + pristine_git_object: 4a51ecfc7f85b670b4ac7114db91681d22c119e9 docs/models/textqlrpcpublicappappviewerinfo.md: id: 67fe438becf2 last_write_checksum: sha1:f9b4fcc2b5eb6a0eb92ee852fc7095dcd89ee917 pristine_git_object: b73310b6f53ff7d4c90d39b4a33081063f14c93e + docs/models/textqlrpcpublicappcapability.md: + id: b2af8782dc3c + last_write_checksum: sha1:6018eac284fb34ee115d4a133c82bca868d7e433 + pristine_git_object: 8f5d03335d500a89dedff2f39fe56e7a9645150e + docs/models/textqlrpcpublicappcapabilityparam.md: + id: e5a0a904c472 + last_write_checksum: sha1:f5e13ce1691577e4dfd6b66d848884887a41a23c + pristine_git_object: 46a0249249af321a0ec7a430e13fc8c89d84597d docs/models/textqlrpcpublicappcomputefunction.md: id: d51d1041a2f5 - last_write_checksum: sha1:054c9fc98febe03a9a92ac40a45ac651499ac5ed - pristine_git_object: 943759e0f8ba3e56e28b9dbbe6c10255e7983ecf + last_write_checksum: sha1:b69f28dcc9ac77c83b34af5362ceb493bdfbc235 + pristine_git_object: 2abb1f4d20b4835943433cc45e19989cd3eb012b docs/models/textqlrpcpublicappcomputefunctionparam.md: id: d2854a3fc30a last_write_checksum: sha1:39d240334dfa3b88922673dd57dabbd7b768fc91 pristine_git_object: 8a95d0583f5254d1ae6572533fe608643139663c docs/models/textqlrpcpublicappcreateapprequest.md: id: e31c35affca9 - last_write_checksum: sha1:cbf7acc222084923c7ddffc04f8822a8488fd692 - pristine_git_object: c0bf646ed86b04535168454866273039d20b6ca4 + last_write_checksum: sha1:19597a785a2ec6b51ed777e33b65f807fdffc427 + pristine_git_object: 752ba36588790e543017450995a8b525034a6b57 docs/models/textqlrpcpublicappcreateappresponse.md: id: 4f57f8c95878 last_write_checksum: sha1:9b626aad59111b6ff45292430b55a3e6ca124725 @@ -4259,6 +4273,14 @@ trackedFiles: id: 1fad6e0973a4 last_write_checksum: sha1:c765665bec973ef77210f50a4e58400ab49e83f9 pristine_git_object: 2948295b5af6bb4c2d664ab16700dc2fbb325d55 + docs/models/textqlrpcpublicappgetappmemberstaterequest.md: + id: 4362d97054be + last_write_checksum: sha1:28aaf787d26d6b20304ad477fe212ec820c616ff + pristine_git_object: bd450be0d8863599cc777985e23a1cd48bb9575c + docs/models/textqlrpcpublicappgetappmemberstateresponse.md: + id: 173b04c3a3cf + last_write_checksum: sha1:05f64c34c206150a8b49600f42b7f1b3913e9134 + pristine_git_object: 09373f7eb1d1241d38bc987883d46fa3e287e16d docs/models/textqlrpcpublicappgetapprequest.md: id: b7934f1867c8 last_write_checksum: sha1:177efcf40bec6c3ebfffd63683f50e2df1602fe9 @@ -4293,12 +4315,20 @@ trackedFiles: pristine_git_object: 152cff7194b6f56597f5dc7eb1cb0be2e9fa8b50 docs/models/textqlrpcpublicappinvokeappcomputefunctionrequest.md: id: 04f4fae04d12 - last_write_checksum: sha1:84780eb57b80b89346be4f6a45b12542357c203f - pristine_git_object: f2357db8dbd3fdab0a1d2224d63ad7efe53a3f67 + last_write_checksum: sha1:bfa0e81f5468f28c96c4b48141f0cac0d8e99986 + pristine_git_object: 7a0ea7258284381ccf3c745f4abb115b153e4b46 docs/models/textqlrpcpublicappinvokeappcomputefunctionresponse.md: id: 5e3ce8e04f74 - last_write_checksum: sha1:2bb08bc17ba0ae6e15e1a5b4481e9ecb2ca0e46a - pristine_git_object: 0bbe0e48c5286b4298af7bf7b69ca66a0172890e + last_write_checksum: sha1:e85488778481f906704ee2d46cbddd671e5a72ec + pristine_git_object: 1c56fd1f4cad711b8224521c0be4d1fc950ec5d2 + docs/models/textqlrpcpublicapplistappactivitysincerequest.md: + id: 16e0e238c482 + last_write_checksum: sha1:d6324085939423202b6ce30a8a7eedfac3aaf508 + pristine_git_object: b67a68facf26c2765db3518268ff5b1d76da0cc8 + docs/models/textqlrpcpublicapplistappactivitysinceresponse.md: + id: fa6427ed9964 + last_write_checksum: sha1:84ced2d403470a01d776d31f5e03cdf5d3a8e600 + pristine_git_object: 3b3117b00ed26ff552d8c2dc8947ff64e8f4b01e docs/models/textqlrpcpublicapplistappsrequest.md: id: e59e4e54e7d1 last_write_checksum: sha1:5c0e6f5bb44fbab61fde75dc2453ce13594760eb @@ -4315,6 +4345,14 @@ trackedFiles: id: 5e0ed2e06867 last_write_checksum: sha1:c496f492750004a44f59e558efdd9cb6092b6ca1 pristine_git_object: 5b430863bed54205b52d4d29a570e9eb51e9fd6b + docs/models/textqlrpcpublicapplistmyappmemberactivityrequest.md: + id: 30caca8d29ce + last_write_checksum: sha1:3eba0d194522bc01b10d2a776011bdf4bb791630 + pristine_git_object: 9e8258a1463cc50c237cf4e27cd113c44f96da56 + docs/models/textqlrpcpublicapplistmyappmemberactivityresponse.md: + id: d1df25e628b9 + last_write_checksum: sha1:dcc33b5af7365cf83c81804820fc527c53d83249 + pristine_git_object: 688a4f498563dfcacea474c848a61e2fdca596d6 docs/models/textqlrpcpublicappmoveapptofolderrequest.md: id: 5fcdca2e8715 last_write_checksum: sha1:69cc0e8f56785a20e17d8b9c28e1d1454ee79d32 @@ -4323,6 +4361,22 @@ trackedFiles: id: a518b1448e96 last_write_checksum: sha1:7124600064b061724cf2babf88a23ea4097f6820 pristine_git_object: 9a3bc4ff8c6e4a270d80e83578cbb7407f2a56dd + docs/models/textqlrpcpublicapppresenceheartbeatrequest.md: + id: 2f7cdca40bc4 + last_write_checksum: sha1:536b9b124c8310ba26a76a430975574ae5e6cd88 + pristine_git_object: fa3c77ef6528e8c8aaa13af2903dc3cc3cffd646 + docs/models/textqlrpcpublicapprecordappmemberactivityrequest.md: + id: 22293b04d8e6 + last_write_checksum: sha1:0b7ed76d84ce7d3fbbe79418251d213ce8461fa0 + pristine_git_object: fdbd1501247047cba20eb8732e8664a40e67b1e2 + docs/models/textqlrpcpublicapprecordappmemberactivityresponse.md: + id: 28f8f0a23117 + last_write_checksum: sha1:28686f034bcce13b3b0481fdc4de16f89e31e2dc + pristine_git_object: d8c11701f89812fdd6cb384483997b1e2e18cf0f + docs/models/textqlrpcpublicapprecordappmemberactivityresponseseq.md: + id: f5b7643e05ad + last_write_checksum: sha1:da67f8630e5f5469a1e45a5d49e0a915d4d84aae + pristine_git_object: 196c9d98430539f71d7361fa391fe38280286af6 docs/models/textqlrpcpublicapprefreshapprequest.md: id: 5f979673e280 last_write_checksum: sha1:92200e2cd4a958bef11a8488b56d552e56ec0158 @@ -4339,6 +4393,14 @@ trackedFiles: id: 8a2df0082ca7 last_write_checksum: sha1:b546e27786a1d509a8b571cb7328d17d5fe80755 pristine_git_object: 3325a9e852259a253582761feef80164959d3f1a + docs/models/textqlrpcpublicappsetappmemberstaterequest.md: + id: b69681f1a65b + last_write_checksum: sha1:0e806e0e4e585d5e773619402f0a55e99cf15e65 + pristine_git_object: 9ee4ee5c91e94cb380e2b32f818011462446f793 + docs/models/textqlrpcpublicappsetappmemberstateresponse.md: + id: d21aec1bd581 + last_write_checksum: sha1:48a7bb326c928ae052fac8a604e096844eec6a1d + pristine_git_object: 6325ca4c870da239470a8e0b9ef8da5481292ae0 docs/models/textqlrpcpublicappsetfavoriterequest.md: id: 85014cc29259 last_write_checksum: sha1:7d2f3df39908ccb41a278a334f151aea75a56541 @@ -4349,8 +4411,8 @@ trackedFiles: pristine_git_object: cbba07222805ee625a7ae9ea41a955c053507ef6 docs/models/textqlrpcpublicappupdateapprequest.md: id: 97617ee42ad1 - last_write_checksum: sha1:12de4a6e3e114a4fa0cec9b324ab30074add87c4 - pristine_git_object: bf8da4b5852d475bab82e7c5ae1c0254fa2b092a + last_write_checksum: sha1:f897aca9e27c4724579c06cb7cc20f6d5f521305 + pristine_git_object: 2767c70ccba048fd8d7646e52195ab9c0251a641 docs/models/textqlrpcpublicappupdateappresponse.md: id: 633ce9b9ee84 last_write_checksum: sha1:8f62b8216b8031a9979536c113b8475e510782b4 @@ -4915,6 +4977,10 @@ trackedFiles: id: dcb402f4f4e5 last_write_checksum: sha1:109ea3afb27ba308023b1e2897078876e1fd39c2 pristine_git_object: a61589450b9631fadd88e82fec4f533b87ef22a5 + docs/models/textqlrpcpubliccellsthinkingcell.md: + id: 1478271a3e55 + last_write_checksum: sha1:57c2973bbe546eb136548c4d04fa8413194ce0fe + pristine_git_object: e283c49763e75a00cb711dd3fef1514e26ea9e30 docs/models/textqlrpcpubliccellsuseskillcell.md: id: 89f156213d0c last_write_checksum: sha1:73c41c16a4ebc71af890d58deb00ea687426687e @@ -5001,8 +5067,8 @@ trackedFiles: pristine_git_object: bca16f3c505ec80277ea7bb46ebc4ec41ad1a1b8 docs/models/textqlrpcpublicchatcell.md: id: fc7b5c00a7c9 - last_write_checksum: sha1:686cdde941dbe7e20864aa9966945a877731239c - pristine_git_object: 99615d854a276e3901227b95a00762b5bc6f53d8 + last_write_checksum: sha1:de804b59451820fb7dce06df4692a4f78b825a89 + pristine_git_object: 85a30afcc5ab259f999953f789db290a25db7e4d docs/models/textqlrpcpublicchatcelldurationms1.md: id: ce13ce143d57 last_write_checksum: sha1:a59b4605c986764dd71cc1bdbaa848e57249ba6c @@ -5215,6 +5281,10 @@ trackedFiles: id: acca8b9c4269 last_write_checksum: sha1:ae45a2f09b93da075162ddf0c4a1ee9840ff2617 pristine_git_object: 824e89bd2e7fcb453a985d6ec048a99d799750da + docs/models/textqlrpcpublicchatcelldurationms58.md: + id: 7b1ed9806532 + last_write_checksum: sha1:37908c43391fa4dc1f83a8844f0a74dfa0e76f2d + pristine_git_object: e4fc987845412a9290ba76d7f90dcdf512a5983a docs/models/textqlrpcpublicchatcelldurationms6.md: id: 0d7c4b8d8d40 last_write_checksum: sha1:de74a015bd6d6f4a32e6159bad2a9e03596a536f @@ -5253,8 +5323,8 @@ trackedFiles: pristine_git_object: 2f23632c04d2db841682636c4483acb975b90925 docs/models/textqlrpcpublicchatchat.md: id: 4169a2c3b876 - last_write_checksum: sha1:b96a4938f4fc81815fb9105e85f990b83007f740 - pristine_git_object: bbb9240cf725a987fde34820f4c345a7b242660a + last_write_checksum: sha1:59110dc132e3ba87152cdd88afbb83a4f352db7c + pristine_git_object: f89eef51edcff4e01a75392878f5c13ba6d4b7c6 docs/models/textqlrpcpublicchatchatexecutiontiming.md: id: b2c072b983f8 last_write_checksum: sha1:65c3df46b3e01e55b8afbfa6332d19579cc2b4a3 @@ -5309,8 +5379,8 @@ trackedFiles: pristine_git_object: 4ff46c7a291275af916d736ff31f1a8c9c7c345c docs/models/textqlrpcpublicchatcreaterequest.md: id: 5eb9e1d5e9fb - last_write_checksum: sha1:4fb3bf9afd08b844b3384e826761532753583df0 - pristine_git_object: b024e29569a8e873263d8d4a514fe88819a93d77 + last_write_checksum: sha1:42c1ea2d74f18bdb7b9e485458560cbbc9d04a3c + pristine_git_object: 8805de19f9774d2c9362d13a3138ba1cc13e6680 docs/models/textqlrpcpublicchatcreateresponse.md: id: 766b5c6feb93 last_write_checksum: sha1:829e04e8dd220b7928d225f2a7379e1fed555952 @@ -5417,8 +5487,8 @@ trackedFiles: pristine_git_object: 6a1f80f73333a46c38e894a89f96b1ce773507a9 docs/models/textqlrpcpublicchatgetchatsrequest.md: id: 97c426f433e9 - last_write_checksum: sha1:92d814ac68413e9e75b850b8df4a3d09352bc5c9 - pristine_git_object: 4f235a157f797c3de0bd495c5839424f4881cd1c + last_write_checksum: sha1:df41d845cb578c0cbdf0ea12bcd76667b977bb55 + pristine_git_object: ba0f914bcd7934d615c25551c932c94a53ce9edb docs/models/textqlrpcpublicchatgetchatsresponse.md: id: e05f1cab2e3e last_write_checksum: sha1:3f061e013c2f5761e0e563196de1cafdf91d483c @@ -5445,8 +5515,8 @@ trackedFiles: pristine_git_object: 80401c4ea4e4bc9eecd594e7fcae42f48851d0ad docs/models/textqlrpcpublicchatgetllmusageresponse.md: id: 6548ac48617d - last_write_checksum: sha1:15b428137af7b149212693cb2b3cb7800b7d0270 - pristine_git_object: c04322d4a4985b7dd7da363ec1b3d05a14dc0379 + last_write_checksum: sha1:4f155a4ca3bac841fa716d4936b4ad3ce10fc231 + pristine_git_object: b19377ab27a03436751b9eb4d34478aa8e21fe7d docs/models/textqlrpcpublicchatgetmemberswithchatsrequest.md: id: de890f953dab last_write_checksum: sha1:a7b2e237b771b5f1e203d5cbea526701c4f384ee @@ -5529,8 +5599,8 @@ trackedFiles: pristine_git_object: d35783eeb2c9286f4aa25e0ca4f7e26577545d71 docs/models/textqlrpcpublicchatrunchatrequest.md: id: 53d9fc09c797 - last_write_checksum: sha1:712f3505bff6284db55342903119209c3e3dee91 - pristine_git_object: 119e74946e373dbb08caa0f4d0c1732f7821083d + last_write_checksum: sha1:95ca6ab347e881ceff458875b017ec4f401e1024 + pristine_git_object: 16f783bc6d51f97ab904a7417315fbc02bb2a628 docs/models/textqlrpcpublicchatrunchatresponse.md: id: c2242375110c last_write_checksum: sha1:ebe9c8cf29168dbe7aa7a04a273cfd4b185c2618 @@ -5577,8 +5647,8 @@ trackedFiles: pristine_git_object: 0e557abe6e7a67556fec963f1ec69f6020e27288 docs/models/textqlrpcpublicchatupdatechatrequest.md: id: ada6094975f3 - last_write_checksum: sha1:017d6e104d1de7866370c0b9f6e8b645c61f0c03 - pristine_git_object: 7d5b65f4caff3aab8f75bfeee8f76b06983b3952 + last_write_checksum: sha1:17da6b4aae6ddc76ffd7049d0d67dbea77ac5d4f + pristine_git_object: 9dc61da1ea80a4274e5b13d1e0f3d3b57f997b3a docs/models/textqlrpcpublicchatupdatechatresponse.md: id: 1e0c7bde5e26 last_write_checksum: sha1:8443ea2dcea26d49f006e7d7b859081d595f963c @@ -6141,20 +6211,20 @@ trackedFiles: pristine_git_object: 0fdf6f6eecf9810f327f56c0fbb77fe8ac57343b docs/models/textqlrpcpublicdashboarddatasourcefile.md: id: a97ab371b119 - last_write_checksum: sha1:adddd9af2ac0c901f3fdf8a6d92438f57ba130e2 - pristine_git_object: 5e7e0f706156f067f8bf1f060978739f31d66b27 + last_write_checksum: sha1:7d2d1f60c3ed48965db6ef543124570d0866638e + pristine_git_object: 21e4b8a1cb9c27688aab887483f1a9c73813a5fe docs/models/textqlrpcpublicdashboarddatasourcelibrarytql.md: id: 4942df36d6b6 - last_write_checksum: sha1:f4090090a059da67429fa45043c317dd2b545b5c - pristine_git_object: 4d1f9875467308c5bd66399f08508984c40ebb9d + last_write_checksum: sha1:cc9b7b3fe7c1339e5815fd0b0847e56c85973bf3 + pristine_git_object: ce5140b298a0f2ff7c4e07b435931c6a75aff0df docs/models/textqlrpcpublicdashboarddatasourcespatch.md: id: d8bdae22a8fb last_write_checksum: sha1:0417f98aa768e61c8333693b2336d6b902c565a9 pristine_git_object: 4a496cfcd762f425350357998855bfe5b47d8d54 docs/models/textqlrpcpublicdashboarddatasourcesqlquery.md: id: 1a45d75583fa - last_write_checksum: sha1:5d02a2858b891a3f5518229532a839785c7c472d - pristine_git_object: 60489f43bf1dc647b30677a4a9a9946ca080382d + last_write_checksum: sha1:4067b855de070b3bf62598b263c7fc34c9174649 + pristine_git_object: b98a1009dd5a45fba57edac54dc158d0fb2e4dc8 docs/models/textqlrpcpublicdashboarddeletedashboardfolderrequest.md: id: 43340c8a0ab8 last_write_checksum: sha1:0e275cbe6616d3f9737915b7d3a87b28430ac2ee @@ -6215,6 +6285,10 @@ trackedFiles: id: 96045dce8874 last_write_checksum: sha1:058096bdb0d0ec3ca895f1a2f074b049219e8ae1 pristine_git_object: 038fd1331266f4bac1dde81f20b478b7f4e8d3de + docs/models/textqlrpcpublicdashboardgrant.md: + id: a68e34d28c72 + last_write_checksum: sha1:a7b573be4305d36145945a0ae7cb4cf5cd02fdd7 + pristine_git_object: cb416659ef58a0fb8170e83dbcf82e793c913442 docs/models/textqlrpcpublicdashboardlibrarytqlsource.md: id: 71d41c5fd262 last_write_checksum: sha1:5aa916e3c131cb6f5a45bdc4dc7dce5e3055eba5 @@ -6313,8 +6387,8 @@ trackedFiles: pristine_git_object: 0e435524796efbe45a73e569f56254efe0e33d74 docs/models/textqlrpcpublicdashboardsqlquerysource.md: id: ef6dc84798f7 - last_write_checksum: sha1:57d189052de407b16e2137a63c5f39d9334ca910 - pristine_git_object: b6a7879fc58553def035a59186a2822a5c2e9b54 + last_write_checksum: sha1:909458ce0f1eb6aedfaa71b8641c43075509f720 + pristine_git_object: e13b56639315aea66339ce253c7deb604892a24a docs/models/textqlrpcpublicdashboardupdatedashboardfolderrequest.md: id: ee6754cf84e5 last_write_checksum: sha1:2c1fe7b0752630b1794d49eb3053c6b8a67bf8f4 @@ -6861,8 +6935,8 @@ trackedFiles: pristine_git_object: 90a9cef87195ac5db6f9bac6c942e4d8c3577a4e docs/models/textqlrpcpublicobservegetbillingstatsresponse.md: id: 959ec04f9906 - last_write_checksum: sha1:8b372d30fbb1eef722c60a580e4f8f1486ea509b - pristine_git_object: e6bd8fedc9fbe3a33c9f88880602b51552c43cfe + last_write_checksum: sha1:9f02cd47a32bbd575803efd9a468934033c6301d + pristine_git_object: d836963348e7d6d756380f0deee1fd33a6be2015 docs/models/textqlrpcpublicobservegetchatsourcestatsrequest.md: id: e7d4cf928bae last_write_checksum: sha1:4322872c0bbe55aeaed6369ddab1e0aecbab9b3e @@ -7129,16 +7203,16 @@ trackedFiles: pristine_git_object: 52acc1cbbd16c1d70e0376d345776fe264d94630 docs/models/textqlrpcpublicparadigmuniversaloptions.md: id: c9547627c001 - last_write_checksum: sha1:4377b0b4499ee2b78cd3e6be5e3d1e07f693a606 - pristine_git_object: 9fd5274747cb0f85dfa81147f4146f15b712c374 - docs/models/textqlrpcpublicpatchesaddlibrarysubmodulerequest.md: - id: 8acdde661445 - last_write_checksum: sha1:e20dffbb6dbeac8d4fde4249353f3751f318dfe3 - pristine_git_object: 0ed0853c891d7c80a14bd25b63deb2b1cc53c223 - docs/models/textqlrpcpublicpatchesaddlibrarysubmoduleresponse.md: - id: d22af8fb4d13 - last_write_checksum: sha1:3dc46173ccee3c5636ae49db2f61a62cd6c33881 - pristine_git_object: 1fa84f7556fac7da5e5e27aa786b0a75aba58481 + last_write_checksum: sha1:0fb721217291078e5d509aeca9ffcee72639d461 + pristine_git_object: 4aa902a1ca7b495dae48f71881e7dd4623a74b64 + docs/models/textqlrpcpublicpatchesaddontologysubmodulerequest.md: + id: cd5d1b77e791 + last_write_checksum: sha1:4b3a4209e12488c4ccdacd1eabba2449017774d4 + pristine_git_object: 2450a6afc802d298d314e875a35baacf62278ff2 + docs/models/textqlrpcpublicpatchesaddontologysubmoduleresponse.md: + id: 982708fa6702 + last_write_checksum: sha1:89e8fe17a025d629c18889b08a195b813528081d + pristine_git_object: 26504f08c5cb07588c2e2def5ca8dc8082333dde docs/models/textqlrpcpublicpatchesapprovalrule.md: id: a41777ef90f7 last_write_checksum: sha1:907687d6b851285d32c651c7643fe5e01150e239 @@ -7171,14 +7245,14 @@ trackedFiles: id: 0b204f668b2a last_write_checksum: sha1:1df243671f752926e6062cc23b78b4c241b16b67 pristine_git_object: 83708a0ddb9c23cea5b19fb96868f0c365456144 - docs/models/textqlrpcpublicpatchesconfigurelibraryremoterequest.md: - id: bd9dced67f04 - last_write_checksum: sha1:462e031202c92148306ada617544f06a0e0048c9 - pristine_git_object: 6c1d24ce1eb052f05d4015050576a507fa2bf25f - docs/models/textqlrpcpublicpatchesconfigurelibraryremoteresponse.md: - id: 3061533b024e - last_write_checksum: sha1:93c2785c775c1a4d2d6acb5b87e6e60a12538528 - pristine_git_object: 4bea1e0e946b46362fcd63898bd5c357409526f3 + docs/models/textqlrpcpublicpatchesconfigureontologyremoterequest.md: + id: 65184b1eb513 + last_write_checksum: sha1:ccaedad0dbd413183c9a5d55f9b80d103cd6b7d6 + pristine_git_object: 603218827b0018e76b2a19ff6f9c5ee6cb08483a + docs/models/textqlrpcpublicpatchesconfigureontologyremoteresponse.md: + id: 03b2eb47e9c0 + last_write_checksum: sha1:2a26560c320ef5038f6517373b7f2d4dbb00df6e + pristine_git_object: 762dba8b8122b048351c0ce1d0fce626e494f141 docs/models/textqlrpcpublicpatchescontextpatchautoapproverule.md: id: fdd160baaf7a last_write_checksum: sha1:76f23c0bc018e60a60efe049ccbdc75ed4eafafa @@ -7203,34 +7277,34 @@ trackedFiles: id: 46ce5877558c last_write_checksum: sha1:241bcf4814c2f35cf3ff4e5fe15c357eae3e365e pristine_git_object: 4db51dc04b7baba30ee0d4d21536399598bdea8b - docs/models/textqlrpcpublicpatchescreatelibrarydirectoryrequest.md: - id: 770ef3074578 - last_write_checksum: sha1:0cc5527897ce3197b46e30b60078cd7484ec1cff - pristine_git_object: 168a30bc72785e4252d2c5c0a1f9753fd94a9430 - docs/models/textqlrpcpublicpatchescreatelibrarydirectoryresponse.md: - id: ce1ca82bfb9a - last_write_checksum: sha1:a68ed935ecf7b839f726e24ca6ed790b7c677b4b - pristine_git_object: 84fbefcfac125559117cdb2d2402b4383ed77378 - docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequest.md: - id: 90b75ac0c5ba - last_write_checksum: sha1:66e3ef866d4352239312fa6e1030709bba9b0b9e - pristine_git_object: 2c36f5991668526921e67d211a82b0cb0ef13555 - docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md: - id: f8f8e7e8409e - last_write_checksum: sha1:27aba093793bb3cd5a28824cf27466a0d654246f - pristine_git_object: 4e31d017870ad64209dbf609dabf3ad4ab974210 - docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlresponse.md: - id: b1b0ee4f8e6c - last_write_checksum: sha1:ebaaa51307e309e797e17d7cb4504932c37449bd - pristine_git_object: 8dcef588c7006b5b8b3452c244b1d5c048c4f9f6 + docs/models/textqlrpcpublicpatchescreateontologydirectoryrequest.md: + id: 24434e811945 + last_write_checksum: sha1:d82c9c420af6344ff33d3699b6c0f550ff60ca86 + pristine_git_object: f94e914aa78e207acd08c71a20d5dbdf56b28238 + docs/models/textqlrpcpublicpatchescreateontologydirectoryresponse.md: + id: e675b6b407b4 + last_write_checksum: sha1:a78606e4772271b6e5e80fc011d4843e90a8ca99 + pristine_git_object: ebbef59c924fcc60a0e47059162ec850d2f22f48 + docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequest.md: + id: 655b3709bbaa + last_write_checksum: sha1:6f224783c7d3367fd2caf36d160c3d5206599a17 + pristine_git_object: b506ac07d1ee9ffec161ce32313c370fb7faaba3 + docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md: + id: 115440b02f05 + last_write_checksum: sha1:a90e58fb8a342b5090257a1860b19f54e03aca1d + pristine_git_object: db3fef5065fac6e951767cf8fc63f516d606b5fe + docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlresponse.md: + id: f855a9e50625 + last_write_checksum: sha1:9fccc88ff1cd315afaa8c016bdfa569743966028 + pristine_git_object: a8bdcbe16f50cd7eb146520f08bfe27b8999f93f docs/models/textqlrpcpublicpatchesdailyfileusage.md: id: c14f1c309d63 - last_write_checksum: sha1:474c6c8e39368670aca78bdf7a35283922becaef - pristine_git_object: 11f10b6ea0477bb337df5f6bc7c87bd30fd54670 + last_write_checksum: sha1:08b7a1808c4d2ce85a3768ed522d1b75615803a9 + pristine_git_object: 5efdb6c1bf4ccb44971dfda5dcf0b9185533d572 docs/models/textqlrpcpublicpatchesdate.md: id: 5fc053cd6741 - last_write_checksum: sha1:163dadbece34780e161db65b11667c295b84c60b - pristine_git_object: 0c1e88d4ce60a0ad759fe463edb478742ba1e094 + last_write_checksum: sha1:55ecfd8b807b5c613ea3529611847a8ea77c9820 + pristine_git_object: f44732237b0d51228f38b631ae64450011ed4e0f docs/models/textqlrpcpublicpatchesdeleteapprovalrulerequest.md: id: 6353808195dd last_write_checksum: sha1:7206e74f34edb2f3d6fab58193a7fb819ab2630a @@ -7239,46 +7313,46 @@ trackedFiles: id: 2f9be758c7df last_write_checksum: sha1:89b261f2e8ded1d69bace07cdc6bc91a28c06955 pristine_git_object: ff0a52633e19cd6ea5882cb8976155c1f471e9ec - docs/models/textqlrpcpublicpatchesdeletelibrarydirectoryrequest.md: - id: 9be70974f7e2 - last_write_checksum: sha1:465ada1bb80d82e10536c932f735c1121c80c3f3 - pristine_git_object: 8c1a99416b69690b72b2a7faec28139fb8ccfe8c - docs/models/textqlrpcpublicpatchesdeletelibraryfilerequest.md: - id: 5979c43f9f10 - last_write_checksum: sha1:65f583eee6f293142340181c7212e3ad3707516c - pristine_git_object: b4f9c1be616ca389c0d4ed9f8fa28745c1717116 - docs/models/textqlrpcpublicpatchesdeletelibraryownersrequest.md: - id: af1d94ae02aa - last_write_checksum: sha1:48279a32d29c602c9fa55374236e53ab2d0f3af3 - pristine_git_object: 9dec1a90d1fa60c1f0eecbb21fdcb0f1465e1546 + docs/models/textqlrpcpublicpatchesdeleteontologydirectoryrequest.md: + id: 7208a4806380 + last_write_checksum: sha1:20b3c210e8bba14c66bdb643b754b0af9126c6db + pristine_git_object: f63cb4ef68506512c487c4b5a2d1da4eb9afe132 + docs/models/textqlrpcpublicpatchesdeleteontologyfilerequest.md: + id: 804964fef11c + last_write_checksum: sha1:dd132fdc08ee0dcaeacbb7c0aebbc2f86a7d59cd + pristine_git_object: 6a6ce453edf559b9be88bfc75e18b74a48fb298a + docs/models/textqlrpcpublicpatchesdeleteontologyownersrequest.md: + id: 45b55fe8bc7e + last_write_checksum: sha1:9e35aeeccf14286a9f37fa0dd5076f7a505a7b2f + pristine_git_object: 08d1319c03d8e9664c47ee8aebb7ff6dcfcb24bb docs/models/textqlrpcpublicpatchesdenypatchrequest.md: id: b7a08c7b9504 last_write_checksum: sha1:7de1b8379fb3f9bde282664fbce3167068624c80 pristine_git_object: 8b14299b9ade50c4d451cf9dbf9b7aad3073c821 - docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderequest.md: - id: 61891a58cdd6 - last_write_checksum: sha1:e6399d796e1c142891eecd3c4f070548833d5b75 - pristine_git_object: d2ea4f5c340c6b4b6b10abcf3dc488eef3c23c95 - docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderesponse.md: - id: 3a75c35bb999 - last_write_checksum: sha1:5701bf01caa750cc416f024d4a2f2b0095164838 - pristine_git_object: 55793e9f0afc208237ccf02fdfbab983037414f1 + docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderequest.md: + id: 1805989b6a53 + last_write_checksum: sha1:a42e4c1273eec211bd517beb863a444ac6474a1b + pristine_git_object: eca07e7c67f3bfaa937bf9849445646991921e1a + docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderesponse.md: + id: 87ca8e27f9ba + last_write_checksum: sha1:e82c2caaaab859b92867f0ba48f90c11159fe77a + pristine_git_object: e2cabbb2239ac4ccaf6df2a1fba711144e2981b1 docs/models/textqlrpcpublicpatchesfilechatusage.md: id: a829a2d86db7 - last_write_checksum: sha1:d161cfa3818a9e33820d96a8fa6ca0cef9461883 - pristine_git_object: 78d6105b7363e7cbdca35cbf29a076c9a8e6bf47 + last_write_checksum: sha1:83465274f806f8472a41d19bd88fd647f3760bdc + pristine_git_object: 6769c7803b122a8a64829b33bf17cc757ccdad34 docs/models/textqlrpcpublicpatchesfileusage.md: id: 974f2d5f50e6 last_write_checksum: sha1:bbdef791643603bb182c1baecb493db6af3dadaa pristine_git_object: a440e9390802f8c763da82ec6a89c56c26c5afc4 - docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadrequest.md: - id: 9a23f5d6abb4 - last_write_checksum: sha1:2c8b2bb3b2387741b0ea25286c39017dd79361be - pristine_git_object: b6b5516ad4644974e6adea9c52d43b225512f0d8 - docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadresponse.md: - id: e2719a914c82 - last_write_checksum: sha1:992cda43eaf8a609362d541bef78b57bcce37a8e - pristine_git_object: 71ce7b9a86421533c97ea3dd9b1b08238231407a + docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadrequest.md: + id: c2c2b3ccb55d + last_write_checksum: sha1:f664197c9448d9a72dfdd63b0d1815d76435bbef + pristine_git_object: 96875353c5aaeb1fb42874f5ae20afc3b028cc46 + docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadresponse.md: + id: a86a9d53f771 + last_write_checksum: sha1:047369c3487adfa09cf1078c4c01ffeff8feeb0d + pristine_git_object: b6a6af78fbe821864ba67a27ab9e510829a34a97 docs/models/textqlrpcpublicpatchesgetcodeownercoveragerequest.md: id: 2a967c5ef261 last_write_checksum: sha1:eca9bcb28861dbc83307d03851910b05a3b3705b @@ -7295,102 +7369,94 @@ trackedFiles: id: 3db8bdcbc56a last_write_checksum: sha1:a56f3858e3d10f1dc06d840fc663d70b87374757 pristine_git_object: 7d263a8b082429a0d503c44f86df77d22395eca8 - docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersrequest.md: - id: 610b01364a48 - last_write_checksum: sha1:0cd14e08969bfb212e4c121bfa7f8d56bcb23c66 - pristine_git_object: ff17dd8508033af3d41ef8abd2d4edc58f9ec4c4 - docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersresponse.md: - id: 2d27d95f0934 - last_write_checksum: sha1:b79da7ad6a477c6f60a921ac5f812101ac1cf035 - pristine_git_object: 2335430e71e379bc6f47a9855df3a646bff0bf24 + docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersrequest.md: + id: 329d5f0585c3 + last_write_checksum: sha1:f1d72f472647feeb61682240d41a9f4cc79d579a + pristine_git_object: b80314cb3a140ecdbbe919a20b60d52888c5b8ea + docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersresponse.md: + id: d0181ee5fac1 + last_write_checksum: sha1:e5f6dbc545bae16d085eb7044a27b82741ba76d5 + pristine_git_object: 570a41b8ebac55242526c5dca4f920509be72218 docs/models/textqlrpcpublicpatchesgetfileusagerequest.md: id: 7838a6df9675 - last_write_checksum: sha1:b860ab986c95a8ecb0bb810ca96bf946daf7b79a - pristine_git_object: abc5403fb25d34ec7a064a56c5373db4b6240aed + last_write_checksum: sha1:c91292aa410425751c1f2c84727880726c8c5d4e + pristine_git_object: 8120a6da818070516c740fd03cb45641860f959a docs/models/textqlrpcpublicpatchesgetfileusageresponse.md: id: 5802978da74e last_write_checksum: sha1:0006a247b7826d7075e0eb58d93784f069e2595d pristine_git_object: b955bb7368b3ff377c86ab2ebd0b85b5c708783e docs/models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md: id: 7e63d2fff0df - last_write_checksum: sha1:526d5adaa4bbfc791c5e247b6360173408b0b143 - pristine_git_object: 06064a3de8bd524f7370881b8f85a133f16a72b8 + last_write_checksum: sha1:e4b33b283db2324024c3fd973e210975b0bd6166 + pristine_git_object: 74c5bef4df30a6a09a2a02c5363a207f080cf691 docs/models/textqlrpcpublicpatchesgetfileusagetimelineresponse.md: id: cf0d9d7108f4 - last_write_checksum: sha1:0eed45f839d4af71f92f11abb5efb2d3ff15d0e1 - pristine_git_object: 1415a94e571023e2532f9c18c65f14115d42912a - docs/models/textqlrpcpublicpatchesgetlibraryanaconfigrequest.md: - id: 0e2c6122d3c2 - last_write_checksum: sha1:ca97c8493618b6219b04a6300a0f20fc79af4b28 - pristine_git_object: b584ee7e3097bb4c5e805d86a6cdb56161b9cc83 - docs/models/textqlrpcpublicpatchesgetlibraryanaconfigresponse.md: - id: 8e3167b8d71f - last_write_checksum: sha1:5b9d3ee2138ad67b2bb795231fe43c087907a19f - pristine_git_object: e236970fb77d290a9547e4c6e1413b8e649bf65a - docs/models/textqlrpcpublicpatchesgetlibraryfilerequest.md: - id: b25636b22edc - last_write_checksum: sha1:d894097254d9fd99ff6dcf5a0d247a6c7011cf25 - pristine_git_object: f23afd01f0931128b3ad98cbf3fb67202b64af59 - docs/models/textqlrpcpublicpatchesgetlibraryfileresponse.md: - id: 7c046e17003d - last_write_checksum: sha1:9d1023cb92279204a2f5b4aa66ff2712f90f57b0 - pristine_git_object: 4b0276db295cadd147138e52eac33f141c2e7b66 - docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlrequest.md: - id: 3a204874c26a - last_write_checksum: sha1:e7a296a0fac081c86bcb847b2c7dd286a0818b5c - pristine_git_object: 2a3f1f46a1c6178d0a6bf89275e521f7740f505f - docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlresponse.md: - id: 69fd06732cd9 - last_write_checksum: sha1:367df9669cf2e75d78d52d7194394b5c0a408397 - pristine_git_object: cac77d2539f4730bd0e0ca0bc9f30bc3259d3ffd - docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffrequest.md: - id: da2abd3e0e0e - last_write_checksum: sha1:f5ddaeb6195d185b0b96047cf99f5291d28b9d35 - pristine_git_object: 217c4e7c8beb5f35fcabb6d7529cc65a361bc162 - docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffresponse.md: - id: "137821016e69" - last_write_checksum: sha1:495675e3d57855be50099a600ec8c26e560ba26c - pristine_git_object: 137d12fc1095e1d967b0f4daa282a1042aa2db1a - docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md: - id: 84fd92a0f8f8 - last_write_checksum: sha1:de6bb4492793f3027439c55a0abafa0d1993d285 - pristine_git_object: 413a62ba8fe82a4c847497baf25772b14deeec3f - docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusresponse.md: - id: ffc0a1e536ca - last_write_checksum: sha1:11b904df4b9cab66ba2c68340d9f33342ad1dd39 - pristine_git_object: 8a81b971f15adad72d8ffad77c40965e22f1fc4b - docs/models/textqlrpcpublicpatchesgetlibraryownersrequest.md: - id: 52515654cddc - last_write_checksum: sha1:14d9c3924855fb803ac3f80070b6fd38f338581f - pristine_git_object: 9110694802139e1e32790473dfbe48abd1a75fb7 - docs/models/textqlrpcpublicpatchesgetlibraryownersresponse.md: - id: c3394ad34111 - last_write_checksum: sha1:686de0cc1e2c5a409b14c9e7d477eb5f704e07d7 - pristine_git_object: 0f9a053d549719a09810d58458ff789a8e694f3c - docs/models/textqlrpcpublicpatchesgetlibraryremoterequest.md: - id: c2bd41595396 - last_write_checksum: sha1:576ede4da4131db8e8ffa2b80c5ec7ced062a76d - pristine_git_object: 23894257ec0794f8cc349f504aaeb423a1c8bdee - docs/models/textqlrpcpublicpatchesgetlibraryremoteresponse.md: - id: 19bd52de9e7f - last_write_checksum: sha1:c7c28b1805663ecb4989dfb111cbd71ac6c4b91e - pristine_git_object: 50f14e30b7079ac71d97c9991fd4c17c6f81f7d2 - docs/models/textqlrpcpublicpatchesgetlibrarysizetimelinerequest.md: - id: 8330f0236054 - last_write_checksum: sha1:707ee76bec2722e5c383d58277c416c92c50f566 - pristine_git_object: b5b4ca398ecb0adb30e469f84221dd642d6afc6f - docs/models/textqlrpcpublicpatchesgetlibrarysizetimelineresponse.md: - id: 1a8db7f90f15 - last_write_checksum: sha1:1713a9a214941306a914fee2e8d942c473e09988 - pristine_git_object: 283dd3e04972321b45f312aad15328039cf2b0be - docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md: - id: 76c09768ada3 - last_write_checksum: sha1:0050a18dedcffd5aeb9b9ca07cf1c083b6ab7fb0 - pristine_git_object: 6853c4f30913a7ebe4ecb049bf0c3c9f3d76612b - docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsresponse.md: - id: 11c064fb4af7 - last_write_checksum: sha1:cfc25f0e50a4d4b349d47ffc743c5b4d1abf52d8 - pristine_git_object: 2a5075224622a3b68f89ae5ea11a40f25db4ec17 + last_write_checksum: sha1:08045d13895dfba7e6d250425af587f9ec5adaf5 + pristine_git_object: 84886e3716403fb0d1508e1fe57d0e11fa83a30d + docs/models/textqlrpcpublicpatchesgetontologyanaconfigrequest.md: + id: ee333296c5ca + last_write_checksum: sha1:9cb2d803cb58a2122cecee6ca8e5073422bb70ef + pristine_git_object: b94bc78edf5a02372902df1ff7e418a3867dc921 + docs/models/textqlrpcpublicpatchesgetontologyanaconfigresponse.md: + id: 4eb8a96bcb18 + last_write_checksum: sha1:eadaf809bffc5822eb9000ce46b079984d670193 + pristine_git_object: 74e62defd3b21fceab1ebae9be9646b055c54f85 + docs/models/textqlrpcpublicpatchesgetontologyfilerequest.md: + id: 0ea3f1628ac4 + last_write_checksum: sha1:81fd0cbcc635ab54985c65d1e30cd408464cd5a1 + pristine_git_object: 2431c754a02b7668dfb56c011f66e3989c83ddb7 + docs/models/textqlrpcpublicpatchesgetontologyfileresponse.md: + id: d12dbafb98a3 + last_write_checksum: sha1:dcdb693bb0b9ca5324eaddd751c0a1edfe4a0399 + pristine_git_object: df208e0cab5516db5dde057b2306b4248032357f + docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlrequest.md: + id: 49a2f524cc44 + last_write_checksum: sha1:8e848c8507e3791e2409c17c3919a41d95073d72 + pristine_git_object: f35ac8405c6d630f66070eb2d5a9ce596bf4e028 + docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlresponse.md: + id: 15252fcb0533 + last_write_checksum: sha1:52da33e047f80ecedfb53d092551fbb89913176f + pristine_git_object: 149e9f183e93db9ee3dd9e123320a0e71e7049f3 + docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffrequest.md: + id: 5b34b710025b + last_write_checksum: sha1:ae15b84ee2e33066d815a919e050150863010cd5 + pristine_git_object: d485c312d8447fff7a93a545947d4915b31c3355 + docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffresponse.md: + id: f972f96bf846 + last_write_checksum: sha1:1d56e65161fce3cdafc942a958feb890da7cb869 + pristine_git_object: 25971292c316c53ff2042c36c80d2d35744bd8b7 + docs/models/textqlrpcpublicpatchesgetontologyownersrequest.md: + id: 4ac4a8b35091 + last_write_checksum: sha1:1d25d9a51cc904083c9088662c74170347c62164 + pristine_git_object: 57a77704af701f3c5e57d16e9b8a6390ea8b3e0f + docs/models/textqlrpcpublicpatchesgetontologyownersresponse.md: + id: 27a9768d9e1b + last_write_checksum: sha1:235e8b6141a24a32f2f12924920fbce6a3ed75af + pristine_git_object: 1130904371c01795551546a7edfc2971ee656d06 + docs/models/textqlrpcpublicpatchesgetontologyremoterequest.md: + id: be73ed9a2934 + last_write_checksum: sha1:350f189d74b57393ed59cdf2a3a7cd9c6a552f76 + pristine_git_object: 485211538ea254edcbcf62b10db65998272d3b91 + docs/models/textqlrpcpublicpatchesgetontologyremoteresponse.md: + id: 45d5f0de1feb + last_write_checksum: sha1:899db3c00ef1d3fc46bc846e57966739ddefaeaf + pristine_git_object: 901c3ca86f11a6977e30fd444ebe74ecab974cff + docs/models/textqlrpcpublicpatchesgetontologysizetimelinerequest.md: + id: ed7b40e52be2 + last_write_checksum: sha1:59ecf35af584e7d3eeaf3efdc591621e22496b7c + pristine_git_object: bb7dad50e739e65cf1170648054d312c0d7e2445 + docs/models/textqlrpcpublicpatchesgetontologysizetimelineresponse.md: + id: 39bad3a0f7df + last_write_checksum: sha1:51f92f89870c683847e52d78b9c205258dc23968 + pristine_git_object: bc5a50b72d1c3d281c0733c8215dfab9b5e5ca2b + docs/models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md: + id: 8e0a8496d4b4 + last_write_checksum: sha1:01388ad7b49d316859e1db888184cd008b4638d0 + pristine_git_object: 514b81c0902f8204ba3059270914c34bcb6160fc + docs/models/textqlrpcpublicpatchesgetontologysyncconflictsresponse.md: + id: 6f678c2346bf + last_write_checksum: sha1:f0968087aee78e8456b5213f8d14d03d5abe356e + pristine_git_object: 24a7f3b9d0a766063dd3bbb92c3696a01a571bb8 docs/models/textqlrpcpublicpatchesgetontologyusagesummaryrequest.md: id: 82ffcf05c31b last_write_checksum: sha1:a25efd74387fa1f795fc78e325f873fdf1fcfc6a @@ -7425,12 +7491,12 @@ trackedFiles: pristine_git_object: 1d9fd895d40e05b3b96bdad624f3c24eab7e93ae docs/models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md: id: 918cc0a05595 - last_write_checksum: sha1:ccc26d9e7268a168c96ef7c52ad69df03b1c6b00 - pristine_git_object: 163eca3a4a91d87e8f5adb73066e72d171f20b58 + last_write_checksum: sha1:b5e1e8e03bb1ee3d58095d62fe84a2815edb040f + pristine_git_object: 8772cbeea274b71737f59d1454b278cbcf664c6e docs/models/textqlrpcpublicpatchesgetusagedetailsforfileresponse.md: id: b9ae6ce6e755 - last_write_checksum: sha1:2d8e4eff9db3255e86e15eb08e3afa97adcca5d9 - pristine_git_object: 6a4be74ad900343c81cded55c11fed3271c0055d + last_write_checksum: sha1:ca6d822927d3987f84671c4837885b3570d8e78c + pristine_git_object: 96808c6df538476d8211af57f8e9e5e08ae7a38f docs/models/textqlrpcpublicpatchesgithubinstallation.md: id: eee9e84df383 last_write_checksum: sha1:e87ebbe4200e706919b7fd6404de887c32d8d56d @@ -7443,86 +7509,6 @@ trackedFiles: id: 25d4b4b54650 last_write_checksum: sha1:e53e8500c4f6b496f87fa9d9bad4df037bb7a456 pristine_git_object: cc06297b33491c435e76112e620eedfee1823905 - docs/models/textqlrpcpublicpatcheslibraryanaconfig.md: - id: 8a1d5e8b6ace - last_write_checksum: sha1:3646b03b8f4e7b0e67ec1e2dc71b3b44ee33abae - pristine_git_object: 4cbc8df220c4c122f805d051fd82f617188d0492 - docs/models/textqlrpcpublicpatcheslibraryentry.md: - id: d9f6429f9809 - last_write_checksum: sha1:fdc45cd6397fac52f7a4dd946d1748ec85d14f38 - pristine_git_object: cd2cc2dc020ec935f7236f28a104eab8fb2df899 - docs/models/textqlrpcpublicpatcheslibraryentrysizebytes.md: - id: d1aad5112145 - last_write_checksum: sha1:3eba16e541b2542fc33a26df7c363effe08def5d - pristine_git_object: e6cb9715313d960925bc060ff72f04bf03dcf403 - docs/models/textqlrpcpublicpatcheslibraryfile.md: - id: e51b3e4f28e1 - last_write_checksum: sha1:88891e7b32974db53d82f418e83b4570bdf5b2d5 - pristine_git_object: 99bb8cfea5d4433d8b4d7e7f37e65f88440b5b9a - docs/models/textqlrpcpublicpatcheslibraryfilekind.md: - id: dbc9434f1c51 - last_write_checksum: sha1:2f3216f64fbceaf6fc2cb5d9d5612f2be3ec1ecd - pristine_git_object: d812ce4e825748c9eb89f19c57fba84d329bef86 - docs/models/textqlrpcpublicpatcheslibraryfilesizebytes.md: - id: b1e7b1e2963e - last_write_checksum: sha1:be06049fec69595df19ff0eda00b71e3992d7bb1 - pristine_git_object: 53d58a4b2cd1fe9fd910a7e188f6bae13a6b487e - docs/models/textqlrpcpublicpatcheslibraryhistorychangedfile.md: - id: 8b9a9943d484 - last_write_checksum: sha1:b2ee0db1bad817430930357dcae085d3dfbdbb51 - pristine_git_object: c2ca828a8bf893ca5104d100e316c8d8b4ccc04e - docs/models/textqlrpcpublicpatcheslibraryhistorychangetype.md: - id: a0595fd49dbc - last_write_checksum: sha1:2a9e79670edec781a38dbc40ee3fb3d66c088e91 - pristine_git_object: f2841d484ee5b2525c4cdfb3caaca762f35eef88 - docs/models/textqlrpcpublicpatcheslibraryhistoryentry.md: - id: e6b9d364d810 - last_write_checksum: sha1:32a05d9718cfd968be2c4db0f404a073f02362c6 - pristine_git_object: 8decbdb4193b54913593c018585a3dac8a6ab091 - docs/models/textqlrpcpublicpatcheslibraryimportedge.md: - id: d653fdad4e90 - last_write_checksum: sha1:3f1f82a46c12d8dc706fd0640374eeece4b00b48 - pristine_git_object: 91b0a76a5b398bc352a620dc083c41fb62a34d74 - docs/models/textqlrpcpublicpatcheslibrarymergeoutcome.md: - id: eeca122b4181 - last_write_checksum: sha1:86e24a90046d023f3c944099f2ff7b8c89ee5831 - pristine_git_object: ccbd40e38a059857d5fb53e9501f5d1b9e6be9ea - docs/models/textqlrpcpublicpatcheslibraryownerentry.md: - id: 3e45ad06cccb - last_write_checksum: sha1:ff071cac52fe1a6addf1ee12666336b15868e213 - pristine_git_object: 3f44f3aa7230351da9d61dbbe930c4be90cc52a7 - docs/models/textqlrpcpublicpatcheslibraryowners.md: - id: e8dea6861928 - last_write_checksum: sha1:531d459ab957c8a11dc4f7c4f0d14249009eb76b - pristine_git_object: ea58b5e5ec414613cafea02f09b790aa9d903125 - docs/models/textqlrpcpublicpatcheslibrarypermission.md: - id: 682a4bc1e616 - last_write_checksum: sha1:07ff20ad879af239b395c51d01cbc5dedc38a861 - pristine_git_object: d4edb9544260b283f3e1ea42f594a522254c5302 - docs/models/textqlrpcpublicpatcheslibraryremote.md: - id: 34fe1740ae45 - last_write_checksum: sha1:c5d075bda5ad0092f0fd9a4464c7e6cb04214823 - pristine_git_object: 34f7eff9d1db5a6c60ba41e20371359caf45902b - docs/models/textqlrpcpublicpatcheslibrarysizeday.md: - id: 67a2a610702b - last_write_checksum: sha1:823d4dee6746adf9292cbf59214038fbfdbbbee8 - pristine_git_object: fad9e6a4153f4790c9d1f71418288d73f1a2105d - docs/models/textqlrpcpublicpatcheslibrarysubmodule.md: - id: a2b2b69a26f3 - last_write_checksum: sha1:2d0623850447671489db4c2e83570cbcfcaeaf45 - pristine_git_object: 1e976a0ad85a3999adecb20e25ab750d75e90848 - docs/models/textqlrpcpublicpatcheslibrarysyncconflict.md: - id: 6a074b438ec9 - last_write_checksum: sha1:279f766e76be999a5cc4508d8e132b40799a7192 - pristine_git_object: dd4453d45cdf3c24a914e1d48f8eff7f0f85f39d - docs/models/textqlrpcpublicpatcheslibrarysyncrun.md: - id: 659a5eed8dff - last_write_checksum: sha1:562e127464a0a98a73e106f0bfef238282ebda74 - pristine_git_object: 320ef001dff4948b69a11a30118ff8e5fe50a121 - docs/models/textqlrpcpublicpatcheslibrarysyncrunstatus.md: - id: 3b953dcfa60c - last_write_checksum: sha1:f04f1820dbb3c8430db53575ce885d33fafb4eff - pristine_git_object: b1e53d828bf5c6d666ef32858a720a7ebfcc222a docs/models/textqlrpcpublicpatcheslistapprovalrulesrequest.md: id: 1d1fc1c231aa last_write_checksum: sha1:e6514cc47608c98dfbd742fbac3edae0805cf73b @@ -7533,12 +7519,12 @@ trackedFiles: pristine_git_object: 4d877370dd6ad637ca1d98b634f53cc36551b576 docs/models/textqlrpcpublicpatcheslistchatsforfilerequest.md: id: f024b6d38b82 - last_write_checksum: sha1:2cb4458887090850375d70f70e7de859c390fb49 - pristine_git_object: 9b685fb09f8e33b92d566321018267e3f2621202 + last_write_checksum: sha1:08f6c58887533ec1553f36015b23e2a9d54dcb4e + pristine_git_object: 2f7643d64b9a9fd898e1cfa1b7cd8b914719a70f docs/models/textqlrpcpublicpatcheslistchatsforfileresponse.md: id: e29b93fcae57 - last_write_checksum: sha1:d939d14da206829530df5562b711d7cac465fae1 - pristine_git_object: 954f67828e99ddd39f0e49cc4c92fca9bc9ac3c4 + last_write_checksum: sha1:96b2a1f2779d18a956711af6d81ee68c84e9c3c1 + pristine_git_object: 1c651b7bd97f85cd41d593b15f57b3802db7de03 docs/models/textqlrpcpublicpatcheslistcontextpatchautoapproverulesrequest.md: id: 3692bc803fd3 last_write_checksum: sha1:3340531547809b198765af5bcd5d4172b1accb88 @@ -7555,46 +7541,46 @@ trackedFiles: id: 0ea8498af07d last_write_checksum: sha1:2c3f22f129225ebad491bcb10605e5cf8f0476a5 pristine_git_object: 198d37c68e7d2fe3e55a6e07a9a46761a0983dbf - docs/models/textqlrpcpublicpatcheslistlibraryentriesrequest.md: - id: f9c517ab5775 - last_write_checksum: sha1:0ebda54a6d9dd64bd57869e6272cb35ed3fe6ff3 - pristine_git_object: e39cf13c4328c79d86628ea2f9c7f55d1988202c - docs/models/textqlrpcpublicpatcheslistlibraryentriesresponse.md: - id: bfa4ac876c8d - last_write_checksum: sha1:29a5c27c8199b10af387ae92e89e9a31969078e8 - pristine_git_object: 104e943e3e34bb904bc384bc880a3a81d87ed445 - docs/models/textqlrpcpublicpatcheslistlibraryhistoryrequest.md: - id: e70172ff8f43 - last_write_checksum: sha1:394216c1dca81f43a935d0f375f0a3206f2c00c6 - pristine_git_object: e8541eae3727cb86644aba02ca35b5d31138d61c - docs/models/textqlrpcpublicpatcheslistlibraryhistoryresponse.md: - id: ef4330acad7b - last_write_checksum: sha1:bfb0bbc15f07885a89aedebedaa79a1e79d1d5f0 - pristine_git_object: 5a570838d8a7ec42ae0466fb19af7e04841038f8 - docs/models/textqlrpcpublicpatcheslistlibraryimportsrequest.md: - id: 234089d91fe1 - last_write_checksum: sha1:253f04b633fb4950908350af43094b2e486b4063 - pristine_git_object: fee354df078ddb686e8b21a998a06427f827a3b3 - docs/models/textqlrpcpublicpatcheslistlibraryimportsresponse.md: - id: 4370a92201f7 - last_write_checksum: sha1:265fec23d9a9d3e7af16b1829d43e84614516e1b - pristine_git_object: 69a306e5a787e75e187a13514bcd2b0de21f01e7 - docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md: - id: 677d51eb4281 - last_write_checksum: sha1:d0160e725ef0672c9b8f87f55f86f86ee1e60aab - pristine_git_object: 0c66af940b3386f2068fba62c83b17dfea5ae862 - docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesresponse.md: - id: a5fab391bb57 - last_write_checksum: sha1:a191b23fe46f9e202ca46bb4b2951a46881f28a3 - pristine_git_object: 7b94cd14c456a1b9fb068f64821582345ec5d048 - docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsrequest.md: - id: 1d9d63b59f9b - last_write_checksum: sha1:5b37525f228bee693c74b87c95410ee63387def3 - pristine_git_object: 6ffae50a5c302955b84a1abff9e07a4fce5104ff - docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsresponse.md: - id: b9cf06d41f71 - last_write_checksum: sha1:671d63ed39adee8151682f7f3d7032ba1a0acb9a - pristine_git_object: b31163897e6928573837b28eab02e8d989f5f52e + docs/models/textqlrpcpublicpatcheslistontologyentriesrequest.md: + id: 0e620e433418 + last_write_checksum: sha1:4d6ec12619e92c7dca46c95cb94046f7751b2f95 + pristine_git_object: 77552e15b6796847d262408732f4bcfbcffe3b53 + docs/models/textqlrpcpublicpatcheslistontologyentriesresponse.md: + id: a5b558887c25 + last_write_checksum: sha1:fcc1a752e84096de4bf21af0ee7606eaf08a859b + pristine_git_object: 4dbcc28d11549b45b024de371ce44a63a91723a7 + docs/models/textqlrpcpublicpatcheslistontologyhistoryrequest.md: + id: f02894a0f3fd + last_write_checksum: sha1:4968993395b70c98a6b497cca76aee8f0b8c59ae + pristine_git_object: f7ec4a8594f91d516850cb7cd799a8ce7f821674 + docs/models/textqlrpcpublicpatcheslistontologyhistoryresponse.md: + id: 016be12fb4a7 + last_write_checksum: sha1:1683095aa162d9af12f7bbde3a1fa18dddbbb9c4 + pristine_git_object: e5c7b159a72a43bee9e295e48028f4bfbee6523e + docs/models/textqlrpcpublicpatcheslistontologyimportsrequest.md: + id: aed785864e63 + last_write_checksum: sha1:26d89ceb1627f09c2290390a65213f6158f968f2 + pristine_git_object: bc81b4ca757f17760170f325d8684cb74a5fa684 + docs/models/textqlrpcpublicpatcheslistontologyimportsresponse.md: + id: c7edabe28be8 + last_write_checksum: sha1:49b248adedebac5776ce4c6a7af814bfe587971b + pristine_git_object: c2245bcbd5620e94a6fc16a49ab15c975d15b985 + docs/models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md: + id: acb9f961946a + last_write_checksum: sha1:a376d275fdafcc6c3a56e3851ff991098a3cacfc + pristine_git_object: 7d8bef31fa5e3477a2e2574b6e886f85bd042333 + docs/models/textqlrpcpublicpatcheslistontologysubmodulesresponse.md: + id: 3399ce593119 + last_write_checksum: sha1:8b7e8f8cb40ae6a596c0f62d1513f2d09ef56234 + pristine_git_object: 2f29ec424bf14dcc8116a43821b5a017009e9b89 + docs/models/textqlrpcpublicpatcheslistontologysyncrunsrequest.md: + id: 7f936da0b96f + last_write_checksum: sha1:b9511e6b5c2ba51cf59bef4a31beef82bc2bc168 + pristine_git_object: f7cff3389065be2dfeded5a454ab483ea89daf59 + docs/models/textqlrpcpublicpatcheslistontologysyncrunsresponse.md: + id: 9b34a2d58516 + last_write_checksum: sha1:437f67e8a6de8f7a617b712e9537e2e1f12ac4ee + pristine_git_object: 83202ca4ccf91a33ab5cd095f6efc9fb380ab117 docs/models/textqlrpcpublicpatcheslistpatchesrequest.md: id: 645947f44538 last_write_checksum: sha1:aaeb8c5135545d26d145f9d17cf720947b078689 @@ -7619,34 +7605,86 @@ trackedFiles: id: 2993380cf5f5 last_write_checksum: sha1:1700de94a53278fa249f663afd952f820ae98808 pristine_git_object: 931cc05c3dfd8f430cbf31e3dcf4375aa7e0305b - docs/models/textqlrpcpublicpatchesmigratedlegacycontextprompt.md: - id: 729afa6bf33a - last_write_checksum: sha1:41be8a91f23956250b0ea248b9bb3a5259d9ec31 - pristine_git_object: 141d70704dad79bf9aa850aeb15c7b86e25fc7e0 - docs/models/textqlrpcpublicpatchesmigratedontologynoun.md: - id: 52c4d532c7c2 - last_write_checksum: sha1:cb9929ceec60cd0073fbed860c1dfe9ba5584d04 - pristine_git_object: cd09982f9a6d7c4c7b19e0073639458409e038d2 - docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryrequest.md: - id: 9e5d17d75904 - last_write_checksum: sha1:6beb0fb4254e6e290bc14d628316c55e5a400cdf - pristine_git_object: 95b1ac953464f567ae7ca0063cec38cb3e801723 - docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryresponse.md: - id: f7a45c2383ae - last_write_checksum: sha1:9f536047258f383a01a781637253e9a386143b67 - pristine_git_object: 125b7f2b5285654726c4635acf824bcf5c4a1f32 - docs/models/textqlrpcpublicpatchesmigrateontologytolibraryrequest.md: - id: 0b7b73ca9dee - last_write_checksum: sha1:279b9a1eb1e8e52d2fa21d765a8aa59de6122d38 - pristine_git_object: c41f878bf5d6a64ed4519d99f785a6aabb10c1c6 - docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresponse.md: - id: 6bd8b09f91f5 - last_write_checksum: sha1:0f3ec52a7409ab684864de4198aea346436133a4 - pristine_git_object: ffd596bbcd7801e0410b7505ea7b17b0e0ba309f - docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresult.md: - id: 3d21a9f2f3d6 - last_write_checksum: sha1:d0e2e01ce03a59156e3d5ea31ee49c452736bfd8 - pristine_git_object: 4f4118a6b8dd06d7bb265d64391d42594fa23e9d + docs/models/textqlrpcpublicpatchesontologyanaconfig.md: + id: 3760f009a2bd + last_write_checksum: sha1:b31bc6cba418455472e8d81070bf0d0f5a19d3a4 + pristine_git_object: e679266654de050f7d721dd1181d60dfb90f61a1 + docs/models/textqlrpcpublicpatchesontologyentry.md: + id: 8b2558456821 + last_write_checksum: sha1:01585f11a84b3809a110c46be7bf770b96820798 + pristine_git_object: e441cc7e676935683b771e08362508224448781d + docs/models/textqlrpcpublicpatchesontologyentrysizebytes.md: + id: 3e2f0fb03ec6 + last_write_checksum: sha1:58273fe1e9fe991bd9344ad1226d9dcb50f1f746 + pristine_git_object: 9afb4b3ed11fa8db978c440d0e08fd422840636e + docs/models/textqlrpcpublicpatchesontologyfile.md: + id: 3e8889b348ce + last_write_checksum: sha1:64e61caaee7368a7348abee03ae044e194f7be72 + pristine_git_object: a3e7a610bd402c9a6f0e629447080acc94f0033d + docs/models/textqlrpcpublicpatchesontologyfilekind.md: + id: 1de67b99601d + last_write_checksum: sha1:56c792a77744ad2d8758d5c220e12a0d3038b974 + pristine_git_object: 609aa19e6bb8f043a171695daeffa962d1d11ebb + docs/models/textqlrpcpublicpatchesontologyfilesizebytes.md: + id: edcac2a79acb + last_write_checksum: sha1:bf358c99c76a4011a3594275de98b2c490030d12 + pristine_git_object: e9cd9d5452756cb20f3f513471185425115da48d + docs/models/textqlrpcpublicpatchesontologyhistorychangedfile.md: + id: a8ac4cc4783f + last_write_checksum: sha1:63fc00b30b5ec9448abd3ab824413a9b10869397 + pristine_git_object: 83543f8aa65f7eae7e76e37ce38ccd01657eff8f + docs/models/textqlrpcpublicpatchesontologyhistorychangetype.md: + id: bc8b01e0346f + last_write_checksum: sha1:9ba81f0bda86f89750bb18c5c250648631961896 + pristine_git_object: 6ed65af276035ce8155a4b9cc79437b71f0c114c + docs/models/textqlrpcpublicpatchesontologyhistoryentry.md: + id: c663ea22f1a2 + last_write_checksum: sha1:4d38b205214b6082658e6503d20e3d8857a1b8ad + pristine_git_object: 274d469d08efd3e71df845dd315f1df245c77429 + docs/models/textqlrpcpublicpatchesontologyimportedge.md: + id: "945552619793" + last_write_checksum: sha1:124d47e8235a725b035d33da389c379f39f284f3 + pristine_git_object: 311fd94290cb13b9a02b2c1baa873f9443eb0020 + docs/models/textqlrpcpublicpatchesontologymergeoutcome.md: + id: 9e6451360feb + last_write_checksum: sha1:a9ccbbbd39e70d20ef09fac5052e65db2cd52aed + pristine_git_object: 0682f1bfb09d4699950d27c640a444971bb528fa + docs/models/textqlrpcpublicpatchesontologyownerentry.md: + id: 881d820c4d73 + last_write_checksum: sha1:b6f12352da9b6c5fc594ac887e0451e9316e02af + pristine_git_object: 2f9ad731e9bdfab70841365ceb4564f24a82b210 + docs/models/textqlrpcpublicpatchesontologyowners.md: + id: 7dc9da88d993 + last_write_checksum: sha1:3a89db8b884f78431fe02d8a3d5f931288a4ae73 + pristine_git_object: c6380b633b4d798932a920e94390c3b210069e44 + docs/models/textqlrpcpublicpatchesontologypermission.md: + id: 4ed4103a6227 + last_write_checksum: sha1:8a8c5507bd34c2a03c1431350ba68dc40c204ba8 + pristine_git_object: 77ce7f90ff9951c332ea1afc4ada1d611f9f6cfc + docs/models/textqlrpcpublicpatchesontologyremote.md: + id: 5463cefa4e25 + last_write_checksum: sha1:1cccfe500971673273e986da6004960fc65e386b + pristine_git_object: 18f27b6b3d29ece882d15fd323dd0f92ac4ee2e1 + docs/models/textqlrpcpublicpatchesontologysizeday.md: + id: 060ffe2120e3 + last_write_checksum: sha1:128c327cff6dfe925b4e5ff94051e7d26a3c27ec + pristine_git_object: 4833ff47be5576b94c9f888e85dccf7c6751145f + docs/models/textqlrpcpublicpatchesontologysubmodule.md: + id: a6de22bd540f + last_write_checksum: sha1:d2503c6a353cfbd9293374ba4ae0987661eb9a2d + pristine_git_object: 74dd3e509e1650e73db58a5bca751bb5942db10a + docs/models/textqlrpcpublicpatchesontologysyncconflict.md: + id: 864fc73dd2d3 + last_write_checksum: sha1:c4c85d1db91a913a0f8ddab524dc7b4f9c21c4a1 + pristine_git_object: 4245b7f43db2f3e48cb73661038e4e74103db212 + docs/models/textqlrpcpublicpatchesontologysyncrun.md: + id: 2ed9bd00e19c + last_write_checksum: sha1:9d1966814069e5f676fb521fb4c2ea3352dcec0d + pristine_git_object: 6cd6cf14a462c97f801451d6a0a816c18872033f + docs/models/textqlrpcpublicpatchesontologysyncrunstatus.md: + id: 1b0f64a37a3c + last_write_checksum: sha1:07b20b33ed7ffac952925aab6f23e2e7bec21530 + pristine_git_object: 26eede1834710f58e2ea6ec8925e02569e6a019a docs/models/textqlrpcpublicpatchespatch.md: id: 51c98cc39968 last_write_checksum: sha1:04d36194bbb1be4e4643e23d8e3459cef9798dc2 @@ -7687,58 +7725,58 @@ trackedFiles: id: a9499f5372c2 last_write_checksum: sha1:be1ea18afb7d97d85f5bfb3280e68faa77f5d749 pristine_git_object: 089616aa1d3ada881a7bec791cdbb08d17c8defa - docs/models/textqlrpcpublicpatchesplanlibrarymergerequest.md: - id: 6ebbbc8039fe - last_write_checksum: sha1:903115177d7ca2f14549b2431d3612e14e3eb2b9 - pristine_git_object: fa4f6fe80b1f0fc72fb5ae32677dc4347e7c8592 - docs/models/textqlrpcpublicpatchesplanlibrarymergeresponse.md: - id: f726477dea2a - last_write_checksum: sha1:79883d43a371ebb570ebc1aa8353a72e2782d15d - pristine_git_object: 3d8eb73ab391e10593ccf104cf58540967eea51a - docs/models/textqlrpcpublicpatchespreviewlibrarypullfolderrow.md: - id: b2b09fd31f7f - last_write_checksum: sha1:fca0a32eb11193a1cef64b19a99c60f298fcbd86 - pristine_git_object: 3a3bce1b3c6690b778b9e96889121e6ef63f6ce9 - docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md: - id: ef0beb4b80fc - last_write_checksum: sha1:c5a2d37487b1360483333673ac0f723bf966011e - pristine_git_object: f2005aac070a46ceceb1e5a82caed2c4169afc6e - docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoteresponse.md: - id: d3fc7b7d067c - last_write_checksum: sha1:353b35d0e814a5410ec6e8f5179d6b586ffb32cb - pristine_git_object: 33e30117de8318e54420c15d950056b05b4821cb - docs/models/textqlrpcpublicpatchespulllibraryfromremoterequest.md: - id: f7deaf046293 - last_write_checksum: sha1:b97d6518fe0dea21c81b7b4516ce33fc8f0a9f4a - pristine_git_object: efa675f4208eb640f723b8aab35833e7b18190b0 - docs/models/textqlrpcpublicpatchespushlibrarytoremoterequest.md: - id: baf3ccf722ec - last_write_checksum: sha1:42a052ca93746e2a1570cb01481b6cb68531701b - pristine_git_object: fe76ccdae2a2c19d7d116ab4d5c7222684840125 - docs/models/textqlrpcpublicpatchesrecoverlibrarylevel.md: - id: b5e35a4dd21e - last_write_checksum: sha1:70ac65366a2a54fe4026b995043f8652a537ba41 - pristine_git_object: b815f4aef2f30c8c0618db6d862fe759481a691a - docs/models/textqlrpcpublicpatchesrecoverlibraryrequest.md: - id: 27c6102e6b97 - last_write_checksum: sha1:8fbc55398f8667db719193925aa9868eb78d7e3a - pristine_git_object: f666cc3b3a29e901191532fafd1768b5505b2a3f - docs/models/textqlrpcpublicpatchesremovelibraryremoterequest.md: - id: f026b71ad554 - last_write_checksum: sha1:2bbd0330bd1886d541968387515645059128b5c7 - pristine_git_object: d1660811f9b1de3bd93bf8be93a90991edda828b - docs/models/textqlrpcpublicpatchesremovelibrarysubmodulerequest.md: - id: 48757ecdb8e9 - last_write_checksum: sha1:7829db8555e5ec8427c248a02fdb57b0b5da660c - pristine_git_object: 2e311bb63cc7b291e9e8d414e6ed445772233795 - docs/models/textqlrpcpublicpatchesrenamelibraryfilerequest.md: - id: cebcd5ca6e0a - last_write_checksum: sha1:1fff2091c0d3239e232d752993e01a9c97835b74 - pristine_git_object: 51ce96ce3b657c22942fbda9731cf03756794b6b - docs/models/textqlrpcpublicpatchesrenamelibraryfileresponse.md: - id: 4d117dcf110d - last_write_checksum: sha1:1acf30fd453569fa173448d81657918b0e2b18e7 - pristine_git_object: 2c63c06ff5980e76ce285cafb4ae025b31de0ded + docs/models/textqlrpcpublicpatchesplanontologymergerequest.md: + id: b4510e503ee5 + last_write_checksum: sha1:bb73f05cd1b5ede3158b1a4fd9385231107ed8be + pristine_git_object: 14ba6b01d24f11236fe525acd931f6dc52f62e67 + docs/models/textqlrpcpublicpatchesplanontologymergeresponse.md: + id: a0dd2c1792e1 + last_write_checksum: sha1:d8fcb205982a23f9f891fbc70e87a65de1784e8e + pristine_git_object: e01cbec0548267f91b42f1b0da8c8592edfda124 + docs/models/textqlrpcpublicpatchespreviewontologypullfolderrow.md: + id: 4e4432f6a9b4 + last_write_checksum: sha1:8e11e56089fd7ebfed58dc9bc9d40e8b983eb731 + pristine_git_object: 91900b60b1b465f56f4c954edb7da7b0c0e07d61 + docs/models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md: + id: 7fe81729f652 + last_write_checksum: sha1:bae81d723185ee7c5315000f8bca6858c69db8ac + pristine_git_object: 2d0b31f31acf726afca46f357a6369066af6df84 + docs/models/textqlrpcpublicpatchespreviewontologypullfromremoteresponse.md: + id: 85886368f030 + last_write_checksum: sha1:77d86d0448c5f0e1f92a4ddb71c614ba5b82a64f + pristine_git_object: 4b93541fde3d9d37f8192f3b53a2e7f779d7b2e0 + docs/models/textqlrpcpublicpatchespullontologyfromremoterequest.md: + id: e4505c2e5e04 + last_write_checksum: sha1:c1a5c161deba04b1120543da1528645d1b940c02 + pristine_git_object: c5c9c5e2ddbb633f4cb88505d30117a0af33e3e0 + docs/models/textqlrpcpublicpatchespushontologytoremoterequest.md: + id: f65ee20736ab + last_write_checksum: sha1:11f62b84210925cedaa36f13025641f95cfd3cb1 + pristine_git_object: 39cc968c28106538c49c0113ae168829f35fc220 + docs/models/textqlrpcpublicpatchesrecoverontologylevel.md: + id: 9ef251675865 + last_write_checksum: sha1:a43f541bc023f6da513002b691ba4a074db068a6 + pristine_git_object: 40e5352e5c231c03d785fcfddc75f9ed283bde43 + docs/models/textqlrpcpublicpatchesrecoverontologyrequest.md: + id: d170a1343c95 + last_write_checksum: sha1:4bcb560265141c81f444ed44aecb8c319e4654c4 + pristine_git_object: 32b6677798c70daa0f4771351bf6a7cc302a0b11 + docs/models/textqlrpcpublicpatchesremoveontologyremoterequest.md: + id: 06481bbd43b6 + last_write_checksum: sha1:37d439787ea6d22fd82a3dc7d60ded092f6b10ad + pristine_git_object: e924b9f1a816a5ab024e6c5c87ae600a844dfb96 + docs/models/textqlrpcpublicpatchesremoveontologysubmodulerequest.md: + id: 616d9ed0e1da + last_write_checksum: sha1:12bc86560f3ecd290e91813415c10c3a063352da + pristine_git_object: 51b968e4693272ed53ba069bfd0d26a904ecdd1c + docs/models/textqlrpcpublicpatchesrenameontologyfilerequest.md: + id: 421e53d07c3a + last_write_checksum: sha1:4abcb134707c4392b3f23e57eaf5f6c981d884b0 + pristine_git_object: fda785e5a5399e402e80c9a9586f62e03f9c9b7f + docs/models/textqlrpcpublicpatchesrenameontologyfileresponse.md: + id: 4bd47048091d + last_write_checksum: sha1:34ba33ddc78eba1f9c03d637653bf233ddee0f37 + pristine_git_object: c185d293c99969d9e5e7f680ec1fea2e16f723c5 docs/models/textqlrpcpublicpatchesrequestpatchreviewrequest.md: id: e254011d9c7a last_write_checksum: sha1:b45efdeba8ac38e0f41b773eacbf440570f0c30a @@ -7747,10 +7785,10 @@ trackedFiles: id: 7b18c7639d0c last_write_checksum: sha1:9a34fe332b96e1c3a9044c3f7814b75e9b8afc5b pristine_git_object: cf18a6368121e48c8cf489b8381ec271209c02d5 - docs/models/textqlrpcpublicpatchesresolvelibrarysyncconflictrequest.md: - id: 71b416cbe89c - last_write_checksum: sha1:d70b917914a4bc99fc736d5d9a6506395ae53f55 - pristine_git_object: ebaa7bbd0ce697d54ae6e12d4d70b788706fb4aa + docs/models/textqlrpcpublicpatchesresolveontologysyncconflictrequest.md: + id: a5fe94ec4aaa + last_write_checksum: sha1:4e995cf553271646a216da35dff10b7d20046b52 + pristine_git_object: b229e29638975873f2c97a6867d1df39adc79f84 docs/models/textqlrpcpublicpatchesrestorepatchrequest.md: id: e1e5e3449a70 last_write_checksum: sha1:3d618d3c66b6d59bc0fb65b863e291ff19e6f019 @@ -7769,28 +7807,28 @@ trackedFiles: pristine_git_object: 97c39ca531edcb6a2a5fe64d893b46ea9b783e1a docs/models/textqlrpcpublicpatchessaveallobjectsasconfigresponse.md: id: 5b8be63a9763 - last_write_checksum: sha1:90ea1c262ec1ca0477c0067dacfc84276eaa380a - pristine_git_object: 8b1668eb1052754099bc78e3df5030034cf24980 + last_write_checksum: sha1:08bdff95ba9f9a008b58d07e95d556c382a1362c + pristine_git_object: f1ae19c214ed48070d5e542c5c9555e814a5cb2f docs/models/textqlrpcpublicpatchessaveobjectasconfigrequest.md: id: 2ff83baa9da5 - last_write_checksum: sha1:af08607c2ffc25fd8c9aab628200d9e0e8ad875c - pristine_git_object: 82bb53a8e3259cc6f0b248b89754caf9d84293b6 + last_write_checksum: sha1:484b8ae40e95e4c18983472e6e7ea3f4ce415306 + pristine_git_object: fd915450a66c0ceaf63c300dd8b070c0f7d73264 docs/models/textqlrpcpublicpatchessaveobjectasconfigresponse.md: id: ce2af23b59fd - last_write_checksum: sha1:83f6854fbe55135f3ca1af84257c2bb5f37e1cf8 - pristine_git_object: 4bd1801092a207249a4d843b59c0e1e7577daff6 - docs/models/textqlrpcpublicpatchessetlibraryfilegoldenrequest.md: - id: e4ff3311bcc1 - last_write_checksum: sha1:81c9884957d65c4bd3de107a66dc76ead6a4453a - pristine_git_object: e964ed1a1270c8292942323f6d781741f294cedc - docs/models/textqlrpcpublicpatchessetlibraryfilegoldenresponse.md: - id: 145be0abfbdc - last_write_checksum: sha1:203b04bc8e6ceb666df02b99caea299c4ca5c053 - pristine_git_object: bacbad3db2b14751e48de2168cf0f70925b7fcb1 + last_write_checksum: sha1:3d6207f910a01de3eb146c5c16342cffd3069b1c + pristine_git_object: 5188e6097f84499c1e40e198ab110ef2477f671c + docs/models/textqlrpcpublicpatchessetontologyfilegoldenrequest.md: + id: 56eab25077bf + last_write_checksum: sha1:96473125bbde2d51a7a43a7eadfb16dfc8c333b4 + pristine_git_object: 856ec30f97ab291818542b46687ee130f6044118 + docs/models/textqlrpcpublicpatchessetontologyfilegoldenresponse.md: + id: ba82b7ed9e89 + last_write_checksum: sha1:0a81ad92639d0a4560fd7b90c257af12c86ccd93 + pristine_git_object: 48394a43bc18aa1a6e3c1ffb86cd55e75488a292 docs/models/textqlrpcpublicpatchesskill.md: id: 0f833f7e4f0f - last_write_checksum: sha1:9a27d62ecda94d185fa97c6716027641dac4bc94 - pristine_git_object: 8411e41567278c9e3421db49ad7e5ce8c05b9638 + last_write_checksum: sha1:7ce2a8bbe900ebcf506f0d2c7e8c2c2e0e8a4240 + pristine_git_object: 648629d109b3c31a5499278192dcf79e42a59cda docs/models/textqlrpcpublicpatchesskippedconfigexport.md: id: 7f065a9d5f1f last_write_checksum: sha1:226f565a326c5e7b6f3d0186bfed34a75e0ebcf9 @@ -7801,8 +7839,8 @@ trackedFiles: pristine_git_object: 4a553b62c837861f4cf7018ab1482ce2db908a5b docs/models/textqlrpcpublicpatchestriggerconfigdriftreconcileresponse.md: id: ed01fbc62c44 - last_write_checksum: sha1:3d2484006c022bce0809e9998ed069f50b5be7c1 - pristine_git_object: 72e216f87284ab58147ad58fb15162a61f86e4d0 + last_write_checksum: sha1:2fd741cd4b28375842feaea81e9246712c165904 + pristine_git_object: 838b46d08f15ed2b7875ddce067f5da05d29e9dc docs/models/textqlrpcpublicpatchesupdateapprovalrulerequest.md: id: c509116a1f7e last_write_checksum: sha1:5ab6d32f9e98910606d4bd6085cf38e1faea1f9f @@ -7819,38 +7857,38 @@ trackedFiles: id: 3b22e937a66a last_write_checksum: sha1:8c09a21142ff3c23b97ffbe5a39435224409fcc4 pristine_git_object: e41d032aaba6febb6b173df77885cef15d3e0b05 - docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigrequest.md: - id: 1c3a458db834 - last_write_checksum: sha1:dcae2946a9bb6bf66c00e1df7f26ddaac06ed9f0 - pristine_git_object: 5badacdc7f84c801c867b27729b44ffe3f884079 - docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigresponse.md: - id: 6c128d311d2f - last_write_checksum: sha1:d9168369e05d67ef740a067218ca665fc2e245ce - pristine_git_object: d075b6ca4d3d587bd6a0d9a9012562055ee478a7 - docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigrequest.md: - id: 61f6df887a33 - last_write_checksum: sha1:c6eec5a0b930708a65523462e3060892ffc8cda7 - pristine_git_object: 37668cedccdf1f260ba7793f9e169376cb48d273 - docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigresponse.md: - id: 0813aa9f2973 - last_write_checksum: sha1:eff30cd83911ea08a681514fb447912a6ccdb657 - pristine_git_object: d2af89c6a28238058137eb1de4a442d846ab5717 - docs/models/textqlrpcpublicpatchesupsertlibraryfilerequest.md: - id: 9a8b54c8136d - last_write_checksum: sha1:a3e3183a58bf684e52b0d87c9db00b0aa1564110 - pristine_git_object: 5a5417e1ec6884276628357e4e9eb471f769bb04 - docs/models/textqlrpcpublicpatchesupsertlibraryfileresponse.md: - id: cc9fae087775 - last_write_checksum: sha1:722bb83d4aa5fbcb36dd8584525a246129eb03f5 - pristine_git_object: 97ba16a7158ba8a0ff03b6e4c4850e4b37b3332a - docs/models/textqlrpcpublicpatchesupsertlibraryownersrequest.md: - id: 67df6c6f7341 - last_write_checksum: sha1:a98958677c7be279a3d0d9e11a4d9fe9c38f6a00 - pristine_git_object: 4ba04c46f42cf3a0a87a27a2ebce189d27362006 - docs/models/textqlrpcpublicpatchesupsertlibraryownersresponse.md: - id: 648e1394d64e - last_write_checksum: sha1:8445a1be149df0a9cc067f6abe5fb835c2f54c86 - pristine_git_object: 753bf8d3ae5409b8093b6141c29f35cb52c851e2 + docs/models/textqlrpcpublicpatchesupdateontologysyncconfigrequest.md: + id: 5cb14f0c2af0 + last_write_checksum: sha1:3a11d39fe14d218816b0a3579e9fdc6df7002cdf + pristine_git_object: 511eda953f443dbec4c1f741fa42d5aa46eb2c6e + docs/models/textqlrpcpublicpatchesupdateontologysyncconfigresponse.md: + id: 8b22c1dd2b5c + last_write_checksum: sha1:6f47e56a90be40bc741c7e5ef6d12dd56d4bf3e3 + pristine_git_object: cc82a2478bc3c5a5f2dbf82b088c26dbfebbc6b9 + docs/models/textqlrpcpublicpatchesupsertontologyanaconfigrequest.md: + id: 1d9e332810bd + last_write_checksum: sha1:9061b1a75560d9a873c16b7b079b7aeea66950d9 + pristine_git_object: f40042a540882017e294eadc46ba9586a4b8947c + docs/models/textqlrpcpublicpatchesupsertontologyanaconfigresponse.md: + id: 7c985e24db3f + last_write_checksum: sha1:67977d16b946cad40dff79ff1834c3c3b0c110f5 + pristine_git_object: 60b2591fb28e9508c01ae5763da819f859d36980 + docs/models/textqlrpcpublicpatchesupsertontologyfilerequest.md: + id: 87f1d3c7020a + last_write_checksum: sha1:080228eddda0e365440ee0e70dda9fe41fafd973 + pristine_git_object: c1af527758c4e57394ca45c5f906c47e132b9308 + docs/models/textqlrpcpublicpatchesupsertontologyfileresponse.md: + id: 387de7de0cf5 + last_write_checksum: sha1:8bfc4e4f1c84116e8b063725de28c642549de621 + pristine_git_object: 9b3ec75ab0a1cac97653e68a5b9b13b95fb05c15 + docs/models/textqlrpcpublicpatchesupsertontologyownersrequest.md: + id: 129fc5d0800a + last_write_checksum: sha1:bac5ea781cad787feceb5690d96a4aa4635c6c1f + pristine_git_object: fbdd6f769b6ce711f0f82f75ccb5404d68420223 + docs/models/textqlrpcpublicpatchesupsertontologyownersresponse.md: + id: aceb3ecf9218 + last_write_checksum: sha1:5249d9032eb19d3a78a65510082c82e2e559b366 + pristine_git_object: 8a3e5ab30589777f9984c63274e5ed877814ece6 docs/models/textqlrpcpublicpatchesusageorderby.md: id: bef5e688b31f last_write_checksum: sha1:a3ba5b1a912efe6ad18f4af649fb714e38c81235 @@ -8097,8 +8135,8 @@ trackedFiles: pristine_git_object: 0045c3ec55608a42458d3947ad77e0a9961bec8e docs/models/textqlrpcpublicplaybookplaybook.md: id: 02db2d31b7a2 - last_write_checksum: sha1:12a85e6a09fb67336f550285e0d597d4bc4bda6e - pristine_git_object: 9cf6b1e64906f9fbd3c2968978141124f5195eb0 + last_write_checksum: sha1:89185a08a06a643ecea22be08e11b0bbbfe86765 + pristine_git_object: cf13f3a0ca407ddf8b1322a5670f693564850cd2 docs/models/textqlrpcpublicplaybookplaybookattachdashboardrequest.md: id: 1c65b2b21e25 last_write_checksum: sha1:fe48e2bd90722f5795b06703084204dfc23caaae @@ -8249,8 +8287,8 @@ trackedFiles: pristine_git_object: 10d917befb94c116a173a29161c1fe2ec6bab508 docs/models/textqlrpcpublicplaybookupdateplaybookrequest.md: id: 52f8dee815f3 - last_write_checksum: sha1:caaee725f6c290aa4a4dcf730d1ad3db9b99d8ad - pristine_git_object: c59a85100a1b47b9ccd9e3e139091079e1eabdf8 + last_write_checksum: sha1:757db8b3e650d87e14670d49bf821b2487a55dde + pristine_git_object: e92144b5a07cd2c76506ee15b68a4c55113877e3 docs/models/textqlrpcpublicplaybookupdateplaybookresponse.md: id: 9f57f3c27243 last_write_checksum: sha1:58f9cb8a6124365c7c992792c13837b07a8d96e7 @@ -8429,8 +8467,8 @@ trackedFiles: pristine_git_object: dd9c2321d80a9b75511a070c87d05fecc92f2eb4 docs/models/textqlrpcpublicrbaccreateapikeyresponse.md: id: 4816e461ba47 - last_write_checksum: sha1:888bf714ee0690ef93737e58490b0356460e66a7 - pristine_git_object: a397b3590466027d0995e5ffddfdccecc16cd82e + last_write_checksum: sha1:34488be9fcd1e07b385225aae066d0b2de46e5a7 + pristine_git_object: cbd82c755beb1f2f9fe9941bd3e9b732e2fc1669 docs/models/textqlrpcpublicrbaccreategrouprequest.md: id: 030001c27b89 last_write_checksum: sha1:4cf72bf3331789cf2cfd62674e4ec9ceb26cc2c4 @@ -8737,8 +8775,8 @@ trackedFiles: pristine_git_object: e51c30b73208475fb0143f88fed891dc2e541b3d docs/models/textqlrpcpublicrbacrotateapikeyresponse.md: id: 6775c65b7985 - last_write_checksum: sha1:613bda91808d2202796e51f205b42d4eccd98907 - pristine_git_object: 44f11111a51d4eb8ebe3911f52fa92e551b8497d + last_write_checksum: sha1:cb9ada07ff7923ff3b19fb2682f29e5a0956c0ba + pristine_git_object: 460b757bc6f48719409c7c387e79e1445bbb1e6e docs/models/textqlrpcpublicrbacscimgroupmappingsummary.md: id: 1b39b1991ca5 last_write_checksum: sha1:680d1505a435127632715b3fd2fb9b6da51fbb98 @@ -8747,6 +8785,14 @@ trackedFiles: id: 08837d516716 last_write_checksum: sha1:591598991418b54d86f6f37f73906eca5f2a08d9 pristine_git_object: bd5f8455af9a05c47cac5e74e7828bfced41d9e2 + docs/models/textqlrpcpublicrbacsetrolepermissionsrequest.md: + id: 7390edd7565f + last_write_checksum: sha1:dfd9ffe9f71b98e6c71fd7702d340af3a5d2ceb3 + pristine_git_object: 6c7bdfce3c97cf775ff7bdd2c14dcb368bf4f9fc + docs/models/textqlrpcpublicrbacsetrolepermissionsresponse.md: + id: 4cb272786be7 + last_write_checksum: sha1:e7b2c2c293027367e69186ad1755eac42203170f + pristine_git_object: e5980fdba3c52d7c04843443c3f84f48959e647f docs/models/textqlrpcpublicrbacshareobjectrequest.md: id: 9cb3ede7a3f0 last_write_checksum: sha1:c0f09774bbd8a9002c1204edcd59a691312e1678 @@ -8893,16 +8939,16 @@ trackedFiles: pristine_git_object: 8a3cee8a7932ee669de8fabd3df5629f7112087e docs/models/textqlrpcpublicsandboxadminlistsandboxspendresponse.md: id: 1d30ac3e137a - last_write_checksum: sha1:65ace0e8302984655cbc25910f44942f886090e9 - pristine_git_object: f1c1ac0c552428c4b17b73daea8afde7b5152644 + last_write_checksum: sha1:022b400f85483ecfb53f3f8a0a459071736665fc + pristine_git_object: 271d181d42433347f1bd22dea08b6406127311c3 docs/models/textqlrpcpublicsandboxadminreadsandboxfilerequest.md: id: 22e3d728a080 last_write_checksum: sha1:ec1b0dd3df16704986cc94f2bb4052f7a997d6a2 pristine_git_object: 90adbeb28c44af46721d0d00fa4d315bc6fb4e66 docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponse.md: id: c7f9b5bb6d07 - last_write_checksum: sha1:ce3a3a33931f4421c9c150362870826036b919d3 - pristine_git_object: 4ccfbd9953b48fe548479560a9955eb5c455da5f + last_write_checksum: sha1:edd67b4719c0312ed3f605d76cea6b7f9dc39a19 + pristine_git_object: 8f5f5b1f5f194bfe479d6e43f8100f9786cd3158 docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponsesizebytes.md: id: 5ae72c1a3f71 last_write_checksum: sha1:e24f06bac5cf471271557316e8ac3ff475c7cdaa @@ -8983,22 +9029,78 @@ trackedFiles: id: ff79855efcc7 last_write_checksum: sha1:ba51aa3916f9a087e91a7db40bc34af8e76de67a pristine_git_object: cbd32cec31bfad7ebaaa7dc56b04a1c068695e18 + docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequest.md: + id: 07ceca8154ee + last_write_checksum: sha1:382011b5d324e81a0c817a4899b1cd733976e849 + pristine_git_object: 8ba8100f7fed21bda1ef3cf0a6b58dc8515a90e8 + docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md: + id: a7b1c5941a28 + last_write_checksum: sha1:94526631ea6fc4b44bd08656a93193d7836ef054 + pristine_git_object: 4b55a19b98582c73c8d7f8a49ca6139a71682ab6 + docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponse.md: + id: e65afee72ff0 + last_write_checksum: sha1:cb337a0519d661c7b376f1f3a48db86e74bc4baf + pristine_git_object: 60e842951d0b7c718f17bb7a9006493ecc879411 + docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponsetotalrows.md: + id: e77d3c25db43 + last_write_checksum: sha1:c09a2e6a59a2a573c038142e083dfce2ddd9849f + pristine_git_object: 94b145767ce3c467b258f9d105cf5de1be5e00e5 + docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetrequest.md: + id: 4c7eb646c2fe + last_write_checksum: sha1:7494423a616c3742d4e2213602d962de27780305 + pristine_git_object: aa7a04d2d4105868309f4ded442fcb072b01b293 + docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetresponse.md: + id: d33052c38423 + last_write_checksum: sha1:4321b309a3e933235f379c242d1a8277177f6751 + pristine_git_object: 946054a409cf79a68203d5346eb6eb1af7d808aa + docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyrequest.md: + id: db9d22ccac8c + last_write_checksum: sha1:2a6a69725df043acb3fa8ce317113587411a0f86 + pristine_git_object: 78eb722a0b7362f8153e70177b0df6ec8dbd9510 + docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyresponse.md: + id: a909e11d22b7 + last_write_checksum: sha1:1737a2f5bf4dcc558fb892b958df03ecef01fa51 + pristine_git_object: 3fa3d65d8e6618933df1b77d1e7d1b5d2c533f1a + docs/models/textqlrpcpublicsandboxcapabilitysandboxstateoprequest.md: + id: 49e4aad5801e + last_write_checksum: sha1:f1aec7650451aa87044bc5c1d826606ceec39c14 + pristine_git_object: 20e89f4b2e5a32d3d28169a5aae8e3888952c0bd + docs/models/textqlrpcpublicsandboxcapabilitysandboxstateopresponse.md: + id: 34888370d42a + last_write_checksum: sha1:24e7f128549bfae6a5368021061177ab84d4317a + pristine_git_object: ec113e3205f264aa7fe6bf187c43ea05aae46522 + docs/models/textqlrpcpublicsandboxqueryappdbtemplate.md: + id: 62ccbfe8ddf1 + last_write_checksum: sha1:f535bf0179ffa12f013ba482e380b4a59f80dcef + pristine_git_object: aa1c907c58ded2cd2905a6cee4737d71145685e4 docs/models/textqlrpcpublicsandboxquerylibrarytqltemplate.md: id: 126840c53669 last_write_checksum: sha1:36c44ddcd2a9f69699dde6e87897cf4f65fb89de pristine_git_object: d1c3048ddb0346555e5b0538a1dd8e774fed75da docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequest.md: id: 1f5c305f446c - last_write_checksum: sha1:56989b7e2187a4dc397e4a56b60c4fc020d12233 - pristine_git_object: 6a0f7ecfa57e32f4ac5758c7dd9a0f197ace0bd6 + last_write_checksum: sha1:2df5ef98b70eb7f807dd2441bc06720b8edc95ca + pristine_git_object: bbd22970185e0dbe763ed587e20427fe7f1dbe99 docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestlibrarytql.md: id: 1eb5c15ece56 - last_write_checksum: sha1:c8a4e70c96e741929b064b693f97bdb6e6ef7719 - pristine_git_object: 23350038620e1af3866fe748cf4ad79b1731c0b9 + last_write_checksum: sha1:eb2d8ba15e9ff5335a895b0e5662c9d6b7b1f77c + pristine_git_object: d0534559533f01c7ba2ef214e24f2a3e5082698e + docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows1.md: + id: ca15e954b1b1 + last_write_checksum: sha1:96cac2fea20faf7c56bb81a72fc46dc526f3f6f3 + pristine_git_object: 5af263a85f40a11689fe598f93039efd9fcc7e9e + docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows2.md: + id: 08ebe9df3a8b + last_write_checksum: sha1:d541e122266c9b42d8b743353ece5fe939aa1a3c + pristine_git_object: 80b213041bceacb0c24ac6c80a6f57f80d1743c8 + docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows3.md: + id: bfc807965ddf + last_write_checksum: sha1:7ce4429febbacb81251cc7fc0506ea8238aee251 + pristine_git_object: 5cf541c6eb7fdc37dbfa30a15cc511262d118d94 docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestsqlquery.md: id: 9655b68c10f4 - last_write_checksum: sha1:84f7b103fa243ed78b8344d4fe85ca5cf2cb803f - pristine_git_object: 7f310caff8e49bbfa908ab506ec0cf93016c9e7a + last_write_checksum: sha1:3b7e3cb7f98ad2d93e9ea9b72b28d3d0a0998d23 + pristine_git_object: 458be69dd20feb6f25c1c2382b4f79408ca78f15 docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryresponse.md: id: 075d434068c7 last_write_checksum: sha1:1926b4d379684d14e892efb423ef141451320771 @@ -9071,46 +9173,6 @@ trackedFiles: id: 9417c0979b20 last_write_checksum: sha1:db8df6fe9228fcfe2716c10ce14fa117a58562a4 pristine_git_object: 110a93263acdd330d71c8d62a2759ff98e014ee4 - docs/models/textqlrpcpublicsecretapiaccesskey.md: - id: 85be35844248 - last_write_checksum: sha1:5e96af5979495a44cb3d0f6965cadb0f68f5d325 - pristine_git_object: e3fd5a080d0680068bb91c2f432e51279954a649 - docs/models/textqlrpcpublicsecretapiaccessref.md: - id: 10a57ad6b222 - last_write_checksum: sha1:6b2195dfa5e01c641a3515dec4a855470839d97c - pristine_git_object: 098f23f94f411c73c143d6f7edc95279481454d4 - docs/models/textqlrpcpublicsecretapiprovider.md: - id: 0709fb42768c - last_write_checksum: sha1:e1383cfafb3bbfb43b0f6852b7696663f6601092 - pristine_git_object: 7484a0688052ca50de4c7ac8f25f591c5783959d - docs/models/textqlrpcpublicsecretbodycontenttype.md: - id: 86425ec7cc6e - last_write_checksum: sha1:c6056deb41e7214835a4bf6d61b112d0297868ad - pristine_git_object: 540eac1940a6c8d51acd7f9430d9b368ec5873da - docs/models/textqlrpcpublicsecretcreateapirevisionrequest.md: - id: a40451a533a1 - last_write_checksum: sha1:cd348d14a15d1d2e438348a66d247b379e17a18d - pristine_git_object: 036a558e938bb7e7b74725db17a3d5ab83a59ad0 - docs/models/textqlrpcpublicsecretcreateapirevisionresponse.md: - id: 108fb0cc7f4a - last_write_checksum: sha1:c75afc5020c09c28e24d2acea468cba3d0fa4a3a - pristine_git_object: d4ee2c3a339a10b09d4f088e933cf59814335881 - docs/models/textqlrpcpublicsecretdeleteapiaccesskeyrequest.md: - id: 9f19f31a96dd - last_write_checksum: sha1:441f7dff02d7734d804019345d74221d1bb2bd16 - pristine_git_object: 8e83bff13d0294b8ad03bc20e7e202b128458c1a - docs/models/textqlrpcpublicsecretdeleteapiaccesskeyresponse.md: - id: c08f59983aab - last_write_checksum: sha1:bfe5f4cc8ce89be12d29d260b1f4e1bf13009ba8 - pristine_git_object: b8ff06a31e5911cf0c9f4e6c4e95ea90346fed2b - docs/models/textqlrpcpublicsecretdeleteapirevisionrequest.md: - id: cd619ab80c9a - last_write_checksum: sha1:fc1ea4a66d2bbe716864bbed2b9b43f3a669ebba - pristine_git_object: 9285d798156458f0e67347fa05be338ab5bb3500 - docs/models/textqlrpcpublicsecretdeleteapirevisionresponse.md: - id: 63cbe0529620 - last_write_checksum: sha1:bec110f860a7a1c411a28e741aea166f96a66081 - pristine_git_object: b930c2b8120fc4a1b1d585e472e617d45813e489 docs/models/textqlrpcpublicsecretdeletesecretrequest.md: id: 3b457a33ad05 last_write_checksum: sha1:cb0301ecf9f82c40a89e87ee7680e5b93deadcb8 @@ -9119,18 +9181,6 @@ trackedFiles: id: 69b8d26f422f last_write_checksum: sha1:ebc9cc9a5c8c72fbfd5699249686ba4ed0d181f8 pristine_git_object: de34574eb4cd02cf8237a05b87b5b6183f536d9e - docs/models/textqlrpcpublicsecretenvvarfield.md: - id: 0da9d69cbcb2 - last_write_checksum: sha1:5b3bddc579c4571a697f7e6b9cd04e0eb71ed477 - pristine_git_object: d400746ea4463421ac6fa5907642c1f8b00b6aa5 - docs/models/textqlrpcpublicsecretgetapiaccesskeyrequest.md: - id: b6885c52ff1a - last_write_checksum: sha1:69f887e775a4a16e20111e57a403b0ff4540071d - pristine_git_object: 7702378ef75ee61b1beeac4843536d0d3463b25c - docs/models/textqlrpcpublicsecretgetapiaccesskeyresponse.md: - id: "158421418368" - last_write_checksum: sha1:5e8cd768ede49bd4f1658bf25e2fd3d6167b250b - pristine_git_object: 7579982c69846a25b9f5b5b7f2f7f17825754c8e docs/models/textqlrpcpublicsecretgetmemberswithsecretsrequest.md: id: 36fbbc9a770e last_write_checksum: sha1:059adf4a082ceb5d947fa1f4d5d808e33f454eeb @@ -9139,26 +9189,6 @@ trackedFiles: id: 1d9283a75a27 last_write_checksum: sha1:d1b6a11c9915c1535f9a79787b89d618d542bfd2 pristine_git_object: ed6269faecfeaeaba5e42887aff5eb0bbc3e73a3 - docs/models/textqlrpcpublicsecrethttpbasicauth.md: - id: 0192d521122e - last_write_checksum: sha1:51cefd3e6da80bc0f9d639dcd64e0b891e5233fc - pristine_git_object: e62ce2fe53e08c66d15813c13dbe33eec7fa32b9 - docs/models/textqlrpcpublicsecretlistapiaccesskeysrequest.md: - id: 5bb6578f6b32 - last_write_checksum: sha1:a5bef8b0958c102e87161b0884880d8ac7b7c654 - pristine_git_object: 88fb1d5e3a876bccaee85934dcac8716ffc3da7c - docs/models/textqlrpcpublicsecretlistapiaccesskeysresponse.md: - id: 854b29e35eab - last_write_checksum: sha1:139bd6ed91298ce47ee4966e720cf4636b410ec8 - pristine_git_object: 93d530fefe633522190cf3c755f433d403a4d13c - docs/models/textqlrpcpublicsecretlistapiprovidersrequest.md: - id: e52bc84261ca - last_write_checksum: sha1:490c1d6f84997836e8fafb27ddcee5a8a3b29a88 - pristine_git_object: 54ccba38343f1f0c0f39b989c63d13dd509c0f0b - docs/models/textqlrpcpublicsecretlistapiprovidersresponse.md: - id: 5679f0ccd0b6 - last_write_checksum: sha1:fc19d555c57b80a3941e78f86b4180129445c64a - pristine_git_object: 32dc45b5a42e4df854c66b27618fd14b764fa4c6 docs/models/textqlrpcpublicsecretlistsecretsrequest.md: id: 0b6b4ff6a758 last_write_checksum: sha1:71e0afcb516eb772ed7a6562822ddb9a1bcbc4c0 @@ -9167,14 +9197,6 @@ trackedFiles: id: 4a1348ec2d18 last_write_checksum: sha1:3d7bc021fc157f48c53a72c50bc4280a96b32525 pristine_git_object: 84c30c48b013438c20f0e583385f662ed5d22849 - docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorrequest.md: - id: fe2bcef907a2 - last_write_checksum: sha1:5165c5369f4032f2c3654e844cc3ace2c6f1ee80 - pristine_git_object: cf7e2da4402f73e1a07a653cc0397caedea66405 - docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorresponse.md: - id: 36c818820576 - last_write_checksum: sha1:31908f2c8f5929a69a206ec4444ac1e84349fa95 - pristine_git_object: 234468dad6409de6e2776e0d686e78ebc88684df docs/models/textqlrpcpublicsecretputsecretrequest.md: id: 89be9f213d40 last_write_checksum: sha1:f481564cc3ade522da9e05792c7f6c93bdced566 @@ -9187,14 +9209,6 @@ trackedFiles: id: 91e9748e0eb0 last_write_checksum: sha1:36ad34831306cb71a66b7397e5e685ef71247252 pristine_git_object: 34be2fb8e13263e44ab66bce69faff317fb17874 - docs/models/textqlrpcpublicsecrettestapiaccesskeyrequest.md: - id: 012256c22207 - last_write_checksum: sha1:18fedd24de9a2ce1d2af4a323070a5a973226a98 - pristine_git_object: 9c3d487b56488abf9bfa907902620512228917e4 - docs/models/textqlrpcpublicsecrettestapiaccesskeyresponse.md: - id: 0b6386d640bd - last_write_checksum: sha1:1dc24ce004a4de8470c4be44ceec68eabd468394 - pristine_git_object: d93e563c6e5d6ffa9a9f8de6ba9c43fdbf64e12a docs/models/textqlrpcpublicsecretupdatesecretrequest.md: id: 9eb6ea36801f last_write_checksum: sha1:26dc8f644f359cfdf320609536f78cec7e3b454a @@ -9203,14 +9217,6 @@ trackedFiles: id: 4dd97a99bff3 last_write_checksum: sha1:35aaa4a4d9ad8d256b1f69fb26e5a5d1f90a9e6a pristine_git_object: 40ba09fb2fff0c8b5c652aadc4818dd8ac7d8c41 - docs/models/textqlrpcpublicsecretupsertapiaccesskeyrequest.md: - id: 9dae802c2383 - last_write_checksum: sha1:9bc274cb928c9c8e3fbec1b23c79cd41aa56db90 - pristine_git_object: 73c5d30a17650114264f46204c3460390cac4903 - docs/models/textqlrpcpublicsecretupsertapiaccesskeyresponse.md: - id: 65a66559d522 - last_write_checksum: sha1:9fcc56477b9864fae2cb9491d224aebe085694a8 - pristine_git_object: c56244f88080131e03a3492f2c9c1c1d546c6f1e docs/models/textqlrpcpublicslackcreateslackuuidresponse.md: id: bfaee4a734dd last_write_checksum: sha1:31b50f268c681e2d3cf09be7bb887c96d5cf36f3 @@ -9435,6 +9441,10 @@ trackedFiles: id: cb0df1ebd969 last_write_checksum: sha1:0f1633a16cf0e1b90a0e598cc86051036c52075a pristine_git_object: fe9d126dc01c479ac94a26fc258ea0191d218ddb + docs/models/thinkingcell.md: + id: 55b946287a17 + last_write_checksum: sha1:16daa4e7c567bf20578942ce5d6e7dad18c089de + pristine_git_object: 8ac41e1a3c8421cfee357de380f37baac07ad158 docs/models/threadcount.md: id: 27c95b9602d9 last_write_checksum: sha1:7fafa83fa54be12e0707189f94adf81cdd523e86 @@ -9509,8 +9519,8 @@ trackedFiles: pristine_git_object: 1720a9fb8fa5f32271e3d7ac7b3ef9630105a848 docs/models/useskillcell.md: id: f58c5a32bdd3 - last_write_checksum: sha1:9e098df54bdbd06781b094a884cf40ff309cb623 - pristine_git_object: 4306364f1a79e3c62700b105375b969f6d20bddb + last_write_checksum: sha1:2b1e09cd5cc912dfb1a9eb59d946d03f319fbf3f + pristine_git_object: 38465ef2ba16c00d045003245b3cd49b84e097db docs/models/utils/retryconfig.md: id: 4343ac43161c last_write_checksum: sha1:562c0f21e308ad10c27f85f75704c15592c6929d @@ -9521,24 +9531,28 @@ trackedFiles: pristine_git_object: 5d573ac6edf686ee87d87f5acef6ba8dc5f0bb2d docs/models/wscell.md: id: e27e8343ca0c - last_write_checksum: sha1:84b95fa88832dcaff15ff5da17915d5fd7b874fe - pristine_git_object: 5799fdfdd0727586a9d953cb1b2950ce58d399b1 + last_write_checksum: sha1:7d8b0b0e1f7eac44588ce92abf1644e265756ad2 + pristine_git_object: fff11e54ff08dba8258334fbfbe721e17a6b8545 docs/sdks/agents/README.md: id: 5965d8232fd8 last_write_checksum: sha1:7191088665f008e3441878b04439a42a93bad16d pristine_git_object: 0b64190312c65627f594c4ebd72f8158ba3f2f22 docs/sdks/apps/README.md: id: 9c9c1a6527a3 - last_write_checksum: sha1:aaf02c6201179ef670f4553f1f3bfdc3b1f76992 - pristine_git_object: a808d8dd7e6e37f58e4f2be5013eb795f9d8eeae + last_write_checksum: sha1:eebff4b866b3f67508beb1f7adefaff44b396511 + pristine_git_object: 5f57c95e5706f5dc16dbbd82fd214bcaf3228f19 + docs/sdks/appservice/README.md: + id: 225e15961523 + last_write_checksum: sha1:84636e58695baf44016194fd1717df8e5b20e085 + pristine_git_object: 9b5754429ac1a58631d1233e3dcb67161429c7f2 docs/sdks/auditlogs/README.md: id: 4ed8509e422e last_write_checksum: sha1:df57ed85cbdc1fbe99d03c567f8a6a48293e01dd pristine_git_object: e299e2f663e14f92bd1c24b4f4804de37a806968 docs/sdks/chats/README.md: id: ea139ac0a476 - last_write_checksum: sha1:adab9abbe051eec8c855246c8a0db88b34d0459b - pristine_git_object: dd831af8a54e600bc3b0525a103b49b8dd9da5e2 + last_write_checksum: sha1:803a13b302b45ea8f204165f547113a5d1db5eed + pristine_git_object: 5c923e72a812188f1b6704365a9ab46ac60c4f93 docs/sdks/connectors/README.md: id: 7633a87d946d last_write_checksum: sha1:4c83d0e8527b35fd8b48973a5db2e0ee25c0eb81 @@ -9551,14 +9565,6 @@ trackedFiles: id: deb5d90f4faf last_write_checksum: sha1:43c3b576e5eac05bd33511824e58f79c82bae57a pristine_git_object: 45b0d17751d2c20718ed7f1f5dfbe7a58bbc09d4 - docs/sdks/libraries/README.md: - id: df9a982905a3 - last_write_checksum: sha1:b3ee500df9b9a4ca6cd7ea635ea7564c69a949e2 - pristine_git_object: ee26d370b541938678a32e9d2196b7e392380363 - docs/sdks/libraryservice/README.md: - id: d8d8c8fdf03c - last_write_checksum: sha1:ac9e4f7285d6a84db3a1a61a0bd2d386022c6f80 - pristine_git_object: 256963a9f4bc2eb451525d69fb5a174915b9bf07 docs/sdks/mcp/README.md: id: fb362f76f7be last_write_checksum: sha1:8140fd8267ddc635e726f054778e9b1f2108762a @@ -9571,10 +9577,14 @@ trackedFiles: id: bab967736831 last_write_checksum: sha1:36f83700e97d83f9f9184506bb82c9d4e25986f6 pristine_git_object: 0f6aa6a7b907c9c697d698b76053bf95b936d2d9 + docs/sdks/ontologymanagementservice/README.md: + id: 49fe27c9b83e + last_write_checksum: sha1:e5061a7be6eb65b38691be8377dbc42e4f790412 + pristine_git_object: dddd974f5b62035bf921a06b229aeb165d5e5516 docs/sdks/playbooks/README.md: id: e8797c3b29dd - last_write_checksum: sha1:12f92ed7fcf3f0cb7279b9590cf11cb2ca6a85ff - pristine_git_object: b89b5b923c806ddf2a9db3602dc990b90b51044a + last_write_checksum: sha1:f732c5f808e1b95cf3e48db0ece286f2e6989c97 + pristine_git_object: 4d1425e33e29e61f46c99c200204fb75f8095a2c docs/sdks/powerbisdk/README.md: id: 1c210dc6051d last_write_checksum: sha1:adcdc818e6d5153fdd0b36e371d36bb8228784ab @@ -9583,6 +9593,10 @@ trackedFiles: id: e80ec65410f2 last_write_checksum: sha1:5891bd7c31aa0c36d67d12b79b8dfd47ae70e438 pristine_git_object: efe1da8e6b6fefa875df10e9bf2511f4aacc4806 + docs/sdks/rbacservice/README.md: + id: 09602337fc5b + last_write_checksum: sha1:c1aa0f0983bb6cd8cedf4dc19a2f29d375f97efd + pristine_git_object: 232c0eaef9b8c3773837cf222d27bca941771f47 docs/sdks/sandbox/README.md: id: 16b3b8b0e152 last_write_checksum: sha1:fa3ceeba64353734d47becaad7a6590c3a6e188a @@ -9591,14 +9605,18 @@ trackedFiles: id: a02e1dc13020 last_write_checksum: sha1:47be0b366c5791a03c2784dbab44aaa834c71e09 pristine_git_object: d71621eac17ccca0f1a6af2e79cefb89e462d63b + docs/sdks/sandboxcapabilityservice/README.md: + id: db55c122484f + last_write_checksum: sha1:e842d7b9537daae56b9da69966e8b75dbd62b92a + pristine_git_object: 6c8d8b832a9f7ab84f552181b1a435dd754a701d docs/sdks/scim/README.md: id: 1d60f0a72b05 last_write_checksum: sha1:0e7464151ccfb426bb3cf329096f8a9b298106e2 pristine_git_object: 3affcf5f2cb01ff296fa2c745e4143393e98db7a docs/sdks/secrets/README.md: id: 856a082980a1 - last_write_checksum: sha1:6610eb8284773917b8673ad29a3136a368323f97 - pristine_git_object: 143955f36855c74dd247384c67bc91318ff208ee + last_write_checksum: sha1:673d2d43097087cc6cec5566f98ccc62f5604181 + pristine_git_object: 90581a6beb735c0db52edd8a0d9534f1a9ac8c76 docs/sdks/slack/README.md: id: 29c890536099 last_write_checksum: sha1:5a1e965684c3355bb0283de6ff4980f9ab65ca49 @@ -9621,8 +9639,8 @@ trackedFiles: pristine_git_object: 14a5ab5a0178bf5f37c25306ec11372c1dfc1f4e pyproject.toml: id: 5d07e7d72637 - last_write_checksum: sha1:64c63d5ac0ba3b71cdde7ff5d7057e706ebd1f74 - pristine_git_object: bca3ae065a5bb796ac333be16c9cbbde1ec2bd2e + last_write_checksum: sha1:53cc1d4da7107b5fec19bb75a037bcc7b529f88d + pristine_git_object: a832b17b56f7c1cbe7d42f7f541cdd6dbb53b2fe scripts/prepare_readme.py: id: e0c5957a6035 last_write_checksum: sha1:d5a0f1ce09f7b890340fdb6f26345fce7dc9a70d @@ -9649,16 +9667,20 @@ trackedFiles: pristine_git_object: a9e63d694ae036ae9a43efc262dd124a2e1062e7 src/textql_sdk/_version.py: id: "226928447e58" - last_write_checksum: sha1:58e75dafdf8df04d6a1ae453555a2cd962c87375 - pristine_git_object: 5f9eeef605d0b796067f5120f9b7cd58c0d5f24d + last_write_checksum: sha1:35a53466d689956b7a93a03064dcffd84da1bcbb + pristine_git_object: 07afcc3a3115a57c0d2962c0e6ac09421aa55723 src/textql_sdk/agents.py: id: 4ff492529583 last_write_checksum: sha1:61b0b5714598af35b733276cfd32fa30225d2229 pristine_git_object: cc2eca32ebf66c9d58f929a3856b4df456826377 src/textql_sdk/apps.py: id: c38298d579a3 - last_write_checksum: sha1:20523d3fb29c97b9457c8c01ddb1f2b546b869e1 - pristine_git_object: ee5c1bb29fd242950d63fa78d3e3dd5e9e3c0e4b + last_write_checksum: sha1:36e28d6451adf914df327c910034a34ae0e6c504 + pristine_git_object: 90b1c7f52a77e9b2214fd4421d9233d79af9ff9d + src/textql_sdk/appservice.py: + id: 825f2214e8e9 + last_write_checksum: sha1:9673caf86ee97b5c17fa8a1762058b14d0a01d02 + pristine_git_object: bb410f8905bcf267852487fd486c5d5d0966dc5d src/textql_sdk/auditlogs.py: id: 3ce1ab522e54 last_write_checksum: sha1:0f4cd972de53f799932de040611ca13379524530 @@ -9669,8 +9691,8 @@ trackedFiles: pristine_git_object: 92ed65818f40afafbfb5a9dc6f2e0fef9e0228b4 src/textql_sdk/chats.py: id: 592608eb13b1 - last_write_checksum: sha1:3e786d753d39b1bfdf6ff9cb6d91c62a27f63794 - pristine_git_object: b1ad174912740f308f8ea6becd19a97110bd0b5d + last_write_checksum: sha1:a1e0b2369ef30e60c651c77df83c738d9f5c5778 + pristine_git_object: 3457bc27aaf200decc48628e76f244b99cac730c src/textql_sdk/connectors.py: id: 44f63753a16d last_write_checksum: sha1:93920758e4fbfa92b0ec51fb0a5f3a80792fdc2b @@ -9707,14 +9729,6 @@ trackedFiles: id: 9832e1ec7a2f last_write_checksum: sha1:5e55338d6ee9f01ab648cad4380201a8a3da7dd7 pristine_git_object: 89560b566073785535643e694c112bedbd3db13d - src/textql_sdk/libraries.py: - id: 3eebe32651f6 - last_write_checksum: sha1:542bbce5cb4f1ae322dab74516a005313a2f629f - pristine_git_object: aef8abc5af5242b3ac3ad2e59f05dbfe8411dc03 - src/textql_sdk/libraryservice.py: - id: ba9e1ccbec28 - last_write_checksum: sha1:5e4d3a73eaf8a55004d327e14280ccfbaee4dbb8 - pristine_git_object: 8b2d62334931035852ccedbbd1bdc88e2b2c544a src/textql_sdk/mcp.py: id: d1b1849542e3 last_write_checksum: sha1:ff9a41b0c0736a2f83301b42f7385c273d6072da @@ -9725,8 +9739,8 @@ trackedFiles: pristine_git_object: f5227a747725a68f1c9b6ebffe42ac0d2436f77f src/textql_sdk/models/__init__.py: id: c8cef98ef3e7 - last_write_checksum: sha1:ff7a2460e6dce66ba323352a26c483af66e148d6 - pristine_git_object: 37e8956ee045b4f6be94798e34384564b06af162 + last_write_checksum: sha1:9301f1a0fd4f385aa8fe50f754fb843e4ed3ec05 + pristine_git_object: a7182499d1271303f6c859fb7dee245b2d1421ae src/textql_sdk/models/agentservice_createagentop.py: id: c31d4c4b52ae last_write_checksum: sha1:eb9ab95a772110d0f587963a73ff3ab4a6f11859 @@ -9787,6 +9801,10 @@ trackedFiles: id: 085358706cf6 last_write_checksum: sha1:8d85000e0e289a2e6276829753f3e7787e9fb221 pristine_git_object: bd45835fe15adc70f2f10bc12e2c6f8716e44b21 + src/textql_sdk/models/appservice_getappmemberstateop.py: + id: ff549d61a17d + last_write_checksum: sha1:d7d064ef1251d1b0ece72394ea06caa81461154f + pristine_git_object: 8fc99ae41a959d38bb98c2a10eeb680cff04195b src/textql_sdk/models/appservice_getappop.py: id: 8c0867e054c3 last_write_checksum: sha1:d4b5765c6b9b1d7edcde338a7de27653ee91ac75 @@ -9807,6 +9825,10 @@ trackedFiles: id: 5dfc8facc9d5 last_write_checksum: sha1:02e3a5004c57b87c13e9e359c02e883c2f3de741 pristine_git_object: d9c8b2e3c0621fef83958bd75482fc99af8bcd1a + src/textql_sdk/models/appservice_listappactivitysinceop.py: + id: c2726871c403 + last_write_checksum: sha1:f7a78cb40b08e7d2c7ba91232f30454189009d2d + pristine_git_object: 3240298b15d4d285be53c3bf969842f40c1c02d4 src/textql_sdk/models/appservice_listappsop.py: id: 0b00934395e0 last_write_checksum: sha1:bb4dacc33bf2fba3330290cb4c00a94ff21d8fe3 @@ -9815,10 +9837,22 @@ trackedFiles: id: 78048e1f42a5 last_write_checksum: sha1:bb79b73db536e44d288ede01d69f029da26f6f0f pristine_git_object: 37a2ad3c1f9adc49e148d63808ee772e22092dac + src/textql_sdk/models/appservice_listmyappmemberactivityop.py: + id: d2515bcf209e + last_write_checksum: sha1:0af9f2e9b1fbfa5f29294a0f34129f3085328878 + pristine_git_object: 1f16de2c7d0a56fe122f611f36e5a154950ec7e5 src/textql_sdk/models/appservice_moveapptofolderop.py: id: 6904a453c0a7 last_write_checksum: sha1:6335e32d69a6b720f7d3fb596997a6840a063ea8 pristine_git_object: 6393ded18909f406371c858bfa1ae21ad6877fad + src/textql_sdk/models/appservice_presenceheartbeatop.py: + id: ada3526c5c93 + last_write_checksum: sha1:e246e4858b868a53b607c097b4e4c1ee8f85c88f + pristine_git_object: 94c16ccd6bfed38d6c903694e7aa531d911d98d6 + src/textql_sdk/models/appservice_recordappmemberactivityop.py: + id: e40a931501bb + last_write_checksum: sha1:50afed2887656d54b476af0eb7f192056c205a36 + pristine_git_object: 671940ff220b267d01b9619a81586b2f1337d133 src/textql_sdk/models/appservice_refreshappop.py: id: 7992fc408971 last_write_checksum: sha1:1516b2b754e85b1902c00341f2482303c01b4f42 @@ -9827,6 +9861,10 @@ trackedFiles: id: 0a505fa220ab last_write_checksum: sha1:4bcffdeddc399e46b74e67404a57cf911923c06d pristine_git_object: 2f479e252b17da6900592017dd94463b396cac49 + src/textql_sdk/models/appservice_setappmemberstateop.py: + id: 7d840ecb46d1 + last_write_checksum: sha1:ef5c89befd29bd958023f797486b25ab8128d94f + pristine_git_object: a6b04bdefce830c30e4cea5ef56d4e7f659ba7ea src/textql_sdk/models/appservice_setfavoriteop.py: id: aa934bfd6b02 last_write_checksum: sha1:baa8799f0ed06355921cd01cec07ff91b9158f65 @@ -9977,8 +10015,8 @@ trackedFiles: pristine_git_object: 6e5ca912e11aad50ecbae534084755f0d182d341 src/textql_sdk/models/chatservice_getllmusageop.py: id: cf07a5508d56 - last_write_checksum: sha1:c0f9d0cc0274727eefa903f90cba7b6965e671cc - pristine_git_object: 92790826769c3e5e6228d98bd72bc2d438c4e69e + last_write_checksum: sha1:5995556a410cf1ff8c67c34b00f8cdc3657c8ff5 + pristine_git_object: 2b7cbdb39e8ea67ac14623c03716862f04a9e833 src/textql_sdk/models/chatservice_getmemberswithchatsop.py: id: d63812106228 last_write_checksum: sha1:93e3172d485040ab65875fa534330802fa211c36 @@ -10267,294 +10305,6 @@ trackedFiles: id: ff6b0abb72e9 last_write_checksum: sha1:271f0309e11d36e7b6c7930dd27e38fcac75c781 pristine_git_object: 0fa0dfbb8ebeede25529568b8d9367bbc983c236 - src/textql_sdk/models/libraryservice_addlibrarysubmoduleop.py: - id: 1632e1bd30d8 - last_write_checksum: sha1:cdb02090d3fcbcc77fce9880a35e3185f2e70e1b - pristine_git_object: ad9ca4fb055484386f91f8ac51783a425cff76ca - src/textql_sdk/models/libraryservice_approvepatchop.py: - id: 335aebeb33d1 - last_write_checksum: sha1:bcf17908350f5c685a6f41ec4e72be40e46332a8 - pristine_git_object: d5e9f59239f0022a6d2df64bc655fc7374dbbf9e - src/textql_sdk/models/libraryservice_configurelibraryremoteop.py: - id: 4a5c178bb948 - last_write_checksum: sha1:bada05108daba5f8ff5001e4403c75956104621a - pristine_git_object: ef395ac5668efdce02d6950aac61505b9d457903 - src/textql_sdk/models/libraryservice_createapprovalruleop.py: - id: d8e5f733c2af - last_write_checksum: sha1:2a3d6a154f153105c33861480581afda5c07ecbb - pristine_git_object: a0369f3b26e297005a721c5a4ddb11394ac3746a - src/textql_sdk/models/libraryservice_createcontextpatchautoapproveruleop.py: - id: ef541c5c7edd - last_write_checksum: sha1:423734bb9b7e82bccd993989347ca30b824cd0d2 - pristine_git_object: d39baded27969ef6e2be0859722f0ce496983464 - src/textql_sdk/models/libraryservice_createlibrarydirectoryop.py: - id: 5dbc4ac3f038 - last_write_checksum: sha1:6e27a38b2d18dffaa8a519f10f0fe879d882f576 - pristine_git_object: f11456cb752872039f674c28f9c14218977651da - src/textql_sdk/models/libraryservice_createlibraryfileuploadurlop.py: - id: 61436e016b28 - last_write_checksum: sha1:5ffc8ed7f8b29f205f79bff122dd446400aa5570 - pristine_git_object: 18368a2c03767b57cff553994a4340a0f8dd17b9 - src/textql_sdk/models/libraryservice_deleteapprovalruleop.py: - id: 2ae9439f1e99 - last_write_checksum: sha1:ad05a6005a8eb5109d41a62adde2e460770c0398 - pristine_git_object: 160c8a22ac71a511d18d2f6030a973ac46d8df15 - src/textql_sdk/models/libraryservice_deletecontextpatchautoapproveruleop.py: - id: 274fef5f8310 - last_write_checksum: sha1:a4caa01f714214cc7100d84d265e15ef9607a771 - pristine_git_object: f7bc7f96d22cda671508264a4a2d3c374f9301e7 - src/textql_sdk/models/libraryservice_deletelibrarydirectoryop.py: - id: e7f2650bf2c2 - last_write_checksum: sha1:e860119c6aa90e394e42023ec5a7385d8c112ac6 - pristine_git_object: 22d856db58d95828c065367d7f62204cdb7c8b99 - src/textql_sdk/models/libraryservice_deletelibraryfileop.py: - id: 8460a774699a - last_write_checksum: sha1:261dc940206fe6d0a76c7c2ee5ccad497b52bb2d - pristine_git_object: 9b8052066c9a6cc9bc2031f64a1e8e52aeefddbc - src/textql_sdk/models/libraryservice_deletelibraryownersop.py: - id: 6c3b06d27353 - last_write_checksum: sha1:e680944c9af07f386988c47ba62a86e6e4bb23d5 - pristine_git_object: 6f02e23eaad79613edf5383f60b7eac048695083 - src/textql_sdk/models/libraryservice_denypatchop.py: - id: 336328c2fdfb - last_write_checksum: sha1:3ae664e796129e912bb4a735633a9056b31aafc4 - pristine_git_object: b3a6dff5979df3e9eaa47ef5982700ae94c7f1d1 - src/textql_sdk/models/libraryservice_exchangelibrarygithubcodeop.py: - id: 52a5dea24b61 - last_write_checksum: sha1:92e209a96f763567f2dd4b86be7b0950dae0eb5b - pristine_git_object: 267ffcfaaa469ba4132929ca948fb5accc5da6ca - src/textql_sdk/models/libraryservice_finalizelibraryfileuploadop.py: - id: e88c42725438 - last_write_checksum: sha1:97a5b37bab0596262be8a374d2dfcf6b7e69c2de - pristine_git_object: ffc3736937df337399437253aa07331ace21476e - src/textql_sdk/models/libraryservice_getcodeownercoverageop.py: - id: 8f137bcfc401 - last_write_checksum: sha1:108f52fe2495b01cf1edc4ecbd61625ff3429988 - pristine_git_object: 504ea84fe7d8fe32157c72eb1911225eb03a59de - src/textql_sdk/models/libraryservice_getconfigexportcapabilitiesop.py: - id: 5be050fb618d - last_write_checksum: sha1:eb4a31aca393313c8d1d485d649f2d7f5a402fbe - pristine_git_object: 3abfca6ce95c69a9a574e8a0f09d2ef5ebfb47d2 - src/textql_sdk/models/libraryservice_geteffectivelibraryownersop.py: - id: 76a7aa9b7a77 - last_write_checksum: sha1:69f890744339a8ce3a88e2c1dae7e0cb3b17d447 - pristine_git_object: ffee49cfa4e39c560d507124c2f14af9753427d7 - src/textql_sdk/models/libraryservice_getfileusageop.py: - id: 0308f2712093 - last_write_checksum: sha1:c614b536875a61a966e9920f6c605ceb9b4b7852 - pristine_git_object: 605694dcf0b76bea8f137a79f961ea7d23740127 - src/textql_sdk/models/libraryservice_getfileusagetimelineop.py: - id: 3c8e783741ef - last_write_checksum: sha1:6379c326b9b2a5026f3b8bd1e3855be626fdef5f - pristine_git_object: ca5b6879ee7c347fc15a9253a1da06315ce0909b - src/textql_sdk/models/libraryservice_getlibraryanaconfigop.py: - id: 31d445c55b02 - last_write_checksum: sha1:a99f57fb0ec43724ea3e004a6d4e317d61eebd29 - pristine_git_object: 656d14a2994b6f35d52b2086921fd24151325f4b - src/textql_sdk/models/libraryservice_getlibraryfileop.py: - id: 43a4eacac3a3 - last_write_checksum: sha1:2d62dcb1570dbcbe2b48562b7e1e4826298a452f - pristine_git_object: d67bb4e0adbe5a910276fa06f0bdb888a9f4b677 - src/textql_sdk/models/libraryservice_getlibrarygithuboauthurlop.py: - id: 6dd9947cf805 - last_write_checksum: sha1:1f595ac42794f14b351f8503b3b4514eb1c4506e - pristine_git_object: 8b5fdc613bc09356d48a5be3fdb0f4752f8eaf46 - src/textql_sdk/models/libraryservice_getlibraryhistoryfilediffop.py: - id: 12b049ca9db8 - last_write_checksum: sha1:e1b622a7e0332755b7f09e16553290e06b13d420 - pristine_git_object: c8d34fbc8a0be7b44dff2caad797876577bbb124 - src/textql_sdk/models/libraryservice_getlibrarymigrationstatusop.py: - id: bebf168de036 - last_write_checksum: sha1:476a7e51fc06d501ad0d601cddae982ccbbe8626 - pristine_git_object: 4453339893509e096b916b7120362cf6d6bf9a3c - src/textql_sdk/models/libraryservice_getlibraryownersop.py: - id: 2b5840fd800c - last_write_checksum: sha1:69ad0f49d5dac2048c70fb8b3451872a8ce18dd6 - pristine_git_object: ad862cdaedffedba9f01486193a086a1d2ef0747 - src/textql_sdk/models/libraryservice_getlibraryremoteop.py: - id: e708c04cef19 - last_write_checksum: sha1:0c549224d53cb4861ac28009d70a41b3adbe0a7b - pristine_git_object: f58a13ee073dda693d408e4c66f1a28d5b80520d - src/textql_sdk/models/libraryservice_getlibrarysizetimelineop.py: - id: ddd10f1ed75e - last_write_checksum: sha1:e69ea655d4f58c5d1a1c029ae26abdafb769c780 - pristine_git_object: 72d171ec3ec2a4ebf73d2d83312e703407fef45c - src/textql_sdk/models/libraryservice_getlibrarysyncconflictsop.py: - id: ddf03f24bd97 - last_write_checksum: sha1:a9e32c72b416ab7f6c4bd5f57cab6ef94324022d - pristine_git_object: fa8a7688a23d83546f5200b1972d85513800d54b - src/textql_sdk/models/libraryservice_getontologyusagesummaryop.py: - id: 361f738107b5 - last_write_checksum: sha1:fb2b315de6cddd4cfb8efd6253dfd9cf27e93819 - pristine_git_object: 54acb8d14fb13c17528999b9cd97a79c76741f0d - src/textql_sdk/models/libraryservice_getpatchbynumberop.py: - id: 0e51122e462c - last_write_checksum: sha1:b335bdfc52e4bea819cd2b9ede87a1145442f5d3 - pristine_git_object: 4be490d19829548bd18f74b979d24273afd5d6cc - src/textql_sdk/models/libraryservice_getpatchcapabilitiesop.py: - id: 218a09f52e2e - last_write_checksum: sha1:e7f6f1e325db172103f65aafa8bef58b9e27d6a9 - pristine_git_object: cc4767dc9df2484f2dbf7fc908f1472857647d3e - src/textql_sdk/models/libraryservice_getpatchop.py: - id: e42c10cf9071 - last_write_checksum: sha1:4ce9412617ac46347d8bf2a4f1022f2a2020d8b8 - pristine_git_object: 9bda9c713ebf160243b58125f19e7a4a17450d66 - src/textql_sdk/models/libraryservice_getrawpatchop.py: - id: 372b2dda89dd - last_write_checksum: sha1:7a99790f2a1e477916b3c331502f775e1bb22e68 - pristine_git_object: b117c1fd8896b005cf44899957ffc3c35533b989 - src/textql_sdk/models/libraryservice_getusagedetailsforfileop.py: - id: 10f8f602f1f4 - last_write_checksum: sha1:36580e30425d3d72d5dea9716b2704feebc3bfa1 - pristine_git_object: 9dfcde752dc7d00f588bdd354edb03ff2aeb63fc - src/textql_sdk/models/libraryservice_listapprovalrulesop.py: - id: 05d5a34a91bc - last_write_checksum: sha1:f50484c85f97279ee05f0eece7318d553cbe3e85 - pristine_git_object: 0ef502a892419e6b890f1b50fa9a5b8739708684 - src/textql_sdk/models/libraryservice_listchatsforfileop.py: - id: fcf56339e536 - last_write_checksum: sha1:5af9513318e75afb46d50b6c25f5625256e26161 - pristine_git_object: ee3f3ada558346842f4d2f2ffdc8f8a6f4482f97 - src/textql_sdk/models/libraryservice_listcontextpatchautoapproverulesop.py: - id: ccbe1b47f9a0 - last_write_checksum: sha1:e9568f9420ac0fb9370ba43313c7166369d4ae3b - pristine_git_object: 5d1bb3209ccd53599c42c24737484f109ad84f63 - src/textql_sdk/models/libraryservice_listgoldenfilesop.py: - id: 48eadc14c4b3 - last_write_checksum: sha1:d115dbe2cb41e047a1413d4ad222708bfefcef5c - pristine_git_object: a999a866857b6b5537d63fed80e6716b36983b11 - src/textql_sdk/models/libraryservice_listlibraryentriesop.py: - id: 42f250c9190e - last_write_checksum: sha1:13aef4f3fb1acbd3a3f2082cd75d74e3422ed5a6 - pristine_git_object: 2862ed20601e8cb0f3233da273ee6e9f38c6d74c - src/textql_sdk/models/libraryservice_listlibraryhistoryop.py: - id: f5c24aff1a35 - last_write_checksum: sha1:05022a2b28601e3cd0348535aa1a6fa0e525df1e - pristine_git_object: 3342be1468a246fafc5fb02efeda73b61a71a7d3 - src/textql_sdk/models/libraryservice_listlibraryimportsop.py: - id: 5140c1f1349f - last_write_checksum: sha1:3e9855e861fa8468e34817523ebbbb72b8c106b0 - pristine_git_object: 4b938b647c210f9c575bb653cf2c4e2ed729a6f4 - src/textql_sdk/models/libraryservice_listlibrarysubmodulesop.py: - id: a4d81df026fc - last_write_checksum: sha1:78b7c4442a28a0ded3de5d770234d809166ee3f8 - pristine_git_object: fbb161a53707da5d9679e7c1a3d131d4a590b180 - src/textql_sdk/models/libraryservice_listlibrarysyncrunsop.py: - id: f94b8bea75c7 - last_write_checksum: sha1:80a617dda37ea02cdf61a0dd6922db1abfac8f9a - pristine_git_object: 0e55c3c1db33517362a8cf65070c24e1af4e92a4 - src/textql_sdk/models/libraryservice_listpatchesop.py: - id: 832afa807e50 - last_write_checksum: sha1:486f529de3ffb85ebfc53b7ad8abd37bfacac6b0 - pristine_git_object: a44a8bf595d900dbad3db61911e6f8fad6532c14 - src/textql_sdk/models/libraryservice_listpatchreviewersop.py: - id: 3d47b60085d8 - last_write_checksum: sha1:af3c0f793b638334d9d02a29c392ad601897f979 - pristine_git_object: d43c60514cd062ec0bc7f4bf28cdd3c798ade438 - src/textql_sdk/models/libraryservice_listskillsop.py: - id: 13018e11e18a - last_write_checksum: sha1:7a759da26be7b96e50d644eaccb6fae5f33f8220 - pristine_git_object: dc6992d538da899bfe173d1dfaad9901b0151e5f - src/textql_sdk/models/libraryservice_migratelegacycontexttolibraryop.py: - id: b99957069701 - last_write_checksum: sha1:2d72c26c5aa62296574886f572440b511bb65f8b - pristine_git_object: f1d6cb9628c41f5dc12b1cc49d65fd69b1bcc431 - src/textql_sdk/models/libraryservice_migrateontologytolibraryop.py: - id: d440ea492cae - last_write_checksum: sha1:5e68b1128558135334a64ac1da14816735c9cfa1 - pristine_git_object: 313416fdcdf02547c002e2d572e462fd4abb2f03 - src/textql_sdk/models/libraryservice_planlibrarymergeop.py: - id: 388c2ff07056 - last_write_checksum: sha1:c71a0113c1fafbeaf7bc0e1e9da9fb4fad9d72b8 - pristine_git_object: ed9bba254aa89bc31733af19d53e0ec88bb8ff94 - src/textql_sdk/models/libraryservice_previewlibrarypullfromremoteop.py: - id: 67a326693e0f - last_write_checksum: sha1:a35ef1d59ebcfe9c6377756a1b149d2e7e3181d1 - pristine_git_object: 32ff356951a9744c3deafc4ca2716ea32882bb64 - src/textql_sdk/models/libraryservice_pulllibraryfromremoteop.py: - id: 84f96a646548 - last_write_checksum: sha1:8fff62de11a42054cb3798bba684b934b696cb45 - pristine_git_object: 043057bdbb960aa9083a2705aad8a721eee0a3ac - src/textql_sdk/models/libraryservice_pushlibrarytoremoteop.py: - id: dd4bfecef734 - last_write_checksum: sha1:1ef67f9e36b6327b3a54c781c05123d12fb345a3 - pristine_git_object: c4b25cbffecbbeff43d832afeb0049df201d5b78 - src/textql_sdk/models/libraryservice_recoverlibraryop.py: - id: 068adfd68c5e - last_write_checksum: sha1:d25c507d65c47e840d8ee9c1aa1be3679a27b664 - pristine_git_object: 84777af8c196da48a0b37b1c6f0441e7a5518d70 - src/textql_sdk/models/libraryservice_removelibraryremoteop.py: - id: 0282bf0724cd - last_write_checksum: sha1:1678e49b41b9ee7b303bdf1712c2d284df89e2ef - pristine_git_object: fd625498904714a4affaac44444f0ae2f496a41d - src/textql_sdk/models/libraryservice_removelibrarysubmoduleop.py: - id: cef54212816d - last_write_checksum: sha1:a570e425da562f80d3a65d4bff93c0b7200c473a - pristine_git_object: 33799660dcfc19e09d67dc72206140cdbf1a8a49 - src/textql_sdk/models/libraryservice_renamelibraryfileop.py: - id: a05743efba30 - last_write_checksum: sha1:415117c456d5bcab49b27285c75520a5f3bf4de4 - pristine_git_object: e996277777e4f5ca882661285f8e7a8e851e15d6 - src/textql_sdk/models/libraryservice_requestpatchreviewop.py: - id: 6c4e25049966 - last_write_checksum: sha1:dcf3b71840e0b4031d271ead7b1daeecb2a123a7 - pristine_git_object: cc0e586f9dc8669b6371d10afc91a6a37b4454c2 - src/textql_sdk/models/libraryservice_resolvelibrarysyncconflictop.py: - id: 6fe6402991f7 - last_write_checksum: sha1:93d359f5f3d15220155c8f54a95a0399bb8a440d - pristine_git_object: 263deb57c74dc3a219c07244cad7bcef64b51a85 - src/textql_sdk/models/libraryservice_restorepatchop.py: - id: a5e4d13ee18c - last_write_checksum: sha1:53e0a866dd3d8978e263c637f57916bb45cde8a5 - pristine_git_object: 29d1748966c6b8c69077b98cfc31e4f0750b8dd4 - src/textql_sdk/models/libraryservice_revertpatchop.py: - id: d875c9b2b66c - last_write_checksum: sha1:d0ff9ca0ecd1899987afde4f7660bcf9be0376f9 - pristine_git_object: 6449f023f60cfa58055d2ec5ef39d31bab5e00b3 - src/textql_sdk/models/libraryservice_saveallobjectsasconfigop.py: - id: d580849bc868 - last_write_checksum: sha1:ced70350e1bfd553aa253c60b09b30fed6427725 - pristine_git_object: ed4c8a0c265908620680b003cffd22716816e49d - src/textql_sdk/models/libraryservice_saveobjectasconfigop.py: - id: 84c7834e0bf3 - last_write_checksum: sha1:514a40dab2d8869a03f1fde41b767241a8c1b9dc - pristine_git_object: 23aa608db45af18b415a3cb44be69990510f08ce - src/textql_sdk/models/libraryservice_setlibraryfilegoldenop.py: - id: 0b3d50d5c6a3 - last_write_checksum: sha1:040bf01f0e894887a243d8b1b2a8207223785ff5 - pristine_git_object: 479250603f0c18d052ba50bafcfc70d8fd4e0e47 - src/textql_sdk/models/libraryservice_triggerconfigdriftreconcileop.py: - id: 8e68474fa140 - last_write_checksum: sha1:c1b9de593e8879faddb6734a3208db6e08e9daaa - pristine_git_object: 453e47adb0de9c875bc4ab981c62b3a5be11c336 - src/textql_sdk/models/libraryservice_updateapprovalruleop.py: - id: ed67815f5b06 - last_write_checksum: sha1:3296889a70d80e88325581f63768f5eb396c15bc - pristine_git_object: ce91b5d91251cff9ca65bb0ac47153656b9a1c96 - src/textql_sdk/models/libraryservice_updatecontextpatchautoapproveruleop.py: - id: 825a2c86e45f - last_write_checksum: sha1:803d0687aa30dd8a3008e858fae7a24b27dc7405 - pristine_git_object: 3cce533ac78be9043e9ff7fb4db0d1b025602004 - src/textql_sdk/models/libraryservice_updatelibrarysyncconfigop.py: - id: 8e3b9da2edda - last_write_checksum: sha1:1f79866cf9b6adc47a084ce11f4aac30d96ec763 - pristine_git_object: 91afa55f1897977ec7c0ef73d87ffa4facf6360a - src/textql_sdk/models/libraryservice_upsertlibraryanaconfigop.py: - id: a6988a17d059 - last_write_checksum: sha1:e3948e68a97a1c03db091500b185e7987b0c31d5 - pristine_git_object: 553be40bd07ba2b8d4ae03e4afaae01730b4ff76 - src/textql_sdk/models/libraryservice_upsertlibraryfileop.py: - id: 3272beb9e127 - last_write_checksum: sha1:5bddb9c2013ea17268725c4fefeadbb0333bc302 - pristine_git_object: 63dfb8f20a82eb780dddd1ca58ed85b9ec325381 - src/textql_sdk/models/libraryservice_upsertlibraryownersop.py: - id: a7407236a553 - last_write_checksum: sha1:b28415c25c8ad4e1a88b146f76355286d51480e4 - pristine_git_object: 8ee53e7498fc0bb851007ce50545993772536da7 - src/textql_sdk/models/libraryservice_validateconfigop.py: - id: 2a0b1a9b58df - last_write_checksum: sha1:c62c1f2795dc9d54dded914f77f3ef29e680dcc4 - pristine_git_object: e93dd32f2f5c697d8bb0301185fca72b083f8fc2 src/textql_sdk/models/mcpservice_clearoauthtokenop.py: id: f07243fa2a6a last_write_checksum: sha1:924fb1807f8533cfc4a9279fb13137f11f0b0187 @@ -10719,6 +10469,282 @@ trackedFiles: id: 66288330bffe last_write_checksum: sha1:a7890635f06d1c2109bba8f67fd53be07741b17d pristine_git_object: 4fe085ff8436c50b161dd5b6c4448782d4b14a46 + src/textql_sdk/models/ontologymanagementservice_addontologysubmoduleop.py: + id: 9f6cfc18499d + last_write_checksum: sha1:70c5eb89ddb4f7baba2294bf683ab8ca11a06055 + pristine_git_object: 515bfdeb488198df86ecc35aac52be4ba0278031 + src/textql_sdk/models/ontologymanagementservice_approvepatchop.py: + id: cba86696c58e + last_write_checksum: sha1:a493960f6bbe3234c121e513a25acf4824995677 + pristine_git_object: a8cee42f2a8b419c659c103909d711b1e5ec3c67 + src/textql_sdk/models/ontologymanagementservice_configureontologyremoteop.py: + id: 02ad1bb61b94 + last_write_checksum: sha1:58c84d18083488b1a35ffc4e344f774d3f998720 + pristine_git_object: a13ecb6bac8ffaba20682c922dad573e5147fd15 + src/textql_sdk/models/ontologymanagementservice_createapprovalruleop.py: + id: 6ac4d3c0c744 + last_write_checksum: sha1:ff85903a440444db4a884eb4cc0eee117c86aeb1 + pristine_git_object: aa9d678890877a20333e6f4bc8628cbc9d0fb924 + src/textql_sdk/models/ontologymanagementservice_createcontextpatchautoapproveruleop.py: + id: 0bd97226e0a9 + last_write_checksum: sha1:de8fe020af69716787534e349c866b1b81654695 + pristine_git_object: 874480853cc0a4eb28fadab928564f3cd3413742 + src/textql_sdk/models/ontologymanagementservice_createontologydirectoryop.py: + id: 3aa55ebcc206 + last_write_checksum: sha1:b9a4ce7bac7074587fb92562e43a2c81fe6cf395 + pristine_git_object: beabcd91707602f8c8e7618f0c3a609990614093 + src/textql_sdk/models/ontologymanagementservice_createontologyfileuploadurlop.py: + id: 7e399b735e5b + last_write_checksum: sha1:a81ac6709274f9206391076b104bee66aa1027c8 + pristine_git_object: 1771e80aceed6074b1b1d777a5f79bd161135db5 + src/textql_sdk/models/ontologymanagementservice_deleteapprovalruleop.py: + id: f9b70e59ecc4 + last_write_checksum: sha1:c4d39fd8946c84d82f7649cb8f286f20db8b5e02 + pristine_git_object: d2e288b4ba800427486e66decf45fa23a37cad5d + src/textql_sdk/models/ontologymanagementservice_deletecontextpatchautoapproveruleop.py: + id: 897039c3ffb2 + last_write_checksum: sha1:778b4ed3b5fc4ff4d6964eed1d850afef37835ad + pristine_git_object: b4a78ad183ca97acc70b0d22b364f78c6efa4a18 + src/textql_sdk/models/ontologymanagementservice_deleteontologydirectoryop.py: + id: 26368cd52a02 + last_write_checksum: sha1:2c513e225282b4f320c8fe3b76682625af0426b8 + pristine_git_object: e115a1ce0dcb81ac97fb0ba4444bdba1695e8bc5 + src/textql_sdk/models/ontologymanagementservice_deleteontologyfileop.py: + id: 31996fb7bc6b + last_write_checksum: sha1:d59cf0089c8be3041b8966efe279d39c62343490 + pristine_git_object: d9596c4089b2c556c129e866ceba334fdf600e5c + src/textql_sdk/models/ontologymanagementservice_deleteontologyownersop.py: + id: 7026739f0e4a + last_write_checksum: sha1:ab280e25212ff85c38fe3b7cfc44dcdb1bc4878c + pristine_git_object: 0a26328d4364784699dc2d77d3694015be980ada + src/textql_sdk/models/ontologymanagementservice_denypatchop.py: + id: e535d02f4d2c + last_write_checksum: sha1:f1d3b6167414d36dc5a8d5d6d5c1a134dbef97a1 + pristine_git_object: 226c8da55ab803b93be8ad42cee45d577cf66536 + src/textql_sdk/models/ontologymanagementservice_exchangeontologygithubcodeop.py: + id: e8c588f58f3a + last_write_checksum: sha1:0b834530f9b7464bbebb84f04082265f85a25726 + pristine_git_object: c037f19e8a3bffb3fce036f224c9a6adef302ef4 + src/textql_sdk/models/ontologymanagementservice_finalizeontologyfileuploadop.py: + id: 62195ff7f52b + last_write_checksum: sha1:585b7ceafe3dbf6855f57c741d6fbfc37b1506c2 + pristine_git_object: d899134727c1e11176b848b89ec90b5241ef8b9c + src/textql_sdk/models/ontologymanagementservice_getcodeownercoverageop.py: + id: 699bc1373dca + last_write_checksum: sha1:1b6f35cdcfa0cb40677621519315b0a5d5ef7479 + pristine_git_object: d2deca20c4bfc44c12852e2a2904277d572e4d75 + src/textql_sdk/models/ontologymanagementservice_getconfigexportcapabilitiesop.py: + id: ba0b298410f5 + last_write_checksum: sha1:283b4b30b8f16d32d2624ba3da6a0776f3bde560 + pristine_git_object: 0d59e2448dc60584820fac6e072d5b0b5e09d232 + src/textql_sdk/models/ontologymanagementservice_geteffectiveontologyownersop.py: + id: dcbaf5b03f8e + last_write_checksum: sha1:7be9b11edf728af483c1a30f6398ec7002204af1 + pristine_git_object: a4db2bce270dc1469a48511a7222ef3ab665d6a7 + src/textql_sdk/models/ontologymanagementservice_getfileusageop.py: + id: 763075b56589 + last_write_checksum: sha1:e2ed42b14cbe2eb521f96d8c961026e063740d13 + pristine_git_object: b1c006e2e25f884d95a8ac9b74d530b6c1277f2b + src/textql_sdk/models/ontologymanagementservice_getfileusagetimelineop.py: + id: 8d34c14e8659 + last_write_checksum: sha1:83067f5a7d411d337339f93e66bfa8479c82bc0b + pristine_git_object: d5bde54a4ddef6f39a8b96575d4d5ba316ddf3a2 + src/textql_sdk/models/ontologymanagementservice_getontologyanaconfigop.py: + id: c37b526a329a + last_write_checksum: sha1:e37e402b92fca1817ad54659100bde486409e19f + pristine_git_object: d6635111c9908a80069e76b903425d8c04d9a2ef + src/textql_sdk/models/ontologymanagementservice_getontologyfileop.py: + id: 23382fc4ba0c + last_write_checksum: sha1:98b0b9fac15d2287bc447f6c67fce6edc5d0a30c + pristine_git_object: 71146b3b599aae496ccbe5c6db4072cf457a4920 + src/textql_sdk/models/ontologymanagementservice_getontologygithuboauthurlop.py: + id: 6f7930cc141b + last_write_checksum: sha1:064ef86426f6f80486d49032859c4c0fa4a84424 + pristine_git_object: c2e99dea4fd77e5c1394e480c987c04cf82d3ff0 + src/textql_sdk/models/ontologymanagementservice_getontologyhistoryfilediffop.py: + id: a06cc7ab3df3 + last_write_checksum: sha1:6db002dc5a2e6bb76214d784bdfa04d693708113 + pristine_git_object: 66454e1f4442b64c77c9cd44f6fede56b509a475 + src/textql_sdk/models/ontologymanagementservice_getontologyownersop.py: + id: 69ac344139fb + last_write_checksum: sha1:ba38eaf62f73d54b1f638a7370b86fcafa821f3e + pristine_git_object: 15b0d3d339cf9518200b3b3d988fbd2083363098 + src/textql_sdk/models/ontologymanagementservice_getontologyremoteop.py: + id: f060fc1323d7 + last_write_checksum: sha1:287a9b49a40fa149664635b93eb9bfc69124445e + pristine_git_object: 9f0866458c40cd316234732f4e3ba8ae769e6600 + src/textql_sdk/models/ontologymanagementservice_getontologysizetimelineop.py: + id: 3b81f7edd0df + last_write_checksum: sha1:f3087181b60ca64d27de9868bad82f542b8474b5 + pristine_git_object: fba1c1f428236908e1d6890edea6b2cb3f67328b + src/textql_sdk/models/ontologymanagementservice_getontologysyncconflictsop.py: + id: 848bdde6e6cb + last_write_checksum: sha1:42e09e3e59f78f71ec74e9d6b5a9ab6b0eecc42f + pristine_git_object: 27d8161b703754966182320782fd0913e7bd3053 + src/textql_sdk/models/ontologymanagementservice_getontologyusagesummaryop.py: + id: 84b072533e7c + last_write_checksum: sha1:20f0f6e348151cb0bfd151f2439fb8681f5ea959 + pristine_git_object: 1ce9747b21f2bc4be8f6c2a45e6cb04659144ea8 + src/textql_sdk/models/ontologymanagementservice_getpatchbynumberop.py: + id: 44d5bfd9fc80 + last_write_checksum: sha1:2bb1f7879513d8ef45510c3bb9027758597d05d4 + pristine_git_object: 7699c314992bf2446fee0caa78ca32be26a32533 + src/textql_sdk/models/ontologymanagementservice_getpatchcapabilitiesop.py: + id: 5515c1131506 + last_write_checksum: sha1:4f8129ac8315d0423435b18bf65f121cb42e98a0 + pristine_git_object: f3058e3a251a965fa2b970a1a639ff0fcacd9334 + src/textql_sdk/models/ontologymanagementservice_getpatchop.py: + id: 2ba349284927 + last_write_checksum: sha1:547f46ab71c273edf2e99a955ed280dbcdb4102a + pristine_git_object: e8d8dcc084282aa9d15e37735764ae0cab2a2ed0 + src/textql_sdk/models/ontologymanagementservice_getrawpatchop.py: + id: 09828d647ab1 + last_write_checksum: sha1:1512a1f44b2eeb6fbda00aac84f1b58d29ea926f + pristine_git_object: 9685dab088e21677936eb33469f02f0524e0c9c6 + src/textql_sdk/models/ontologymanagementservice_getusagedetailsforfileop.py: + id: df7fa1eff94e + last_write_checksum: sha1:7bfec50612db1aa4a4bad59cc05c9b1bb60ad316 + pristine_git_object: 0d29217f8fd3e61becbb9348b56688561f6d2b1b + src/textql_sdk/models/ontologymanagementservice_listapprovalrulesop.py: + id: b1a9dd1395c8 + last_write_checksum: sha1:df4527907ae3dd73ea8295bb32ee6de7276165fb + pristine_git_object: cfc1467481dc1bc277e98f90557bbf1534ab5e3f + src/textql_sdk/models/ontologymanagementservice_listchatsforfileop.py: + id: 6edd37a7f1cc + last_write_checksum: sha1:8bd8ed040e38a0d5d111d87265b878c6a7e56f36 + pristine_git_object: a5a024b5cf2b368b6f88b3f92162bf2ffe5b2a10 + src/textql_sdk/models/ontologymanagementservice_listcontextpatchautoapproverulesop.py: + id: 8e6e4c1cbd7c + last_write_checksum: sha1:35a04a98107f8859fd28f58148d1792c0427a68c + pristine_git_object: aa4dde0be116253d3cf3e68fd5e2a6db08c9611e + src/textql_sdk/models/ontologymanagementservice_listgoldenfilesop.py: + id: d7d814a1b96e + last_write_checksum: sha1:ba7798bb509bb7d7369d23dd1bdfb700aa49a15f + pristine_git_object: f7834559eeef3afec2c82f20ae72e480e6eb2115 + src/textql_sdk/models/ontologymanagementservice_listontologyentriesop.py: + id: 3be3979d8fef + last_write_checksum: sha1:3cbf34c3c06b53b0a4e2d671a348ea48c31782a7 + pristine_git_object: 8296232fa4d66593a999e895c09cc83c9d2324d7 + src/textql_sdk/models/ontologymanagementservice_listontologyhistoryop.py: + id: 3242ef670ad4 + last_write_checksum: sha1:670664f034831015dd6778eca71a49239a7170f1 + pristine_git_object: 4d22f96ba71c82664dfb98826ba8cae9f5bbc1c0 + src/textql_sdk/models/ontologymanagementservice_listontologyimportsop.py: + id: b0fe228509bc + last_write_checksum: sha1:d6e7b9b6b15b0ad70fbef165f5f6eb3ed8420219 + pristine_git_object: e3e3e888cdca247d6bb8572caf6d562a407faaf7 + src/textql_sdk/models/ontologymanagementservice_listontologysubmodulesop.py: + id: 79014100a1df + last_write_checksum: sha1:a0941d60aaa864e861cf21be46e6fdc9e74188c7 + pristine_git_object: 82fbc5795044a3bc1f79198c0750683a671774e9 + src/textql_sdk/models/ontologymanagementservice_listontologysyncrunsop.py: + id: 0ae02c321f05 + last_write_checksum: sha1:0f6f86c804cc1b7a8a454bd285c9bbdc35e23837 + pristine_git_object: b7366b844bf308b01357d7e5422439d50629f57d + src/textql_sdk/models/ontologymanagementservice_listpatchesop.py: + id: 45c79b1eb16f + last_write_checksum: sha1:720f5243692cf9bebd1b4d0ba36b2fa2b1eed196 + pristine_git_object: 6c066321a559c8ee8183d45614ebbddc3ab91162 + src/textql_sdk/models/ontologymanagementservice_listpatchreviewersop.py: + id: 18b004ca5524 + last_write_checksum: sha1:94daa91f39827e4cc34349bcd36f67d78dd81fb5 + pristine_git_object: 6c928903ccbb8cb61a89ee82d1d57d63af660ddf + src/textql_sdk/models/ontologymanagementservice_listskillsop.py: + id: 1e5c0300b3f5 + last_write_checksum: sha1:6372b1edcc6f5bf2667d3a322e6aeadb398885a0 + pristine_git_object: da20842e822c722eb4be605a1209d861c8ed7670 + src/textql_sdk/models/ontologymanagementservice_planontologymergeop.py: + id: 52e3b20c11de + last_write_checksum: sha1:15cb046fa43aea9e605104773af1f0e74ba77d49 + pristine_git_object: dd338bdbcab0defae1c194198f4bbe4ad53811d1 + src/textql_sdk/models/ontologymanagementservice_previewontologypullfromremoteop.py: + id: a8ea8d87f702 + last_write_checksum: sha1:cf6bb1b9a8d882c9894db9e221bd88c9e10dfc2a + pristine_git_object: 741eabb46ec3a18932f8dd0511679afb05dbb419 + src/textql_sdk/models/ontologymanagementservice_pullontologyfromremoteop.py: + id: 22bde33f09b3 + last_write_checksum: sha1:bd29697c859c529127c9d69674fc68a645958806 + pristine_git_object: 00f063a96dbdd698ca323b839a44ed320ca2585c + src/textql_sdk/models/ontologymanagementservice_pushontologytoremoteop.py: + id: 3ae213ce828c + last_write_checksum: sha1:37961e3a05219168bb26ab8d7f9b41a4c578ea80 + pristine_git_object: ff8d41f443a1dd5bafd8856da3c6ba0f8684a708 + src/textql_sdk/models/ontologymanagementservice_recoverontologyop.py: + id: b91aca6777fb + last_write_checksum: sha1:99727b875b13bc3371d9ab6047a7d2a74b8cb4b7 + pristine_git_object: 3b36fbc5cb164fcbe016c847b8a40179ef45610b + src/textql_sdk/models/ontologymanagementservice_removeontologyremoteop.py: + id: 69c3b7785bbf + last_write_checksum: sha1:8f274ab377928eae881b480a3fa1ce9540aeb05d + pristine_git_object: 3fe9c033b08b406e77a726615daf428df76ce754 + src/textql_sdk/models/ontologymanagementservice_removeontologysubmoduleop.py: + id: dbf3e437af54 + last_write_checksum: sha1:04331767a3edf459ed3b8bf53021d3e7c375ea79 + pristine_git_object: dfef46b092e318d230753489898b7a757e0b431a + src/textql_sdk/models/ontologymanagementservice_renameontologyfileop.py: + id: 0be4c01e7578 + last_write_checksum: sha1:d5b7c7e018ab97a2ca38265b97dff921e9c6d126 + pristine_git_object: 38e528d9f6a2c6019a350e988fc7234f821ef0cc + src/textql_sdk/models/ontologymanagementservice_requestpatchreviewop.py: + id: 02535dfe6321 + last_write_checksum: sha1:9f61a74b86f4da5efe6bf2438a8bc72042570496 + pristine_git_object: e4be4a9fe40b7d4609d5b722ad875099f26f8588 + src/textql_sdk/models/ontologymanagementservice_resolveontologysyncconflictop.py: + id: 89795cfc497a + last_write_checksum: sha1:d2fc57a6f0c1fbcc571736c69e49b03ba0df129c + pristine_git_object: b96e8f16524f88a6978748325779785bee82669d + src/textql_sdk/models/ontologymanagementservice_restorepatchop.py: + id: cc2dd6033883 + last_write_checksum: sha1:b9e2f0aeef0a84e93f75af5c511869bcf1d189d1 + pristine_git_object: dbf299cacceae93f57f0431dfe38d69e32e8c5a8 + src/textql_sdk/models/ontologymanagementservice_revertpatchop.py: + id: 55545904eeee + last_write_checksum: sha1:b1b220bfcfbbeb003367a455ee18357f3af29486 + pristine_git_object: c0eb226cc42781fb5644076393993b8ee9adeaed + src/textql_sdk/models/ontologymanagementservice_saveallobjectsasconfigop.py: + id: 9253ad24cfbb + last_write_checksum: sha1:6646fe61978eb9c9704d21a88c935222ff0b6d6b + pristine_git_object: 738e83f0afd3a344a5692b77235e41fc609b7e02 + src/textql_sdk/models/ontologymanagementservice_saveobjectasconfigop.py: + id: 90efdc0c08b9 + last_write_checksum: sha1:323747838154e4242269a9d4a12d73a0ba05a4cb + pristine_git_object: ca3461599a4971420bc353410456d3207427ba6c + src/textql_sdk/models/ontologymanagementservice_setontologyfilegoldenop.py: + id: 41d3401268c9 + last_write_checksum: sha1:0691d8be3aefd1aa013e2f34e3d1f722eb3345f2 + pristine_git_object: 01cb9e06bd40a73cb4944c4c42e1989cf7657741 + src/textql_sdk/models/ontologymanagementservice_triggerconfigdriftreconcileop.py: + id: bf7dd0dad28b + last_write_checksum: sha1:788e776891193b8e8de7b53389b9d4a6e5dd7709 + pristine_git_object: 93caec35803397781b6664bd3968184f566f22ba + src/textql_sdk/models/ontologymanagementservice_updateapprovalruleop.py: + id: 7ce76829c2db + last_write_checksum: sha1:f0e00608348d0f66bc0c241ae47c80202b1379d5 + pristine_git_object: 27aee569690647658326a48a511977bb2110fe48 + src/textql_sdk/models/ontologymanagementservice_updatecontextpatchautoapproveruleop.py: + id: 4724679a1ce9 + last_write_checksum: sha1:e3a041e2c8fedbbe2bd3e8b4d27563a3d3797799 + pristine_git_object: 2d02c5b33daefb11c6cbf34a9814c81922be413d + src/textql_sdk/models/ontologymanagementservice_updateontologysyncconfigop.py: + id: 6137a55240f5 + last_write_checksum: sha1:d6bc775635b96a8c47c89ed53e5849c012884371 + pristine_git_object: a96c8ba728d0ddaae0d34c52bf1941d5b4a1c8c2 + src/textql_sdk/models/ontologymanagementservice_upsertontologyanaconfigop.py: + id: b4b1d64786ea + last_write_checksum: sha1:93e12084c48b4c50ccb0e7dc1b7e8f4a61e50b57 + pristine_git_object: c132a70d5f252882e00e968c328817f8fe6f3130 + src/textql_sdk/models/ontologymanagementservice_upsertontologyfileop.py: + id: 3d746b968fc6 + last_write_checksum: sha1:a19dfd81e9568ff03474d9a04fc46b3fbb254c43 + pristine_git_object: 2fba21f906f9bca356ee65e6f1882752e3dddfdd + src/textql_sdk/models/ontologymanagementservice_upsertontologyownersop.py: + id: c0b65fcdb2b3 + last_write_checksum: sha1:76c928a19fcdb0b44fba3ed1a898057623091498 + pristine_git_object: bc9f349a5c370b28748003db6c1fddd379fa3522 + src/textql_sdk/models/ontologymanagementservice_validateconfigop.py: + id: 6c9eeb0dadc2 + last_write_checksum: sha1:8b99c4d7a8b1fedd73e66bf732c5560b11fc41e3 + pristine_git_object: e8d9b212c618ee274e3d056ba4341eca0fddef97 src/textql_sdk/models/playbookservice_attachdashboardop.py: id: ba21431be0aa last_write_checksum: sha1:87751d2f307ac281d6c24d3824c9f60fc3491c23 @@ -11079,6 +11105,10 @@ trackedFiles: id: e3288797e617 last_write_checksum: sha1:7e3cdd56d3351c998162f68612b9614b71cfafbe pristine_git_object: 17343190400a3b239779316417c9a035dc42bad3 + src/textql_sdk/models/rbacservice_setrolepermissionsop.py: + id: d49e4eca03f7 + last_write_checksum: sha1:5f56df25a4f988a9ab35454a26b952aaca14ec46 + pristine_git_object: d6024c58bc0f715ca457c86a8d8c9b142a768f3d src/textql_sdk/models/rbacservice_shareobjectop.py: id: 868ff7041e4f last_write_checksum: sha1:bdac9e681002b589b4a55c6181d8c670dca8b7d2 @@ -11143,6 +11173,22 @@ trackedFiles: id: 6b3c383f0014 last_write_checksum: sha1:411723418c143f429a0652525df8abe5ac7bbb33 pristine_git_object: 621827718fe4bbb0c037d8d22170d87f9a71294f + src/textql_sdk/models/sandboxcapabilityservice_executewriteop.py: + id: 51aeeeeb5126 + last_write_checksum: sha1:cfe7b56d0d6b4a17dd0948b709c70d406ae7db67 + pristine_git_object: 1906ee0dd4f31b9a00ff4941495ced5740188aaa + src/textql_sdk/models/sandboxcapabilityservice_putassetop.py: + id: 70f8decc6a97 + last_write_checksum: sha1:fe4c14329f3581aa3b318b4cbfeefcc92d39deb4 + pristine_git_object: 7a3d7b760dea9b8a0eda331d3df7fe65a05cdf72 + src/textql_sdk/models/sandboxcapabilityservice_sendnotifyop.py: + id: 3adeaa2d46f1 + last_write_checksum: sha1:368432f6105d5091325ce1660b712a5670d80fec + pristine_git_object: e48f7b1dde7edb0c4ab9f19b10fcb9e883325c4b + src/textql_sdk/models/sandboxcapabilityservice_stateopop.py: + id: b8f4138175c2 + last_write_checksum: sha1:07421cc8ba1f0c30edb78667bfca5e7f973549b9 + pristine_git_object: f9c8feb189e0bcb752b182211d7bf142f2446ee4 src/textql_sdk/models/sandboxqueryservice_executequeryop.py: id: 85ae72dc7c73 last_write_checksum: sha1:6c5ad536a0d904049d453262ff1d8007e0ed4264 @@ -11171,62 +11217,26 @@ trackedFiles: id: c89bb9983a31 last_write_checksum: sha1:1f98b909f97a20b3b4a2dd7980f8a0f7172d262f pristine_git_object: 4c2a4a5a6b01735c1f47247f9ed31b8a59ed78c2 - src/textql_sdk/models/secretservice_createapirevisionop.py: - id: 16dff663671c - last_write_checksum: sha1:1c54d3a5fb802a9cd7a6b72e9281449c63b595b2 - pristine_git_object: eda04f43e6f52a9eabdf3ad5e7add08a6d08092c - src/textql_sdk/models/secretservice_deleteapiaccesskeyop.py: - id: 54a1b00cb5de - last_write_checksum: sha1:45b74b82445568b12b8fe0663278caee01ef7996 - pristine_git_object: da7d26e4df3edb2302015f40a6465e9aba8ed742 - src/textql_sdk/models/secretservice_deleteapirevisionop.py: - id: 6beefad30702 - last_write_checksum: sha1:e59d5c68c57418e0f68deb7d453670c61f7516e4 - pristine_git_object: 6cf9e933955a88cabee7b4240e515d0677f6f11d src/textql_sdk/models/secretservice_deletesecretop.py: id: 25b105649c24 last_write_checksum: sha1:2801f78430c632d33b0e8130b8212e3796fc8dc7 pristine_git_object: 1106ff251d9de29c6eac83f6b3358419d8120e47 - src/textql_sdk/models/secretservice_getapiaccesskeyop.py: - id: 7076bcfb92fa - last_write_checksum: sha1:6685f39130a13873d1fd8e5746dbd65821cee676 - pristine_git_object: a5e421b3e9eb0a5b715322b5d8665d5d3674b10c src/textql_sdk/models/secretservice_getmemberswithsecretsop.py: id: 510b6c7eef62 last_write_checksum: sha1:1a4a335ca3655d30da938c48e3d6180ecbe291f9 pristine_git_object: 394bd39656e154822081dad99431aa3aba48bd36 - src/textql_sdk/models/secretservice_listapiaccesskeysop.py: - id: 25157a874d82 - last_write_checksum: sha1:128c7a1ed7604b0fec93522110ebeb9ba3f51435 - pristine_git_object: b514638400188bea2847cb301a8800fa7264384b - src/textql_sdk/models/secretservice_listapiprovidersop.py: - id: 12b85f819fe1 - last_write_checksum: sha1:cb7a4af5cd9c15441cd52644226b5c4a438e65fd - pristine_git_object: 6c42e61d277789273dd6949a0b566e46ee457f82 src/textql_sdk/models/secretservice_listsecretsop.py: id: a58247b8cad7 last_write_checksum: sha1:9f561881640ba1ab73b38eaac88590bb08fdd283 pristine_git_object: a30e228841c54c42b2c2516c4feaca8bac689073 - src/textql_sdk/models/secretservice_migratesecrettoapiconnectorop.py: - id: fe4f09002226 - last_write_checksum: sha1:68f10ce7d603c7de4a932d1ff51e2068ebd6b73e - pristine_git_object: afab43eef52f2ea6e7cb8ca048a4bbbe5d3c2dac src/textql_sdk/models/secretservice_putsecretop.py: id: d8326b5d6ef2 last_write_checksum: sha1:c7ac223ef42a550ea1f8aae5eedb6887b0fbfd40 pristine_git_object: b28ecbb933b293deaba74aa4be19c8862fe06b48 - src/textql_sdk/models/secretservice_testapiaccesskeyop.py: - id: 68e3089309a9 - last_write_checksum: sha1:44ec327a657f9cc1f2e63b412dfff8f61400d2d0 - pristine_git_object: 15c5217ba65e13d1f16deaca48afacb59a86c8a4 src/textql_sdk/models/secretservice_updatesecretop.py: id: fbfbe6f66174 last_write_checksum: sha1:10e3f2227b4340d84621cce1b68ea0c7af7d1332 pristine_git_object: cbca968158f5492b32af2426cfb90506c63773d4 - src/textql_sdk/models/secretservice_upsertapiaccesskeyop.py: - id: 83cca4316831 - last_write_checksum: sha1:e53ba0bdb7df70c67713cba0b92a74aebd9e97a2 - pristine_git_object: 73602f48c0370c66fc8688c404002ccf497f65ba src/textql_sdk/models/security.py: id: 8db7dfdb590a last_write_checksum: sha1:44a6422b903a601842416473464199864c6bf76a @@ -11353,8 +11363,8 @@ trackedFiles: pristine_git_object: d27bc575b64481c24e0d06f422745b09e29403e9 src/textql_sdk/models/textql_rpc_paradigm_params_paradigmtype.py: id: 6ed211f85376 - last_write_checksum: sha1:439730587608f0e559bbd3ba53bc549345f65bb6 - pristine_git_object: f290904f23c87243f8b5b73ad09eac94011c6ea3 + last_write_checksum: sha1:7f6d7bd5513b9b585d8b635fc1439a9521d62c47 + pristine_git_object: 86f542e7828327886f43cc738f377fd108cdafcd src/textql_sdk/models/textql_rpc_powerbi_selection_powerbiselection.py: id: 15f3f07b43e9 last_write_checksum: sha1:62f2611974ada1fc3da99ba414334ccf9ed008aa @@ -11481,8 +11491,12 @@ trackedFiles: pristine_git_object: 4058a7b54884c398a22768cbef9c9176a77d457a src/textql_sdk/models/textql_rpc_public_app_app.py: id: 65a1867c7be6 - last_write_checksum: sha1:8dafb73daae407852567fbabec9e037d13afd608 - pristine_git_object: f793ad4880bae6784593ff3c1cd0853aedbc2cbc + last_write_checksum: sha1:dd9e9f15dcb73398a2051a44d46505e52beb1ec6 + pristine_git_object: 8e43a03b8c2a275f0e011aa3c5119ce8902edff2 + src/textql_sdk/models/textql_rpc_public_app_appactivityrecord.py: + id: 6a33e2963b8b + last_write_checksum: sha1:516afb57a36ff060cca12ef6db44a5104f214219 + pristine_git_object: 273f05cc23d5a4a11a71c236b599f3f7781a47dd src/textql_sdk/models/textql_rpc_public_app_appfile.py: id: a09257b7b396 last_write_checksum: sha1:99c9192e4b087ac43604289c4e2d9ed012030e61 @@ -11491,26 +11505,38 @@ trackedFiles: id: 8823a5a1ad3f last_write_checksum: sha1:98ad3e0d73e875f05f66971beed10737c7387fd7 pristine_git_object: 51e8adbfaa52c0080ad76405ad8de77b52c6054e + src/textql_sdk/models/textql_rpc_public_app_appmemberactivityrow.py: + id: e427294c8cfa + last_write_checksum: sha1:6ee66427d2dd6cfd1dae100ea571b9d39986163f + pristine_git_object: b9ce48f81cd3f2add16ef910c96ca245ee06183b src/textql_sdk/models/textql_rpc_public_app_appversion.py: id: 846b158f8f0e - last_write_checksum: sha1:49ed2f83fed5a6882a6dffd36e1dfffb1a271b86 - pristine_git_object: 68bbea3d779dd5a2e39436795691846a7aa690d3 + last_write_checksum: sha1:2036ac14486eaa5ac1fe08a601eed2aaa5ec1fe9 + pristine_git_object: 91859d5c8c7098e73a5651d80cf5cb727ad12e4d src/textql_sdk/models/textql_rpc_public_app_appviewerinfo.py: id: bd455d44f124 last_write_checksum: sha1:d165d491f3dd653a21b7dac02821af82d2aa9a30 pristine_git_object: d0a5fa189258a4fdc0856916d3455f33a8fb8070 + src/textql_sdk/models/textql_rpc_public_app_capability.py: + id: df1bc96cee5c + last_write_checksum: sha1:ad21eee546728192267343c9207f543c5201d9e8 + pristine_git_object: df1b122e9ff36c9850ceb4351b84f648f605b756 + src/textql_sdk/models/textql_rpc_public_app_capabilityparam.py: + id: 1ee1265c1c16 + last_write_checksum: sha1:d85592a72aac31c657928cc0eb55e5fa11992ebf + pristine_git_object: 2d4810577035541422581a300ecf654c81a6a2ad src/textql_sdk/models/textql_rpc_public_app_computefunction.py: id: d46aec9bf110 - last_write_checksum: sha1:2d152cdd23c9fa5c284eb48a8d6c61a1b97a3625 - pristine_git_object: 67e81edc7056afe23962de8bc7a95d44e9cd2cf1 + last_write_checksum: sha1:0510c76f44f18b3633ce07af5726cdcb471fd46a + pristine_git_object: 78d91d30268950113c43e46f768c000599ffe67f src/textql_sdk/models/textql_rpc_public_app_computefunctionparam.py: id: b84433c7d430 last_write_checksum: sha1:623f213fe0798b1225a389f8682d4eb250de242a pristine_git_object: b6a591a844ca4b7ccd0954a5ecc1b1be1072449b src/textql_sdk/models/textql_rpc_public_app_createapprequest.py: id: 4d1841a57ec5 - last_write_checksum: sha1:4fa4cc42b2b7476dbef71d2b27344ccc0e969e64 - pristine_git_object: 509334f0e7bd276d9d7550681a9cb6762ee2152c + last_write_checksum: sha1:aef368597c89aeb63faa134d22dc5bb0e4d8dc36 + pristine_git_object: e92c94618548e6f2406c4f0484f65990da90f612 src/textql_sdk/models/textql_rpc_public_app_createappresponse.py: id: 43ae82f7e2f6 last_write_checksum: sha1:21fb83302e35225f6b6aa8c2211cc0980a22c4fc @@ -11527,6 +11553,14 @@ trackedFiles: id: bbda6cbe70ab last_write_checksum: sha1:0712478f52a508465dab8183d0871311bb3403ff pristine_git_object: 1a6ab04e7fd64688922ec3833c57a5612381d91d + src/textql_sdk/models/textql_rpc_public_app_getappmemberstaterequest.py: + id: 4e811cbaccd5 + last_write_checksum: sha1:b5b659148c93aa02a45bc9f0c1fa51c207ff29ca + pristine_git_object: fe67c2b45e280b4ae2fbb42bf24dc5c244b7d618 + src/textql_sdk/models/textql_rpc_public_app_getappmemberstateresponse.py: + id: f04ba98eda10 + last_write_checksum: sha1:c6c1e2a6113e7d65ec5d66819ee0e050b7aa7929 + pristine_git_object: 38f3f6fcc19ab4075b70012c3a05eba8e6effa4d src/textql_sdk/models/textql_rpc_public_app_getapprequest.py: id: 0a377d0e5191 last_write_checksum: sha1:0352a23ea0d99f9c04bf9fb3a9fa92c59c2e83eb @@ -11561,12 +11595,20 @@ trackedFiles: pristine_git_object: e792e37b34059d8370635b73a003aebe7d66235d src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionrequest.py: id: 37d2e4489033 - last_write_checksum: sha1:832c34be22b5c467f3fdef6ea5e80ddbeb9302bc - pristine_git_object: 1c1eec2c8d28181189aca8711f8c4972f2a9b55f + last_write_checksum: sha1:dfa5bbbb7c3de6b7a45eaf710674d377f87c301e + pristine_git_object: 7a4f2dd3960cfb3cbee2d98b56c592b825f10c34 src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionresponse.py: id: e19e00d326bc - last_write_checksum: sha1:e0b888443f4ab1601b9e94c449705b9582b467e0 - pristine_git_object: a05e58786322f93c01824b36a327c06fbbf7f5ff + last_write_checksum: sha1:a37f4b2e97227a83a1d71ea006221feafbcbd9f7 + pristine_git_object: f09b00975b04a3c54f8db3e64f877c685caf0324 + src/textql_sdk/models/textql_rpc_public_app_listappactivitysincerequest.py: + id: b15c9bc6992f + last_write_checksum: sha1:40ecf91a89f1ff99cfc6800ae6cf49c019e485b3 + pristine_git_object: 34db651c8190fc91d2e1504375787fc59f3b7810 + src/textql_sdk/models/textql_rpc_public_app_listappactivitysinceresponse.py: + id: b5ceae68dd50 + last_write_checksum: sha1:8970674327c2a69334d92c00de16379925a5630c + pristine_git_object: a37eb2a96e38f94ae4c13d58444a4bf0524b59d3 src/textql_sdk/models/textql_rpc_public_app_listappsrequest.py: id: d5f32596117a last_write_checksum: sha1:6c3ded19dd96bb1142984f2320c0d40734ea2aca @@ -11583,6 +11625,14 @@ trackedFiles: id: eab800173e44 last_write_checksum: sha1:69f5649537246bcfed21e8b35b19d1625c1b6a73 pristine_git_object: 188416c07e75b2f26bcc2234c662f06bfe578efa + src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityrequest.py: + id: f11cd6aac10d + last_write_checksum: sha1:b456f14e27094104871e53a20cb78690b7632a69 + pristine_git_object: 56c77a82fc3f604ec62225988eb7ecc1390247c5 + src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityresponse.py: + id: 88b193334dc6 + last_write_checksum: sha1:fac6cde3a022f37a59673c137dc052241cbcf179 + pristine_git_object: 28bf52e792ba424b02a1ff1c4fe3fd324ce028ae src/textql_sdk/models/textql_rpc_public_app_moveapptofolderrequest.py: id: a25913d3b96f last_write_checksum: sha1:f89549abcf151751cef388d19697cee364eef7d0 @@ -11591,6 +11641,18 @@ trackedFiles: id: 82ecd5e276b2 last_write_checksum: sha1:12a4e06ddf70c2f146b43c420161c8d335e9c41c pristine_git_object: 89b4a2e9b59ae1e29145cf68c24283daa9b32fba + src/textql_sdk/models/textql_rpc_public_app_presenceheartbeatrequest.py: + id: 4a8f7190d3ff + last_write_checksum: sha1:db1d5b7d09182b052bd410291c594fc33affd21a + pristine_git_object: e9354512e761af20a5447be1dc2e9fb7a93e2288 + src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityrequest.py: + id: ff8e18bbfabb + last_write_checksum: sha1:f2ad42cb6227f97f99eb6f12d293597ffb79d0cd + pristine_git_object: 5746814f509ea4313ec2db960e5ae09ce6970794 + src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityresponse.py: + id: 0c52d376fa57 + last_write_checksum: sha1:6bede0bcde82bd662960eaed6efe04f82b06a0f9 + pristine_git_object: 3978467df6d7c1cac995d5af7aa0477348ad887c src/textql_sdk/models/textql_rpc_public_app_refreshapprequest.py: id: 8fd4dbe9044f last_write_checksum: sha1:d40dc072aad72336944c72bd01f8c31a496b416f @@ -11607,6 +11669,14 @@ trackedFiles: id: 9aeb86f34fcc last_write_checksum: sha1:6f474d3f4e5b47181a4543134315945b96b16d7e pristine_git_object: c175a852cccb2d5ca669290360181382621e062e + src/textql_sdk/models/textql_rpc_public_app_setappmemberstaterequest.py: + id: f2c771623ae8 + last_write_checksum: sha1:1b162e9318825d0f99e6ad34df2418f7893eec7b + pristine_git_object: d946c3c0c0c32bb092467afd625f62148319f2cc + src/textql_sdk/models/textql_rpc_public_app_setappmemberstateresponse.py: + id: e1fc502af7d3 + last_write_checksum: sha1:2ff3c210aeb57b4eb3e00c0af094183bf2e0e543 + pristine_git_object: 62abaf9ab4ef92db8108887b5f564b8d8ef9eecc src/textql_sdk/models/textql_rpc_public_app_setfavoriterequest.py: id: 45d704593bc7 last_write_checksum: sha1:6894a9180f0b28876e28850229b428819a9ee5af @@ -11617,8 +11687,8 @@ trackedFiles: pristine_git_object: 286c504306049d13bc450265d565adad63b3292d src/textql_sdk/models/textql_rpc_public_app_updateapprequest.py: id: f8d5b1e67ac5 - last_write_checksum: sha1:938f177f198f61ef218f0ff0a7eafbe74ade489a - pristine_git_object: e0d5495d530f10c7ec36f101b7b4ddd37db65e65 + last_write_checksum: sha1:66c1c484bc161f6ee5afe83e6807785511f6f9e9 + pristine_git_object: efca8c7642457c4fa3556b2205ccc2ee41eafa8b src/textql_sdk/models/textql_rpc_public_app_updateappresponse.py: id: ffde3297b76a last_write_checksum: sha1:0de8d375a889a5a20d44b84226181f279940470b @@ -12155,6 +12225,10 @@ trackedFiles: id: 423be247794c last_write_checksum: sha1:0cc1d1e26a72d9ceb9371b9466b8637d6dc042f6 pristine_git_object: 6a3dfbf97cea2710428cfe641d6528028a80a007 + src/textql_sdk/models/textql_rpc_public_cells_thinkingcell.py: + id: bc8aa94e9d28 + last_write_checksum: sha1:c8ddb668e360e805f682b1741609e4e7abbd1aef + pristine_git_object: c0e648f91a95bc058da36b6f30a3ce1647f2efd2 src/textql_sdk/models/textql_rpc_public_cells_useskillcell.py: id: dbe3a336abde last_write_checksum: sha1:f21bbea4051f9bf194f13526af68f3d918a730fe @@ -12237,8 +12311,8 @@ trackedFiles: pristine_git_object: 962961f8edcec885bec0cc72e3490b539f7ad052 src/textql_sdk/models/textql_rpc_public_chat_cell.py: id: 2eae58256186 - last_write_checksum: sha1:4d1dd2099d6b7e30c59fb73cf68a192a3b18f7f4 - pristine_git_object: 824050233c2ffd928260fa5db2d32ec38df01322 + last_write_checksum: sha1:c358c2b99dd2c2419a99717f1f0a4b635b8e05b5 + pristine_git_object: 1910516fd1b0863c6a58beca85774f8d4d162797 src/textql_sdk/models/textql_rpc_public_chat_cellexecutiontiming.py: id: d7156487358c last_write_checksum: sha1:dd37219f67397245c41e5ff7be08eb2fd9ad5131 @@ -12253,8 +12327,8 @@ trackedFiles: pristine_git_object: eec64d79e84c726524a9aaa6b0fc18d44ac70325 src/textql_sdk/models/textql_rpc_public_chat_chat.py: id: afc26b3ad032 - last_write_checksum: sha1:5c12140de2be838bd6328a363d4db5aa386532d3 - pristine_git_object: eb444e9b7c93361508683d95ce8cfee3f75958a5 + last_write_checksum: sha1:70f02dda90de2ac5fb9ac93e81c0b92bb39c5a7a + pristine_git_object: 2ece34e749ee216f34d248345eed17140e68013e src/textql_sdk/models/textql_rpc_public_chat_chatexecutiontiming.py: id: 96d30b081cd7 last_write_checksum: sha1:b5cacea57a7932dd64b84c72ebbde7af188fb5f4 @@ -12301,8 +12375,8 @@ trackedFiles: pristine_git_object: a1017eac17ba17c5acbaf6b5aff4c3196500d774 src/textql_sdk/models/textql_rpc_public_chat_createrequest.py: id: 758907b1aca9 - last_write_checksum: sha1:0c5cf1f7a86157d0b82c51c82a358d2816b1823f - pristine_git_object: 2d33a949609ff526b854a906128e26f4ca686566 + last_write_checksum: sha1:2b30e20faf1fddc909082867d437c6c6e4bd079b + pristine_git_object: e2220258018cd510218ae3c0c79faa08ed21085c src/textql_sdk/models/textql_rpc_public_chat_createresponse.py: id: b1c91883dc88 last_write_checksum: sha1:9c5db8171ad153c627fbab07ea05d4dd59d73d63 @@ -12389,8 +12463,8 @@ trackedFiles: pristine_git_object: cf5a23a529b4623d5ec18ae331a432128d572bd8 src/textql_sdk/models/textql_rpc_public_chat_getchatsrequest.py: id: 8b159905688a - last_write_checksum: sha1:60a5739a39fb7f38ece81f804d86319374e6b078 - pristine_git_object: 128bf4f87015c5ed495a2f5a42e45296fad8709d + last_write_checksum: sha1:e89bfb44cc0c6ba7da4041ef4c13138c1fb33671 + pristine_git_object: e85c30359eee2bc99637ce9fa064f836b437bd7b src/textql_sdk/models/textql_rpc_public_chat_getchatsresponse.py: id: 729d40747566 last_write_checksum: sha1:ff026423c506fb2896bbaabdcef48f45314cee09 @@ -12417,8 +12491,8 @@ trackedFiles: pristine_git_object: 80820717ad934e496caa3e2c785333b25f5f48dd src/textql_sdk/models/textql_rpc_public_chat_getllmusageresponse.py: id: 1a24b0dfde28 - last_write_checksum: sha1:f9d5dba464fa1f6f9ae4c4eb5ef2b0f405014e3b - pristine_git_object: 2dbdfa634ae9cf6c030541324b61a3b0d934c5b8 + last_write_checksum: sha1:063a2a9b9db7d0f278009c4c83ee7589bb44feec + pristine_git_object: d2fbd9fba06346a6195fb8f8756f7d9076b8a17a src/textql_sdk/models/textql_rpc_public_chat_getmemberswithchatsrequest.py: id: 3c7daaf42b00 last_write_checksum: sha1:2bcbaf50efdc47b2dfda5593b827a31639ab222a @@ -12501,8 +12575,8 @@ trackedFiles: pristine_git_object: 48cf1640beb66b4d7447998fcb9122bbb06bc58b src/textql_sdk/models/textql_rpc_public_chat_runchatrequest.py: id: 284c6d38dfaf - last_write_checksum: sha1:88b2c88d0e03d3ccb8e2a6c4a4b35af3a33d9bde - pristine_git_object: bb5fb8fb826d679940531dbf4f004d210df92b4e + last_write_checksum: sha1:9d5fed90ca385b4dfb53e29ebbe2c9315d321859 + pristine_git_object: bcfe42b3ae1b14960be7cb624ffb0d8f48aca09b src/textql_sdk/models/textql_rpc_public_chat_runchatresponse.py: id: 7fedaef30953 last_write_checksum: sha1:d2c187fb1a7c56cb9557a71084403e6e5f5f3763 @@ -12549,8 +12623,8 @@ trackedFiles: pristine_git_object: 9f8020525795e5be34b17fb04ed280727c8168de src/textql_sdk/models/textql_rpc_public_chat_updatechatrequest.py: id: 4463cc059adb - last_write_checksum: sha1:bb5c67af6334166c389b7735d22b25b24310a6fc - pristine_git_object: 16265e296a42d4b609dcb4e2faecbb7424ebe8cd + last_write_checksum: sha1:6ce41c8febfa7fc6e6cd739f83dc4e9e27ec03c4 + pristine_git_object: a72ec7a2e076c51075d264d4ec3b8fd46b774072 src/textql_sdk/models/textql_rpc_public_chat_updatechatresponse.py: id: d7cf3b350cff last_write_checksum: sha1:5a98c5874dd7a70f08447f3af5202044531bf248 @@ -13049,8 +13123,8 @@ trackedFiles: pristine_git_object: d0467da60717a1074cc986d397751246030b3864 src/textql_sdk/models/textql_rpc_public_dashboard_datasource.py: id: 047882d1b14b - last_write_checksum: sha1:a02c5220dfcc6f7b1b6422a56295e1b7b195c645 - pristine_git_object: 9a44166aff26f8fa5acef56b621da4f2694d1e2b + last_write_checksum: sha1:1a55f3de0a2385b95f91ec1818ae156d202a09aa + pristine_git_object: 576ed6763e3e168270b83e7a93f5071a70214f41 src/textql_sdk/models/textql_rpc_public_dashboard_datasourcespatch.py: id: 8f2a6bbd0130 last_write_checksum: sha1:d20e9c88d33c8d501f26361d4eb8151ea6ece464 @@ -13115,6 +13189,10 @@ trackedFiles: id: 5b184cb261d8 last_write_checksum: sha1:c7215e4f9aca7d35738112c599c1734f68a1cce5 pristine_git_object: a8499d80eca1e96c87111db6f0e5a57986017788 + src/textql_sdk/models/textql_rpc_public_dashboard_grant.py: + id: b871b18f513b + last_write_checksum: sha1:c65b8f1510e3dcd528b8637b3a23e5dea0543d37 + pristine_git_object: cbcbfcfe1352d5ac61b34cdd21b461c0ff8eaad2 src/textql_sdk/models/textql_rpc_public_dashboard_librarytqlsource.py: id: c8f5d03761b6 last_write_checksum: sha1:a427cbaa679532f360a830b375728cc3cd89f5e6 @@ -13213,8 +13291,8 @@ trackedFiles: pristine_git_object: f0c43e827d414be9d6e85c2d973e9a791c1f7725 src/textql_sdk/models/textql_rpc_public_dashboard_sqlquerysource.py: id: a24385caeefe - last_write_checksum: sha1:a9d21054d0d52fa0d698aea4b7e12521a9c31c5a - pristine_git_object: 42e0b4daeac0aa62883209ac72e07c071b5c72b7 + last_write_checksum: sha1:bfb6be18deafb4e4c274f06ca78059870db631cb + pristine_git_object: eed0c5d7dbef576ef411009dfcb30f594d905433 src/textql_sdk/models/textql_rpc_public_dashboard_updatedashboardfolderrequest.py: id: a13392402bc9 last_write_checksum: sha1:e32092386640efdbd37747736b8bf729c3e6e015 @@ -13737,8 +13815,8 @@ trackedFiles: pristine_git_object: 61b1bed4469f8948a232e60447dd5a360fbc0efa src/textql_sdk/models/textql_rpc_public_observe_getbillingstatsresponse.py: id: d01834689eb4 - last_write_checksum: sha1:4393812357633e57f866b59190718f6dd18ecdf8 - pristine_git_object: fe54d7cdc0fbb21922086321096209c3ab39a3e8 + last_write_checksum: sha1:d853768b72ff094d3960812355b0b9475855c893 + pristine_git_object: 4e09896c3b3070c0e0aa41ce890f111b9f1d8b91 src/textql_sdk/models/textql_rpc_public_observe_getchatsourcestatsrequest.py: id: 16ba6385f60c last_write_checksum: sha1:7f3447cd24190515a18794ff13883d6b5fcc1b6f @@ -14001,16 +14079,16 @@ trackedFiles: pristine_git_object: 04c6ec8e76c7af546983438b4edff52385d2b84a src/textql_sdk/models/textql_rpc_public_paradigm_universaloptions.py: id: b287fdc96d44 - last_write_checksum: sha1:1e3ace9730cf1d6d49449d341792b79a7aeecc97 - pristine_git_object: a9e7e37c507514cb229ca9246ed2a24351e290fc - src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmodulerequest.py: - id: 5ad7cc134ecf - last_write_checksum: sha1:1e81cc91c8949aff99283c6aecfaf53175f4e234 - pristine_git_object: 5d1208fa2a2501613aadec19bad51ba1831bca5e - src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmoduleresponse.py: - id: 071d2df26c50 - last_write_checksum: sha1:e797b89c2fe7558dc24ce7a377b0e10cc6f81196 - pristine_git_object: 78a021ee7e18ee15a9d14707fd76c599f4211a7a + last_write_checksum: sha1:c2299e0d9ee17b5ea35e7fc39b914f7dd2fb3da8 + pristine_git_object: 4c3177da2c67df78ae4d380443306f7af7f83c29 + src/textql_sdk/models/textql_rpc_public_patches_addontologysubmodulerequest.py: + id: e27c5aaa0940 + last_write_checksum: sha1:06133f12fe94df3c7f74eb05e4f18a84f5bea773 + pristine_git_object: b1673baa3282650dc6ada4f7fbf31047655635a1 + src/textql_sdk/models/textql_rpc_public_patches_addontologysubmoduleresponse.py: + id: 2a54220c1140 + last_write_checksum: sha1:d50b8121ccecf907327606459c510afc8ace5a5c + pristine_git_object: 526128d3bd3e537ef868b2fe6ce85782578aa4d9 src/textql_sdk/models/textql_rpc_public_patches_approvalrule.py: id: 9ea54ace40fe last_write_checksum: sha1:77233ff5d5ef72b27d72a48bec59f32ec644e730 @@ -14043,14 +14121,14 @@ trackedFiles: id: 70b59658e481 last_write_checksum: sha1:5754f8f5f9ad6902b14aad6d101514048ebad277 pristine_git_object: 6da8391c99704186b2878518806a681748fc2ef7 - src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoterequest.py: - id: 123ff91fe25b - last_write_checksum: sha1:1771d37e43435c72a25d563c01d685aba24a3902 - pristine_git_object: 108fa52945713e6d6243a9b7b3fa7d469b9c733b - src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoteresponse.py: - id: 53da35521485 - last_write_checksum: sha1:38621f8e934bc4a1519294554a88fbc3b24e1c9e - pristine_git_object: 1fb99995037d56c1cce01a91bf477ce7b53b2cbb + src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoterequest.py: + id: 8860d5f87125 + last_write_checksum: sha1:b090eef0c4c1b73743817697cfda33f9d9fdd641 + pristine_git_object: 6359596c014fad5b680725bd353826433e0c8326 + src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoteresponse.py: + id: 2caf1022bbea + last_write_checksum: sha1:cca92f72d4122217e05323b58a1936dda0c41d6d + pristine_git_object: d7bff9284fc271d39b25115b6a3b20b3b68268f8 src/textql_sdk/models/textql_rpc_public_patches_contextpatchautoapproverule.py: id: 51adea02bf99 last_write_checksum: sha1:5167f7ad132b31d5086a1c10d5c0501c21d61415 @@ -14075,30 +14153,30 @@ trackedFiles: id: 22ceb7373080 last_write_checksum: sha1:cfd5704893050f1289846d9e433d4b559a67132e pristine_git_object: 504f5aa05162e969c561ad2f0a20a710d35276c0 - src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryrequest.py: - id: 8364ad7fabf7 - last_write_checksum: sha1:ceeebea8f170abd00c8c88d944aa7195fdb64fd7 - pristine_git_object: ef94f91e4744a21e41030e7c79813067ccf5ba8b - src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryresponse.py: - id: d0a0eac72318 - last_write_checksum: sha1:700d8b30964e83da5e726e4b0c05a5a13038531f - pristine_git_object: 91d8d5b28b93cf21e2ca4c58d86f6b15dcdefe8f - src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlrequest.py: - id: "495943048e00" - last_write_checksum: sha1:7134a308ce8b25ad5f16de4f1534b2403c366755 - pristine_git_object: 94b3ff50f5b3ef9c7ab735077c1a906f1cbbac80 - src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlresponse.py: - id: 0dbc1a65640d - last_write_checksum: sha1:bdaf806b1f1770a1dd46ff41e6d204da0cf3cfa4 - pristine_git_object: 666f649759c14abccf64c9df10c647d6afdebfe9 + src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryrequest.py: + id: 5f73532d964e + last_write_checksum: sha1:17d9a35dd4acae61f7e4a34b7150060d933f15fe + pristine_git_object: f525bf61bd2f44f8af73b04396ea553fe7ac7c0f + src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryresponse.py: + id: 315646f02d28 + last_write_checksum: sha1:db98cc3811df4db26280cffdfe23f5068243e5ce + pristine_git_object: cf3fab8fdf2643d698fe2bce0c50d21f8eca086e + src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlrequest.py: + id: aef65d96a6a1 + last_write_checksum: sha1:e058d34af5e123762323a7f0eb97418115459958 + pristine_git_object: c32d23f0b027a7379fcecf7c83edcab0429a6a84 + src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlresponse.py: + id: 70b473f1d4a6 + last_write_checksum: sha1:a14cac4cb52a1e8303e98359633ed2cf5372df70 + pristine_git_object: b8750a17b0fb1a570bb0d599e2e2c2ddf8adfc3a src/textql_sdk/models/textql_rpc_public_patches_dailyfileusage.py: id: 30f2dceab64f - last_write_checksum: sha1:ccd0282e4180bafd23abeb0a69f99f1dd8eb8f7e - pristine_git_object: fef21d861a312a34e1f13ae1a5afea2573b39fee + last_write_checksum: sha1:348b8f436484b52010ccd74e2c13fd960dc006d2 + pristine_git_object: 7bb31df01e78a0864b1f007a454152b4fb983e12 src/textql_sdk/models/textql_rpc_public_patches_date.py: id: 1e9691bd1334 - last_write_checksum: sha1:e5567f14e4b3f097818b77b55a9410f0b522c4b1 - pristine_git_object: e3fc01ecf988a4544098e50f33cc39f7375244ed + last_write_checksum: sha1:f0de5651b1968cfd5d09a40deb74e3f6828c8aa8 + pristine_git_object: f0d413711a1f685d28155eecb41ebb3b206ad57b src/textql_sdk/models/textql_rpc_public_patches_deleteapprovalrulerequest.py: id: b95aadf91714 last_write_checksum: sha1:4e7184f12c126af249d34301964037d61ed40042 @@ -14107,46 +14185,46 @@ trackedFiles: id: 6bb0d826a184 last_write_checksum: sha1:cfce901157594e18d9e4c20195418433339d8f6b pristine_git_object: 716f6d87d1f6404bdb45b61799b3cb63f773d760 - src/textql_sdk/models/textql_rpc_public_patches_deletelibrarydirectoryrequest.py: - id: 7275982d0996 - last_write_checksum: sha1:29be1fde3b4973ff474a697fede6b6e7677fb1a1 - pristine_git_object: 475e1eab89032e9687c098274cda7062be128287 - src/textql_sdk/models/textql_rpc_public_patches_deletelibraryfilerequest.py: - id: f64834232533 - last_write_checksum: sha1:9b3c118c2e286d720c5b5a27aff4f67e6e3862f6 - pristine_git_object: 7461d28ff73db66116e0e81d5974c5c4ed701c3f - src/textql_sdk/models/textql_rpc_public_patches_deletelibraryownersrequest.py: - id: 5d481d4c76ba - last_write_checksum: sha1:c49aa52582c3a6b39222bbbfb87ec1790b01ea3f - pristine_git_object: e26de70f1d8011f2cd7ba29471bcf2602bbb8b75 + src/textql_sdk/models/textql_rpc_public_patches_deleteontologydirectoryrequest.py: + id: 635997e9b197 + last_write_checksum: sha1:c44804ad9fb6252f07b300e334f6050577d880f6 + pristine_git_object: 2d15a161962c6f429b4f70303595cfcec4b26c71 + src/textql_sdk/models/textql_rpc_public_patches_deleteontologyfilerequest.py: + id: b08187420fb8 + last_write_checksum: sha1:dbfb1f8058b1e2e7b8d76e4d8a973f328c3ebfa2 + pristine_git_object: d133d6779304d8915bbdc46da244ea6c6d61a4d3 + src/textql_sdk/models/textql_rpc_public_patches_deleteontologyownersrequest.py: + id: d09bcff195e3 + last_write_checksum: sha1:dde79145a84bb0ff4a9076b80cf8d77f52ca8542 + pristine_git_object: 3755aff7e12559e71cd1835cc30279b3ad7ad746 src/textql_sdk/models/textql_rpc_public_patches_denypatchrequest.py: id: 75b906489c3c last_write_checksum: sha1:2969c1e3ec201ac109a0fede8b204f2061fc333c pristine_git_object: 1628a4fbb05ff71dc14181b5324d1942166b580b - src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderequest.py: - id: ffda5467762d - last_write_checksum: sha1:b1fd8a58e39cfbb771bf0cb7db18718abb8dd117 - pristine_git_object: 4cea530d15633e7bbbfcdf3d9ac7e68553cd6f62 - src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderesponse.py: - id: 5847b1f01abf - last_write_checksum: sha1:a548ee711bbeada6ce89dc130bed4b34f79df250 - pristine_git_object: 8e9270ec26431cea96091c4d11273e1b89a7eb80 + src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderequest.py: + id: f5eab07101e2 + last_write_checksum: sha1:624fa3514c09c16cf8cc5dd6bee02ad30671aca8 + pristine_git_object: ba7cdd5d91c77dd8ac13b17c2adf4fc17a7711a6 + src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderesponse.py: + id: b96e860255ff + last_write_checksum: sha1:761bc10053419af316025aceeb1856f28e4d1b64 + pristine_git_object: 8a8739cd8ddcb130a713bc2c77332cd639ff4f5a src/textql_sdk/models/textql_rpc_public_patches_filechatusage.py: id: 665de7d16025 - last_write_checksum: sha1:21fd5631f113af6e03a6cafe0e9ef176699e8b37 - pristine_git_object: 05774c2362902373819b28707bf3a256d1b16ee7 + last_write_checksum: sha1:cfeccf941f17e2215b2e2b010f02e5c892a2f7c2 + pristine_git_object: 63c07e25163c92595b6d734340e34e083191f9cd src/textql_sdk/models/textql_rpc_public_patches_fileusage.py: id: 7bfbb39f6c66 last_write_checksum: sha1:d216489c0dbbf92d4d499b80c663ea7bd2ceb8e5 pristine_git_object: 3f0fbed666763b0468500a731961e20eb822495d - src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadrequest.py: - id: a7b99816db36 - last_write_checksum: sha1:0ddf5251710135e0f663cee92e557372ab87dd59 - pristine_git_object: 07c9277f252a82af9e23b32c53d5c1d9af0f230b - src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadresponse.py: - id: ee352662a639 - last_write_checksum: sha1:3be534869dd9e8b02385bd419c78776fde2e6088 - pristine_git_object: 7340182b8e2f7d2b74e5b049f2b6891e3c03b424 + src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadrequest.py: + id: 1076c333e284 + last_write_checksum: sha1:3f90152a766dd56ba7aca5d2d46a63df0a057003 + pristine_git_object: 5557339a3fb422a6fb0bb90d90a8c4266b279797 + src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadresponse.py: + id: 90e5785bac39 + last_write_checksum: sha1:916d013418b6d00bf491a93fcc7011eaa1df3a71 + pristine_git_object: 669e14e959effa0f5ce094e24dbe48010637b5f4 src/textql_sdk/models/textql_rpc_public_patches_getcodeownercoveragerequest.py: id: d48cfce38056 last_write_checksum: sha1:67a28ab3ff12bab0072d2eb4f67120186438843c @@ -14163,102 +14241,94 @@ trackedFiles: id: d0570c123063 last_write_checksum: sha1:80922ccc84d9bef36029d89ee3496dbbf26c27a7 pristine_git_object: 3313e076eecb72247b68f298cbf834a6971a90ae - src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersrequest.py: - id: c12652fba831 - last_write_checksum: sha1:e6aabb9de1bbb91783430c0bebc1ee9fd86c8246 - pristine_git_object: df2a40bd1779eaf2b6571b071b01c182aebe101e - src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersresponse.py: - id: 520a31551c05 - last_write_checksum: sha1:d4b44c6e81ec0eeddc485ee00645e7896b40e637 - pristine_git_object: 53ef664913f89f4e4aa621f7f370a3912e3795c1 + src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersrequest.py: + id: 9f6494d2fbb1 + last_write_checksum: sha1:70861f3d70e5a015dc9305f65bf38611326dc83a + pristine_git_object: 86974e9214cb72b19ca58583e8a4dd2a1cee9f3e + src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersresponse.py: + id: c943efb7ad4b + last_write_checksum: sha1:a2701e746286513b8f5cb7014954ef33445716da + pristine_git_object: 915f4f6a6d3d5d07942d54e455a29b667534ce71 src/textql_sdk/models/textql_rpc_public_patches_getfileusagerequest.py: id: 9df82746da82 - last_write_checksum: sha1:7da78ccd518740640eb6d80de206319dfc79c8d1 - pristine_git_object: 016f0abbe0537990665033d9304e2e9dce93ffa4 + last_write_checksum: sha1:9dddfc2bfe707c0a6210a1f66ab41a14f5b76453 + pristine_git_object: 3ea7883dc4bfae6c8cd5370ca8657465537190dd src/textql_sdk/models/textql_rpc_public_patches_getfileusageresponse.py: id: 0eb2e56422f2 last_write_checksum: sha1:3ed27356f6f8fa5b26f573aab94505f801ca5dbd pristine_git_object: 12ad51779b7417e7f5107508b9289b0282a27449 src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelinerequest.py: id: 2d5baf9c4ab8 - last_write_checksum: sha1:cd93050619dea806ec98f3e66884cf49a4c9ea3f - pristine_git_object: 3b8d24695fff3822a218e5ab0dd65f2d41d15e36 + last_write_checksum: sha1:7740b1a31eecebb54bf48b5c4235ed6d21470289 + pristine_git_object: 2ab1c91ab42147cc04de6c08a621df2b29975aef src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelineresponse.py: id: e850f4ede126 - last_write_checksum: sha1:b9c66f740905c5609636183b4b848a04018b249e - pristine_git_object: e1893133bc710247e57242ddc5a21c589d4f78e8 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigrequest.py: - id: d26ac2f5ccc0 - last_write_checksum: sha1:22fc96117880236e1cc414979414d3565391479f - pristine_git_object: 3c35cb1796ccbfacc5bca2540f8ead9daecc5568 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigresponse.py: - id: a44fa7f07b23 - last_write_checksum: sha1:27aec80aecbb628debba594c91c6e89210e6531b - pristine_git_object: d740b1d9d8fb70958eef4ee971efedab96a0d652 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryfilerequest.py: - id: c63364a0e8f3 - last_write_checksum: sha1:f56a181890174e8cb0de62d888c27ad278bced9c - pristine_git_object: c7d21c8943b9627c7f6f6e5fc28fb685e3ac9b20 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryfileresponse.py: - id: 335225e452a0 - last_write_checksum: sha1:e98d589eb8d518658dbfc4b8e001897cf37bc68e - pristine_git_object: f203da8e459a189b5aa270720c0b707814b409bb - src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlrequest.py: - id: 3156bacf5402 - last_write_checksum: sha1:46fbdf94acf89e8bd8654242339cb3a926764446 - pristine_git_object: 70f4f735d7cd47e9f2438b4c8ec0f51089edacf2 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlresponse.py: - id: e870b48f211a - last_write_checksum: sha1:63caf89ae50e9bb0f84b8eda1b410ef93795cae7 - pristine_git_object: b522435c26e87150a555d176a5305c78d5b9791b - src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffrequest.py: - id: a28e8446d8da - last_write_checksum: sha1:178acf687143eac7acc9eb8c9e4edab175a2df75 - pristine_git_object: 23d600e22e5b960e4ee24e050942fd3543980160 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffresponse.py: - id: 5068367abf97 - last_write_checksum: sha1:a014e10293920816a8eb044c12d8d14853768875 - pristine_git_object: 1d764058e0cfe7a3a46dc31161a6f266f38ac504 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusrequest.py: - id: 1a157d65120b - last_write_checksum: sha1:07bc68dc270b7a88897b7714788f5ffe4f30fb38 - pristine_git_object: 3aa2abe353752c65c8d29a344f7adf902b5053f5 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusresponse.py: - id: d1c9571816e8 - last_write_checksum: sha1:6196d2945067000a62b241f791bf312a236627f1 - pristine_git_object: cbeb5464aee155cc05db050f039f76a0b6534013 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersrequest.py: - id: 0cc14ac681bc - last_write_checksum: sha1:e2151b3271ed27947d89cab97cb5493fa3ab0cc0 - pristine_git_object: 3301be2279c9a7a38e221bf53ebcbd549f2b88bd - src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersresponse.py: - id: de7d564e7987 - last_write_checksum: sha1:d3cec6e0abff700b7cbec88ba7079f42d65bb2dd - pristine_git_object: 2eed6d5a1f41cbeef250125928a9e8b213736d78 - src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoterequest.py: - id: 03cf49910b57 - last_write_checksum: sha1:72fe8f5b9625492157ddb1be8786becca0448c4d - pristine_git_object: 3e1cb445f30dff7a809e1ddb52e2671437538cef - src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoteresponse.py: - id: c85380fcb7fb - last_write_checksum: sha1:8b6ad770c882a874ae8b3b1e85dd303641d4ef95 - pristine_git_object: 6c0116da7b75e30b5bd97479e04cdeca22623adf - src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelinerequest.py: - id: da1ac9a07d72 - last_write_checksum: sha1:f1484b259d778761a18e6ca4a733039ae5284b9a - pristine_git_object: 63533a003425cee99c9c69e91662310efe15ccb2 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelineresponse.py: - id: 22f38bf41397 - last_write_checksum: sha1:35fc501eb84666b2fd8fe390f254f1430a4a9f1f - pristine_git_object: 388fab880d92719733fa04d3667297b8f6009ba2 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsrequest.py: - id: 98467a5921cd - last_write_checksum: sha1:1463684db8f46a1968f43c3e49abb4100d772fc7 - pristine_git_object: 8f7f89200e5b8e0ad83c394d0f03bdda2bbf0da6 - src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsresponse.py: - id: 162303d5689f - last_write_checksum: sha1:d8bff9296913066682f70677bf90cc936bc288fd - pristine_git_object: a7b01ffa2a39dbe3632bd7ef1482270c4c6402b0 + last_write_checksum: sha1:89cf9ad3f6a6e7831d30a8ef9d8e4c2b3cbcc042 + pristine_git_object: e4dd6240de15c1929f9968ae3074ed808cb5f0e7 + src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigrequest.py: + id: a91008da9628 + last_write_checksum: sha1:9e6f56c60c2932d2d346e579218e00180144f83d + pristine_git_object: da412add247aea22038905a9e540c3866655ad30 + src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigresponse.py: + id: b86aaa6bbb45 + last_write_checksum: sha1:1fcfc0db0c35bf3aff07d31a0a7dec4e68ce56a6 + pristine_git_object: c386a6c605cadb3cc17d7dd049f6894c44cdb9ec + src/textql_sdk/models/textql_rpc_public_patches_getontologyfilerequest.py: + id: 459c94681a5a + last_write_checksum: sha1:f2dcb23c03bb0654bb9eafa9c7a5a89a2981e08c + pristine_git_object: 0a7411a0704769e48fd38abbc18d3f7bf7da1ee7 + src/textql_sdk/models/textql_rpc_public_patches_getontologyfileresponse.py: + id: 058dad165746 + last_write_checksum: sha1:521aefb3a36c1c6f91483175df6656723377f0a4 + pristine_git_object: 6b167fa284f4a536a4c1ce120aed334aab8117f9 + src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlrequest.py: + id: f92797d97a2c + last_write_checksum: sha1:2d5fa79f27c3eaba7dd364b75bc393f8c58c3751 + pristine_git_object: a986be1e7d13c3af031de56d39ccec784b1b70f6 + src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlresponse.py: + id: fb21b4a1659f + last_write_checksum: sha1:0506f6ae7d1c32d047fd8a21ba20f79849ed3abe + pristine_git_object: 3d951f696443704117a03f5cbbe8b6a30a57590d + src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffrequest.py: + id: 3d64da99eeef + last_write_checksum: sha1:34f34a87e511fd8c2179f5938f040ff176cc7e2f + pristine_git_object: 7f6e4e424b3e382746c98d808d30407f53cf288a + src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffresponse.py: + id: 7db0610a3183 + last_write_checksum: sha1:cfa5f8ce2d13e53cb64eb965f7a3df630b07dcad + pristine_git_object: a68b2870f5d81add35fd7af8a1774dbb575c8090 + src/textql_sdk/models/textql_rpc_public_patches_getontologyownersrequest.py: + id: 3124d76344e9 + last_write_checksum: sha1:ce12fe72cb4abe4f3ec852e80a58e0f1e317c569 + pristine_git_object: 83df318bda9f30913af627de16cc4ce1335f51e2 + src/textql_sdk/models/textql_rpc_public_patches_getontologyownersresponse.py: + id: e874a383cbf8 + last_write_checksum: sha1:05ed5af8bb05988a06c9f45de5694d3f9029c8ab + pristine_git_object: 53fdb616e539bd222c194c95d87a9a7b7e984c5e + src/textql_sdk/models/textql_rpc_public_patches_getontologyremoterequest.py: + id: f5d0ba511c07 + last_write_checksum: sha1:6c36d1c16afa1609807c4b7c0c6222d149e35152 + pristine_git_object: 106657ec6f5026dee598ccc0fd05d577b57e7b6e + src/textql_sdk/models/textql_rpc_public_patches_getontologyremoteresponse.py: + id: 7c5a04e0478b + last_write_checksum: sha1:6514402e5b00bbd834472503f0bb70d95e9b0330 + pristine_git_object: 1004d7f9a3ffc2612fefa6dafd953a0858ae9554 + src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelinerequest.py: + id: 2128c2b26230 + last_write_checksum: sha1:84ab20ef03d22ce88e85025e34fdde5419c4de7c + pristine_git_object: 423a0c5a158f5fbf3f9809a812b9d94d65378135 + src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelineresponse.py: + id: ddaff1817f4b + last_write_checksum: sha1:1404e49611b2a2efa0c86ecece2187c76cfbf3e2 + pristine_git_object: e609df87a2066482f9d11385b65b5f4f4a38d0a4 + src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsrequest.py: + id: cdf8fc5dfcb2 + last_write_checksum: sha1:463efba02ba1ee524d24e644f75f7e47dac84a53 + pristine_git_object: 65a5639a727c1567841b724d54360446cf0cca1e + src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsresponse.py: + id: 549564dad21b + last_write_checksum: sha1:300c65525de7133a9497f6a8861c97a25c5e69e8 + pristine_git_object: 0f955883b74179404301f38734b62e260a7084ba src/textql_sdk/models/textql_rpc_public_patches_getontologyusagesummaryrequest.py: id: 244873a01824 last_write_checksum: sha1:41a2531b9855ba06bd1de43fd8517640d94c8436 @@ -14293,12 +14363,12 @@ trackedFiles: pristine_git_object: 3a01fb5b4bd0a562a754e3493c9b7c91b3cb78c8 src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfilerequest.py: id: 82356e439d83 - last_write_checksum: sha1:dbc6df2cddef062169cbbaa6c311a893f2ba15cd - pristine_git_object: f7c91cca27c7e6622f14c8229340f96afac99be7 + last_write_checksum: sha1:6c33cbb69c6808970984e97663406a8e25e23ed3 + pristine_git_object: b02d3cc91e533411cc71ac86aec60d2dcddb44a7 src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfileresponse.py: id: c48ac008148d - last_write_checksum: sha1:83082e61732051661ff7c012dfa3cac6d0b59c53 - pristine_git_object: 23cec90d1e24aa160a6bf83c4e9ffc19223bb53b + last_write_checksum: sha1:ddf5708769f889d3bf5efa82b91fbca1d85c8679 + pristine_git_object: 87dd0988562c6ee8370fca1ddd934aeb52505f8d src/textql_sdk/models/textql_rpc_public_patches_githubinstallation.py: id: bba352c03b81 last_write_checksum: sha1:8c016133f4237e79db596e92e8b3337b35e9967c @@ -14311,78 +14381,6 @@ trackedFiles: id: 03635bf135ac last_write_checksum: sha1:662be639b53126726c18d00e093ea7ec6b1244a9 pristine_git_object: 87cedaa9c1ba01f328df38bc9def53e115e0e335 - src/textql_sdk/models/textql_rpc_public_patches_libraryanaconfig.py: - id: 27d671c46a5f - last_write_checksum: sha1:fbaa4992ae0004ebb3a19a3cae3e93c7df4893c0 - pristine_git_object: e92eda6869f045658978e41feaf5aa1c04e5bcbd - src/textql_sdk/models/textql_rpc_public_patches_libraryentry.py: - id: 907503dfa7f1 - last_write_checksum: sha1:5d5ba18f91bf1a3db199672dd6215b431a0bca9d - pristine_git_object: 3acb10a597ff4b4ec8fa2c691adf8d0f59ffa604 - src/textql_sdk/models/textql_rpc_public_patches_libraryfile.py: - id: 9665e5602c70 - last_write_checksum: sha1:2343768d3f2f8ac40354d55ae45a76c3ac9d06d1 - pristine_git_object: a061b2c5298f62a6df31775a00750c6a7ab9b828 - src/textql_sdk/models/textql_rpc_public_patches_libraryfilekind.py: - id: 6d27d2ae8e78 - last_write_checksum: sha1:efbe3604d0da253f4bcf4b38c9968a14f9815652 - pristine_git_object: d21ed6007f1525e1e811e062b1dbda6196fe4e8f - src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangedfile.py: - id: 95c8258b1425 - last_write_checksum: sha1:cfaebfbe26356ab768ea2bfaf03ce29cc1bcc281 - pristine_git_object: 7cbacfcf3064d5f8b6d5abbf010090d2a68b0aad - src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangetype.py: - id: 1bef70e5277f - last_write_checksum: sha1:fd6235cc4682a4c4a084e0adb929a65180f29046 - pristine_git_object: fd095f24c8c94368d44377966c8426cc0ec246f6 - src/textql_sdk/models/textql_rpc_public_patches_libraryhistoryentry.py: - id: 768e46927f80 - last_write_checksum: sha1:aa91b40724ee0f293f3cf64e1f52520d4f3bc07d - pristine_git_object: be2075bcf85afb5c9f931301b49719895d8ca924 - src/textql_sdk/models/textql_rpc_public_patches_libraryimportedge.py: - id: 8f4828488355 - last_write_checksum: sha1:4cc1a4c8d4d97e4dec893c0b0763e0c0a8a9ddfe - pristine_git_object: 74769d0cb3561b4c6605b44b44d90f22876b7d33 - src/textql_sdk/models/textql_rpc_public_patches_librarymergeoutcome.py: - id: d16a4766fd09 - last_write_checksum: sha1:a7570ffcf3cad503c16505ce806fab31f3b94248 - pristine_git_object: 9a8f54b059a256c56bb85cb3c6dc7a4f20610a88 - src/textql_sdk/models/textql_rpc_public_patches_libraryownerentry.py: - id: ced2b5502395 - last_write_checksum: sha1:f980cf855ba2605b3c3a61ac311db3d52bfcf540 - pristine_git_object: d254f171d7cf8eae57458c4060524fb62fa38d40 - src/textql_sdk/models/textql_rpc_public_patches_libraryowners.py: - id: d5908c8ecfdc - last_write_checksum: sha1:01e9f25c104b7262c6780a796ff8539ccda85d8b - pristine_git_object: 6962ce863e46515f3b3b3b5709032c40e9c43715 - src/textql_sdk/models/textql_rpc_public_patches_librarypermission.py: - id: aa1e79f2661c - last_write_checksum: sha1:184989aa960c50bbb10d60cf60df6bd883d36936 - pristine_git_object: 9fc64e9587c8da0481cc58ed8b89657d3a2e3f2e - src/textql_sdk/models/textql_rpc_public_patches_libraryremote.py: - id: c1a8b34bda1b - last_write_checksum: sha1:2d14c3e1903b3d3adc763b43f2cbc2a9e961f838 - pristine_git_object: 6ea2990fabf24ae8d6efd52ae3de2ac7d9cca94a - src/textql_sdk/models/textql_rpc_public_patches_librarysizeday.py: - id: 5810e236d472 - last_write_checksum: sha1:5257f3044705efff2e978f68d58a170e4279ec1c - pristine_git_object: c225e8b9b57312e245519d6c82b92f3692591291 - src/textql_sdk/models/textql_rpc_public_patches_librarysubmodule.py: - id: a9e56cfb2ddc - last_write_checksum: sha1:f5479d5ba635aa179c0251f3704c3a21f6035faa - pristine_git_object: 25bbec7f4d010e8d56965d371797e20d0d5a164e - src/textql_sdk/models/textql_rpc_public_patches_librarysyncconflict.py: - id: 1ea062d38dca - last_write_checksum: sha1:653b535ee7f9e114eee8c0e37b3b4da36c43d96c - pristine_git_object: f4368631da42a59a6d43dd973c75835eec5e01d2 - src/textql_sdk/models/textql_rpc_public_patches_librarysyncrun.py: - id: a0fffd290465 - last_write_checksum: sha1:1cd02557f93ac069c69259bcc583a4e2035f8da3 - pristine_git_object: 53cb4828f22c333e6dd8184ad6b10e59f14aa572 - src/textql_sdk/models/textql_rpc_public_patches_librarysyncrunstatus.py: - id: e2574fcb2f22 - last_write_checksum: sha1:c772137932fef2fd9b992828298b98f5f7705bba - pristine_git_object: 5412e2281c6d9177e23d323240ad44c6168e5740 src/textql_sdk/models/textql_rpc_public_patches_listapprovalrulesrequest.py: id: c8afca7a9c6c last_write_checksum: sha1:f8cf3a18141d68928fa5ffef4b295cc17129a038 @@ -14393,12 +14391,12 @@ trackedFiles: pristine_git_object: 80edf587d87e08a70fc4e64ec44f4e5bb153892b src/textql_sdk/models/textql_rpc_public_patches_listchatsforfilerequest.py: id: 699afc9019ee - last_write_checksum: sha1:e15810e1b18cccbe1af938f39d8bd4c25a2b7578 - pristine_git_object: 1faef1e74f4b5ed612d03c0ec448465f179d6b2f + last_write_checksum: sha1:68845cd0366d91ea2712bd16177713afa67eacd7 + pristine_git_object: a37857b39042bfe3943ee1862052fedec8b63655 src/textql_sdk/models/textql_rpc_public_patches_listchatsforfileresponse.py: id: e9c28035317d - last_write_checksum: sha1:d45c868325fcdb17799f1e7578c5af139a9bbf93 - pristine_git_object: eebed74f764587b859b36b09ddadc4ddf1c3b33a + last_write_checksum: sha1:041cd1432d872db12f29636aae35909706a1f444 + pristine_git_object: 6e2b3dc08a22c08fd9111dbeb6a14bd7821ab254 src/textql_sdk/models/textql_rpc_public_patches_listcontextpatchautoapproverulesrequest.py: id: b68ae20c43ee last_write_checksum: sha1:eaddeac893e957d77dea945c06a941d322eabfef @@ -14415,46 +14413,46 @@ trackedFiles: id: 2d6b8152890c last_write_checksum: sha1:0e01f1f6b4bffd2964793e1901a7fc79e4eca731 pristine_git_object: af4586bc9458ce9467a4593f1cdb44630b3e1900 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesrequest.py: - id: 6ba44a6cc57b - last_write_checksum: sha1:a610ec7132af970ea91d6cd7713c9619f9495e0b - pristine_git_object: dd9d44bacaedcfd9980bf76019ea973df2eb7f64 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesresponse.py: - id: 5ef252345d77 - last_write_checksum: sha1:3271bcd27a695d6b93ae99db0f7ecc36dd9e64cd - pristine_git_object: 6a1029fce38ce19a2e8cc95909b444e0a06b4501 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryrequest.py: - id: 0b10ebf834c9 - last_write_checksum: sha1:8f9aef9a578d4f5600043292590c6cf2f681f2bf - pristine_git_object: 6d3b114f8e3e35a78f0005fe5d3df08cc6c26c95 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryresponse.py: - id: f9a4c4a2a470 - last_write_checksum: sha1:56c3380d97bf179e87ecd7553916616565664570 - pristine_git_object: 3f08449d860d6bdcb476d4e917109c94649b6806 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsrequest.py: - id: b7d62ea7ada6 - last_write_checksum: sha1:0c45b11ddeaec4130ec1099f0944e8cbbbd1b115 - pristine_git_object: 881af49f739e9068488b44d01b0d01abb3c11308 - src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsresponse.py: - id: 69d3d533dff9 - last_write_checksum: sha1:619479999fc9354acfe43e18740c53e8de66633d - pristine_git_object: 68bf082552ca9702d7e3537e0530d4409538ec8b - src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesrequest.py: - id: 2d63379e5057 - last_write_checksum: sha1:102b25855b7ffc1671f3ab7a0a81d967878c8176 - pristine_git_object: ef3d3522c6678d490d31997564078cacd247975b - src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesresponse.py: - id: 812755c4c47d - last_write_checksum: sha1:172dcd5268ddbae4dc50f48f0b042da899ad1c10 - pristine_git_object: d67e14d29f88c10b8260a45d086b41ef2bf5d18c - src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsrequest.py: - id: cc9a0814c768 - last_write_checksum: sha1:a68ac59f2c4baf1cdc5f3590f10b047d000bd1b5 - pristine_git_object: 2aa093236817deeb08572809e0dd8d2b0afa4070 - src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsresponse.py: - id: 87fdaa45b816 - last_write_checksum: sha1:174c218c96fa1107e50205843df1ebfd835fd430 - pristine_git_object: 147ea9a70e813bdd1f1d7ab3143fd9dfdf2dd732 + src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesrequest.py: + id: 4af09ed0e6da + last_write_checksum: sha1:e89de4607e6936712312f8d64040ff5a529730e0 + pristine_git_object: 9f2200069150f8a7c5b6dcc5bf5743119a92b3aa + src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesresponse.py: + id: 9ce63c4fc4e5 + last_write_checksum: sha1:9e6dcee0c7fac9e1209c6c30d5ff54cffa81d384 + pristine_git_object: fec078824dbae150cb6c1cabfe175f876df2ab56 + src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryrequest.py: + id: 1148216e7c25 + last_write_checksum: sha1:9fa8e954601613b9a591a746188f3731f7dd7c16 + pristine_git_object: 2020831794d2a6295f76a20daafa7267c053e41d + src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryresponse.py: + id: b2b086c3c2ea + last_write_checksum: sha1:bb894f96b590058e3ade00901b26d5fdd874719b + pristine_git_object: 5a47486a9eb56aefe894fb852ed4f57cbc198dbb + src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsrequest.py: + id: 61f7421a563f + last_write_checksum: sha1:2a36fb716cd3e29b0db931af4220a561cfabf6aa + pristine_git_object: 74079979b686473c1e967dcda7e146d83528c432 + src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsresponse.py: + id: 752c12df01a8 + last_write_checksum: sha1:b8b9ce8aa8c681c72c035c1257369f320d33a613 + pristine_git_object: b15ff683368d226678b83d2269f7e4e96f3684f4 + src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesrequest.py: + id: 2f49db8b48d4 + last_write_checksum: sha1:90750d7f1de8790b345074b0681ae8dfd532ddaf + pristine_git_object: 34253a4e387e237b5f07ebe9cd08d5c4e1e53eec + src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesresponse.py: + id: 5cd69df871ac + last_write_checksum: sha1:a59f38cab5af583e0e6d216c889ae4ff037998ac + pristine_git_object: 19df2168bb17ddc535def8f78eac0c0a0debd219 + src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsrequest.py: + id: 1c9c97542a9f + last_write_checksum: sha1:695cb622bbdec060c5d5b2331c8d20d52796f4f1 + pristine_git_object: 299679382e80907d52ccb35b4f0796de8ec54f7b + src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsresponse.py: + id: f276a9bc688b + last_write_checksum: sha1:78d7cc705d593650541838011e645f817c51e1d8 + pristine_git_object: ec1410f10d255dc3b42d8108d2cd18d03e92f1fd src/textql_sdk/models/textql_rpc_public_patches_listpatchesrequest.py: id: e389152cac5f last_write_checksum: sha1:51972827c0c0573fbcd720effd3b2bee3938d4a5 @@ -14479,34 +14477,78 @@ trackedFiles: id: 1b170fbe2ac4 last_write_checksum: sha1:9bb9e9b7409e255e98767c659646003216890583 pristine_git_object: 5494e7fee830cb615178995a73c2efb08dae9aa2 - src/textql_sdk/models/textql_rpc_public_patches_migratedlegacycontextprompt.py: - id: dc4c1a7621d4 - last_write_checksum: sha1:504d1b6285633fad66291cf8412587b3afc61d9e - pristine_git_object: 08248ab0b0fff696493390c819d95176787a5a32 - src/textql_sdk/models/textql_rpc_public_patches_migratedontologynoun.py: - id: 78c3172abb51 - last_write_checksum: sha1:b4831f4ec24659b8cd2fd943b6eaacdd54c5b91c - pristine_git_object: 8e3a1d64cf137027d44343ef88e067e9dd22e47a - src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryrequest.py: - id: c509b32e849f - last_write_checksum: sha1:621a18b2e9af1b127e5f781e78394c0c741d9bac - pristine_git_object: 8d6f8dea9e1d3e150f0488aa0bfbc46451e56703 - src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryresponse.py: - id: 8e6ac373d6cd - last_write_checksum: sha1:5b20ddce6b9a269c2ccac593d4421bcda9a3d3d9 - pristine_git_object: 143de970b00b90f6a2d94d966c52b9f43d03fcdf - src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryrequest.py: - id: d65154fcba5a - last_write_checksum: sha1:906a563b0ec5e421f2fe5dd8bf453d4babe97ddc - pristine_git_object: b17e8c15636ee2d3cf4bfebda4c6afa47e81bc07 - src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresponse.py: - id: 910319f6d9b7 - last_write_checksum: sha1:a32eadb84b357bf382f38a58a178754b01262d26 - pristine_git_object: ef5a704ee40574e03647b7b478b142c555919ded - src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresult.py: - id: 11435fa4a175 - last_write_checksum: sha1:90b3872102c3ffe67362b8d432107048697eed44 - pristine_git_object: 176728c765c701a2d54a6b325c4baf1b5e2c4361 + src/textql_sdk/models/textql_rpc_public_patches_ontologyanaconfig.py: + id: bd1847d2deef + last_write_checksum: sha1:07daed5d05e624a00199086364a922116bd11c1c + pristine_git_object: bb0058b0c7684a66afae7ddf70da498220e5c171 + src/textql_sdk/models/textql_rpc_public_patches_ontologyentry.py: + id: ba51a7f702b3 + last_write_checksum: sha1:257d446e42b9e3c098309a7f0d0d64d7d92b60d8 + pristine_git_object: e3cfa97284156035dbaeb2a365c9a4ac72db7505 + src/textql_sdk/models/textql_rpc_public_patches_ontologyfile.py: + id: f06b6aaf25ea + last_write_checksum: sha1:5b545242374b9a620633657cfc299b3cdf876de4 + pristine_git_object: b874d71460ea1e9ac9af3bd65064deb7b6cfefa2 + src/textql_sdk/models/textql_rpc_public_patches_ontologyfilekind.py: + id: 237604095c07 + last_write_checksum: sha1:2ed092f1c1f581180622cde39ebf989942e5fa5a + pristine_git_object: ea8bb651d524d7e53e7254f67ca9558929920138 + src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangedfile.py: + id: acb53058e144 + last_write_checksum: sha1:d36510be80624a1ce01ba5b8981a276639780a2f + pristine_git_object: 236b3d8983179b3945127e19ab6a899c3ccfe954 + src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangetype.py: + id: 656bd64953e4 + last_write_checksum: sha1:c1e7ba842a451baa7e0070109fa01abe60bde485 + pristine_git_object: 7889fba36ed8adadf9f2cad2cefc5920e1bf4d15 + src/textql_sdk/models/textql_rpc_public_patches_ontologyhistoryentry.py: + id: 26dfa23b3fd8 + last_write_checksum: sha1:ee037de7dfef70ddb24a36a8a5112d6cb968e1b3 + pristine_git_object: 9667a98d97068d77f8a81070969d39e18278728a + src/textql_sdk/models/textql_rpc_public_patches_ontologyimportedge.py: + id: f5a2d29c81c7 + last_write_checksum: sha1:d9bd4023e180fff59bc744692654c4bd5690c4a2 + pristine_git_object: af7755488686ed9db96f78c472e37e339783015f + src/textql_sdk/models/textql_rpc_public_patches_ontologymergeoutcome.py: + id: 834bb97a5039 + last_write_checksum: sha1:ea15758acdc321ef0c26dcfaf46999f1c2253420 + pristine_git_object: c41a69717c04855d16eed80d7e2885ea07cdca74 + src/textql_sdk/models/textql_rpc_public_patches_ontologyownerentry.py: + id: f0dbbffdbe94 + last_write_checksum: sha1:1ea1022bd0a04bfcde01769cf987d80be6a949b6 + pristine_git_object: 31d26ba52dedaf686ea5be1bb195702b97fa3fef + src/textql_sdk/models/textql_rpc_public_patches_ontologyowners.py: + id: 560bd6c5b8b2 + last_write_checksum: sha1:29483f439a72f69c870d3c70b0a27603582c2423 + pristine_git_object: 01bb8a03bcc6b3e5c80a724e0739738d20f22620 + src/textql_sdk/models/textql_rpc_public_patches_ontologypermission.py: + id: 7f1469280a75 + last_write_checksum: sha1:e2e64b562f80649e954062955b92f18c13271796 + pristine_git_object: 9e36fbefb8cfb0ef4017384ad13d7efa52e89916 + src/textql_sdk/models/textql_rpc_public_patches_ontologyremote.py: + id: 93307b17898c + last_write_checksum: sha1:37f492d5c2017697b304793af2a78c3d4becb6be + pristine_git_object: 59f751201522552fb444f4caa315a753c96a72a6 + src/textql_sdk/models/textql_rpc_public_patches_ontologysizeday.py: + id: 2ef754e7f771 + last_write_checksum: sha1:2cd82f6e3b41a1db6ca5668b5fc082daa7c2ed42 + pristine_git_object: 5c0cc2ebcf5239e7930426f235a440d83262c3e3 + src/textql_sdk/models/textql_rpc_public_patches_ontologysubmodule.py: + id: b579d3e5432a + last_write_checksum: sha1:52ea0daaeb6a8dd01a86ed10ede991b8ffb2cde5 + pristine_git_object: 8082ddeb7bdf38e2eb9d2742e6093448e40e645b + src/textql_sdk/models/textql_rpc_public_patches_ontologysyncconflict.py: + id: 7932072b5e06 + last_write_checksum: sha1:abab671899d7f46d5a2f1772b1bd48efdba8e1d6 + pristine_git_object: 1d04bcb74df9dcd90d6ed86f985fceced8e44995 + src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrun.py: + id: cd292e61c411 + last_write_checksum: sha1:bebf33585adc79a617ba2897542dba16d5864923 + pristine_git_object: 44f0d4ba4084e1f164032d5c999f569898a132b0 + src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrunstatus.py: + id: 4c6a31e4d1f0 + last_write_checksum: sha1:15093de4f05e4617425f882b297fb605999a344b + pristine_git_object: f09723d0ab7ed699b563f407f174d8616920a941 src/textql_sdk/models/textql_rpc_public_patches_patch.py: id: fdbc2a13ce56 last_write_checksum: sha1:51b9128769e6d9345ef4d894fc71c95696006566 @@ -14547,58 +14589,58 @@ trackedFiles: id: 9831a71a92fa last_write_checksum: sha1:7c2290f047de0f4387c7cd462a764616fdc627a3 pristine_git_object: 819d4b0606506144488c35d598bcabd0ed28c06b - src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergerequest.py: - id: 8d5c497f788b - last_write_checksum: sha1:74f3fca76f10e87c28d093019e3b87054d6ecafe - pristine_git_object: 92b52da4e6e2d8540cbdbaa24a267dd492a78b5a - src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergeresponse.py: - id: a05576e8eec4 - last_write_checksum: sha1:a27d14557ce3e6ed41f558f99ff558c31879280f - pristine_git_object: e81482f8d4c573e5066a21753b8872eaea12580a - src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfolderrow.py: - id: 1dd5f1e5dd8a - last_write_checksum: sha1:bf52f742ad0962d02084a69ad8c16864e2e55041 - pristine_git_object: a679bf0a1427c239ffd41458a1419f4841bb5869 - src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoterequest.py: - id: 62ae1a3fc81d - last_write_checksum: sha1:6cd396c6af70d30fef44dee355d2a6731108d997 - pristine_git_object: 2f5387258150e231d45d9597108b33b28f7b5b7b - src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoteresponse.py: - id: abbd7265be1a - last_write_checksum: sha1:f6f8947be757b0dbb4d75b238fcbea5ce1294a73 - pristine_git_object: b3284eb4b463865b64aae02134451b82b81b0ccc - src/textql_sdk/models/textql_rpc_public_patches_pulllibraryfromremoterequest.py: - id: 96d8b83ee961 - last_write_checksum: sha1:3c023d13eb54ca576db50de16291f74244653274 - pristine_git_object: 3aba02b6abdb43cb5c122b77e4b190f71db7024a - src/textql_sdk/models/textql_rpc_public_patches_pushlibrarytoremoterequest.py: - id: d5c13fc1f816 - last_write_checksum: sha1:fcd1f0e69ab02df479712e52b8c730e73a186b98 - pristine_git_object: f24354a940849f76757599ed7bb50965c8e14503 - src/textql_sdk/models/textql_rpc_public_patches_recoverlibrarylevel.py: - id: d0ae3382c49c - last_write_checksum: sha1:f22a8a50e0640df8cc639849c1259d561a4329ab - pristine_git_object: 9c2a92e8055cd1262fb45c8712b3dd088ccf07c9 - src/textql_sdk/models/textql_rpc_public_patches_recoverlibraryrequest.py: - id: ad905b035b9a - last_write_checksum: sha1:66264db392470be30f134e3ce6fc6f284096714a - pristine_git_object: a092481e2278e07337c8829904e3a66d8e457859 - src/textql_sdk/models/textql_rpc_public_patches_removelibraryremoterequest.py: - id: 677feaf71596 - last_write_checksum: sha1:ad192b789b427b6005c58c5b1491ebf29f03bfc1 - pristine_git_object: 9f87a6ae22be9355217246bfbdbea34fa19b1dc3 - src/textql_sdk/models/textql_rpc_public_patches_removelibrarysubmodulerequest.py: - id: e67794b9776c - last_write_checksum: sha1:9a6a972426a0e152e9dd251bc2d75f426acaf880 - pristine_git_object: ba062fe3dd886ea9ac53e6114e6e9c977946a840 - src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfilerequest.py: - id: 7d259a656190 - last_write_checksum: sha1:bc270511038945b34955035272e59c2bf64441c7 - pristine_git_object: 4d7bd7c9df62d1aabe40e81e9070a8389eff3d10 - src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfileresponse.py: - id: d97e9d4d99e2 - last_write_checksum: sha1:044f58d1a131546005c6433d6ab958450ad74906 - pristine_git_object: 7e2c338fb66617b20527da892cb06d38ec5aed85 + src/textql_sdk/models/textql_rpc_public_patches_planontologymergerequest.py: + id: beb9afbf8409 + last_write_checksum: sha1:9d80b7c2a64f25482450fc611401dcb47409d1ba + pristine_git_object: 4eeae0b5abf37ae5a88994a1a6202cd68f5f11fb + src/textql_sdk/models/textql_rpc_public_patches_planontologymergeresponse.py: + id: df69fa46535b + last_write_checksum: sha1:89693b5bbd29693efbe6c7b166ce7546c7285cae + pristine_git_object: 8be55b34c26c3e5b3dd8b20b10c06a89dac211e7 + src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfolderrow.py: + id: 57fa1d72ccd3 + last_write_checksum: sha1:641bc7c84f76bc9d6f05ac59faf5587bbd21a799 + pristine_git_object: a85d5337c438b63d5706e7a5d29f696c1aee5f1b + src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoterequest.py: + id: e381c8d8015f + last_write_checksum: sha1:6de324d80ff0219191199b19e8fbc9255e44186d + pristine_git_object: 0cc31f7bc547f5077ef06dc5086f597c0afc1ebc + src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoteresponse.py: + id: 2618d5e94634 + last_write_checksum: sha1:c80d1e72b30bee274d23c673e47c2574b9009af5 + pristine_git_object: 8202e4125751773d440174a203bd80daafb16bb1 + src/textql_sdk/models/textql_rpc_public_patches_pullontologyfromremoterequest.py: + id: 99f59529398f + last_write_checksum: sha1:6e7778dabb73c33b247fc1607c7e070620be2356 + pristine_git_object: a1135f36bf6194e83e35e88865712059109ac32c + src/textql_sdk/models/textql_rpc_public_patches_pushontologytoremoterequest.py: + id: aba23cdf5ecf + last_write_checksum: sha1:968c68dc1a1dc15b12708996d63d43c3865d8069 + pristine_git_object: ec9bf2bb671dca7fc32b1350f5572e083d48a709 + src/textql_sdk/models/textql_rpc_public_patches_recoverontologylevel.py: + id: d28d184a3b41 + last_write_checksum: sha1:ae19d3e71dd120364e6b6d4a80c3b4ef1db43c96 + pristine_git_object: 4071cbeae558cbfb2c3cec367bbd9ea8e7bc23c1 + src/textql_sdk/models/textql_rpc_public_patches_recoverontologyrequest.py: + id: 810fc8230e65 + last_write_checksum: sha1:16b91098696d357e7b031ea43d62d8ca96867c95 + pristine_git_object: 1c7848849f52effdd3c01910a694b1afb5231240 + src/textql_sdk/models/textql_rpc_public_patches_removeontologyremoterequest.py: + id: f57cb2a4df4a + last_write_checksum: sha1:73ba1d1af3397748bb0c80fd731772b5e3aed044 + pristine_git_object: e624198a54f789ebbe9000e0d87906e350bea634 + src/textql_sdk/models/textql_rpc_public_patches_removeontologysubmodulerequest.py: + id: c3b92fd660be + last_write_checksum: sha1:37d62ae8d30f02d378fd212e2802cf5267ec5d9b + pristine_git_object: 333f2a51e961326e0d517c969164b9629acb279a + src/textql_sdk/models/textql_rpc_public_patches_renameontologyfilerequest.py: + id: ff0377cfb949 + last_write_checksum: sha1:879d87f6d53196f472d7c031c442dac8d065c3f7 + pristine_git_object: fef761ad880643bd29f7b448e9ab99ce2a18cb96 + src/textql_sdk/models/textql_rpc_public_patches_renameontologyfileresponse.py: + id: dd01e5c12758 + last_write_checksum: sha1:6a2b3393b5187236d41b8c554b2370f85153fb49 + pristine_git_object: ec0a1bd05de94abc8b146445df32dd169862954b src/textql_sdk/models/textql_rpc_public_patches_requestpatchreviewrequest.py: id: 6036275172ec last_write_checksum: sha1:0e2212ead5f8b7f46c05253eaae4555923ade4bc @@ -14607,10 +14649,10 @@ trackedFiles: id: 39f7bdb6a8a0 last_write_checksum: sha1:ca6eed24d9f3584dff89604e646e9f2df7e5d81d pristine_git_object: f8eba86acb83bc4cd7e58fd1e27bcef30b4ba9a9 - src/textql_sdk/models/textql_rpc_public_patches_resolvelibrarysyncconflictrequest.py: - id: 9e4e6129d4b2 - last_write_checksum: sha1:e7f2862b11a1c25dbb372f202cd212e524b72828 - pristine_git_object: af0572265bc80925b5f588cd318aa84d3fc28d8c + src/textql_sdk/models/textql_rpc_public_patches_resolveontologysyncconflictrequest.py: + id: be3e9d756e60 + last_write_checksum: sha1:7f31a9a5d7f195b50e24037d37992211d64fc62a + pristine_git_object: 259e985b2cbc09648060aad058cdd3f2abbec0d0 src/textql_sdk/models/textql_rpc_public_patches_restorepatchrequest.py: id: fede7291d744 last_write_checksum: sha1:b5e56607cc5becaed7c7272b5722a94a14c8bb08 @@ -14629,28 +14671,28 @@ trackedFiles: pristine_git_object: 2a16837878e6b1cfb13eb70c1510288d56a458f5 src/textql_sdk/models/textql_rpc_public_patches_saveallobjectsasconfigresponse.py: id: 821786e024b3 - last_write_checksum: sha1:6446ccd8e439c62ccf09d9dc687fe8353bd44f23 - pristine_git_object: ab7f89d0cb92f4cb9f37c4c2edb0c49b89383d94 + last_write_checksum: sha1:d982cf9743c485da1acb63d6ad2749eb2ae75e7b + pristine_git_object: 4f6b52f6fd0b07fc81379730ed93a30293206c37 src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigrequest.py: id: bad8d198ae73 - last_write_checksum: sha1:c5ede15d59f841495a4add16c846eed126d05c2c - pristine_git_object: ace349e26a73c91e505acdbcee69b136e2352d1d + last_write_checksum: sha1:268211b0da7c048511c82b97c3fdaf9d4c8f5351 + pristine_git_object: 421a81aeb8fec6400062729bb226da491ca58006 src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigresponse.py: id: 4ab4e21aad2a - last_write_checksum: sha1:d24fccf694e2327a84b2b27703cb93b5433a1bb8 - pristine_git_object: cc431c89b58231087866ced5dd2f7e0ac0d471ce - src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenrequest.py: - id: ee552786c747 - last_write_checksum: sha1:503729e23d2efd4d96b0b88d02eb50571f36c55b - pristine_git_object: d135e5a55d2d455d03890a45ecbfd8f751040382 - src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenresponse.py: - id: 061862fcf2b4 - last_write_checksum: sha1:534e1a18d790707282ee2d22b7bd717e56fc8968 - pristine_git_object: 070f774bab2a88c66144caaa30da929b108ea9fe + last_write_checksum: sha1:022ea2c9573aecaa414fc200b5869bbefdc83aa1 + pristine_git_object: 3143061d6dc1e07ca647bbafdc04fb3cf2dad563 + src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenrequest.py: + id: 6d6cf6ae9c78 + last_write_checksum: sha1:53525d69945f2dce8e599a2a7dfff001b80f8568 + pristine_git_object: fd54b7aaa0591bb109fb47180c7e9d23a10f9c84 + src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenresponse.py: + id: 480ae44da8f1 + last_write_checksum: sha1:2947425f7f6384c2b238d613b00698abce9d96dc + pristine_git_object: a3910c66c91f2bd1565b222e235bcc1d925ec002 src/textql_sdk/models/textql_rpc_public_patches_skill.py: id: 9057470e911f - last_write_checksum: sha1:1671ce75e1cfe50b0bbc1312f8bcd5abed663539 - pristine_git_object: 0a33914ebb00e2e41672d1be66f133521ef72a38 + last_write_checksum: sha1:84610d5ab563534ca9b82be4f1688cc1f798c675 + pristine_git_object: 703d58cedcdc10b23b6a82a5db40b5ac4d6b5dd4 src/textql_sdk/models/textql_rpc_public_patches_skippedconfigexport.py: id: c2eb7e269c7d last_write_checksum: sha1:608bd7a993df6376d5c8b0c046afc905ff572990 @@ -14661,8 +14703,8 @@ trackedFiles: pristine_git_object: 9d2f6d3405f8724275d7d15cd0a33e67dc6f3cb4 src/textql_sdk/models/textql_rpc_public_patches_triggerconfigdriftreconcileresponse.py: id: e32cf6071679 - last_write_checksum: sha1:8cca831eac16bfd54af638206b53657d5d65137e - pristine_git_object: b818f3e9b39ef6d1b6c91cc41b3f8fcf0ae1d62c + last_write_checksum: sha1:93edcd791c9ba8dda4a19a5a72b5dd32d465341e + pristine_git_object: 492b0ccd5657f9acf5b5ad38ca32ec8cc4342a76 src/textql_sdk/models/textql_rpc_public_patches_updateapprovalrulerequest.py: id: 9a439b1ccb1a last_write_checksum: sha1:07cc4ad643eff8f799ad02731fb47b3dd1ae77a4 @@ -14679,38 +14721,38 @@ trackedFiles: id: d99fcea19977 last_write_checksum: sha1:3d2251198ff001cdce3216e51264ba4428488bfd pristine_git_object: b1a7112d0f6c65ac95e23598d454f85d7cb2318e - src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigrequest.py: - id: 2ef37d68d3a9 - last_write_checksum: sha1:6977b0ee67e29ec7fb8ce11efd1c58439cbd747f - pristine_git_object: ed2115fd5323c7ebb410e7753738eed092aa77b4 - src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigresponse.py: - id: 4c71af29da99 - last_write_checksum: sha1:a98dbdd1ee4a1a28dc13ca0b56c03abf4e675d4d - pristine_git_object: 6a1fe8b325ac4ad0c28970dc33b3d1af28ca0a85 - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigrequest.py: - id: 68215fa73446 - last_write_checksum: sha1:8f1c2c4e165f4314cb5ee0fa461743f51fc30056 - pristine_git_object: 319c0861efa1b565befb352fdcb885583970b36e - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigresponse.py: - id: 89591cdc9613 - last_write_checksum: sha1:b382b0fe4c770a4ee2cb02ac01eb11ae35c209a9 - pristine_git_object: ddf6d7cd1768867e3f3db67b42ab32a87a6fe1ba - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfilerequest.py: - id: 3168aa077af3 - last_write_checksum: sha1:b7614f9398392e6f9e08652beb0d2712610e4537 - pristine_git_object: 1534598aa921913bee71d74a140d2d3bef426e9a - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfileresponse.py: - id: 3e10563691c7 - last_write_checksum: sha1:0898cb499d97b689b2d2094c31807941b2151ab7 - pristine_git_object: fd17a5f0cbaad0f77210b5b5c8322a85e77ccdc9 - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersrequest.py: - id: 4729832d3e78 - last_write_checksum: sha1:0bb5a4ff320fbaee24c5ba90e0ddbd1a4cb4ce4d - pristine_git_object: 0f36da01baa4cc92309e60ba5a40f8603280ee33 - src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersresponse.py: - id: 4ff6c2a25357 - last_write_checksum: sha1:273135882c1a71f01822d7845f6c022c846d37a9 - pristine_git_object: 7a25e87a6374ed2aa9710e3f55b867b717f79d38 + src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigrequest.py: + id: 5b864535d588 + last_write_checksum: sha1:38c172cc01fb1b6235b7537cc6772c6ccb0e5e22 + pristine_git_object: 542eb6e2dcba5a52a9f509d382ea06213ba52041 + src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigresponse.py: + id: d5c8f34b4e9f + last_write_checksum: sha1:90390efcc7fda21dbfb7bc9ea33779beff22adce + pristine_git_object: 1bd0587ae4a74465ef3b2e12021c627cdd3bf1a1 + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigrequest.py: + id: 1dbe94596bfc + last_write_checksum: sha1:d6f6f4e7711d8635b965199e82f22611a5382990 + pristine_git_object: 8275ac14a8ede6fcbfeeef496037f173dcc22a4e + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigresponse.py: + id: 3a720607c937 + last_write_checksum: sha1:86f543195c45b7891517546c820aca35c84c7381 + pristine_git_object: df3d72088ba2ba97b79e528bc34ef43387211d00 + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfilerequest.py: + id: bc34ba5da107 + last_write_checksum: sha1:89a9cdfd38230454ef78846be8cfebe8dcc3c4af + pristine_git_object: 694bc4761d7f41f47f968116045c9395eab66dd0 + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfileresponse.py: + id: 6e9c94060fe4 + last_write_checksum: sha1:3ca7288d173ef9d7bbd14be21c0b4ea52a619bed + pristine_git_object: b744de0fab47d6729f07465cf29de53b75fce18c + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersrequest.py: + id: 559127a7ab72 + last_write_checksum: sha1:61ea0d7c3c4064ceae15a4e9c94074157c2f888b + pristine_git_object: ce8a88ccdb389ed573b8cbc153374a5428b52078 + src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersresponse.py: + id: 5035353d3245 + last_write_checksum: sha1:d391932822adccf92b0047875306cb94555e38c1 + pristine_git_object: 6e389c4432da24e57335f5bd1536fb1cb1144ff0 src/textql_sdk/models/textql_rpc_public_patches_usageorderby.py: id: a2d5c1dce7a9 last_write_checksum: sha1:1374ce39afa5801dacfe4193b2ce9dc2d7e24d68 @@ -14957,8 +14999,8 @@ trackedFiles: pristine_git_object: 7c96c90e95d755f14661a82501b9e947b03995f8 src/textql_sdk/models/textql_rpc_public_playbook_playbook.py: id: 595ba8e0ce5f - last_write_checksum: sha1:d01c71fc41cbdb35b76c45a25794b1a7fd638ddb - pristine_git_object: 186b5d8f7e598dbe9b1918a546a508a242a4d5a6 + last_write_checksum: sha1:3de4862544fe6c5c07a51259f59d84aa97055935 + pristine_git_object: deb300f5af37609a73bf6f00dcbc63474e9b51c2 src/textql_sdk/models/textql_rpc_public_playbook_playbookattachdashboardrequest.py: id: 64686c4a62da last_write_checksum: sha1:2a8b536f33676f75f42a741757921f83cbc10a9f @@ -15109,8 +15151,8 @@ trackedFiles: pristine_git_object: 58dcecdaa3499f74c1d974fc6ff9a17c058ce4e2 src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookrequest.py: id: d6ba982db94f - last_write_checksum: sha1:97c291499b7406b17d79e7be5354baa6252acd76 - pristine_git_object: 87ff77662c327944fb74226b580462e504e8b615 + last_write_checksum: sha1:ff93fb5931189c5e177522b2b127967733f50997 + pristine_git_object: e24a5f4fe911ee559bb16356fb81f7a960e7fa84 src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookresponse.py: id: 747460d67a74 last_write_checksum: sha1:25a1bccb13c7662fb28f8d66b04cf703996c24c9 @@ -15285,8 +15327,8 @@ trackedFiles: pristine_git_object: d1f217c6648792d2ecbf6aa7c4adbbb17b97657f src/textql_sdk/models/textql_rpc_public_rbac_createapikeyresponse.py: id: 950af152d54d - last_write_checksum: sha1:ea8fffc926eaf1db08d4dc137c46f1353d107575 - pristine_git_object: 13b64c38224cae654137eeb3cb328ecb73c58f57 + last_write_checksum: sha1:96477c6a6cde98a630b1859319e4363b2e90c465 + pristine_git_object: 00cc9b74849acbafe50e86b052da8c8001a7cb3f src/textql_sdk/models/textql_rpc_public_rbac_creategrouprequest.py: id: 75be501e2ea2 last_write_checksum: sha1:0ecc02d6be7f98ddd423b79ea56150f7c39d8957 @@ -15593,8 +15635,8 @@ trackedFiles: pristine_git_object: 4d396a4c3816d9a1dee57afd6b6572c87d2e5d94 src/textql_sdk/models/textql_rpc_public_rbac_rotateapikeyresponse.py: id: b00589e3d7ff - last_write_checksum: sha1:1cc214eb039a58686befd26be96fd8a8870c47a9 - pristine_git_object: 5282555bdeec495a3a7ae083503ae136a9311298 + last_write_checksum: sha1:319a12e398bc60b82cf3cfbe7d12b93a95d5c164 + pristine_git_object: 7a684564da94b0b5086e359f3df446587a38c5b9 src/textql_sdk/models/textql_rpc_public_rbac_scimgroupmappingsummary.py: id: c455b2d22df2 last_write_checksum: sha1:43496699ce555675ad9f7d7e43c9cbd8a433d7c2 @@ -15603,6 +15645,14 @@ trackedFiles: id: f873a20fd29b last_write_checksum: sha1:e9aff0c9bf5eeed0d96e51f1c245d8d0c009ffce pristine_git_object: 14b5efb1f8488cbb7323ee224c58fbd92187359a + src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsrequest.py: + id: 5fa544854302 + last_write_checksum: sha1:4509f26dc681a54dd80c66b24091a4a22280a212 + pristine_git_object: 571763d65d7788ec0ea910ec4d0b3cbc66b6d2ee + src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsresponse.py: + id: d9456233636a + last_write_checksum: sha1:559dd51672071e339eea611d5fd8210348dfa0e9 + pristine_git_object: 91c2f1de405c1a6d3f036a9ab4887e8aae204e78 src/textql_sdk/models/textql_rpc_public_rbac_shareobjectrequest.py: id: 2f056b47d2ae last_write_checksum: sha1:f153a8bc3e5b336deffac6d39d5c4aee60377387 @@ -15745,16 +15795,16 @@ trackedFiles: pristine_git_object: baf387cfe251ec3a328b87ca1fdd96ae025d7f94 src/textql_sdk/models/textql_rpc_public_sandbox_admin_listsandboxspendresponse.py: id: 26efe6adf627 - last_write_checksum: sha1:c8908ef8929b256c04a200dda013bde1b43ec2cd - pristine_git_object: d01ded674a0d859f7daf1b03d1070b6e8eeef115 + last_write_checksum: sha1:d06d4a3b6c68e6c754b3d75cea800f6115fb70e6 + pristine_git_object: 26a797901d5045cefb53acc94c1118c8503e56b5 src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfilerequest.py: id: 4e7247d3c0f0 last_write_checksum: sha1:89a5b4f4e8ba96c808e9cb351be25688fe301b57 pristine_git_object: c5dcd2f999b6142e6de524a9e35b9c9f5c31b498 src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfileresponse.py: id: a4b3604a83e3 - last_write_checksum: sha1:0f708cf3699d29f8040a561c15ceaf6741f92625 - pristine_git_object: 891b5d740574c525ea857154eeb231eb1e85b5d8 + last_write_checksum: sha1:1f43b8aad483acea3e23e5d20a888c1403f47dea + pristine_git_object: e9099861c5f18c9d1a87be77bc3012bba35ddb7a src/textql_sdk/models/textql_rpc_public_sandbox_admin_restartsandboxrequest.py: id: 9ea60b839c4d last_write_checksum: sha1:e3da145a2cac81a14a56a5fd745ef650d0c7a89a @@ -15795,14 +15845,50 @@ trackedFiles: id: 7854c50c0d60 last_write_checksum: sha1:178b0d582f6ee7278a5f49b0b85a1ee5fc25b07d pristine_git_object: 1c27daf22baa02a22e21742e45d7e7eacc9305fe + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriterequest.py: + id: 0c395318154f + last_write_checksum: sha1:b7ccc0264d0bde7818a39414c5e79250a61dd4e1 + pristine_git_object: 0b87f3225d34d1df34e023e99b7cfdc5c8dfad17 + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse.py: + id: d63e95ca3313 + last_write_checksum: sha1:fbad5574e662e4ece2d8865bc94ceb0c62aa8445 + pristine_git_object: 2f0d51c0608cefd29d158ee115618cf5728f3165 + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetrequest.py: + id: 2384ca6dac9b + last_write_checksum: sha1:596e14250b4a59322c547ec03896b8b4e08e3a28 + pristine_git_object: b28c072e49ca385e06386fdd619bdbd64a1a472e + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetresponse.py: + id: ece6bc48b4e1 + last_write_checksum: sha1:f2351dd35a46889064a2f39b422033b9e3434f7f + pristine_git_object: 1e82cc002dce94e3b4eaa5858b3d7a399dc7a8ab + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest.py: + id: 875c83969cf0 + last_write_checksum: sha1:3db81d0a52cce55cd009c8a58c903b9b746c6537 + pristine_git_object: 0088015e916d656e134d137b8c32dfece240d9ea + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse.py: + id: 20f9424e351f + last_write_checksum: sha1:cedcd5144f21d60731450cb6edd4ecce0c516d1c + pristine_git_object: 28541f65a6c65075ba1532dd593783f51bd918af + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateoprequest.py: + id: dc6244508e39 + last_write_checksum: sha1:4d0abf92653a4b8bc39a6eab43bd5b875eecc9de + pristine_git_object: 0eec05f543e72d1272cf08f89c088d68be02a2c5 + src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateopresponse.py: + id: 23d30b3fd395 + last_write_checksum: sha1:d9452a7213f8d3f5c37b37aae75f74b412eec8ba + pristine_git_object: 124bcb11957d96192aeda7d3b12eff27506e2eaa + src/textql_sdk/models/textql_rpc_public_sandbox_query_appdbtemplate.py: + id: 4a4b3bc8d82a + last_write_checksum: sha1:0d43d719e824a5b45c84eadf1aebb923ae0c344b + pristine_git_object: 23b86902547748f8546d7019457b0235de22768c src/textql_sdk/models/textql_rpc_public_sandbox_query_librarytqltemplate.py: id: 9525a1d6bb96 last_write_checksum: sha1:6f37378f82df9a786dddb85d916e4bf1f66f3d41 pristine_git_object: 0ba99515e1299cf561ecad3be1a2eac14e2e1fc1 src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryrequest.py: id: d16ca80a3a69 - last_write_checksum: sha1:787b9a24d69db6e8dcfe8239f6f63f3ac59ed472 - pristine_git_object: e9d9ca222f55a5044b6c2c4aedaa6c61850b345e + last_write_checksum: sha1:1866f8908cb9b1b2c79038b24c83871899658832 + pristine_git_object: 2b1af60bad762200278248bb5f8b3ecae64116e6 src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryresponse.py: id: e673d0b83ad2 last_write_checksum: sha1:4a1520cafe9057c17b65dd0c573c71e4f1527185 @@ -15871,46 +15957,6 @@ trackedFiles: id: 3f8bd5a38b42 last_write_checksum: sha1:2402200b62ae5af3e304ecfbb0ea3140d7e8cdb6 pristine_git_object: 8a9ae199cd535754469b3ef444b5661f5d81009f - src/textql_sdk/models/textql_rpc_public_secret_apiaccesskey.py: - id: 15ce406055e9 - last_write_checksum: sha1:1d770e9e524142f263e2889252cefff4ee38fb09 - pristine_git_object: 54a9647d51d6d0aa705a1c45ba5059183e33154e - src/textql_sdk/models/textql_rpc_public_secret_apiaccessref.py: - id: 12b5112c730f - last_write_checksum: sha1:a05e97aa39b5e9a5360618e3c1a163158022c6ce - pristine_git_object: b4b94fb3686df772307b507ff44ff9aab44a5e91 - src/textql_sdk/models/textql_rpc_public_secret_apiprovider.py: - id: c3095e4ddcf2 - last_write_checksum: sha1:87926beb7bd70f4662505750f6a9e4731b6a5b9e - pristine_git_object: a35817f3f9b0776e181d8ebe2d03f529e8d5169f - src/textql_sdk/models/textql_rpc_public_secret_bodycontenttype.py: - id: 800c333084c2 - last_write_checksum: sha1:2c1b1d1854232d712256848f6ce794d9b6b2a761 - pristine_git_object: 44ac8e84faf9c390991005e61c52d6f1c471be8f - src/textql_sdk/models/textql_rpc_public_secret_createapirevisionrequest.py: - id: 5ce8a2a665f6 - last_write_checksum: sha1:f5a721a9dc0744777e693a878cfc772aa9c511ec - pristine_git_object: da5b87126c019c1665cd170fe0d722101a173e79 - src/textql_sdk/models/textql_rpc_public_secret_createapirevisionresponse.py: - id: 5ce598ade225 - last_write_checksum: sha1:ddca19e39804def2e433b8b295d5ab4c0f2a9924 - pristine_git_object: 76843e8bb14dea0e4d0d7dbbe5a3b83534c31b8a - src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyrequest.py: - id: bbaff6a24005 - last_write_checksum: sha1:035f685a0067715c89324ffc51a3d3cd33672dd5 - pristine_git_object: 32c014f735464c0c7e469a2cec9c59068ec25d51 - src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyresponse.py: - id: 22748f7db3e7 - last_write_checksum: sha1:b77f205c4b3bb59c2df9ff9da9c76b20f1aaf76e - pristine_git_object: 8c40740c15e07ef176cbd75bb559dd7c6a0a9269 - src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionrequest.py: - id: f90522c8507e - last_write_checksum: sha1:bbfcdd79143d671daae7653624e1a40e1a9ce262 - pristine_git_object: 695fea0e52e4eccb1eb9f44550c3682c20a8ba99 - src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionresponse.py: - id: c6d69bfdb650 - last_write_checksum: sha1:63aaf584dbf6f3d1202f1e40ceda79da46cafd41 - pristine_git_object: c06bda78736d16d1a3de2755fe72fbf0cccbb331 src/textql_sdk/models/textql_rpc_public_secret_deletesecretrequest.py: id: 9c5e45d8761a last_write_checksum: sha1:71e98f0899a99f0d8b060da6f99f943d8bcb408a @@ -15919,18 +15965,6 @@ trackedFiles: id: b0caa981a04c last_write_checksum: sha1:00dd7068c92e0aeccf2469cf4cb86dfd0ea75040 pristine_git_object: a27f82fc9a583dd0c06e71b012961561159b2d1e - src/textql_sdk/models/textql_rpc_public_secret_envvarfield.py: - id: a86353027d08 - last_write_checksum: sha1:fa9b20702766923b22fc85ea8897804c42395bd2 - pristine_git_object: e067a530cba033afed2641f4d4112a6f3ce95297 - src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyrequest.py: - id: 775d6c29ebc7 - last_write_checksum: sha1:8069ea6698911b009ac21b3360c0ba257a89a83b - pristine_git_object: 8cd9c281f1e01eb1c4b543948740107a82529e73 - src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyresponse.py: - id: c92d4a1553de - last_write_checksum: sha1:bcc79f13a5e13ce6c9bb19a8b12cba59258ea1c8 - pristine_git_object: 46a139fa8c6300a2424cead72ed4ce19ec8f129e src/textql_sdk/models/textql_rpc_public_secret_getmemberswithsecretsrequest.py: id: a71c9271078e last_write_checksum: sha1:fa9e357c7eef10fe25e53e5cc298c5d21963ae73 @@ -15939,26 +15973,6 @@ trackedFiles: id: b173844b827e last_write_checksum: sha1:731d59cc3681c9352be1bb2aeecbed54d69c6230 pristine_git_object: 6ddfb0fe5841f8fe71b4509eda4187561fcd5c21 - src/textql_sdk/models/textql_rpc_public_secret_httpbasicauth.py: - id: 4becbb630950 - last_write_checksum: sha1:2f79e5271c4a298feb669f6b737d3ea43c958b55 - pristine_git_object: abb8058db7665233328e38e0212f22b6be48b717 - src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysrequest.py: - id: 89e53d0baa3a - last_write_checksum: sha1:24f6d4fda0464b52cf050c3c56ee1f6af88f1a99 - pristine_git_object: 33f417c5930f8d612017ff679e3d9712b5a4586f - src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysresponse.py: - id: 9c80068b0564 - last_write_checksum: sha1:037a99076c043c0aad6cebf41839dcaaf8355dc1 - pristine_git_object: 3a415f1667816f7520f24426aa54d27eb0f1922e - src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersrequest.py: - id: 8d296fd4ec36 - last_write_checksum: sha1:b47e72c486ea9581556694499d05e9f1d71a93fe - pristine_git_object: ffeda69a65ad79b10c571a132b04ec6849aa062b - src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersresponse.py: - id: 10e0028845e6 - last_write_checksum: sha1:8a131e5ec91b4cb2c259258e7e25042fc3d4283e - pristine_git_object: 92265ea1de37edde1be228ce7165991de1b6b3a2 src/textql_sdk/models/textql_rpc_public_secret_listsecretsrequest.py: id: 9620f8836319 last_write_checksum: sha1:25213e2e2bae2b843c22adf704e1d280018627a2 @@ -15967,14 +15981,6 @@ trackedFiles: id: 3e35c006515d last_write_checksum: sha1:5d032c47fa6de8f2eb0749a3150b715bd4d53003 pristine_git_object: 532f2e746683efe4af1db753cc3c52ffcb1ac903 - src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorrequest.py: - id: 440a9a6b5a74 - last_write_checksum: sha1:c011293aa7dc43f50b99f20edb88c726666ae090 - pristine_git_object: 4de1b4f35d480d0e66a85de5fad0536bde4ed250 - src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorresponse.py: - id: 3297a16cde71 - last_write_checksum: sha1:38b6703855e942a42e962680dd4d1e3bef586ba0 - pristine_git_object: 44ff42f5d1d93fa8329d017d36137eb4902a2457 src/textql_sdk/models/textql_rpc_public_secret_putsecretrequest.py: id: 29461a89f0f3 last_write_checksum: sha1:dea651fa90126aea463d020ab6178637ebaa5aba @@ -15987,14 +15993,6 @@ trackedFiles: id: fadf8fb2f82a last_write_checksum: sha1:c898f25ba505f68d1607e3dff40cd8e6d6c6028d pristine_git_object: ec410526ceb6c9a0803d2ade4d4377f59b6a061e - src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyrequest.py: - id: 5fb00da6e756 - last_write_checksum: sha1:566f3917b6995cbb1bfb831abeb5cde6086fa9b1 - pristine_git_object: 3d8599a44e83e908765571d9d79e3abf8af01a91 - src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyresponse.py: - id: d1bade0c5857 - last_write_checksum: sha1:0a2eeee4d2d20ca1c3cc7c28cf4441fae275af5c - pristine_git_object: be7e28674e3ed9c65bf5208b0b9c1edeb90d626c src/textql_sdk/models/textql_rpc_public_secret_updatesecretrequest.py: id: ee76a4a51d48 last_write_checksum: sha1:d85c8452a15ac747f3c3b9e301c5182914727c32 @@ -16003,14 +16001,6 @@ trackedFiles: id: 4777d421b09b last_write_checksum: sha1:35eebfa68536a68c765dda52b200711544c17827 pristine_git_object: 5e05d370a550f7585049ef6a93ffdd9ea94e9713 - src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyrequest.py: - id: a87533519d42 - last_write_checksum: sha1:c76040ea3e62ca5f335e5f6a0f3f25cb8cc323e6 - pristine_git_object: ebd655a9d24271cae1043383a95c03b902fd5c2d - src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyresponse.py: - id: b0eb8f90d4c5 - last_write_checksum: sha1:9b5782a1881564d77f6b996743af3e3d4fb011fc - pristine_git_object: 407df4a8008d376f75c17a1ebf42fdfb2ade8355 src/textql_sdk/models/textql_rpc_public_slack_createslackuuidresponse.py: id: c153e1f0e3fd last_write_checksum: sha1:9dfcef5c9e0842f7998471734da930c4b7661180 @@ -16239,10 +16229,14 @@ trackedFiles: id: 6aa1798287cb last_write_checksum: sha1:b73cde75b228dab67d5999fe0e43a75eb0e7bce1 pristine_git_object: 046668cb9ed83a43cc58b6cdc3e6f2ade4a88492 + src/textql_sdk/ontologymanagementservice.py: + id: c1c131469650 + last_write_checksum: sha1:ed62a53aea71dab876588b67916d53cf9fca29be + pristine_git_object: 57bb37354e0c213c97eb40fa38889c27edb82e57 src/textql_sdk/playbooks.py: id: df6c411cdb9f - last_write_checksum: sha1:7438ca9f74179879fadfc356cc3f34e1ae20ba53 - pristine_git_object: e00e316f4fd958fb4c78810a7fe04067da89bee1 + last_write_checksum: sha1:27cf34a783f05a0e284f2e87f216e9ff8d119f6f + pristine_git_object: c9b16d6d7f6ed1a178e14787aa1a193561b0d9a4 src/textql_sdk/powerbi_sdk.py: id: 6fc4551fc803 last_write_checksum: sha1:cb7f40d39052db61faf87aeaa6d1ba0378c3f897 @@ -16255,6 +16249,10 @@ trackedFiles: id: 69b61272bc80 last_write_checksum: sha1:82f18f93972e22664ff9afc9d16837945d59cc9f pristine_git_object: 424f16a78ee592aa6804031864c2d518db979d9f + src/textql_sdk/rbacservice.py: + id: bcbf477d3dd7 + last_write_checksum: sha1:b5b6c81e06aacdadc36fd1d29424be8a48ae9efc + pristine_git_object: ddab321c8eebefe41e44281b2d9fae48b15473b4 src/textql_sdk/sandbox.py: id: 14dbbbbb7c86 last_write_checksum: sha1:e16c19fa448fd87d6e09f00aec34d85f8bffbe6f @@ -16263,22 +16261,26 @@ trackedFiles: id: 9098d183635f last_write_checksum: sha1:65d7511173af7341eb2c1e44568045165e6c543f pristine_git_object: e87383638c20fdcee5a4497c330b7a5bb65c3625 + src/textql_sdk/sandboxcapabilityservice.py: + id: 08dd6c47a270 + last_write_checksum: sha1:ecae53b57de5c8bcf18b73c85406d5e857ed7638 + pristine_git_object: e9627953d13247bff97c4c37f7ffe78bcdeee891 src/textql_sdk/scim.py: id: 3292d05f6d51 last_write_checksum: sha1:a84beac741e4fce717cbbcf89eed3482e636498b pristine_git_object: 84b5c247459bbce0f409f3bb8721c86fd44717bb src/textql_sdk/sdk.py: id: d88ccb3083ea - last_write_checksum: sha1:c8e88b8bc72d257d6e952e69f93d690f891ff9cb - pristine_git_object: 588e30c05feaa30b3fb745aa0b1e4b92b382ca4c + last_write_checksum: sha1:012c400045619d3f80b9a8a8c46689dfd6684bcf + pristine_git_object: 47cf9319cf7887d67b295ffbfd7e864d2f45874e src/textql_sdk/sdkconfiguration.py: id: 3f40682b0911 last_write_checksum: sha1:ee23059cfa090d26c02cf60bd8ce85c4698b81d5 pristine_git_object: 378441e740fb84eeb4feee50fb4fae839e9f5e6a src/textql_sdk/secrets.py: id: 7a4d8c58294f - last_write_checksum: sha1:8ccd1213918bf7e9e268097de929a49bd6d4ba6d - pristine_git_object: 56e67292b07c42b426fb82c064565531b4d56784 + last_write_checksum: sha1:5588382efb436576ed7765d0b8e33acda3066080 + pristine_git_object: 8741e23f6a1c62db486037ba9721f607a97e80fa src/textql_sdk/slack.py: id: 1bbf518afcf3 last_write_checksum: sha1:89b1160e5db81fb54b0655382463e5dcfb6a0170 @@ -26048,4 +26050,965 @@ examples: application/json: {} default: application/json: {"code": "not_found"} + AppService_GetAppMemberState: + speakeasy-default-app-service-get-app-member-state: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + AppService_ListAppActivitySince: + speakeasy-default-app-service-list-app-activity-since: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"records": [{"createdAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + AppService_ListMyAppMemberActivity: + speakeasy-default-app-service-list-my-app-member-activity: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rows": [{"createdAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + AppService_PresenceHeartbeat: + speakeasy-default-app-service-presence-heartbeat: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + AppService_RecordAppMemberActivity: + speakeasy-default-app-service-record-app-member-activity: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"createdAt": "2023-01-15T01:30:15.01Z"} + default: + application/json: {"code": "not_found"} + AppService_SetAppMemberState: + speakeasy-default-app-service-set-app-member-state: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_AddOntologySubmodule: + speakeasy-default-ontology-management-service-add-ontology-submodule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ApprovePatch: + speakeasy-default-ontology-management-service-approve-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ConfigureOntologyRemote: + speakeasy-default-ontology-management-service-configure-ontology-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"remote": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z", "lastSyncedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_CreateApprovalRule: + speakeasy-default-ontology-management-service-create-approval-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rule": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_CreateContextPatchAutoApproveRule: + speakeasy-default-ontology-management-service-create-context-patch-auto-approve-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rule": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_CreateOntologyDirectory: + speakeasy-default-ontology-management-service-create-ontology-directory: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"entry": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_CreateOntologyFileUploadUrl: + speakeasy-default-ontology-management-service-create-ontology-file-upload-url: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DeleteApprovalRule: + speakeasy-default-ontology-management-service-delete-approval-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DeleteContextPatchAutoApproveRule: + speakeasy-default-ontology-management-service-delete-context-patch-auto-approve-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DeleteOntologyDirectory: + speakeasy-default-ontology-management-service-delete-ontology-directory: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DeleteOntologyFile: + speakeasy-default-ontology-management-service-delete-ontology-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DeleteOntologyOwners: + speakeasy-default-ontology-management-service-delete-ontology-owners: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_DenyPatch: + speakeasy-default-ontology-management-service-deny-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ExchangeOntologyGithubCode: + speakeasy-default-ontology-management-service-exchange-ontology-github-code: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_FinalizeOntologyFileUpload: + speakeasy-default-ontology-management-service-finalize-ontology-file-upload: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"file": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetCodeownerCoverage: + speakeasy-default-ontology-management-service-get-codeowner-coverage: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetConfigExportCapabilities: + speakeasy-default-ontology-management-service-get-config-export-capabilities: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetEffectiveOntologyOwners: + speakeasy-default-ontology-management-service-get-effective-ontology-owners: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetFileUsage: + speakeasy-default-ontology-management-service-get-file-usage: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"files": [{"lastPulled": "2023-01-15T01:30:15.01Z", "lastRun": "2023-01-15T01:30:15.01Z", "lastUsed": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetFileUsageTimeline: + speakeasy-default-ontology-management-service-get-file-usage-timeline: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyAnaConfig: + speakeasy-default-ontology-management-service-get-ontology-ana-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"config": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyFile: + speakeasy-default-ontology-management-service-get-ontology-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"file": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyGithubOAuthURL: + speakeasy-default-ontology-management-service-get-ontology-github-O-auth-URL: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyHistoryFileDiff: + speakeasy-default-ontology-management-service-get-ontology-history-file-diff: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyOwners: + speakeasy-default-ontology-management-service-get-ontology-owners: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"owners": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyRemote: + speakeasy-default-ontology-management-service-get-ontology-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"remote": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z", "lastSyncedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologySizeTimeline: + speakeasy-default-ontology-management-service-get-ontology-size-timeline: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologySyncConflicts: + speakeasy-default-ontology-management-service-get-ontology-sync-conflicts: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"conflicts": [{"createdAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetOntologyUsageSummary: + speakeasy-default-ontology-management-service-get-ontology-usage-summary: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetPatch: + speakeasy-default-ontology-management-service-get-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetPatchByNumber: + speakeasy-default-ontology-management-service-get-patch-by-number: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetPatchCapabilities: + speakeasy-default-ontology-management-service-get-patch-capabilities: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetRawPatch: + speakeasy-default-ontology-management-service-get-raw-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_GetUsageDetailsForFile: + speakeasy-default-ontology-management-service-get-usage-details-for-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"lastUsed": "2023-01-15T01:30:15.01Z"} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListApprovalRules: + speakeasy-default-ontology-management-service-list-approval-rules: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rules": [{"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListChatsForFile: + speakeasy-default-ontology-management-service-list-chats-for-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"chats": [{"lastPulled": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListContextPatchAutoApproveRules: + speakeasy-default-ontology-management-service-list-context-patch-auto-approve-rules: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rules": [{"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListGoldenFiles: + speakeasy-default-ontology-management-service-list-golden-files: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"golden": [{"setAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListOntologyEntries: + speakeasy-default-ontology-management-service-list-ontology-entries: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"entries": [{"updatedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListOntologyHistory: + speakeasy-default-ontology-management-service-list-ontology-history: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"history": [{"committedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListOntologyImports: + speakeasy-default-ontology-management-service-list-ontology-imports: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListOntologySubmodules: + speakeasy-default-ontology-management-service-list-ontology-submodules: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListOntologySyncRuns: + speakeasy-default-ontology-management-service-list-ontology-sync-runs: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"runs": [{"startedAt": "2023-01-15T01:30:15.01Z", "completedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListPatchReviewers: + speakeasy-default-ontology-management-service-list-patch-reviewers: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListPatches: + speakeasy-default-ontology-management-service-list-patches: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"patches": [{"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ListSkills: + speakeasy-default-ontology-management-service-list-skills: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_PlanOntologyMerge: + speakeasy-default-ontology-management-service-plan-ontology-merge: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_PreviewOntologyPullFromRemote: + speakeasy-default-ontology-management-service-preview-ontology-pull-from-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_PullOntologyFromRemote: + speakeasy-default-ontology-management-service-pull-ontology-from-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_PushOntologyToRemote: + speakeasy-default-ontology-management-service-push-ontology-to-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RecoverOntology: + speakeasy-default-ontology-management-service-recover-ontology: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RemoveOntologyRemote: + speakeasy-default-ontology-management-service-remove-ontology-remote: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RemoveOntologySubmodule: + speakeasy-default-ontology-management-service-remove-ontology-submodule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RenameOntologyFile: + speakeasy-default-ontology-management-service-rename-ontology-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"file": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RequestPatchReview: + speakeasy-default-ontology-management-service-request-patch-review: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ResolveOntologySyncConflict: + speakeasy-default-ontology-management-service-resolve-ontology-sync-conflict: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RestorePatch: + speakeasy-default-ontology-management-service-restore-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_RevertPatch: + speakeasy-default-ontology-management-service-revert-patch: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"revertPatch": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_SaveAllObjectsAsConfig: + speakeasy-default-ontology-management-service-save-all-objects-as-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"patch": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_SaveObjectAsConfig: + speakeasy-default-ontology-management-service-save-object-as-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"patch": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_SetOntologyFileGolden: + speakeasy-default-ontology-management-service-set-ontology-file-golden: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"golden": [{"setAt": "2023-01-15T01:30:15.01Z"}]} + default: + application/json: {"code": "not_found"} + OntologyManagementService_TriggerConfigDriftReconcile: + speakeasy-default-ontology-management-service-trigger-config-drift-reconcile: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpdateApprovalRule: + speakeasy-default-ontology-management-service-update-approval-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rule": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpdateContextPatchAutoApproveRule: + speakeasy-default-ontology-management-service-update-context-patch-auto-approve-rule: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"rule": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpdateOntologySyncConfig: + speakeasy-default-ontology-management-service-update-ontology-sync-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"remote": {"createdAt": "2023-01-15T01:30:15.01Z", "updatedAt": "2023-01-15T01:30:15.01Z", "lastSyncedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpsertOntologyAnaConfig: + speakeasy-default-ontology-management-service-upsert-ontology-ana-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"config": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpsertOntologyFile: + speakeasy-default-ontology-management-service-upsert-ontology-file: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"file": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_UpsertOntologyOwners: + speakeasy-default-ontology-management-service-upsert-ontology-owners: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {"owners": {"updatedAt": "2023-01-15T01:30:15.01Z"}} + default: + application/json: {"code": "not_found"} + OntologyManagementService_ValidateConfig: + speakeasy-default-ontology-management-service-validate-config: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + RBACService_SetRolePermissions: + speakeasy-default-RBAC-service-set-role-permissions: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + SandboxCapabilityService_ExecuteWrite: + speakeasy-default-sandbox-capability-service-execute-write: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + SandboxCapabilityService_PutAsset: + speakeasy-default-sandbox-capability-service-put-asset: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + SandboxCapabilityService_SendNotify: + speakeasy-default-sandbox-capability-service-send-notify: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} + SandboxCapabilityService_StateOp: + speakeasy-default-sandbox-capability-service-state-op: + parameters: + header: + Connect-Protocol-Version: 1 + requestBody: + application/json: {} + responses: + "200": + application/json: {} + default: + application/json: {"code": "not_found"} examplesVersion: 1.0.2 +releaseNotes: "## Python SDK Changes:\n* `textql.apps.create_app()`: \n * `request` **Changed**\n * `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.duplicate()`: `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.get()`: `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.get_app_version()`: `response.version` **Changed** (Breaking ⚠️)\n* `textql.apps.list_versions()`: `response.versions[]` **Changed** (Breaking ⚠️)\n* `textql.rbac.rotate_api_key()`: `response` **Changed** (Breaking ⚠️)\n* `textql.playbooks.update()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response.playbook` **Changed** (Breaking ⚠️)\n* `textql.playbooks.get()`: `response.playbooks[]` **Changed** (Breaking ⚠️)\n* `textql.playbooks.fetch()`: `response.playbook` **Changed** (Breaking ⚠️)\n* `textql.playbooks.duplicate()`: `response.playbook` **Changed** (Breaking ⚠️)\n* `textql.playbooks.create_playbook()`: `response.playbook` **Changed** (Breaking ⚠️)\n* `textql.observability.get_thread_warnings()`: `response.warnings_by_chat.Map.warnings[].fix_patch_cell` **Changed** (Breaking ⚠️)\n* `textql.observability.get_check_record_fix()`: `response.fix_patch_cell` **Changed** (Breaking ⚠️)\n* `textql.chats.update()`: \n * `request.max_thinking` **Added**\n * `response.chat` **Changed** (Breaking ⚠️)\n* `textql.chats.run()`: \n * `request.max_thinking` **Added**\n * `response.cells[]` **Changed** (Breaking ⚠️)\n* `textql.chats.query_one_shot()`: \n * `request.paradigm` **Changed** (Breaking ⚠️)\n * `response.cells[]` **Changed** (Breaking ⚠️)\n* `textql.chats.poll_events()`: `response.events[].union(cell).cell` **Changed** (Breaking ⚠️)\n* `textql.chats.get_playbook_chats()`: `response.chats[]` **Changed** (Breaking ⚠️)\n* `textql.chats.get_all()`: \n * `request.connector_ids` **Added**\n * `response.chats[]` **Changed** (Breaking ⚠️)\n* `textql.chats.get_history()`: `response.cells[]` **Changed** (Breaking ⚠️)\n* `textql.chats.get()`: `response.chat` **Changed** (Breaking ⚠️)\n* `textql.chats.duplicate_chat()`: `response.chat` **Changed** (Breaking ⚠️)\n* `textql.chats.create_chat()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response.chat` **Changed** (Breaking ⚠️)\n* `textql.chats.check_streamlit_health()`: `response.cell` **Changed** (Breaking ⚠️)\n* `textql.chats.attach_dataset()`: `response.cell` **Changed** (Breaking ⚠️)\n* `textql.chats.attach_dashboard()`: `response.cell` **Changed** (Breaking ⚠️)\n* `textql.chats.attach_app()`: `response` **Changed** (Breaking ⚠️)\n* `textql.chats.attach_agent()`: `response.chat` **Changed** (Breaking ⚠️)\n* `textql.apps.update()`: \n * `request` **Changed** (Breaking ⚠️)\n * `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.restore_app_version()`: `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.refresh()`: `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.move_app_to_folder()`: `response.app` **Changed** (Breaking ⚠️)\n* `textql.apps.list()`: `response.apps[]` **Changed** (Breaking ⚠️)\n* `textql.libraries.get_history_file_diff()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_library_submodules()`: **Removed** (Breaking ⚠️)\n* `textql.ontology_management_service.ontology_management_service_get_ontology_owners()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_ontology_remote()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_ontology_size_timeline()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_ontology_sync_conflicts()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_ontology_usage_summary()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_patch_by_number()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_patch_capabilities()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_raw_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_usage_details_for_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_approval_rules()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_chats_for_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_context_patch_auto_approve_rules()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_golden_files()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_ontology_entries()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_ontology_history()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_ontology_imports()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_ontology_submodules()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_ontology_sync_runs()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_patch_reviewers()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_patches()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_list_skills()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_plan_ontology_merge()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_preview_ontology_pull_from_remote()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_pull_ontology_from_remote()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_push_ontology_to_remote()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_recover_ontology()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_remove_ontology_remote()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_remove_ontology_submodule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_rename_ontology_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_request_patch_review()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_resolve_ontology_sync_conflict()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_restore_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_revert_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_save_all_objects_as_config()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_save_object_as_config()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_set_ontology_file_golden()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_trigger_config_drift_reconcile()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_update_approval_rule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_update_context_patch_auto_approve_rule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_update_ontology_sync_config()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_upsert_ontology_ana_config()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_upsert_ontology_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_upsert_ontology_owners()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_validate_config()`: **Added**\n* `textql.rbac_service.rbac_service_set_role_permissions()`: **Added**\n* `textql.sandbox_capability_service.sandbox_capability_service_execute_write()`: **Added**\n* `textql.sandbox_capability_service.sandbox_capability_service_put_asset()`: **Added**\n* `textql.sandbox_capability_service.sandbox_capability_service_send_notify()`: **Added**\n* `textql.sandbox_capability_service.sandbox_capability_service_state_op()`: **Added**\n* `textql.libraries.add_submodule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.approve_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.configure_library_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.create_approval_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.create_context_patch_auto_approve_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.create_library_directory()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.create_file_upload_url()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.delete_approval_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.delete_context_patch_auto_approve_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.delete_library_directory()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.delete_library_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.delete_owners()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.deny_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.exchange_github_code()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.finalize_file_upload()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_codeowner_coverage()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_config_export_capabilities()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_effective_owners()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_file_usage()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_file_usage_timeline()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_ana_config()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_library_github_o_auth_url()`: **Removed** (Breaking ⚠️)\n* `textql.ontology_management_service.ontology_management_service_get_ontology_github_o_auth_url()`: **Added**\n* `textql.libraries.get_migration_status()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_library_owners()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_size_timeline()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_library_sync_conflicts()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_ontology_usage_summary()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_patch_by_number()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_patch_capabilities()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_raw_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.get_usage_details_for_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_approval_rules()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_chats_for_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_context_patch_auto_approve_rules()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_library_entries()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_library_history()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_imports()`: **Removed** (Breaking ⚠️)\n* `textql.ontology_management_service.ontology_management_service_get_ontology_history_file_diff()`: **Added**\n* `textql.libraries.list_library_sync_runs()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_patch_reviewers()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_patches()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.list_skills()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.migrate_legacy_context()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.migrate_ontology()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.plan_merge()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.preview_library_pull_from_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.pull_from_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.push_library_to_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.recover()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.remove_remote()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.remove_library_submodule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.rename_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.request_patch_review()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.resolve_sync_conflict()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.restore_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.revert_patch()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.save_all_objects_as_config()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.save_as_config()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.trigger_config_drift_reconcile()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.update_approval_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.update_context_patch_auto_approve_rule()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.update_library_sync_config()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.upsert_ana_config()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.upsert_library_file()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.upsert_owners()`: **Removed** (Breaking ⚠️)\n* `textql.libraries.validate_config()`: **Removed** (Breaking ⚠️)\n* `textql.library_service.library_service_list_golden_files()`: **Removed** (Breaking ⚠️)\n* `textql.library_service.library_service_set_library_file_golden()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.create_api_revision()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.delete_api_access_key()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.delete_api_revision()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.get_api_access_key()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.list_api_access_keys()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.list_api_providers()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.migrate_secret_to_api_connector()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.test_api_access_key()`: **Removed** (Breaking ⚠️)\n* `textql.secrets.upsert_api_access_key()`: **Removed** (Breaking ⚠️)\n* `textql.ontology_management_service.ontology_management_service_get_ontology_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_ontology_ana_config()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_file_usage_timeline()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_file_usage()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_effective_ontology_owners()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_config_export_capabilities()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_get_codeowner_coverage()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_finalize_ontology_file_upload()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_exchange_ontology_github_code()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_deny_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_delete_ontology_owners()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_delete_ontology_file()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_delete_ontology_directory()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_delete_context_patch_auto_approve_rule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_delete_approval_rule()`: **Added**\n* `textql.agents.create()`: \n * `request.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n * `response.agent.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n* `textql.agents.duplicate()`: `response.agent.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n* `textql.agents.get_agent()`: `response.agent.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n* `textql.agents.list()`: `response.agents[].paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n* `textql.agents.update()`: \n * `request.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n * `response.agent.paradigm_options.union(universal).universal.api_access_key_ids` **Added**\n* `textql.chats.get_llm_usage()`: `response` **Changed**\n* `textql.ontology_management_service.ontology_management_service_create_ontology_file_upload_url()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_create_ontology_directory()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_create_context_patch_auto_approve_rule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_create_approval_rule()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_configure_ontology_remote()`: **Added**\n* `textql.dashboards.check_health()`: `response.dashboards[].data_sources[]` **Changed**\n* `textql.dashboards.create_dashboard()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.discard_changes()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.duplicate()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.get()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.get_version()`: `response.version.data_sources[]` **Changed**\n* `textql.dashboards.list_versions()`: `response.versions[].data_sources[]` **Changed**\n* `textql.dashboards.list()`: `response.dashboards[].data_sources[]` **Changed**\n* `textql.dashboards.move_to_folder()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.publish()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.restore_dashboard_version()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.update_dashboard()`: \n * `request.data_sources.sources[]` **Changed**\n * `response.dashboard.data_sources[]` **Changed**\n* `textql.dashboards.update_dashboard_schedule()`: \n * `request.data_sources[]` **Changed**\n * `response.dashboard.data_sources[]` **Changed**\n* `textql.observability.get_billing_stats()`: `response.acu_rate_per1000usd` **Added**\n* `textql.ontology_management_service.ontology_management_service_approve_patch()`: **Added**\n* `textql.ontology_management_service.ontology_management_service_add_ontology_submodule()`: **Added**\n* `textql.playbooks.attach_dashboard()`: `response.dashboard.data_sources[]` **Changed**\n* `textql.app_service.app_service_set_app_member_state()`: **Added**\n* `textql.app_service.app_service_record_app_member_activity()`: **Added**\n* `textql.app_service.app_service_presence_heartbeat()`: **Added**\n* `textql.app_service.app_service_list_my_app_member_activity()`: **Added**\n* `textql.app_service.app_service_list_app_activity_since()`: **Added**\n* `textql.rbac.create_api_key()`: `response.api_key_secret` **Added**\n* `textql.app_service.app_service_get_app_member_state()`: **Added**\n* `textql.sandbox_admin.list_sandbox_spend()`: `response.acu_rate_per1000usd` **Added**\n* `textql.sandbox.execute_query()`: \n * `request.body.union(app_db)` **Added**\n" diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index b0f5734..02efb18 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -34,7 +34,7 @@ generation: generateNewTests: true skipResponseBodyAssertions: false python: - version: 1.0.0 + version: 1.0.1 additionalDependencies: dev: {} main: {} diff --git a/.speakeasy/out.openapi.yaml b/.speakeasy/out.openapi.yaml index 50f7aa9..389b83a 100644 --- a/.speakeasy/out.openapi.yaml +++ b/.speakeasy/out.openapi.yaml @@ -419,11 +419,8 @@ paths: post: tags: - AppService - summary: 'Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard''s viewer TTL). No-op when the app has no warm worker; never spawns one.' - description: |- - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its - billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op - when the app has no warm worker; never spawns one. + summary: Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). + description: Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). operationId: AppService_AppHeartbeat parameters: - name: Connect-Protocol-Version @@ -608,6 +605,44 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.GetAppResponse' x-speakeasy-group: apps x-speakeasy-name-override: get + /textql.rpc.public.app.AppService/GetAppMemberState: + post: + tags: + - AppService + summary: 'Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL.' + description: |- + Staff-only (superadmin gated in-handler): publishes the embedded component + gallery as an app tree and returns its signed viewer URL. + operationId: AppService_GetAppMemberState + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.GetAppMemberStateRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.GetAppMemberStateResponse' /textql.rpc.public.app.AppService/GetAppVersion: post: tags: @@ -758,6 +793,41 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.InvokeAppComputeFunctionResponse' x-speakeasy-group: apps x-speakeasy-name-override: invokeComputeFunction + /textql.rpc.public.app.AppService/ListAppActivitySince: + post: + tags: + - AppService + summary: ListAppActivitySince + operationId: AppService_ListAppActivitySince + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.ListAppActivitySinceRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.ListAppActivitySinceResponse' /textql.rpc.public.app.AppService/ListAppVersions: post: tags: @@ -833,6 +903,44 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.ListAppsResponse' x-speakeasy-group: apps x-speakeasy-name-override: list + /textql.rpc.public.app.AppService/ListMyAppMemberActivity: + post: + tags: + - AppService + summary: Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. + description: |- + Append-only per-member activity log. Listing is own rows only; no + cross-member reads in this release. + operationId: AppService_ListMyAppMemberActivity + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.ListMyAppMemberActivityRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.ListMyAppMemberActivityResponse' /textql.rpc.public.app.AppService/MoveAppToFolder: post: tags: @@ -871,6 +979,79 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.MoveAppToFolderResponse' x-speakeasy-group: apps x-speakeasy-name-override: moveAppToFolder + /textql.rpc.public.app.AppService/PresenceHeartbeat: + post: + tags: + - AppService + summary: Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + description: |- + Server stream of live activity batches + presence snapshots, driven by + Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + operationId: AppService_PresenceHeartbeat + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.PresenceHeartbeatRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/google.protobuf.Empty' + /textql.rpc.public.app.AppService/RecordAppMemberActivity: + post: + tags: + - AppService + summary: RecordAppMemberActivity + operationId: AppService_RecordAppMemberActivity + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.RecordAppMemberActivityRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.RecordAppMemberActivityResponse' /textql.rpc.public.app.AppService/RefreshApp: post: tags: @@ -946,6 +1127,45 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.RestoreAppVersionResponse' x-speakeasy-group: apps x-speakeasy-name-override: restoreAppVersion + /textql.rpc.public.app.AppService/SetAppMemberState: + post: + tags: + - AppService + summary: 'Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state.' + description: |- + Per-member app state: one JSON blob per (app, member) so apps remember + settings/progress. Member always resolved server-side from auth context; + per-member persistence, so viewers with read access can save their own state. + operationId: AppService_SetAppMemberState + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.SetAppMemberStateRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.app.SetAppMemberStateResponse' /textql.rpc.public.app.AppService/SetFavorite: post: tags: @@ -987,6 +1207,7 @@ paths: $ref: '#/components/schemas/textql.rpc.public.app.SetFavoriteResponse' x-speakeasy-group: apps x-speakeasy-name-override: setFavorite + /textql.rpc.public.app.AppService/StreamAppActivity: {} /textql.rpc.public.app.AppService/UpdateApp: post: tags: @@ -6423,12 +6644,12 @@ paths: $ref: '#/components/schemas/textql.rpc.public.observe.CustomTopicResponse' x-speakeasy-group: observability x-speakeasy-name-override: updateCustomTopic - /textql.rpc.public.patches.LibraryService/AddLibrarySubmodule: + /textql.rpc.public.patches.OntologyManagementService/AddOntologySubmodule: post: tags: - - LibraryService - summary: AddLibrarySubmodule - operationId: LibraryService_AddLibrarySubmodule + - OntologyManagementService + summary: AddOntologySubmodule + operationId: OntologyManagementService_AddOntologySubmodule parameters: - name: Connect-Protocol-Version in: header @@ -6443,7 +6664,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.AddLibrarySubmoduleRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.AddOntologySubmoduleRequest' required: true responses: default: @@ -6457,15 +6678,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.AddLibrarySubmoduleResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: addSubmodule - /textql.rpc.public.patches.LibraryService/ApprovePatch: + $ref: '#/components/schemas/textql.rpc.public.patches.AddOntologySubmoduleResponse' + /textql.rpc.public.patches.OntologyManagementService/ApprovePatch: post: tags: - - LibraryService + - OntologyManagementService summary: ApprovePatch - operationId: LibraryService_ApprovePatch + operationId: OntologyManagementService_ApprovePatch parameters: - name: Connect-Protocol-Version in: header @@ -6495,14 +6714,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ApprovePatchResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: approvePatch - /textql.rpc.public.patches.LibraryService/ConfigureLibraryRemote: + /textql.rpc.public.patches.OntologyManagementService/ConfigureOntologyRemote: post: tags: - - LibraryService - summary: ConfigureLibraryRemote - operationId: LibraryService_ConfigureLibraryRemote + - OntologyManagementService + summary: ConfigureOntologyRemote + operationId: OntologyManagementService_ConfigureOntologyRemote parameters: - name: Connect-Protocol-Version in: header @@ -6517,7 +6734,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureLibraryRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureOntologyRemoteRequest' required: true responses: default: @@ -6531,15 +6748,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureLibraryRemoteResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: configureLibraryRemote - /textql.rpc.public.patches.LibraryService/CreateApprovalRule: + $ref: '#/components/schemas/textql.rpc.public.patches.ConfigureOntologyRemoteResponse' + /textql.rpc.public.patches.OntologyManagementService/CreateApprovalRule: post: tags: - - LibraryService + - OntologyManagementService summary: CreateApprovalRule - operationId: LibraryService_CreateApprovalRule + operationId: OntologyManagementService_CreateApprovalRule parameters: - name: Connect-Protocol-Version in: header @@ -6569,14 +6784,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateApprovalRuleResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: createApprovalRule - /textql.rpc.public.patches.LibraryService/CreateContextPatchAutoApproveRule: + /textql.rpc.public.patches.OntologyManagementService/CreateContextPatchAutoApproveRule: post: tags: - - LibraryService + - OntologyManagementService summary: CreateContextPatchAutoApproveRule - operationId: LibraryService_CreateContextPatchAutoApproveRule + operationId: OntologyManagementService_CreateContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header @@ -6606,14 +6819,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.CreateContextPatchAutoApproveRuleResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: createContextPatchAutoApproveRule - /textql.rpc.public.patches.LibraryService/CreateLibraryDirectory: + /textql.rpc.public.patches.OntologyManagementService/CreateOntologyDirectory: post: tags: - - LibraryService - summary: CreateLibraryDirectory - operationId: LibraryService_CreateLibraryDirectory + - OntologyManagementService + summary: CreateOntologyDirectory + operationId: OntologyManagementService_CreateOntologyDirectory parameters: - name: Connect-Protocol-Version in: header @@ -6628,7 +6839,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.CreateLibraryDirectoryRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyDirectoryRequest' required: true responses: default: @@ -6642,15 +6853,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.CreateLibraryDirectoryResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: createLibraryDirectory - /textql.rpc.public.patches.LibraryService/CreateLibraryFileUploadUrl: + $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyDirectoryResponse' + /textql.rpc.public.patches.OntologyManagementService/CreateOntologyFileUploadUrl: post: tags: - - LibraryService - summary: CreateLibraryFileUploadUrl - operationId: LibraryService_CreateLibraryFileUploadUrl + - OntologyManagementService + summary: CreateOntologyFileUploadUrl + operationId: OntologyManagementService_CreateOntologyFileUploadUrl parameters: - name: Connect-Protocol-Version in: header @@ -6665,7 +6874,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.CreateLibraryFileUploadUrlRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyFileUploadUrlRequest' required: true responses: default: @@ -6679,15 +6888,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.CreateLibraryFileUploadUrlResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: createFileUploadUrl - /textql.rpc.public.patches.LibraryService/DeleteApprovalRule: + $ref: '#/components/schemas/textql.rpc.public.patches.CreateOntologyFileUploadUrlResponse' + /textql.rpc.public.patches.OntologyManagementService/DeleteApprovalRule: post: tags: - - LibraryService + - OntologyManagementService summary: DeleteApprovalRule - operationId: LibraryService_DeleteApprovalRule + operationId: OntologyManagementService_DeleteApprovalRule parameters: - name: Connect-Protocol-Version in: header @@ -6717,14 +6924,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: deleteApprovalRule - /textql.rpc.public.patches.LibraryService/DeleteContextPatchAutoApproveRule: + /textql.rpc.public.patches.OntologyManagementService/DeleteContextPatchAutoApproveRule: post: tags: - - LibraryService + - OntologyManagementService summary: DeleteContextPatchAutoApproveRule - operationId: LibraryService_DeleteContextPatchAutoApproveRule + operationId: OntologyManagementService_DeleteContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header @@ -6754,14 +6959,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: deleteContextPatchAutoApproveRule - /textql.rpc.public.patches.LibraryService/DeleteLibraryDirectory: + /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyDirectory: post: tags: - - LibraryService - summary: DeleteLibraryDirectory - operationId: LibraryService_DeleteLibraryDirectory + - OntologyManagementService + summary: DeleteOntologyDirectory + operationId: OntologyManagementService_DeleteOntologyDirectory parameters: - name: Connect-Protocol-Version in: header @@ -6776,7 +6979,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.DeleteLibraryDirectoryRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.DeleteOntologyDirectoryRequest' required: true responses: default: @@ -6791,14 +6994,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: deleteLibraryDirectory - /textql.rpc.public.patches.LibraryService/DeleteLibraryFile: + /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyFile: post: tags: - - LibraryService - summary: DeleteLibraryFile - operationId: LibraryService_DeleteLibraryFile + - OntologyManagementService + summary: DeleteOntologyFile + operationId: OntologyManagementService_DeleteOntologyFile parameters: - name: Connect-Protocol-Version in: header @@ -6813,7 +7014,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.DeleteLibraryFileRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.DeleteOntologyFileRequest' required: true responses: default: @@ -6828,14 +7029,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: deleteLibraryFile - /textql.rpc.public.patches.LibraryService/DeleteLibraryOwners: + /textql.rpc.public.patches.OntologyManagementService/DeleteOntologyOwners: post: tags: - - LibraryService - summary: DeleteLibraryOwners - operationId: LibraryService_DeleteLibraryOwners + - OntologyManagementService + summary: DeleteOntologyOwners + operationId: OntologyManagementService_DeleteOntologyOwners parameters: - name: Connect-Protocol-Version in: header @@ -6850,7 +7049,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.DeleteLibraryOwnersRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.DeleteOntologyOwnersRequest' required: true responses: default: @@ -6865,14 +7064,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: deleteOwners - /textql.rpc.public.patches.LibraryService/DenyPatch: + /textql.rpc.public.patches.OntologyManagementService/DenyPatch: post: tags: - - LibraryService + - OntologyManagementService summary: DenyPatch - operationId: LibraryService_DenyPatch + operationId: OntologyManagementService_DenyPatch parameters: - name: Connect-Protocol-Version in: header @@ -6902,14 +7099,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: denyPatch - /textql.rpc.public.patches.LibraryService/ExchangeLibraryGithubCode: + /textql.rpc.public.patches.OntologyManagementService/ExchangeOntologyGithubCode: post: tags: - - LibraryService - summary: ExchangeLibraryGithubCode - operationId: LibraryService_ExchangeLibraryGithubCode + - OntologyManagementService + summary: ExchangeOntologyGithubCode + operationId: OntologyManagementService_ExchangeOntologyGithubCode parameters: - name: Connect-Protocol-Version in: header @@ -6924,7 +7119,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeLibraryGithubCodeRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeOntologyGithubCodeRequest' required: true responses: default: @@ -6938,15 +7133,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeLibraryGithubCodeResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: exchangeGithubCode - /textql.rpc.public.patches.LibraryService/FinalizeLibraryFileUpload: + $ref: '#/components/schemas/textql.rpc.public.patches.ExchangeOntologyGithubCodeResponse' + /textql.rpc.public.patches.OntologyManagementService/FinalizeOntologyFileUpload: post: tags: - - LibraryService - summary: FinalizeLibraryFileUpload - operationId: LibraryService_FinalizeLibraryFileUpload + - OntologyManagementService + summary: FinalizeOntologyFileUpload + operationId: OntologyManagementService_FinalizeOntologyFileUpload parameters: - name: Connect-Protocol-Version in: header @@ -6961,7 +7154,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeLibraryFileUploadRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeOntologyFileUploadRequest' required: true responses: default: @@ -6975,15 +7168,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeLibraryFileUploadResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: finalizeFileUpload - /textql.rpc.public.patches.LibraryService/GetCodeownerCoverage: + $ref: '#/components/schemas/textql.rpc.public.patches.FinalizeOntologyFileUploadResponse' + /textql.rpc.public.patches.OntologyManagementService/GetCodeownerCoverage: post: tags: - - LibraryService + - OntologyManagementService summary: GetCodeownerCoverage - operationId: LibraryService_GetCodeownerCoverage + operationId: OntologyManagementService_GetCodeownerCoverage parameters: - name: Connect-Protocol-Version in: header @@ -7013,14 +7204,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetCodeownerCoverageResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getCodeownerCoverage - /textql.rpc.public.patches.LibraryService/GetConfigExportCapabilities: + /textql.rpc.public.patches.OntologyManagementService/GetConfigExportCapabilities: post: tags: - - LibraryService + - OntologyManagementService summary: GetConfigExportCapabilities - operationId: LibraryService_GetConfigExportCapabilities + operationId: OntologyManagementService_GetConfigExportCapabilities parameters: - name: Connect-Protocol-Version in: header @@ -7050,14 +7239,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetConfigExportCapabilitiesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getConfigExportCapabilities - /textql.rpc.public.patches.LibraryService/GetEffectiveLibraryOwners: + /textql.rpc.public.patches.OntologyManagementService/GetEffectiveOntologyOwners: post: tags: - - LibraryService - summary: GetEffectiveLibraryOwners - operationId: LibraryService_GetEffectiveLibraryOwners + - OntologyManagementService + summary: GetEffectiveOntologyOwners + operationId: OntologyManagementService_GetEffectiveOntologyOwners parameters: - name: Connect-Protocol-Version in: header @@ -7072,7 +7259,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveLibraryOwnersRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveOntologyOwnersRequest' required: true responses: default: @@ -7086,15 +7273,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveLibraryOwnersResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getEffectiveOwners - /textql.rpc.public.patches.LibraryService/GetFileUsage: + $ref: '#/components/schemas/textql.rpc.public.patches.GetEffectiveOntologyOwnersResponse' + /textql.rpc.public.patches.OntologyManagementService/GetFileUsage: post: tags: - - LibraryService + - OntologyManagementService summary: GetFileUsage - operationId: LibraryService_GetFileUsage + operationId: OntologyManagementService_GetFileUsage parameters: - name: Connect-Protocol-Version in: header @@ -7124,14 +7309,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getFileUsage - /textql.rpc.public.patches.LibraryService/GetFileUsageTimeline: + /textql.rpc.public.patches.OntologyManagementService/GetFileUsageTimeline: post: tags: - - LibraryService + - OntologyManagementService summary: GetFileUsageTimeline - operationId: LibraryService_GetFileUsageTimeline + operationId: OntologyManagementService_GetFileUsageTimeline parameters: - name: Connect-Protocol-Version in: header @@ -7161,51 +7344,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetFileUsageTimelineResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getFileUsageTimeline - /textql.rpc.public.patches.LibraryService/GetLibraryAnaConfig: - post: - tags: - - LibraryService - summary: GetLibraryAnaConfig - operationId: LibraryService_GetLibraryAnaConfig - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryAnaConfigRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryAnaConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getAnaConfig - /textql.rpc.public.patches.LibraryService/GetLibraryFile: + /textql.rpc.public.patches.OntologyManagementService/GetOntologyAnaConfig: post: tags: - - LibraryService - summary: GetLibraryFile - operationId: LibraryService_GetLibraryFile + - OntologyManagementService + summary: GetOntologyAnaConfig + operationId: OntologyManagementService_GetOntologyAnaConfig parameters: - name: Connect-Protocol-Version in: header @@ -7220,7 +7364,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryFileRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyAnaConfigRequest' required: true responses: default: @@ -7234,15 +7378,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryFileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getFile - /textql.rpc.public.patches.LibraryService/GetLibraryGithubOAuthURL: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyAnaConfigResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyFile: post: tags: - - LibraryService - summary: GetLibraryGithubOAuthURL - operationId: LibraryService_GetLibraryGithubOAuthURL + - OntologyManagementService + summary: GetOntologyFile + operationId: OntologyManagementService_GetOntologyFile parameters: - name: Connect-Protocol-Version in: header @@ -7257,7 +7399,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryGithubOAuthURLRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyFileRequest' required: true responses: default: @@ -7271,15 +7413,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryGithubOAuthURLResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getLibraryGithubOAuthURL - /textql.rpc.public.patches.LibraryService/GetLibraryHistoryFileDiff: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyFileResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyGithubOAuthURL: post: tags: - - LibraryService - summary: GetLibraryHistoryFileDiff - operationId: LibraryService_GetLibraryHistoryFileDiff + - OntologyManagementService + summary: GetOntologyGithubOAuthURL + operationId: OntologyManagementService_GetOntologyGithubOAuthURL parameters: - name: Connect-Protocol-Version in: header @@ -7294,7 +7434,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryHistoryFileDiffRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyGithubOAuthURLRequest' required: true responses: default: @@ -7308,15 +7448,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryHistoryFileDiffResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getHistoryFileDiff - /textql.rpc.public.patches.LibraryService/GetLibraryMigrationStatus: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyGithubOAuthURLResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyHistoryFileDiff: post: tags: - - LibraryService - summary: GetLibraryMigrationStatus - operationId: LibraryService_GetLibraryMigrationStatus + - OntologyManagementService + summary: GetOntologyHistoryFileDiff + operationId: OntologyManagementService_GetOntologyHistoryFileDiff parameters: - name: Connect-Protocol-Version in: header @@ -7331,7 +7469,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryMigrationStatusRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyHistoryFileDiffRequest' required: true responses: default: @@ -7345,15 +7483,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryMigrationStatusResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getMigrationStatus - /textql.rpc.public.patches.LibraryService/GetLibraryOwners: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyHistoryFileDiffResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyOwners: post: tags: - - LibraryService - summary: GetLibraryOwners - operationId: LibraryService_GetLibraryOwners + - OntologyManagementService + summary: GetOntologyOwners + operationId: OntologyManagementService_GetOntologyOwners parameters: - name: Connect-Protocol-Version in: header @@ -7368,7 +7504,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryOwnersRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyOwnersRequest' required: true responses: default: @@ -7382,15 +7518,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryOwnersResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getLibraryOwners - /textql.rpc.public.patches.LibraryService/GetLibraryRemote: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyOwnersResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyRemote: post: tags: - - LibraryService - summary: GetLibraryRemote - operationId: LibraryService_GetLibraryRemote + - OntologyManagementService + summary: GetOntologyRemote + operationId: OntologyManagementService_GetOntologyRemote parameters: - name: Connect-Protocol-Version in: header @@ -7405,7 +7539,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyRemoteRequest' required: true responses: default: @@ -7419,15 +7553,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibraryRemoteResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getRemote - /textql.rpc.public.patches.LibraryService/GetLibrarySizeTimeline: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyRemoteResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologySizeTimeline: post: tags: - - LibraryService - summary: GetLibrarySizeTimeline - operationId: LibraryService_GetLibrarySizeTimeline + - OntologyManagementService + summary: GetOntologySizeTimeline + operationId: OntologyManagementService_GetOntologySizeTimeline parameters: - name: Connect-Protocol-Version in: header @@ -7442,7 +7574,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibrarySizeTimelineRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySizeTimelineRequest' required: true responses: default: @@ -7456,15 +7588,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibrarySizeTimelineResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getSizeTimeline - /textql.rpc.public.patches.LibraryService/GetLibrarySyncConflicts: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySizeTimelineResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologySyncConflicts: post: tags: - - LibraryService - summary: GetLibrarySyncConflicts - operationId: LibraryService_GetLibrarySyncConflicts + - OntologyManagementService + summary: GetOntologySyncConflicts + operationId: OntologyManagementService_GetOntologySyncConflicts parameters: - name: Connect-Protocol-Version in: header @@ -7479,7 +7609,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibrarySyncConflictsRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySyncConflictsRequest' required: true responses: default: @@ -7493,15 +7623,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.GetLibrarySyncConflictsResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getLibrarySyncConflicts - /textql.rpc.public.patches.LibraryService/GetOntologyUsageSummary: + $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologySyncConflictsResponse' + /textql.rpc.public.patches.OntologyManagementService/GetOntologyUsageSummary: post: tags: - - LibraryService + - OntologyManagementService summary: GetOntologyUsageSummary - operationId: LibraryService_GetOntologyUsageSummary + operationId: OntologyManagementService_GetOntologyUsageSummary parameters: - name: Connect-Protocol-Version in: header @@ -7531,14 +7659,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetOntologyUsageSummaryResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getOntologyUsageSummary - /textql.rpc.public.patches.LibraryService/GetPatch: + /textql.rpc.public.patches.OntologyManagementService/GetPatch: post: tags: - - LibraryService + - OntologyManagementService summary: GetPatch - operationId: LibraryService_GetPatch + operationId: OntologyManagementService_GetPatch parameters: - name: Connect-Protocol-Version in: header @@ -7568,14 +7694,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.Patch' - x-speakeasy-group: libraries - x-speakeasy-name-override: getPatch - /textql.rpc.public.patches.LibraryService/GetPatchByNumber: + /textql.rpc.public.patches.OntologyManagementService/GetPatchByNumber: post: tags: - - LibraryService + - OntologyManagementService summary: GetPatchByNumber - operationId: LibraryService_GetPatchByNumber + operationId: OntologyManagementService_GetPatchByNumber parameters: - name: Connect-Protocol-Version in: header @@ -7605,14 +7729,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.Patch' - x-speakeasy-group: libraries - x-speakeasy-name-override: getPatchByNumber - /textql.rpc.public.patches.LibraryService/GetPatchCapabilities: + /textql.rpc.public.patches.OntologyManagementService/GetPatchCapabilities: post: tags: - - LibraryService + - OntologyManagementService summary: GetPatchCapabilities - operationId: LibraryService_GetPatchCapabilities + operationId: OntologyManagementService_GetPatchCapabilities parameters: - name: Connect-Protocol-Version in: header @@ -7642,14 +7764,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetPatchCapabilitiesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getPatchCapabilities - /textql.rpc.public.patches.LibraryService/GetRawPatch: + /textql.rpc.public.patches.OntologyManagementService/GetRawPatch: post: tags: - - LibraryService + - OntologyManagementService summary: GetRawPatch - operationId: LibraryService_GetRawPatch + operationId: OntologyManagementService_GetRawPatch parameters: - name: Connect-Protocol-Version in: header @@ -7679,14 +7799,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetRawPatchResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getRawPatch - /textql.rpc.public.patches.LibraryService/GetUsageDetailsForFile: + /textql.rpc.public.patches.OntologyManagementService/GetUsageDetailsForFile: post: tags: - - LibraryService + - OntologyManagementService summary: GetUsageDetailsForFile - operationId: LibraryService_GetUsageDetailsForFile + operationId: OntologyManagementService_GetUsageDetailsForFile parameters: - name: Connect-Protocol-Version in: header @@ -7716,14 +7834,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.GetUsageDetailsForFileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: getUsageDetailsForFile - /textql.rpc.public.patches.LibraryService/ListApprovalRules: + /textql.rpc.public.patches.OntologyManagementService/ListApprovalRules: post: tags: - - LibraryService + - OntologyManagementService summary: ListApprovalRules - operationId: LibraryService_ListApprovalRules + operationId: OntologyManagementService_ListApprovalRules parameters: - name: Connect-Protocol-Version in: header @@ -7753,14 +7869,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListApprovalRulesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listApprovalRules - /textql.rpc.public.patches.LibraryService/ListChatsForFile: + /textql.rpc.public.patches.OntologyManagementService/ListChatsForFile: post: tags: - - LibraryService + - OntologyManagementService summary: ListChatsForFile - operationId: LibraryService_ListChatsForFile + operationId: OntologyManagementService_ListChatsForFile parameters: - name: Connect-Protocol-Version in: header @@ -7790,14 +7904,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListChatsForFileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listChatsForFile - /textql.rpc.public.patches.LibraryService/ListContextPatchAutoApproveRules: + /textql.rpc.public.patches.OntologyManagementService/ListContextPatchAutoApproveRules: post: tags: - - LibraryService + - OntologyManagementService summary: ListContextPatchAutoApproveRules - operationId: LibraryService_ListContextPatchAutoApproveRules + operationId: OntologyManagementService_ListContextPatchAutoApproveRules parameters: - name: Connect-Protocol-Version in: header @@ -7827,14 +7939,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListContextPatchAutoApproveRulesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listContextPatchAutoApproveRules - /textql.rpc.public.patches.LibraryService/ListGoldenFiles: + /textql.rpc.public.patches.OntologyManagementService/ListGoldenFiles: post: tags: - - LibraryService + - OntologyManagementService summary: ListGoldenFiles - operationId: LibraryService_ListGoldenFiles + operationId: OntologyManagementService_ListGoldenFiles parameters: - name: Connect-Protocol-Version in: header @@ -7864,12 +7974,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListGoldenFilesResponse' - /textql.rpc.public.patches.LibraryService/ListLibraryEntries: + /textql.rpc.public.patches.OntologyManagementService/ListOntologyEntries: post: tags: - - LibraryService - summary: ListLibraryEntries - operationId: LibraryService_ListLibraryEntries + - OntologyManagementService + summary: ListOntologyEntries + operationId: OntologyManagementService_ListOntologyEntries parameters: - name: Connect-Protocol-Version in: header @@ -7884,7 +7994,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryEntriesRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyEntriesRequest' required: true responses: default: @@ -7898,15 +8008,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryEntriesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listLibraryEntries - /textql.rpc.public.patches.LibraryService/ListLibraryHistory: + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyEntriesResponse' + /textql.rpc.public.patches.OntologyManagementService/ListOntologyHistory: post: tags: - - LibraryService - summary: ListLibraryHistory - operationId: LibraryService_ListLibraryHistory + - OntologyManagementService + summary: ListOntologyHistory + operationId: OntologyManagementService_ListOntologyHistory parameters: - name: Connect-Protocol-Version in: header @@ -7921,7 +8029,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryHistoryRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyHistoryRequest' required: true responses: default: @@ -7935,15 +8043,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryHistoryResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listLibraryHistory - /textql.rpc.public.patches.LibraryService/ListLibraryImports: + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyHistoryResponse' + /textql.rpc.public.patches.OntologyManagementService/ListOntologyImports: post: tags: - - LibraryService - summary: ListLibraryImports - operationId: LibraryService_ListLibraryImports + - OntologyManagementService + summary: ListOntologyImports + operationId: OntologyManagementService_ListOntologyImports parameters: - name: Connect-Protocol-Version in: header @@ -7958,7 +8064,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryImportsRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyImportsRequest' required: true responses: default: @@ -7972,15 +8078,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibraryImportsResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listImports - /textql.rpc.public.patches.LibraryService/ListLibrarySubmodules: + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologyImportsResponse' + /textql.rpc.public.patches.OntologyManagementService/ListOntologySubmodules: post: tags: - - LibraryService - summary: ListLibrarySubmodules - operationId: LibraryService_ListLibrarySubmodules + - OntologyManagementService + summary: ListOntologySubmodules + operationId: OntologyManagementService_ListOntologySubmodules parameters: - name: Connect-Protocol-Version in: header @@ -7995,7 +8099,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibrarySubmodulesRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySubmodulesRequest' required: true responses: default: @@ -8009,15 +8113,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibrarySubmodulesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listLibrarySubmodules - /textql.rpc.public.patches.LibraryService/ListLibrarySyncRuns: + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySubmodulesResponse' + /textql.rpc.public.patches.OntologyManagementService/ListOntologySyncRuns: post: tags: - - LibraryService - summary: ListLibrarySyncRuns - operationId: LibraryService_ListLibrarySyncRuns + - OntologyManagementService + summary: ListOntologySyncRuns + operationId: OntologyManagementService_ListOntologySyncRuns parameters: - name: Connect-Protocol-Version in: header @@ -8032,7 +8134,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibrarySyncRunsRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySyncRunsRequest' required: true responses: default: @@ -8046,15 +8148,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ListLibrarySyncRunsResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listLibrarySyncRuns - /textql.rpc.public.patches.LibraryService/ListPatchReviewers: + $ref: '#/components/schemas/textql.rpc.public.patches.ListOntologySyncRunsResponse' + /textql.rpc.public.patches.OntologyManagementService/ListPatchReviewers: post: tags: - - LibraryService + - OntologyManagementService summary: ListPatchReviewers - operationId: LibraryService_ListPatchReviewers + operationId: OntologyManagementService_ListPatchReviewers parameters: - name: Connect-Protocol-Version in: header @@ -8084,14 +8184,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchReviewersResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listPatchReviewers - /textql.rpc.public.patches.LibraryService/ListPatches: + /textql.rpc.public.patches.OntologyManagementService/ListPatches: post: tags: - - LibraryService + - OntologyManagementService summary: ListPatches - operationId: LibraryService_ListPatches + operationId: OntologyManagementService_ListPatches parameters: - name: Connect-Protocol-Version in: header @@ -8121,18 +8219,16 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListPatchesResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listPatches - /textql.rpc.public.patches.LibraryService/ListSkills: + /textql.rpc.public.patches.OntologyManagementService/ListSkills: post: tags: - - LibraryService - summary: Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. + - OntologyManagementService + summary: Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. description: |- - Lists the skills under the library's flat skills/ root that the caller can + Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. - operationId: LibraryService_ListSkills + operationId: OntologyManagementService_ListSkills parameters: - name: Connect-Protocol-Version in: header @@ -8162,88 +8258,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ListSkillsResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: listSkills - /textql.rpc.public.patches.LibraryService/MigrateLegacyContextToLibrary: - post: - tags: - - LibraryService - summary: MigrateLegacyContextToLibrary - operationId: LibraryService_MigrateLegacyContextToLibrary - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.MigrateLegacyContextToLibraryRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.MigrateLegacyContextToLibraryResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: migrateLegacyContext - /textql.rpc.public.patches.LibraryService/MigrateOntologyToLibrary: - post: - tags: - - LibraryService - summary: MigrateOntologyToLibrary - operationId: LibraryService_MigrateOntologyToLibrary - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.MigrateOntologyToLibraryRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.patches.MigrateOntologyToLibraryResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: migrateOntology - /textql.rpc.public.patches.LibraryService/PlanLibraryMerge: + /textql.rpc.public.patches.OntologyManagementService/PlanOntologyMerge: post: tags: - - LibraryService - summary: PlanLibraryMerge - operationId: LibraryService_PlanLibraryMerge + - OntologyManagementService + summary: PlanOntologyMerge + operationId: OntologyManagementService_PlanOntologyMerge parameters: - name: Connect-Protocol-Version in: header @@ -8258,7 +8278,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PlanLibraryMergeRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.PlanOntologyMergeRequest' required: true responses: default: @@ -8272,15 +8292,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PlanLibraryMergeResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: planMerge - /textql.rpc.public.patches.LibraryService/PreviewLibraryPullFromRemote: + $ref: '#/components/schemas/textql.rpc.public.patches.PlanOntologyMergeResponse' + /textql.rpc.public.patches.OntologyManagementService/PreviewOntologyPullFromRemote: post: tags: - - LibraryService - summary: PreviewLibraryPullFromRemote - operationId: LibraryService_PreviewLibraryPullFromRemote + - OntologyManagementService + summary: PreviewOntologyPullFromRemote + operationId: OntologyManagementService_PreviewOntologyPullFromRemote parameters: - name: Connect-Protocol-Version in: header @@ -8295,7 +8313,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PreviewLibraryPullFromRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFromRemoteRequest' required: true responses: default: @@ -8309,15 +8327,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PreviewLibraryPullFromRemoteResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: previewLibraryPullFromRemote - /textql.rpc.public.patches.LibraryService/PullLibraryFromRemote: + $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFromRemoteResponse' + /textql.rpc.public.patches.OntologyManagementService/PullOntologyFromRemote: post: tags: - - LibraryService - summary: PullLibraryFromRemote - operationId: LibraryService_PullLibraryFromRemote + - OntologyManagementService + summary: PullOntologyFromRemote + operationId: OntologyManagementService_PullOntologyFromRemote parameters: - name: Connect-Protocol-Version in: header @@ -8332,7 +8348,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PullLibraryFromRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.PullOntologyFromRemoteRequest' required: true responses: default: @@ -8347,14 +8363,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: pullFromRemote - /textql.rpc.public.patches.LibraryService/PushLibraryToRemote: + /textql.rpc.public.patches.OntologyManagementService/PushOntologyToRemote: post: tags: - - LibraryService - summary: PushLibraryToRemote - operationId: LibraryService_PushLibraryToRemote + - OntologyManagementService + summary: PushOntologyToRemote + operationId: OntologyManagementService_PushOntologyToRemote parameters: - name: Connect-Protocol-Version in: header @@ -8369,7 +8383,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.PushLibraryToRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.PushOntologyToRemoteRequest' required: true responses: default: @@ -8384,14 +8398,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: pushLibraryToRemote - /textql.rpc.public.patches.LibraryService/RecoverLibrary: + /textql.rpc.public.patches.OntologyManagementService/RecoverOntology: post: tags: - - LibraryService - summary: RecoverLibrary - operationId: LibraryService_RecoverLibrary + - OntologyManagementService + summary: RecoverOntology + operationId: OntologyManagementService_RecoverOntology parameters: - name: Connect-Protocol-Version in: header @@ -8406,7 +8418,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.RecoverLibraryRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.RecoverOntologyRequest' required: true responses: default: @@ -8421,14 +8433,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: recover - /textql.rpc.public.patches.LibraryService/RemoveLibraryRemote: + /textql.rpc.public.patches.OntologyManagementService/RemoveOntologyRemote: post: tags: - - LibraryService - summary: RemoveLibraryRemote - operationId: LibraryService_RemoveLibraryRemote + - OntologyManagementService + summary: RemoveOntologyRemote + operationId: OntologyManagementService_RemoveOntologyRemote parameters: - name: Connect-Protocol-Version in: header @@ -8443,7 +8453,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.RemoveLibraryRemoteRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.RemoveOntologyRemoteRequest' required: true responses: default: @@ -8458,14 +8468,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: removeRemote - /textql.rpc.public.patches.LibraryService/RemoveLibrarySubmodule: + /textql.rpc.public.patches.OntologyManagementService/RemoveOntologySubmodule: post: tags: - - LibraryService - summary: RemoveLibrarySubmodule - operationId: LibraryService_RemoveLibrarySubmodule + - OntologyManagementService + summary: RemoveOntologySubmodule + operationId: OntologyManagementService_RemoveOntologySubmodule parameters: - name: Connect-Protocol-Version in: header @@ -8480,7 +8488,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.RemoveLibrarySubmoduleRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.RemoveOntologySubmoduleRequest' required: true responses: default: @@ -8495,14 +8503,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: removeLibrarySubmodule - /textql.rpc.public.patches.LibraryService/RenameLibraryFile: + /textql.rpc.public.patches.OntologyManagementService/RenameOntologyFile: post: tags: - - LibraryService - summary: RenameLibraryFile - operationId: LibraryService_RenameLibraryFile + - OntologyManagementService + summary: RenameOntologyFile + operationId: OntologyManagementService_RenameOntologyFile parameters: - name: Connect-Protocol-Version in: header @@ -8517,7 +8523,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.RenameLibraryFileRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.RenameOntologyFileRequest' required: true responses: default: @@ -8531,15 +8537,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.RenameLibraryFileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: renameFile - /textql.rpc.public.patches.LibraryService/RequestPatchReview: + $ref: '#/components/schemas/textql.rpc.public.patches.RenameOntologyFileResponse' + /textql.rpc.public.patches.OntologyManagementService/RequestPatchReview: post: tags: - - LibraryService + - OntologyManagementService summary: RequestPatchReview - operationId: LibraryService_RequestPatchReview + operationId: OntologyManagementService_RequestPatchReview parameters: - name: Connect-Protocol-Version in: header @@ -8569,14 +8573,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RequestPatchReviewResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: requestPatchReview - /textql.rpc.public.patches.LibraryService/ResolveLibrarySyncConflict: + /textql.rpc.public.patches.OntologyManagementService/ResolveOntologySyncConflict: post: tags: - - LibraryService - summary: ResolveLibrarySyncConflict - operationId: LibraryService_ResolveLibrarySyncConflict + - OntologyManagementService + summary: ResolveOntologySyncConflict + operationId: OntologyManagementService_ResolveOntologySyncConflict parameters: - name: Connect-Protocol-Version in: header @@ -8591,7 +8593,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.ResolveLibrarySyncConflictRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.ResolveOntologySyncConflictRequest' required: true responses: default: @@ -8606,14 +8608,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: resolveSyncConflict - /textql.rpc.public.patches.LibraryService/RestorePatch: + /textql.rpc.public.patches.OntologyManagementService/RestorePatch: post: tags: - - LibraryService + - OntologyManagementService summary: RestorePatch - operationId: LibraryService_RestorePatch + operationId: OntologyManagementService_RestorePatch parameters: - name: Connect-Protocol-Version in: header @@ -8643,14 +8643,12 @@ paths: application/json: schema: $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: libraries - x-speakeasy-name-override: restorePatch - /textql.rpc.public.patches.LibraryService/RevertPatch: + /textql.rpc.public.patches.OntologyManagementService/RevertPatch: post: tags: - - LibraryService + - OntologyManagementService summary: RevertPatch - operationId: LibraryService_RevertPatch + operationId: OntologyManagementService_RevertPatch parameters: - name: Connect-Protocol-Version in: header @@ -8680,14 +8678,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.RevertPatchResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: revertPatch - /textql.rpc.public.patches.LibraryService/SaveAllObjectsAsConfig: + /textql.rpc.public.patches.OntologyManagementService/SaveAllObjectsAsConfig: post: tags: - - LibraryService + - OntologyManagementService summary: SaveAllObjectsAsConfig - operationId: LibraryService_SaveAllObjectsAsConfig + operationId: OntologyManagementService_SaveAllObjectsAsConfig parameters: - name: Connect-Protocol-Version in: header @@ -8717,14 +8713,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveAllObjectsAsConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: saveAllObjectsAsConfig - /textql.rpc.public.patches.LibraryService/SaveObjectAsConfig: + /textql.rpc.public.patches.OntologyManagementService/SaveObjectAsConfig: post: tags: - - LibraryService + - OntologyManagementService summary: SaveObjectAsConfig - operationId: LibraryService_SaveObjectAsConfig + operationId: OntologyManagementService_SaveObjectAsConfig parameters: - name: Connect-Protocol-Version in: header @@ -8754,14 +8748,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.SaveObjectAsConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: saveAsConfig - /textql.rpc.public.patches.LibraryService/SetLibraryFileGolden: + /textql.rpc.public.patches.OntologyManagementService/SetOntologyFileGolden: post: tags: - - LibraryService - summary: SetLibraryFileGolden - operationId: LibraryService_SetLibraryFileGolden + - OntologyManagementService + summary: SetOntologyFileGolden + operationId: OntologyManagementService_SetOntologyFileGolden parameters: - name: Connect-Protocol-Version in: header @@ -8776,7 +8768,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.SetLibraryFileGoldenRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyFileGoldenRequest' required: true responses: default: @@ -8790,18 +8782,18 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.SetLibraryFileGoldenResponse' - /textql.rpc.public.patches.LibraryService/TriggerConfigDriftReconcile: + $ref: '#/components/schemas/textql.rpc.public.patches.SetOntologyFileGoldenResponse' + /textql.rpc.public.patches.OntologyManagementService/TriggerConfigDriftReconcile: post: tags: - - LibraryService - summary: 'TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller''s org: if the Library repo''s live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan.' + - OntologyManagementService + summary: 'TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller''s org: if the Ontology repo''s live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan.' description: |- TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the - caller's org: if the Library repo's live HEAD differs from the last + caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. - operationId: LibraryService_TriggerConfigDriftReconcile + operationId: OntologyManagementService_TriggerConfigDriftReconcile parameters: - name: Connect-Protocol-Version in: header @@ -8831,14 +8823,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.TriggerConfigDriftReconcileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: triggerConfigDriftReconcile - /textql.rpc.public.patches.LibraryService/UpdateApprovalRule: + /textql.rpc.public.patches.OntologyManagementService/UpdateApprovalRule: post: tags: - - LibraryService + - OntologyManagementService summary: UpdateApprovalRule - operationId: LibraryService_UpdateApprovalRule + operationId: OntologyManagementService_UpdateApprovalRule parameters: - name: Connect-Protocol-Version in: header @@ -8868,14 +8858,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateApprovalRuleResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: updateApprovalRule - /textql.rpc.public.patches.LibraryService/UpdateContextPatchAutoApproveRule: + /textql.rpc.public.patches.OntologyManagementService/UpdateContextPatchAutoApproveRule: post: tags: - - LibraryService + - OntologyManagementService summary: UpdateContextPatchAutoApproveRule - operationId: LibraryService_UpdateContextPatchAutoApproveRule + operationId: OntologyManagementService_UpdateContextPatchAutoApproveRule parameters: - name: Connect-Protocol-Version in: header @@ -8905,14 +8893,12 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.UpdateContextPatchAutoApproveRuleResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: updateContextPatchAutoApproveRule - /textql.rpc.public.patches.LibraryService/UpdateLibrarySyncConfig: + /textql.rpc.public.patches.OntologyManagementService/UpdateOntologySyncConfig: post: tags: - - LibraryService - summary: UpdateLibrarySyncConfig - operationId: LibraryService_UpdateLibrarySyncConfig + - OntologyManagementService + summary: UpdateOntologySyncConfig + operationId: OntologyManagementService_UpdateOntologySyncConfig parameters: - name: Connect-Protocol-Version in: header @@ -8927,7 +8913,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpdateLibrarySyncConfigRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.UpdateOntologySyncConfigRequest' required: true responses: default: @@ -8941,15 +8927,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpdateLibrarySyncConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: updateLibrarySyncConfig - /textql.rpc.public.patches.LibraryService/UpsertLibraryAnaConfig: + $ref: '#/components/schemas/textql.rpc.public.patches.UpdateOntologySyncConfigResponse' + /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyAnaConfig: post: tags: - - LibraryService - summary: UpsertLibraryAnaConfig - operationId: LibraryService_UpsertLibraryAnaConfig + - OntologyManagementService + summary: UpsertOntologyAnaConfig + operationId: OntologyManagementService_UpsertOntologyAnaConfig parameters: - name: Connect-Protocol-Version in: header @@ -8964,7 +8948,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryAnaConfigRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyAnaConfigRequest' required: true responses: default: @@ -8978,15 +8962,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryAnaConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: upsertAnaConfig - /textql.rpc.public.patches.LibraryService/UpsertLibraryFile: + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyAnaConfigResponse' + /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyFile: post: tags: - - LibraryService - summary: UpsertLibraryFile - operationId: LibraryService_UpsertLibraryFile + - OntologyManagementService + summary: UpsertOntologyFile + operationId: OntologyManagementService_UpsertOntologyFile parameters: - name: Connect-Protocol-Version in: header @@ -9001,7 +8983,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryFileRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyFileRequest' required: true responses: default: @@ -9015,15 +8997,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryFileResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: upsertLibraryFile - /textql.rpc.public.patches.LibraryService/UpsertLibraryOwners: + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyFileResponse' + /textql.rpc.public.patches.OntologyManagementService/UpsertOntologyOwners: post: tags: - - LibraryService - summary: UpsertLibraryOwners - operationId: LibraryService_UpsertLibraryOwners + - OntologyManagementService + summary: UpsertOntologyOwners + operationId: OntologyManagementService_UpsertOntologyOwners parameters: - name: Connect-Protocol-Version in: header @@ -9038,7 +9018,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryOwnersRequest' + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyOwnersRequest' required: true responses: default: @@ -9052,20 +9032,18 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.patches.UpsertLibraryOwnersResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: upsertOwners - /textql.rpc.public.patches.LibraryService/ValidateConfig: + $ref: '#/components/schemas/textql.rpc.public.patches.UpsertOntologyOwnersResponse' + /textql.rpc.public.patches.OntologyManagementService/ValidateConfig: post: tags: - - LibraryService + - OntologyManagementService summary: 'Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time.' description: |- Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. - operationId: LibraryService_ValidateConfig + operationId: OntologyManagementService_ValidateConfig parameters: - name: Connect-Protocol-Version in: header @@ -9095,8 +9073,6 @@ paths: application/json: schema: $ref: '#/components/schemas/textql.rpc.public.patches.ValidateConfigResponse' - x-speakeasy-group: libraries - x-speakeasy-name-override: validateConfig /textql.rpc.public.playbook.PlaybookService/AttachDashboard: post: tags: @@ -12451,6 +12427,42 @@ paths: $ref: '#/components/schemas/textql.rpc.public.rbac.RotateApiKeyResponse' x-speakeasy-group: rbac x-speakeasy-name-override: rotateApiKey + /textql.rpc.public.rbac.RBACService/SetRolePermissions: + post: + tags: + - RBACService + summary: Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + description: Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + operationId: RBACService_SetRolePermissions + parameters: + - name: Connect-Protocol-Version + in: header + required: true + schema: + $ref: '#/components/schemas/connect-protocol-version' + - name: Connect-Timeout-Ms + in: header + schema: + $ref: '#/components/schemas/connect-timeout-header' + requestBody: + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.rbac.SetRolePermissionsRequest' + required: true + responses: + default: + description: Error + content: + application/json: + schema: + $ref: '#/components/schemas/connect.error' + "200": + description: Success + content: + application/json: + schema: + $ref: '#/components/schemas/textql.rpc.public.rbac.SetRolePermissionsResponse' /textql.rpc.public.rbac.RBACService/ShareObject: post: tags: @@ -13058,12 +13070,12 @@ paths: $ref: '#/components/schemas/textql.rpc.public.sandbox_admin.StopSandboxResponse' x-speakeasy-group: sandboxAdmin x-speakeasy-name-override: stop - /textql.rpc.public.sandbox_query.SandboxQueryService/ExecuteQuery: + /textql.rpc.public.sandbox_capability.SandboxCapabilityService/ExecuteWrite: post: tags: - - SandboxQueryService - summary: ExecuteQuery - operationId: SandboxQueryService_ExecuteQuery + - SandboxCapabilityService + summary: ExecuteWrite + operationId: SandboxCapabilityService_ExecuteWrite parameters: - name: Connect-Protocol-Version in: header @@ -13078,7 +13090,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryRequest' + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxExecuteWriteRequest' required: true responses: default: @@ -13092,15 +13104,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryResponse' - x-speakeasy-group: sandbox - x-speakeasy-name-override: executeQuery - /textql.rpc.public.scim.ScimService/CreateScimOAuthClient: + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxExecuteWriteResponse' + /textql.rpc.public.sandbox_capability.SandboxCapabilityService/PutAsset: post: tags: - - ScimService - summary: CreateScimOAuthClient - operationId: ScimService_CreateScimOAuthClient + - SandboxCapabilityService + summary: PutAsset + operationId: SandboxCapabilityService_PutAsset parameters: - name: Connect-Protocol-Version in: header @@ -13115,7 +13125,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientRequest' + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPutAssetRequest' required: true responses: default: @@ -13129,15 +13139,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientResponse' - x-speakeasy-group: scim - x-speakeasy-name-override: createOAuthClient - /textql.rpc.public.scim.ScimService/CreateScimToken: + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxPutAssetResponse' + /textql.rpc.public.sandbox_capability.SandboxCapabilityService/SendNotify: post: tags: - - ScimService - summary: CreateScimToken - operationId: ScimService_CreateScimToken + - SandboxCapabilityService + summary: SendNotify + operationId: SandboxCapabilityService_SendNotify parameters: - name: Connect-Protocol-Version in: header @@ -13152,7 +13160,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenRequest' + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxSendNotifyRequest' required: true responses: default: @@ -13166,15 +13174,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenResponse' - x-speakeasy-group: scim - x-speakeasy-name-override: createScimToken - /textql.rpc.public.scim.ScimService/ListScimOAuthClients: + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxSendNotifyResponse' + /textql.rpc.public.sandbox_capability.SandboxCapabilityService/StateOp: post: tags: - - ScimService - summary: ListScimOAuthClients - operationId: ScimService_ListScimOAuthClients + - SandboxCapabilityService + summary: StateOp + operationId: SandboxCapabilityService_StateOp parameters: - name: Connect-Protocol-Version in: header @@ -13189,7 +13195,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsRequest' + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStateOpRequest' required: true responses: default: @@ -13203,15 +13209,13 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsResponse' - x-speakeasy-group: scim - x-speakeasy-name-override: listScimOAuthClients - /textql.rpc.public.scim.ScimService/ListScimTokens: + $ref: '#/components/schemas/textql.rpc.public.sandbox_capability.SandboxStateOpResponse' + /textql.rpc.public.sandbox_query.SandboxQueryService/ExecuteQuery: post: tags: - - ScimService - summary: ListScimTokens - operationId: ScimService_ListScimTokens + - SandboxQueryService + summary: ExecuteQuery + operationId: SandboxQueryService_ExecuteQuery parameters: - name: Connect-Protocol-Version in: header @@ -13226,7 +13230,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensRequest' + $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryRequest' required: true responses: default: @@ -13240,15 +13244,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensResponse' - x-speakeasy-group: scim - x-speakeasy-name-override: list - /textql.rpc.public.scim.ScimService/RevokeScimOAuthClient: + $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxExecuteQueryResponse' + x-speakeasy-group: sandbox + x-speakeasy-name-override: executeQuery + /textql.rpc.public.scim.ScimService/CreateScimOAuthClient: post: tags: - ScimService - summary: RevokeScimOAuthClient - operationId: ScimService_RevokeScimOAuthClient + summary: CreateScimOAuthClient + operationId: ScimService_CreateScimOAuthClient parameters: - name: Connect-Protocol-Version in: header @@ -13263,7 +13267,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientRequest' required: true responses: default: @@ -13277,15 +13281,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientResponse' + $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimOAuthClientResponse' x-speakeasy-group: scim - x-speakeasy-name-override: revokeOAuthClient - /textql.rpc.public.scim.ScimService/RevokeScimToken: + x-speakeasy-name-override: createOAuthClient + /textql.rpc.public.scim.ScimService/CreateScimToken: post: tags: - ScimService - summary: RevokeScimToken - operationId: ScimService_RevokeScimToken + summary: CreateScimToken + operationId: ScimService_CreateScimToken parameters: - name: Connect-Protocol-Version in: header @@ -13300,7 +13304,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenRequest' required: true responses: default: @@ -13314,15 +13318,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenResponse' + $ref: '#/components/schemas/textql.rpc.public.scim.CreateScimTokenResponse' x-speakeasy-group: scim - x-speakeasy-name-override: revokeScimToken - /textql.rpc.public.secret.SecretService/CreateApiRevision: + x-speakeasy-name-override: createScimToken + /textql.rpc.public.scim.ScimService/ListScimOAuthClients: post: tags: - - SecretService - summary: CreateApiRevision - operationId: SecretService_CreateApiRevision + - ScimService + summary: ListScimOAuthClients + operationId: ScimService_ListScimOAuthClients parameters: - name: Connect-Protocol-Version in: header @@ -13337,7 +13341,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.CreateApiRevisionRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsRequest' required: true responses: default: @@ -13351,15 +13355,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.CreateApiRevisionResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: createApiRevision - /textql.rpc.public.secret.SecretService/DeleteApiAccessKey: + $ref: '#/components/schemas/textql.rpc.public.scim.ListScimOAuthClientsResponse' + x-speakeasy-group: scim + x-speakeasy-name-override: listScimOAuthClients + /textql.rpc.public.scim.ScimService/ListScimTokens: post: tags: - - SecretService - summary: DeleteApiAccessKey - operationId: SecretService_DeleteApiAccessKey + - ScimService + summary: ListScimTokens + operationId: ScimService_ListScimTokens parameters: - name: Connect-Protocol-Version in: header @@ -13374,7 +13378,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteApiAccessKeyRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensRequest' required: true responses: default: @@ -13388,15 +13392,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteApiAccessKeyResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: deleteApiAccessKey - /textql.rpc.public.secret.SecretService/DeleteApiRevision: + $ref: '#/components/schemas/textql.rpc.public.scim.ListScimTokensResponse' + x-speakeasy-group: scim + x-speakeasy-name-override: list + /textql.rpc.public.scim.ScimService/RevokeScimOAuthClient: post: tags: - - SecretService - summary: DeleteApiRevision - operationId: SecretService_DeleteApiRevision + - ScimService + summary: RevokeScimOAuthClient + operationId: ScimService_RevokeScimOAuthClient parameters: - name: Connect-Protocol-Version in: header @@ -13411,7 +13415,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteApiRevisionRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientRequest' required: true responses: default: @@ -13425,15 +13429,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteApiRevisionResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: deleteApiRevision - /textql.rpc.public.secret.SecretService/DeleteSecret: + $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimOAuthClientResponse' + x-speakeasy-group: scim + x-speakeasy-name-override: revokeOAuthClient + /textql.rpc.public.scim.ScimService/RevokeScimToken: post: tags: - - SecretService - summary: DeleteSecret - operationId: SecretService_DeleteSecret + - ScimService + summary: RevokeScimToken + operationId: ScimService_RevokeScimToken parameters: - name: Connect-Protocol-Version in: header @@ -13448,7 +13452,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretRequest' + $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenRequest' required: true responses: default: @@ -13462,15 +13466,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: deleteSecret - /textql.rpc.public.secret.SecretService/GetApiAccessKey: + $ref: '#/components/schemas/textql.rpc.public.scim.RevokeScimTokenResponse' + x-speakeasy-group: scim + x-speakeasy-name-override: revokeScimToken + /textql.rpc.public.secret.SecretService/DeleteSecret: post: tags: - SecretService - summary: GetApiAccessKey - operationId: SecretService_GetApiAccessKey + summary: DeleteSecret + operationId: SecretService_DeleteSecret parameters: - name: Connect-Protocol-Version in: header @@ -13485,7 +13489,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.GetApiAccessKeyRequest' + $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretRequest' required: true responses: default: @@ -13499,9 +13503,9 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.GetApiAccessKeyResponse' + $ref: '#/components/schemas/textql.rpc.public.secret.DeleteSecretResponse' x-speakeasy-group: secrets - x-speakeasy-name-override: getApiAccessKey + x-speakeasy-name-override: deleteSecret /textql.rpc.public.secret.SecretService/GetMembersWithSecrets: post: tags: @@ -13539,49 +13543,12 @@ paths: $ref: '#/components/schemas/textql.rpc.public.secret.GetMembersWithSecretsResponse' x-speakeasy-group: secrets x-speakeasy-name-override: getMembersWithSecrets - /textql.rpc.public.secret.SecretService/ListApiAccessKeys: - post: - tags: - - SecretService - summary: ListApiAccessKeys - operationId: SecretService_ListApiAccessKeys - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListApiAccessKeysRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListApiAccessKeysResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: listApiAccessKeys - /textql.rpc.public.secret.SecretService/ListApiProviders: + /textql.rpc.public.secret.SecretService/ListSecrets: post: tags: - SecretService - summary: ListApiProviders - operationId: SecretService_ListApiProviders + summary: ListSecrets + operationId: SecretService_ListSecrets parameters: - name: Connect-Protocol-Version in: header @@ -13596,7 +13563,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListApiProvidersRequest' + $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsRequest' required: true responses: default: @@ -13610,15 +13577,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListApiProvidersResponse' + $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsResponse' x-speakeasy-group: secrets - x-speakeasy-name-override: listApiProviders - /textql.rpc.public.secret.SecretService/ListSecrets: + x-speakeasy-name-override: listSecrets + /textql.rpc.public.secret.SecretService/PutSecret: post: tags: - SecretService - summary: ListSecrets - operationId: SecretService_ListSecrets + summary: PutSecret + operationId: SecretService_PutSecret parameters: - name: Connect-Protocol-Version in: header @@ -13633,7 +13600,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsRequest' + $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretRequest' required: true responses: default: @@ -13647,15 +13614,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.ListSecretsResponse' + $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretResponse' x-speakeasy-group: secrets - x-speakeasy-name-override: listSecrets - /textql.rpc.public.secret.SecretService/MigrateSecretToApiConnector: + x-speakeasy-name-override: putSecret + /textql.rpc.public.secret.SecretService/UpdateSecret: post: tags: - SecretService - summary: MigrateSecretToApiConnector - operationId: SecretService_MigrateSecretToApiConnector + summary: UpdateSecret + operationId: SecretService_UpdateSecret parameters: - name: Connect-Protocol-Version in: header @@ -13670,7 +13637,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.MigrateSecretToApiConnectorRequest' + $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretRequest' required: true responses: default: @@ -13684,15 +13651,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.MigrateSecretToApiConnectorResponse' + $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretResponse' x-speakeasy-group: secrets - x-speakeasy-name-override: migrateSecretToApiConnector - /textql.rpc.public.secret.SecretService/PutSecret: + x-speakeasy-name-override: update + /textql.rpc.public.slack.SlackService/CreateSlackUuid: post: tags: - - SecretService - summary: PutSecret - operationId: SecretService_PutSecret + - SlackService + summary: CreateSlackUuid + operationId: SlackService_CreateSlackUuid parameters: - name: Connect-Protocol-Version in: header @@ -13707,7 +13674,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretRequest' + $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: @@ -13721,15 +13688,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.PutSecretResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: putSecret - /textql.rpc.public.secret.SecretService/TestApiAccessKey: + $ref: '#/components/schemas/textql.rpc.public.slack.CreateSlackUuidResponse' + x-speakeasy-group: slack + x-speakeasy-name-override: createUuid + /textql.rpc.public.slack.SlackService/DeleteInstallation: post: tags: - - SecretService - summary: TestApiAccessKey - operationId: SecretService_TestApiAccessKey + - SlackService + summary: DeleteInstallation + operationId: SlackService_DeleteInstallation parameters: - name: Connect-Protocol-Version in: header @@ -13744,7 +13711,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.TestApiAccessKeyRequest' + $ref: '#/components/schemas/textql.rpc.public.slack.DeleteInstallationRequest' required: true responses: default: @@ -13758,15 +13725,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.TestApiAccessKeyResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: testApiAccessKey - /textql.rpc.public.secret.SecretService/UpdateSecret: + $ref: '#/components/schemas/google.protobuf.Empty' + x-speakeasy-group: slack + x-speakeasy-name-override: deleteInstallation + /textql.rpc.public.slack.SlackService/GetCurrentUser: post: tags: - - SecretService - summary: UpdateSecret - operationId: SecretService_UpdateSecret + - SlackService + summary: GetCurrentUser + operationId: SlackService_GetCurrentUser parameters: - name: Connect-Protocol-Version in: header @@ -13781,7 +13748,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretRequest' + $ref: '#/components/schemas/google.protobuf.Empty' required: true responses: default: @@ -13795,15 +13762,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.UpdateSecretResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: update - /textql.rpc.public.secret.SecretService/UpsertApiAccessKey: + $ref: '#/components/schemas/textql.rpc.public.slack.GetCurrentUserResponse' + x-speakeasy-group: slack + x-speakeasy-name-override: getCurrentUser + /textql.rpc.public.slack.SlackService/HandleSlackOAuthCallback: post: tags: - - SecretService - summary: UpsertApiAccessKey - operationId: SecretService_UpsertApiAccessKey + - SlackService + summary: HandleSlackOAuthCallback + operationId: SlackService_HandleSlackOAuthCallback parameters: - name: Connect-Protocol-Version in: header @@ -13818,7 +13785,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.UpsertApiAccessKeyRequest' + $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackRequest' required: true responses: default: @@ -13832,163 +13799,15 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/textql.rpc.public.secret.UpsertApiAccessKeyResponse' - x-speakeasy-group: secrets - x-speakeasy-name-override: upsertApiAccessKey - /textql.rpc.public.slack.SlackService/CreateSlackUuid: + $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackResponse' + x-speakeasy-group: slack + x-speakeasy-name-override: handleOAuthCallback + /textql.rpc.public.slack.SlackService/ListChannels: post: tags: - SlackService - summary: CreateSlackUuid - operationId: SlackService_CreateSlackUuid - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/google.protobuf.Empty' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.slack.CreateSlackUuidResponse' - x-speakeasy-group: slack - x-speakeasy-name-override: createUuid - /textql.rpc.public.slack.SlackService/DeleteInstallation: - post: - tags: - - SlackService - summary: DeleteInstallation - operationId: SlackService_DeleteInstallation - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.slack.DeleteInstallationRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/google.protobuf.Empty' - x-speakeasy-group: slack - x-speakeasy-name-override: deleteInstallation - /textql.rpc.public.slack.SlackService/GetCurrentUser: - post: - tags: - - SlackService - summary: GetCurrentUser - operationId: SlackService_GetCurrentUser - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/google.protobuf.Empty' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.slack.GetCurrentUserResponse' - x-speakeasy-group: slack - x-speakeasy-name-override: getCurrentUser - /textql.rpc.public.slack.SlackService/HandleSlackOAuthCallback: - post: - tags: - - SlackService - summary: HandleSlackOAuthCallback - operationId: SlackService_HandleSlackOAuthCallback - parameters: - - name: Connect-Protocol-Version - in: header - required: true - schema: - $ref: '#/components/schemas/connect-protocol-version' - - name: Connect-Timeout-Ms - in: header - schema: - $ref: '#/components/schemas/connect-timeout-header' - requestBody: - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackRequest' - required: true - responses: - default: - description: Error - content: - application/json: - schema: - $ref: '#/components/schemas/connect.error' - "200": - description: Success - content: - application/json: - schema: - $ref: '#/components/schemas/textql.rpc.public.slack.HandleSlackOAuthCallbackResponse' - x-speakeasy-group: slack - x-speakeasy-name-override: handleOAuthCallback - /textql.rpc.public.slack.SlackService/ListChannels: - post: - tags: - - SlackService - summary: ListChannels - operationId: SlackService_ListChannels + summary: ListChannels + operationId: SlackService_ListChannels parameters: - name: Connect-Protocol-Version in: header @@ -15266,19 +15085,7 @@ components: title: ParadigmType enum: - TYPE_UNKNOWN - - TYPE_SQL - - TYPE_RESEARCH - - TYPE_ONTOLOGY - - TYPE_BASIC - - TYPE_TABLEAU - - TYPE_EXPERIMENTAL - TYPE_UNIVERSAL - - TYPE_PUBLIC_DEMO - - TYPE_SUMMARY - - TYPE_OBSERVABILITY - - TYPE_TEMPLATE - - TYPE_MINIMALIST - - TYPE_TOPICS textql.rpc.powerbi_selection.PowerBISelection: type: object properties: @@ -16148,11 +15955,6 @@ components: hasUnpublishedChanges: type: boolean title: has_unpublished_changes - stalenessSeconds: - type: integer - title: staleness_seconds - format: int32 - nullable: true computeFunctions: type: array items: @@ -16177,6 +15979,27 @@ components: isFavorited: type: boolean title: is_favorited + capabilities: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.Capability' + title: capabilities + appDbSetup: + type: array + items: + type: string + title: app_db_setup + memberFeaturesEnabled: + type: boolean + title: member_features_enabled + usesMemberFeatures: + type: boolean + title: uses_member_features + viewerGrants: + type: array + items: + type: string + title: viewer_grants createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' @@ -16193,6 +16016,81 @@ components: $ref: '#/components/schemas/google.protobuf.Timestamp' title: App additionalProperties: false + textql.rpc.public.app.AppActivityBatch: + type: object + properties: + records: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.AppActivityRecord' + title: records + title: AppActivityBatch + additionalProperties: false + textql.rpc.public.app.AppActivityHeartbeat: + type: object + title: AppActivityHeartbeat + additionalProperties: false + textql.rpc.public.app.AppActivityRecord: + type: object + properties: + seq: + type: + - integer + - string + title: seq + format: int64 + memberId: + type: string + title: member_id + displayName: + type: string + title: display_name + type: + type: string + title: type + scope: + type: string + title: scope + nullable: true + payloadJson: + type: string + title: payload_json + nullable: true + createdAt: + title: created_at + $ref: '#/components/schemas/google.protobuf.Timestamp' + title: AppActivityRecord + additionalProperties: false + description: |- + One activity row from any member of the app; display_name resolved server-side. + Never carries email or raw identity fields (names-not-emails is enforced here). + textql.rpc.public.app.AppActivityStreamEvent: + type: object + oneOf: + - properties: + activity: + title: activity + $ref: '#/components/schemas/textql.rpc.public.app.AppActivityBatch' + title: activity + required: + - activity + - properties: + heartbeat: + title: heartbeat + $ref: '#/components/schemas/textql.rpc.public.app.AppActivityHeartbeat' + title: heartbeat + required: + - heartbeat + - properties: + presence: + title: presence + $ref: '#/components/schemas/textql.rpc.public.app.AppPresenceSnapshot' + title: presence + required: + - presence + title: AppActivityStreamEvent + additionalProperties: false + description: 'One frame of the live stream: an activity batch, a presence snapshot, or a keepalive.' textql.rpc.public.app.AppFile: type: object properties: @@ -16213,6 +16111,56 @@ components: description: '''app'' | ''dashboard''' title: AppHeartbeatRequest additionalProperties: false + textql.rpc.public.app.AppMemberActivityRow: + type: object + properties: + seq: + type: + - integer + - string + title: seq + format: int64 + type: + type: string + title: type + scope: + type: string + title: scope + nullable: true + payloadJson: + type: string + title: payload_json + nullable: true + createdAt: + title: created_at + $ref: '#/components/schemas/google.protobuf.Timestamp' + title: AppMemberActivityRow + additionalProperties: false + textql.rpc.public.app.AppPresenceMember: + type: object + properties: + memberId: + type: string + title: member_id + displayName: + type: string + title: display_name + description: names, never emails + zone: + type: string + title: zone + title: AppPresenceMember + additionalProperties: false + textql.rpc.public.app.AppPresenceSnapshot: + type: object + properties: + members: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.AppPresenceMember' + title: members + title: AppPresenceSnapshot + additionalProperties: false textql.rpc.public.app.AppVersion: type: object properties: @@ -16222,10 +16170,12 @@ components: appId: type: string title: app_id + description: 'Routing observability: warm | warm_fallback | tql | sql.' versionNumber: type: integer title: version_number format: int32 + description: Whether this invoke paid phase-1 module definition (cold imports). code: type: string title: code @@ -16255,11 +16205,6 @@ components: type: string title: published_html_url nullable: true - stalenessSeconds: - type: integer - title: staleness_seconds - format: int32 - nullable: true publishedBy: type: string title: published_by @@ -16300,6 +16245,61 @@ components: title: recent_view_times title: AppViewerInfo additionalProperties: false + textql.rpc.public.app.Capability: + type: object + properties: + type: + type: string + title: type + name: + type: string + title: name + description: string | number | boolean | object | array + nullable: true + connectorId: + type: integer + title: connector_id + format: int32 + nullable: true + statement: + type: string + title: statement + nullable: true + scope: + type: string + title: scope + nullable: true + subject: + type: string + title: subject + nullable: true + body: + type: string + title: body + nullable: true + parameters: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.CapabilityParam' + title: parameters + title: Capability + additionalProperties: false + textql.rpc.public.app.CapabilityParam: + type: object + properties: + name: + type: string + title: name + type: + type: string + title: type + nullable: true + description: + type: string + title: description + nullable: true + title: CapabilityParam + additionalProperties: false textql.rpc.public.app.ComputeFunction: type: object properties: @@ -16321,6 +16321,17 @@ components: code: type: string title: code + tqlPath: + type: string + title: tql_path + nullable: true + tql: + type: string + title: tql + nullable: true + grant: + title: grant + $ref: '#/components/schemas/textql.rpc.public.dashboard.Grant' title: ComputeFunction additionalProperties: false textql.rpc.public.app.ComputeFunctionParam: @@ -16366,6 +16377,16 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.app.AppFile' title: files + capabilities: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.Capability' + title: capabilities + appDbSetup: + type: array + items: + type: string + title: app_db_setup title: CreateAppRequest additionalProperties: false textql.rpc.public.app.CreateAppResponse: @@ -16400,6 +16421,24 @@ components: $ref: '#/components/schemas/textql.rpc.public.app.App' title: DuplicateAppResponse additionalProperties: false + textql.rpc.public.app.GetAppMemberStateRequest: + type: object + properties: + appId: + type: string + title: app_id + title: GetAppMemberStateRequest + additionalProperties: false + description: Per-member state + textql.rpc.public.app.GetAppMemberStateResponse: + type: object + properties: + valueJson: + type: string + title: value_json + description: JSON object; "{}" when the member has no saved state + title: GetAppMemberStateResponse + additionalProperties: false textql.rpc.public.app.GetAppRequest: type: object properties: @@ -16490,7 +16529,6 @@ components: functionName: type: string title: function_name - description: string | number | boolean | object | array paramsJson: type: string title: params_json @@ -16504,7 +16542,45 @@ components: title: result_json title: InvokeAppComputeFunctionResponse additionalProperties: false - description: ComputeFunction is a declared server-side python function invocable from the app via the bridge. + description: |- + ComputeFunction is a declared server-side function invocable from the app via the bridge. + Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's + private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. + TQL variants are real TQL (compiled at save time) executed against a connector; sql is + the app-state path (:name params bound server-side, reserved :_now / :_uuid). + textql.rpc.public.app.ListAppActivitySinceRequest: + type: object + properties: + appId: + type: string + title: app_id + scope: + type: string + title: scope + nullable: true + afterSeq: + type: + - integer + - string + title: after_seq + format: int64 + limit: + type: integer + title: limit + format: int32 + description: server clamps to 200; <=0 means default + title: ListAppActivitySinceRequest + additionalProperties: false + textql.rpc.public.app.ListAppActivitySinceResponse: + type: object + properties: + records: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.AppActivityRecord' + title: records + title: ListAppActivitySinceResponse + additionalProperties: false textql.rpc.public.app.ListAppVersionsRequest: type: object properties: @@ -16584,6 +16660,33 @@ components: description: whether the caller may edit this app (HasAppWriteAccess) title: ListAppsResponse additionalProperties: false + textql.rpc.public.app.ListMyAppMemberActivityRequest: + type: object + properties: + appId: + type: string + title: app_id + type: + type: string + title: type + nullable: true + limit: + type: integer + title: limit + format: int32 + description: server clamps to 200; <=0 means default + title: ListMyAppMemberActivityRequest + additionalProperties: false + textql.rpc.public.app.ListMyAppMemberActivityResponse: + type: object + properties: + rows: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.AppMemberActivityRow' + title: rows + title: ListMyAppMemberActivityResponse + additionalProperties: false textql.rpc.public.app.MoveAppToFolderRequest: type: object properties: @@ -16604,6 +16707,57 @@ components: $ref: '#/components/schemas/textql.rpc.public.app.App' title: MoveAppToFolderResponse additionalProperties: false + textql.rpc.public.app.PresenceHeartbeatRequest: + type: object + properties: + appId: + type: string + title: app_id + zone: + type: string + title: zone + title: PresenceHeartbeatRequest + additionalProperties: false + textql.rpc.public.app.RecordAppMemberActivityRequest: + type: object + properties: + appId: + type: string + title: app_id + type: + type: string + title: type + scope: + type: string + title: scope + nullable: true + payloadJson: + type: string + title: payload_json + description: JSON object, usage payload authored by the app + nullable: true + idemKey: + type: string + title: idem_key + description: duplicate key returns the existing row, not an error + nullable: true + title: RecordAppMemberActivityRequest + additionalProperties: false + description: Per-member activity log + textql.rpc.public.app.RecordAppMemberActivityResponse: + type: object + properties: + seq: + type: + - integer + - string + title: seq + format: int64 + createdAt: + title: created_at + $ref: '#/components/schemas/google.protobuf.Timestamp' + title: RecordAppMemberActivityResponse + additionalProperties: false textql.rpc.public.app.RefreshAppRequest: type: object properties: @@ -16640,6 +16794,22 @@ components: $ref: '#/components/schemas/textql.rpc.public.app.App' title: RestoreAppVersionResponse additionalProperties: false + textql.rpc.public.app.SetAppMemberStateRequest: + type: object + properties: + appId: + type: string + title: app_id + valueJson: + type: string + title: value_json + description: whole-object JSON, last-write-wins, max 64KB + title: SetAppMemberStateRequest + additionalProperties: false + textql.rpc.public.app.SetAppMemberStateResponse: + type: object + title: SetAppMemberStateResponse + additionalProperties: false textql.rpc.public.app.SetFavoriteRequest: type: object properties: @@ -16665,6 +16835,26 @@ components: description: signed /asset/apptree viewer URL for the published gallery tree title: SetFavoriteResponse additionalProperties: false + textql.rpc.public.app.StreamAppActivityRequest: + type: object + properties: + appId: + type: string + title: app_id + scope: + type: string + title: scope + description: server-side filter; empty = all scopes + nullable: true + afterSeq: + type: + - integer + - string + title: after_seq + format: int64 + description: client's last acked seq; catch-up starts here. Negative = live-only (baseline at current max) + title: StreamAppActivityRequest + additionalProperties: false textql.rpc.public.app.UpdateAppRequest: type: object properties: @@ -16696,11 +16886,6 @@ components: type: boolean title: publish nullable: true - stalenessSeconds: - type: integer - title: staleness_seconds - format: int32 - nullable: true computeFunctions: type: array items: @@ -16727,6 +16912,24 @@ components: type: string title: cron_string nullable: true + capabilities: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.app.Capability' + title: capabilities + replaceCapabilities: + type: boolean + title: replace_capabilities + nullable: true + appDbSetup: + type: array + items: + type: string + title: app_db_setup + replaceAppDbSetup: + type: boolean + title: replace_app_db_setup + nullable: true title: UpdateAppRequest additionalProperties: false textql.rpc.public.app.UpdateAppResponse: @@ -19828,6 +20031,19 @@ components: format: int32 title: TextCell additionalProperties: false + textql.rpc.public.cells.ThinkingCell: + type: object + properties: + content: + type: string + title: content + description: summarized thinking text; empty for redacted blocks + redacted: + type: boolean + title: redacted + description: provider returned an encrypted redacted_thinking block + title: ThinkingCell + additionalProperties: false textql.rpc.public.cells.UseSkillCell: type: object properties: @@ -20540,6 +20756,13 @@ components: title: text_cell required: - textCell + - properties: + thinkingCell: + title: thinking_cell + $ref: '#/components/schemas/textql.rpc.public.cells.ThinkingCell' + title: thinking_cell + required: + - thinkingCell - properties: useSkillCell: title: use_skill_cell @@ -20718,6 +20941,13 @@ components: type: string title: agent_profile_image_url nullable: true + maxThinking: + type: boolean + title: max_thinking + description: |- + max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. Thinking tokens bill as output tokens. + nullable: true title: Chat additionalProperties: false textql.rpc.public.chat.ChatExecutionTiming: @@ -20978,6 +21208,13 @@ components: fast_mode enables Anthropic's fast inference (speed: "fast") for this chat. Currently supported on Opus 4.6 only. Pricing is 6x standard rates. nullable: true + maxThinking: + type: boolean + title: max_thinking + description: |- + max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. + nullable: true title: CreateRequest additionalProperties: false textql.rpc.public.chat.CreateResponse: @@ -21443,6 +21680,13 @@ components: description: |- Only chats tagged with at least one of these custom topics (verdict='tagged'). Ignored when empty. + connectorIds: + type: array + items: + type: integer + format: int32 + title: connector_ids + description: Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty. title: GetChatsRequest additionalProperties: false textql.rpc.public.chat.GetChatsResponse: @@ -21541,6 +21785,34 @@ components: type: number title: estimated_cost format: double + description: Estimated LLM-token cost (USD, list model prices). LLM only. + nullable: true + estimatedComputeCost: + type: number + title: estimated_compute_cost + format: double + description: |- + Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds → + ACUs → USD at the org's effective rate. Add to estimated_cost for the + thread's total cost. Requires the console rate (0/omitted if unavailable). + nullable: true + sandboxId: + type: string + title: sandbox_id + description: |- + The chat's sandbox id ({orgID}-{chatID}), set when the thread used any + sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted + when the thread had no sandbox usage. + nullable: true + estimatedComputeAcus: + type: number + title: estimated_compute_acus + format: double + description: |- + Sandbox compute usage for this chat in ACUs (sandbox-seconds / 3600 × ACUs + per instance-hour). The metered unit behind estimated_compute_cost; shown + alongside the dollars. Independent of the console $ rate, so present whenever + the thread used a sandbox. nullable: true title: GetLlmUsageResponse additionalProperties: false @@ -21981,6 +22253,10 @@ components: type: boolean title: fast_mode nullable: true + maxThinking: + type: boolean + title: max_thinking + nullable: true title: RunChatRequest additionalProperties: false textql.rpc.public.chat.RunChatResponse: @@ -22160,6 +22436,11 @@ components: title: fast_mode description: update fast inference mode nullable: true + maxThinking: + type: boolean + title: max_thinking + description: update max thinking mode + nullable: true title: UpdateChatRequest additionalProperties: false textql.rpc.public.chat.UpdateChatResponse: @@ -25385,6 +25666,12 @@ components: $ref: '#/components/schemas/textql.rpc.public.dashboard.QueryParameter' title: parameters description: Parameters for live parameterized queries (sql_query type only) + grant: + title: grant + description: |- + Optional author allowlist gating this source to specific org roles / members. + Presence forces the source out of the published snapshot (live-only, viewer-enforced). + $ref: '#/components/schemas/textql.rpc.public.dashboard.Grant' - oneOf: - properties: file: @@ -25584,6 +25871,27 @@ components: title: members title: GetMembersWithDashboardsResponse additionalProperties: false + textql.rpc.public.dashboard.Grant: + type: object + properties: + roles: + type: array + items: + type: string + title: roles + description: org role names + members: + type: array + items: + type: string + title: members + description: explicit member ids + title: Grant + additionalProperties: false + description: |- + Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. textql.rpc.public.dashboard.LibraryTQLSource: type: object properties: @@ -25932,6 +26240,10 @@ components: type: integer title: connector_id format: int32 + predicate: + type: string + title: predicate + description: Optional viewer row-filter appended server-side at live-query time; binds :viewer_member_id / :viewer_email. Presence forces the source out of the published snapshot. title: SqlQuerySource additionalProperties: false textql.rpc.public.dashboard.UpdateDashboardFolderRequest: @@ -28036,6 +28348,14 @@ components: type: integer title: total_app_count format: int32 + acuRatePer1000Usd: + type: number + title: acu_rate_per_1000_usd + format: double + description: |- + Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). Multiply any ACU figure by + (rate / 1000) to show dollars. 0 means unknown/unpriced (e.g. trial). title: GetBillingStatsResponse additionalProperties: false textql.rpc.public.observe.GetChatSourceStatsRequest: @@ -29427,9 +29747,14 @@ components: smsMode: type: boolean title: sms_mode + apiAccessKeyIds: + type: array + items: + type: string + title: api_access_key_ids title: UniversalOptions additionalProperties: false - textql.rpc.public.patches.AddLibrarySubmoduleRequest: + textql.rpc.public.patches.AddOntologySubmoduleRequest: type: object properties: url: @@ -29442,9 +29767,9 @@ components: type: string title: branch nullable: true - title: AddLibrarySubmoduleRequest + title: AddOntologySubmoduleRequest additionalProperties: false - textql.rpc.public.patches.AddLibrarySubmoduleResponse: + textql.rpc.public.patches.AddOntologySubmoduleResponse: type: object properties: path: @@ -29456,7 +29781,7 @@ components: branch: type: string title: branch - title: AddLibrarySubmoduleResponse + title: AddOntologySubmoduleResponse additionalProperties: false textql.rpc.public.patches.ApprovalRule: type: object @@ -29621,7 +29946,7 @@ components: description: |- ConfigDiagnosticClass partitions a finding by who can fix it, so an authoring loop knows whether to keep iterating. - textql.rpc.public.patches.ConfigureLibraryRemoteRequest: + textql.rpc.public.patches.ConfigureOntologyRemoteRequest: type: object properties: remoteUrl: @@ -29673,15 +29998,15 @@ components: useHostedGithubApp: type: boolean title: use_hosted_github_app - title: ConfigureLibraryRemoteRequest + title: ConfigureOntologyRemoteRequest additionalProperties: false - textql.rpc.public.patches.ConfigureLibraryRemoteResponse: + textql.rpc.public.patches.ConfigureOntologyRemoteResponse: type: object properties: remote: title: remote - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryRemote' - title: ConfigureLibraryRemoteResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' + title: ConfigureOntologyRemoteResponse additionalProperties: false textql.rpc.public.patches.ContextPatchAutoApproveRule: type: object @@ -29773,7 +30098,7 @@ components: $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' title: CreateContextPatchAutoApproveRuleResponse additionalProperties: false - textql.rpc.public.patches.CreateLibraryDirectoryRequest: + textql.rpc.public.patches.CreateOntologyDirectoryRequest: type: object properties: path: @@ -29783,17 +30108,17 @@ components: type: string title: commit_message nullable: true - title: CreateLibraryDirectoryRequest + title: CreateOntologyDirectoryRequest additionalProperties: false - textql.rpc.public.patches.CreateLibraryDirectoryResponse: + textql.rpc.public.patches.CreateOntologyDirectoryResponse: type: object properties: entry: title: entry - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryEntry' - title: CreateLibraryDirectoryResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyEntry' + title: CreateOntologyDirectoryResponse additionalProperties: false - textql.rpc.public.patches.CreateLibraryFileUploadUrlRequest: + textql.rpc.public.patches.CreateOntologyFileUploadUrlRequest: type: object properties: path: @@ -29808,9 +30133,9 @@ components: - string title: size_bytes format: int64 - title: CreateLibraryFileUploadUrlRequest + title: CreateOntologyFileUploadUrlRequest additionalProperties: false - textql.rpc.public.patches.CreateLibraryFileUploadUrlResponse: + textql.rpc.public.patches.CreateOntologyFileUploadUrlResponse: type: object properties: uploadUrl: @@ -29819,7 +30144,7 @@ components: uploadKey: type: string title: upload_key - title: CreateLibraryFileUploadUrlResponse + title: CreateOntologyFileUploadUrlResponse additionalProperties: false textql.rpc.public.patches.DailyFileUsage: type: object @@ -29863,27 +30188,16 @@ components: type: integer title: year format: int32 - description: |- - Year of the date. Must be from 1 to 9999, or 0 to specify a date without - a year. month: type: integer title: month format: int32 - description: |- - Month of a year. Must be from 1 to 12, or 0 to specify a year without a - month and day. day: type: integer title: day format: int32 - description: |- - Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 - to specify a year by itself or a year and month where the day isn't - significant. title: Date additionalProperties: false - description: copied from google.type.Date; not available in buf's google/protobuf/* textql.rpc.public.patches.DeleteApprovalRuleRequest: type: object properties: @@ -29900,7 +30214,7 @@ components: title: id title: DeleteContextPatchAutoApproveRuleRequest additionalProperties: false - textql.rpc.public.patches.DeleteLibraryDirectoryRequest: + textql.rpc.public.patches.DeleteOntologyDirectoryRequest: type: object properties: path: @@ -29918,9 +30232,9 @@ components: subdirectories) in a single atomic commit. The caller must have write access to every nested subdirectory. When false (default), the directory must be empty of non-reserved entries. - title: DeleteLibraryDirectoryRequest + title: DeleteOntologyDirectoryRequest additionalProperties: false - textql.rpc.public.patches.DeleteLibraryFileRequest: + textql.rpc.public.patches.DeleteOntologyFileRequest: type: object properties: path: @@ -29930,9 +30244,9 @@ components: type: string title: commit_message nullable: true - title: DeleteLibraryFileRequest + title: DeleteOntologyFileRequest additionalProperties: false - textql.rpc.public.patches.DeleteLibraryOwnersRequest: + textql.rpc.public.patches.DeleteOntologyOwnersRequest: type: object properties: path: @@ -29947,7 +30261,7 @@ components: type: string title: commit_message nullable: true - title: DeleteLibraryOwnersRequest + title: DeleteOntologyOwnersRequest additionalProperties: false textql.rpc.public.patches.DenyPatchRequest: type: object @@ -29960,7 +30274,7 @@ components: title: expected_git_ref title: DenyPatchRequest additionalProperties: false - textql.rpc.public.patches.ExchangeLibraryGithubCodeRequest: + textql.rpc.public.patches.ExchangeOntologyGithubCodeRequest: type: object properties: code: @@ -29972,9 +30286,9 @@ components: codeVerifier: type: string title: code_verifier - title: ExchangeLibraryGithubCodeRequest + title: ExchangeOntologyGithubCodeRequest additionalProperties: false - textql.rpc.public.patches.ExchangeLibraryGithubCodeResponse: + textql.rpc.public.patches.ExchangeOntologyGithubCodeResponse: type: object properties: success: @@ -29985,7 +30299,7 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.patches.GithubInstallation' title: installations - title: ExchangeLibraryGithubCodeResponse + title: ExchangeOntologyGithubCodeResponse additionalProperties: false textql.rpc.public.patches.FileChatUsage: type: object @@ -29993,23 +30307,21 @@ components: chatId: type: string title: chat_id + description: |- + most recent pull or run (imports included) inside the window; unset when + the file had no usage at all title: type: string title: title - description: empty for untitled chats + description: one entry per UTC day in the window, oldest first; idle days zero-filled lastPulled: title: last_pulled $ref: '#/components/schemas/google.protobuf.Timestamp' used: type: boolean title: used - description: the chat also ran the file (directly or via imports), not just pulled it title: FileChatUsage additionalProperties: false - description: |- - FileChatUsage is one chat that retrieved a library file inside the - observation window. Only pulls attributed to a chat are listed — background - or sandbox reads carry no chat id and are excluded. textql.rpc.public.patches.FileUsage: type: object properties: @@ -30055,7 +30367,7 @@ components: $ref: '#/components/schemas/google.protobuf.Timestamp' title: FileUsage additionalProperties: false - textql.rpc.public.patches.FinalizeLibraryFileUploadRequest: + textql.rpc.public.patches.FinalizeOntologyFileUploadRequest: type: object properties: path: @@ -30068,15 +30380,15 @@ components: type: string title: commit_message nullable: true - title: FinalizeLibraryFileUploadRequest + title: FinalizeOntologyFileUploadRequest additionalProperties: false - textql.rpc.public.patches.FinalizeLibraryFileUploadResponse: + textql.rpc.public.patches.FinalizeOntologyFileUploadResponse: type: object properties: file: title: file - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryFile' - title: FinalizeLibraryFileUploadResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' + title: FinalizeOntologyFileUploadResponse additionalProperties: false textql.rpc.public.patches.GetCodeownerCoverageRequest: type: object @@ -30127,22 +30439,22 @@ components: title: can_create_patches title: GetConfigExportCapabilitiesResponse additionalProperties: false - textql.rpc.public.patches.GetEffectiveLibraryOwnersRequest: + textql.rpc.public.patches.GetEffectiveOntologyOwnersRequest: type: object properties: path: type: string title: path - title: GetEffectiveLibraryOwnersRequest + title: GetEffectiveOntologyOwnersRequest additionalProperties: false description: |- Returns the *effective* owners for a directory after walking ancestor OWNERS files: for every role in the org, the resolved permission the role would have on this directory (per `permissionForDirWithRoles`). Use this when you need to compare permissions across paths — the - literal GetLibraryOwners only reflects the OWNERS file at the exact + literal GetOntologyOwners only reflects the OWNERS file at the exact path, missing inheritance. - textql.rpc.public.patches.GetEffectiveLibraryOwnersResponse: + textql.rpc.public.patches.GetEffectiveOntologyOwnersResponse: type: object properties: path: @@ -30151,9 +30463,9 @@ components: entries: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryOwnerEntry' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwnerEntry' title: entries - title: GetEffectiveLibraryOwnersResponse + title: GetEffectiveOntologyOwnersResponse additionalProperties: false textql.rpc.public.patches.GetFileUsageRequest: type: object @@ -30179,7 +30491,7 @@ components: type: integer title: page_size format: int32 - description: default 100, capped at 100 + description: default 1000, capped at 1000 nullable: true title: GetFileUsageRequest additionalProperties: false @@ -30203,15 +30515,18 @@ components: pathPrefix: type: string title: path_prefix - description: Restrict to files under this prefix; the whole library when unset. nullable: true observationPeriod: title: observation_period - description: default 7d + description: empty for untitled chats nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetFileUsageTimelineRequest additionalProperties: false + description: |- + FileChatUsage is one chat that retrieved a ontology file inside the + observation window. Only pulls attributed to a chat are listed — background + or sandbox reads carry no chat id and are excluded. textql.rpc.public.patches.GetFileUsageTimelineResponse: type: object properties: @@ -30220,42 +30535,42 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.patches.DailyFileUsage' title: days - description: one entry per UTC day in the window, oldest first; idle days zero-filled + description: most recent pull first title: GetFileUsageTimelineResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryAnaConfigRequest: + textql.rpc.public.patches.GetOntologyAnaConfigRequest: type: object properties: path: type: string title: path - title: GetLibraryAnaConfigRequest + title: GetOntologyAnaConfigRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryAnaConfigResponse: + textql.rpc.public.patches.GetOntologyAnaConfigResponse: type: object properties: config: title: config - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryAnaConfig' - title: GetLibraryAnaConfigResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyAnaConfig' + title: GetOntologyAnaConfigResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryFileRequest: + textql.rpc.public.patches.GetOntologyFileRequest: type: object properties: path: type: string title: path - title: GetLibraryFileRequest + title: GetOntologyFileRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryFileResponse: + textql.rpc.public.patches.GetOntologyFileResponse: type: object properties: file: title: file - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryFile' - title: GetLibraryFileResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' + title: GetOntologyFileResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryGithubOAuthURLRequest: + textql.rpc.public.patches.GetOntologyGithubOAuthURLRequest: type: object properties: state: @@ -30264,9 +30579,9 @@ components: codeChallenge: type: string title: code_challenge - title: GetLibraryGithubOAuthURLRequest + title: GetOntologyGithubOAuthURLRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryGithubOAuthURLResponse: + textql.rpc.public.patches.GetOntologyGithubOAuthURLResponse: type: object properties: authorizeUrl: @@ -30278,9 +30593,9 @@ components: available: type: boolean title: available - title: GetLibraryGithubOAuthURLResponse + title: GetOntologyGithubOAuthURLResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryHistoryFileDiffRequest: + textql.rpc.public.patches.GetOntologyHistoryFileDiffRequest: type: object properties: commitId: @@ -30289,9 +30604,9 @@ components: path: type: string title: path - title: GetLibraryHistoryFileDiffRequest + title: GetOntologyHistoryFileDiffRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryHistoryFileDiffResponse: + textql.rpc.public.patches.GetOntologyHistoryFileDiffResponse: type: object properties: commitId: @@ -30306,7 +30621,7 @@ components: nullable: true changeType: title: change_type - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryHistoryChangeType' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangeType' beforeContent: type: string title: before_content @@ -30316,48 +30631,35 @@ components: isBinary: type: boolean title: is_binary - title: GetLibraryHistoryFileDiffResponse + title: GetOntologyHistoryFileDiffResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryMigrationStatusRequest: - type: object - title: GetLibraryMigrationStatusRequest - additionalProperties: false - textql.rpc.public.patches.GetLibraryMigrationStatusResponse: - type: object - properties: - pendingLegacyContextCount: - type: integer - title: pending_legacy_context_count - format: int32 - title: GetLibraryMigrationStatusResponse - additionalProperties: false - textql.rpc.public.patches.GetLibraryOwnersRequest: + textql.rpc.public.patches.GetOntologyOwnersRequest: type: object properties: path: type: string title: path - title: GetLibraryOwnersRequest + title: GetOntologyOwnersRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryOwnersResponse: + textql.rpc.public.patches.GetOntologyOwnersResponse: type: object properties: owners: title: owners - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryOwners' - title: GetLibraryOwnersResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwners' + title: GetOntologyOwnersResponse additionalProperties: false - textql.rpc.public.patches.GetLibraryRemoteRequest: + textql.rpc.public.patches.GetOntologyRemoteRequest: type: object - title: GetLibraryRemoteRequest + title: GetOntologyRemoteRequest additionalProperties: false - textql.rpc.public.patches.GetLibraryRemoteResponse: + textql.rpc.public.patches.GetOntologyRemoteResponse: type: object properties: remote: title: remote nullable: true - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryRemote' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' hostedGithubAppAvailable: type: boolean title: hosted_github_app_available @@ -30365,44 +30667,42 @@ components: type: string title: hosted_github_app_slug nullable: true - title: GetLibraryRemoteResponse + title: GetOntologyRemoteResponse additionalProperties: false - textql.rpc.public.patches.GetLibrarySizeTimelineRequest: + textql.rpc.public.patches.GetOntologySizeTimelineRequest: type: object properties: observationPeriod: title: observation_period - description: default 90d, capped at 365d + description: Restrict to files under this prefix; the whole ontology when unset. nullable: true $ref: '#/components/schemas/google.protobuf.Duration' - title: GetLibrarySizeTimelineRequest + title: GetOntologySizeTimelineRequest additionalProperties: false - textql.rpc.public.patches.GetLibrarySizeTimelineResponse: + textql.rpc.public.patches.GetOntologySizeTimelineResponse: type: object properties: days: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibrarySizeDay' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologySizeDay' title: days - description: |- - one entry per UTC day, oldest first; days before the repo's first commit - are omitted, and days without commits carry the previous day's tree - title: GetLibrarySizeTimelineResponse + description: default 90d, capped at 365d + title: GetOntologySizeTimelineResponse additionalProperties: false - textql.rpc.public.patches.GetLibrarySyncConflictsRequest: + textql.rpc.public.patches.GetOntologySyncConflictsRequest: type: object - title: GetLibrarySyncConflictsRequest + title: GetOntologySyncConflictsRequest additionalProperties: false - textql.rpc.public.patches.GetLibrarySyncConflictsResponse: + textql.rpc.public.patches.GetOntologySyncConflictsResponse: type: object properties: conflicts: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibrarySyncConflict' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncConflict' title: conflicts - title: GetLibrarySyncConflictsResponse + title: GetOntologySyncConflictsResponse additionalProperties: false textql.rpc.public.patches.GetOntologyUsageSummaryRequest: type: object @@ -30519,28 +30819,30 @@ components: filePath: type: string title: file_path + description: |- + Year of the date. Must be from 1 to 9999, or 0 to specify a date without + a year. observationPeriod: title: observation_period - description: default 7d + description: |- + Month of a year. Must be from 1 to 12, or 0 to specify a year without a + month and day. nullable: true $ref: '#/components/schemas/google.protobuf.Duration' title: GetUsageDetailsForFileRequest additionalProperties: false + description: copied from google.type.Date; not available in buf's google/protobuf/* textql.rpc.public.patches.GetUsageDetailsForFileResponse: type: object properties: lastUsed: title: last_used - description: |- - most recent pull or run (imports included) inside the window; unset when - the file had no usage at all $ref: '#/components/schemas/google.protobuf.Timestamp' days: type: array items: $ref: '#/components/schemas/textql.rpc.public.patches.DailyFileUsage' title: days - description: one entry per UTC day in the window, oldest first; idle days zero-filled title: GetUsageDetailsForFileResponse additionalProperties: false textql.rpc.public.patches.GithubInstallation: @@ -30596,7 +30898,265 @@ components: $ref: '#/components/schemas/google.protobuf.Timestamp' title: GoldenEntry additionalProperties: false - textql.rpc.public.patches.LibraryAnaConfig: + textql.rpc.public.patches.ListApprovalRulesRequest: + type: object + title: ListApprovalRulesRequest + additionalProperties: false + textql.rpc.public.patches.ListApprovalRulesResponse: + type: object + properties: + rules: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRule' + title: rules + title: ListApprovalRulesResponse + additionalProperties: false + textql.rpc.public.patches.ListChatsForFileRequest: + type: object + properties: + filePath: + type: string + title: file_path + observationPeriod: + title: observation_period + description: default 7d + nullable: true + $ref: '#/components/schemas/google.protobuf.Duration' + limit: + type: integer + title: limit + format: int32 + nullable: true + title: ListChatsForFileRequest + additionalProperties: false + textql.rpc.public.patches.ListChatsForFileResponse: + type: object + properties: + chats: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.FileChatUsage' + title: chats + title: ListChatsForFileResponse + additionalProperties: false + textql.rpc.public.patches.ListContextPatchAutoApproveRulesRequest: + type: object + title: ListContextPatchAutoApproveRulesRequest + additionalProperties: false + textql.rpc.public.patches.ListContextPatchAutoApproveRulesResponse: + type: object + properties: + rules: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' + title: rules + title: ListContextPatchAutoApproveRulesResponse + additionalProperties: false + textql.rpc.public.patches.ListGoldenFilesRequest: + type: object + title: ListGoldenFilesRequest + additionalProperties: false + textql.rpc.public.patches.ListGoldenFilesResponse: + type: object + properties: + golden: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.GoldenEntry' + title: golden + title: ListGoldenFilesResponse + additionalProperties: false + textql.rpc.public.patches.ListOntologyEntriesRequest: + type: object + properties: + path: + type: string + title: path + recursive: + type: boolean + title: recursive + nullable: true + includeDebugFiles: + type: boolean + title: include_debug_files + description: when true, reserved files like OWNERS are included + title: ListOntologyEntriesRequest + additionalProperties: false + textql.rpc.public.patches.ListOntologyEntriesResponse: + type: object + properties: + entries: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyEntry' + title: entries + title: ListOntologyEntriesResponse + additionalProperties: false + textql.rpc.public.patches.ListOntologyHistoryRequest: + type: object + properties: + pageSize: + type: integer + title: page_size + format: int32 + nullable: true + pageToken: + type: string + title: page_token + nullable: true + path: + type: string + title: path + nullable: true + title: ListOntologyHistoryRequest + additionalProperties: false + textql.rpc.public.patches.ListOntologyHistoryResponse: + type: object + properties: + history: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryEntry' + title: history + nextPageToken: + type: string + title: next_page_token + nullable: true + title: ListOntologyHistoryResponse + additionalProperties: false + textql.rpc.public.patches.ListOntologyImportsRequest: + type: object + title: ListOntologyImportsRequest + additionalProperties: false + textql.rpc.public.patches.ListOntologyImportsResponse: + type: object + properties: + imports: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyImportEdge' + title: imports + title: ListOntologyImportsResponse + additionalProperties: false + textql.rpc.public.patches.ListOntologySubmodulesRequest: + type: object + title: ListOntologySubmodulesRequest + additionalProperties: false + textql.rpc.public.patches.ListOntologySubmodulesResponse: + type: object + properties: + submodules: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.OntologySubmodule' + title: submodules + title: ListOntologySubmodulesResponse + additionalProperties: false + textql.rpc.public.patches.ListOntologySyncRunsRequest: + type: object + properties: + pageSize: + type: integer + title: page_size + format: int32 + nullable: true + pageToken: + type: string + title: page_token + nullable: true + title: ListOntologySyncRunsRequest + additionalProperties: false + textql.rpc.public.patches.ListOntologySyncRunsResponse: + type: object + properties: + runs: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncRun' + title: runs + nextPageToken: + type: string + title: next_page_token + nullable: true + title: ListOntologySyncRunsResponse + additionalProperties: false + textql.rpc.public.patches.ListPatchReviewersRequest: + type: object + properties: + patchId: + type: string + title: patch_id + title: ListPatchReviewersRequest + additionalProperties: false + textql.rpc.public.patches.ListPatchReviewersResponse: + type: object + properties: + reviewers: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.PatchReviewer' + title: reviewers + description: Code owners first, then admins, matching the sidebar's display order. + title: ListPatchReviewersResponse + additionalProperties: false + textql.rpc.public.patches.ListPatchesRequest: + type: object + properties: + pageSize: + type: integer + title: page_size + format: int32 + nullable: true + pageToken: + type: string + title: page_token + nullable: true + statuses: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' + title: statuses + includeAutoApproved: + type: boolean + title: include_auto_approved + nullable: true + title: ListPatchesRequest + additionalProperties: false + textql.rpc.public.patches.ListPatchesResponse: + type: object + properties: + patches: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.Patch' + title: patches + nextPageToken: + type: string + title: next_page_token + nullable: true + counts: + title: counts + nullable: true + $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatusCounts' + title: ListPatchesResponse + additionalProperties: false + textql.rpc.public.patches.ListSkillsRequest: + type: object + title: ListSkillsRequest + additionalProperties: false + textql.rpc.public.patches.ListSkillsResponse: + type: object + properties: + skills: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.patches.Skill' + title: skills + title: ListSkillsResponse + additionalProperties: false + textql.rpc.public.patches.OntologyAnaConfig: type: object properties: path: @@ -30619,9 +31179,9 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.patches.CodeownerEntry' title: codeowners - title: LibraryAnaConfig + title: OntologyAnaConfig additionalProperties: false - textql.rpc.public.patches.LibraryEntry: + textql.rpc.public.patches.OntologyEntry: type: object properties: path: @@ -30669,9 +31229,9 @@ components: entry whose status is ERROR; empty otherwise. Lets the file view surface the error inline without a second fetch. nullable: true - title: LibraryEntry + title: OntologyEntry additionalProperties: false - textql.rpc.public.patches.LibraryFile: + textql.rpc.public.patches.OntologyFile: type: object properties: path: @@ -30691,7 +31251,7 @@ components: title: can_write kind: title: kind - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryFileKind' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFileKind' mimeType: type: string title: mime_type @@ -30705,28 +31265,28 @@ components: type: string title: binary_content format: byte - title: LibraryFile + title: OntologyFile additionalProperties: false - textql.rpc.public.patches.LibraryFileKind: + textql.rpc.public.patches.OntologyFileKind: type: string - title: LibraryFileKind + title: OntologyFileKind enum: - - LIBRARY_FILE_KIND_UNSPECIFIED - - LIBRARY_FILE_KIND_TEXT - - LIBRARY_FILE_KIND_PDF - - LIBRARY_FILE_KIND_IMAGE - - LIBRARY_FILE_KIND_ASSET - - LIBRARY_FILE_KIND_TABULAR - textql.rpc.public.patches.LibraryHistoryChangeType: + - ONTOLOGY_FILE_KIND_UNSPECIFIED + - ONTOLOGY_FILE_KIND_TEXT + - ONTOLOGY_FILE_KIND_PDF + - ONTOLOGY_FILE_KIND_IMAGE + - ONTOLOGY_FILE_KIND_ASSET + - ONTOLOGY_FILE_KIND_TABULAR + textql.rpc.public.patches.OntologyHistoryChangeType: type: string - title: LibraryHistoryChangeType + title: OntologyHistoryChangeType enum: - - LIBRARY_HISTORY_CHANGE_TYPE_UNSPECIFIED - - LIBRARY_HISTORY_CHANGE_TYPE_ADDED - - LIBRARY_HISTORY_CHANGE_TYPE_MODIFIED - - LIBRARY_HISTORY_CHANGE_TYPE_DELETED - - LIBRARY_HISTORY_CHANGE_TYPE_RENAMED - textql.rpc.public.patches.LibraryHistoryChangedFile: + - ONTOLOGY_HISTORY_CHANGE_TYPE_UNSPECIFIED + - ONTOLOGY_HISTORY_CHANGE_TYPE_ADDED + - ONTOLOGY_HISTORY_CHANGE_TYPE_MODIFIED + - ONTOLOGY_HISTORY_CHANGE_TYPE_DELETED + - ONTOLOGY_HISTORY_CHANGE_TYPE_RENAMED + textql.rpc.public.patches.OntologyHistoryChangedFile: type: object properties: path: @@ -30738,10 +31298,10 @@ components: nullable: true changeType: title: change_type - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryHistoryChangeType' - title: LibraryHistoryChangedFile + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangeType' + title: OntologyHistoryChangedFile additionalProperties: false - textql.rpc.public.patches.LibraryHistoryEntry: + textql.rpc.public.patches.OntologyHistoryEntry: type: object properties: commitId: @@ -30763,11 +31323,11 @@ components: changedFiles: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryHistoryChangedFile' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyHistoryChangedFile' title: changed_files - title: LibraryHistoryEntry + title: OntologyHistoryEntry additionalProperties: false - textql.rpc.public.patches.LibraryImportEdge: + textql.rpc.public.patches.OntologyImportEdge: type: object properties: sourcePath: @@ -30779,20 +31339,20 @@ components: alias: type: string title: alias - title: LibraryImportEdge + title: OntologyImportEdge additionalProperties: false - textql.rpc.public.patches.LibraryMergeOutcome: + textql.rpc.public.patches.OntologyMergeOutcome: type: string - title: LibraryMergeOutcome + title: OntologyMergeOutcome enum: - - LIBRARY_MERGE_OUTCOME_UNSPECIFIED - - LIBRARY_MERGE_OUTCOME_ALREADY_UP_TO_DATE - - LIBRARY_MERGE_OUTCOME_LOCAL_AHEAD - - LIBRARY_MERGE_OUTCOME_FAST_FORWARD - - LIBRARY_MERGE_OUTCOME_BOOTSTRAP_ADOPT - - LIBRARY_MERGE_OUTCOME_MERGE_REQUIRED - - LIBRARY_MERGE_OUTCOME_UNRELATED_HISTORIES - textql.rpc.public.patches.LibraryOwnerEntry: + - ONTOLOGY_MERGE_OUTCOME_UNSPECIFIED + - ONTOLOGY_MERGE_OUTCOME_ALREADY_UP_TO_DATE + - ONTOLOGY_MERGE_OUTCOME_LOCAL_AHEAD + - ONTOLOGY_MERGE_OUTCOME_FAST_FORWARD + - ONTOLOGY_MERGE_OUTCOME_BOOTSTRAP_ADOPT + - ONTOLOGY_MERGE_OUTCOME_MERGE_REQUIRED + - ONTOLOGY_MERGE_OUTCOME_UNRELATED_HISTORIES + textql.rpc.public.patches.OntologyOwnerEntry: type: object properties: roleId: @@ -30800,10 +31360,10 @@ components: title: role_id permission: title: permission - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryPermission' - title: LibraryOwnerEntry + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyPermission' + title: OntologyOwnerEntry additionalProperties: false - textql.rpc.public.patches.LibraryOwners: + textql.rpc.public.patches.OntologyOwners: type: object properties: path: @@ -30812,7 +31372,7 @@ components: entries: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryOwnerEntry' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwnerEntry' title: entries canWrite: type: boolean @@ -30820,19 +31380,19 @@ components: updatedAt: title: updated_at $ref: '#/components/schemas/google.protobuf.Timestamp' - title: LibraryOwners + title: OntologyOwners additionalProperties: false - textql.rpc.public.patches.LibraryPermission: + textql.rpc.public.patches.OntologyPermission: type: string - title: LibraryPermission + title: OntologyPermission enum: - - LIBRARY_PERMISSION_UNSPECIFIED - - LIBRARY_PERMISSION_EXECUTE - - LIBRARY_PERMISSION_READ - - LIBRARY_PERMISSION_READ_EXECUTE - - LIBRARY_PERMISSION_READ_WRITE - - LIBRARY_PERMISSION_READ_WRITE_EXECUTE - textql.rpc.public.patches.LibraryRemote: + - ONTOLOGY_PERMISSION_UNSPECIFIED + - ONTOLOGY_PERMISSION_EXECUTE + - ONTOLOGY_PERMISSION_READ + - ONTOLOGY_PERMISSION_READ_EXECUTE + - ONTOLOGY_PERMISSION_READ_WRITE + - ONTOLOGY_PERMISSION_READ_WRITE_EXECUTE + textql.rpc.public.patches.OntologyRemote: type: object properties: id: @@ -30886,13 +31446,14 @@ components: pushMode: type: string title: push_mode - title: LibraryRemote + title: OntologyRemote additionalProperties: false - textql.rpc.public.patches.LibrarySizeDay: + textql.rpc.public.patches.OntologySizeDay: type: object properties: date: title: date + description: one entry per UTC day in the window, oldest first; idle days zero-filled $ref: '#/components/schemas/textql.rpc.public.patches.Date' totalBytes: type: @@ -30904,12 +31465,9 @@ components: type: integer title: file_count format: int32 - title: LibrarySizeDay + title: OntologySizeDay additionalProperties: false - description: |- - LibrarySizeDay is the library's total content size as of the end of one UTC - day, sampled from git history (the last commit on or before that day). - textql.rpc.public.patches.LibrarySubmodule: + textql.rpc.public.patches.OntologySubmodule: type: object properties: name: @@ -30924,9 +31482,9 @@ components: branch: type: string title: branch - title: LibrarySubmodule + title: OntologySubmodule additionalProperties: false - textql.rpc.public.patches.LibrarySyncConflict: + textql.rpc.public.patches.OntologySyncConflict: type: object properties: id: @@ -30947,9 +31505,9 @@ components: createdAt: title: created_at $ref: '#/components/schemas/google.protobuf.Timestamp' - title: LibrarySyncConflict + title: OntologySyncConflict additionalProperties: false - textql.rpc.public.patches.LibrarySyncRun: + textql.rpc.public.patches.OntologySyncRun: type: object properties: id: @@ -30972,7 +31530,7 @@ components: title: source status: title: status - $ref: '#/components/schemas/textql.rpc.public.patches.LibrarySyncRunStatus' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologySyncRunStatus' startedAt: title: started_at $ref: '#/components/schemas/google.protobuf.Timestamp' @@ -30988,440 +31546,17 @@ components: type: integer title: conflict_count format: int32 - title: LibrarySyncRun + title: OntologySyncRun additionalProperties: false - textql.rpc.public.patches.LibrarySyncRunStatus: + textql.rpc.public.patches.OntologySyncRunStatus: type: string - title: LibrarySyncRunStatus + title: OntologySyncRunStatus enum: - - LIBRARY_SYNC_RUN_STATUS_UNSPECIFIED - - LIBRARY_SYNC_RUN_STATUS_IN_PROGRESS - - LIBRARY_SYNC_RUN_STATUS_SUCCEEDED - - LIBRARY_SYNC_RUN_STATUS_FAILED - - LIBRARY_SYNC_RUN_STATUS_CONFLICTS - textql.rpc.public.patches.ListApprovalRulesRequest: - type: object - title: ListApprovalRulesRequest - additionalProperties: false - textql.rpc.public.patches.ListApprovalRulesResponse: - type: object - properties: - rules: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.ApprovalRule' - title: rules - title: ListApprovalRulesResponse - additionalProperties: false - textql.rpc.public.patches.ListChatsForFileRequest: - type: object - properties: - filePath: - type: string - title: file_path - observationPeriod: - title: observation_period - description: default 7d - nullable: true - $ref: '#/components/schemas/google.protobuf.Duration' - limit: - type: integer - title: limit - format: int32 - description: default and cap applied server-side - nullable: true - title: ListChatsForFileRequest - additionalProperties: false - textql.rpc.public.patches.ListChatsForFileResponse: - type: object - properties: - chats: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.FileChatUsage' - title: chats - description: most recent pull first - title: ListChatsForFileResponse - additionalProperties: false - textql.rpc.public.patches.ListContextPatchAutoApproveRulesRequest: - type: object - title: ListContextPatchAutoApproveRulesRequest - additionalProperties: false - textql.rpc.public.patches.ListContextPatchAutoApproveRulesResponse: - type: object - properties: - rules: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' - title: rules - title: ListContextPatchAutoApproveRulesResponse - additionalProperties: false - textql.rpc.public.patches.ListGoldenFilesRequest: - type: object - title: ListGoldenFilesRequest - additionalProperties: false - textql.rpc.public.patches.ListGoldenFilesResponse: - type: object - properties: - golden: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.GoldenEntry' - title: golden - title: ListGoldenFilesResponse - additionalProperties: false - textql.rpc.public.patches.ListLibraryEntriesRequest: - type: object - properties: - path: - type: string - title: path - recursive: - type: boolean - title: recursive - nullable: true - includeDebugFiles: - type: boolean - title: include_debug_files - description: when true, reserved files like OWNERS are included - title: ListLibraryEntriesRequest - additionalProperties: false - textql.rpc.public.patches.ListLibraryEntriesResponse: - type: object - properties: - entries: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryEntry' - title: entries - title: ListLibraryEntriesResponse - additionalProperties: false - textql.rpc.public.patches.ListLibraryHistoryRequest: - type: object - properties: - pageSize: - type: integer - title: page_size - format: int32 - nullable: true - pageToken: - type: string - title: page_token - nullable: true - path: - type: string - title: path - nullable: true - title: ListLibraryHistoryRequest - additionalProperties: false - textql.rpc.public.patches.ListLibraryHistoryResponse: - type: object - properties: - history: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryHistoryEntry' - title: history - nextPageToken: - type: string - title: next_page_token - nullable: true - title: ListLibraryHistoryResponse - additionalProperties: false - textql.rpc.public.patches.ListLibraryImportsRequest: - type: object - title: ListLibraryImportsRequest - additionalProperties: false - textql.rpc.public.patches.ListLibraryImportsResponse: - type: object - properties: - imports: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryImportEdge' - title: imports - title: ListLibraryImportsResponse - additionalProperties: false - textql.rpc.public.patches.ListLibrarySubmodulesRequest: - type: object - title: ListLibrarySubmodulesRequest - additionalProperties: false - textql.rpc.public.patches.ListLibrarySubmodulesResponse: - type: object - properties: - submodules: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibrarySubmodule' - title: submodules - title: ListLibrarySubmodulesResponse - additionalProperties: false - textql.rpc.public.patches.ListLibrarySyncRunsRequest: - type: object - properties: - pageSize: - type: integer - title: page_size - format: int32 - nullable: true - pageToken: - type: string - title: page_token - nullable: true - title: ListLibrarySyncRunsRequest - additionalProperties: false - textql.rpc.public.patches.ListLibrarySyncRunsResponse: - type: object - properties: - runs: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibrarySyncRun' - title: runs - nextPageToken: - type: string - title: next_page_token - nullable: true - title: ListLibrarySyncRunsResponse - additionalProperties: false - textql.rpc.public.patches.ListPatchReviewersRequest: - type: object - properties: - patchId: - type: string - title: patch_id - title: ListPatchReviewersRequest - additionalProperties: false - textql.rpc.public.patches.ListPatchReviewersResponse: - type: object - properties: - reviewers: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.PatchReviewer' - title: reviewers - description: Code owners first, then admins, matching the sidebar's display order. - title: ListPatchReviewersResponse - additionalProperties: false - textql.rpc.public.patches.ListPatchesRequest: - type: object - properties: - pageSize: - type: integer - title: page_size - format: int32 - nullable: true - pageToken: - type: string - title: page_token - nullable: true - statuses: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatus' - title: statuses - includeAutoApproved: - type: boolean - title: include_auto_approved - nullable: true - title: ListPatchesRequest - additionalProperties: false - textql.rpc.public.patches.ListPatchesResponse: - type: object - properties: - patches: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.Patch' - title: patches - nextPageToken: - type: string - title: next_page_token - nullable: true - counts: - title: counts - nullable: true - $ref: '#/components/schemas/textql.rpc.public.patches.PatchStatusCounts' - title: ListPatchesResponse - additionalProperties: false - textql.rpc.public.patches.ListSkillsRequest: - type: object - title: ListSkillsRequest - additionalProperties: false - textql.rpc.public.patches.ListSkillsResponse: - type: object - properties: - skills: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.Skill' - title: skills - title: ListSkillsResponse - additionalProperties: false - textql.rpc.public.patches.MigrateLegacyContextToLibraryRequest: - type: object - properties: - dryRun: - type: boolean - title: dry_run - nullable: true - includeInactive: - type: boolean - title: include_inactive - nullable: true - title: MigrateLegacyContextToLibraryRequest - additionalProperties: false - textql.rpc.public.patches.MigrateLegacyContextToLibraryResponse: - type: object - properties: - prompts: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.MigratedLegacyContextPrompt' - title: prompts - createdCount: - type: integer - title: created_count - format: int32 - skippedCount: - type: integer - title: skipped_count - format: int32 - totalLegacyCount: - type: integer - title: total_legacy_count - format: int32 - dryRun: - type: boolean - title: dry_run - title: MigrateLegacyContextToLibraryResponse - additionalProperties: false - textql.rpc.public.patches.MigrateOntologyToLibraryRequest: - type: object - properties: - ontologyIds: - type: array - items: - type: integer - format: int32 - title: ontology_ids - dryRun: - type: boolean - title: dry_run - nullable: true - title: MigrateOntologyToLibraryRequest - additionalProperties: false - textql.rpc.public.patches.MigrateOntologyToLibraryResponse: - type: object - properties: - results: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.MigrateOntologyToLibraryResult' - title: results - totalCreated: - type: integer - title: total_created - format: int32 - totalSkipped: - type: integer - title: total_skipped - format: int32 - dryRun: - type: boolean - title: dry_run - title: MigrateOntologyToLibraryResponse - additionalProperties: false - textql.rpc.public.patches.MigrateOntologyToLibraryResult: - type: object - properties: - ontologyId: - type: integer - title: ontology_id - format: int32 - ontologyName: - type: string - title: ontology_name - folderPath: - type: string - title: folder_path - nouns: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.patches.MigratedOntologyNoun' - title: nouns - createdCount: - type: integer - title: created_count - format: int32 - skippedCount: - type: integer - title: skipped_count - format: int32 - totalNouns: - type: integer - title: total_nouns - format: int32 - title: MigrateOntologyToLibraryResult - additionalProperties: false - textql.rpc.public.patches.MigratedLegacyContextPrompt: - type: object - properties: - legacyContextPromptId: - type: string - title: legacy_context_prompt_id - name: - type: string - title: name - folderPath: - type: string - title: folder_path - filePath: - type: string - title: file_path - created: - type: boolean - title: created - skipped: - type: boolean - title: skipped - skipReason: - type: string - title: skip_reason - nullable: true - isPublic: - type: boolean - title: is_public - autoAttach: - type: boolean - title: auto_attach - title: MigratedLegacyContextPrompt - additionalProperties: false - textql.rpc.public.patches.MigratedOntologyNoun: - type: object - properties: - nounId: - type: string - title: noun_id - nounName: - type: string - title: noun_name - filePath: - type: string - title: file_path - created: - type: boolean - title: created - skipped: - type: boolean - title: skipped - skipReason: - type: string - title: skip_reason - nullable: true - title: MigratedOntologyNoun - additionalProperties: false + - ONTOLOGY_SYNC_RUN_STATUS_UNSPECIFIED + - ONTOLOGY_SYNC_RUN_STATUS_IN_PROGRESS + - ONTOLOGY_SYNC_RUN_STATUS_SUCCEEDED + - ONTOLOGY_SYNC_RUN_STATUS_FAILED + - ONTOLOGY_SYNC_RUN_STATUS_CONFLICTS textql.rpc.public.patches.Patch: type: object properties: @@ -31754,16 +31889,16 @@ components: format: int32 title: PatchStatusCounts additionalProperties: false - textql.rpc.public.patches.PlanLibraryMergeRequest: + textql.rpc.public.patches.PlanOntologyMergeRequest: type: object - title: PlanLibraryMergeRequest + title: PlanOntologyMergeRequest additionalProperties: false - textql.rpc.public.patches.PlanLibraryMergeResponse: + textql.rpc.public.patches.PlanOntologyMergeResponse: type: object properties: outcome: title: outcome - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryMergeOutcome' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyMergeOutcome' localHeadHash: type: string title: local_head_hash @@ -31780,9 +31915,9 @@ components: items: type: string title: conflict_paths - title: PlanLibraryMergeResponse + title: PlanOntologyMergeResponse additionalProperties: false - textql.rpc.public.patches.PreviewLibraryPullFolderRow: + textql.rpc.public.patches.PreviewOntologyPullFolderRow: type: object properties: folderPath: @@ -31792,13 +31927,13 @@ components: type: integer title: file_count format: int32 - title: PreviewLibraryPullFolderRow + title: PreviewOntologyPullFolderRow additionalProperties: false - textql.rpc.public.patches.PreviewLibraryPullFromRemoteRequest: + textql.rpc.public.patches.PreviewOntologyPullFromRemoteRequest: type: object - title: PreviewLibraryPullFromRemoteRequest + title: PreviewOntologyPullFromRemoteRequest additionalProperties: false - textql.rpc.public.patches.PreviewLibraryPullFromRemoteResponse: + textql.rpc.public.patches.PreviewOntologyPullFromRemoteResponse: type: object properties: totalFiles: @@ -31812,7 +31947,7 @@ components: folderRows: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.PreviewLibraryPullFolderRow' + $ref: '#/components/schemas/textql.rpc.public.patches.PreviewOntologyPullFolderRow' title: folder_rows unrelatedHistories: type: boolean @@ -31827,9 +31962,9 @@ components: items: type: string title: unrelated_histories_conflict_paths - title: PreviewLibraryPullFromRemoteResponse + title: PreviewOntologyPullFromRemoteResponse additionalProperties: false - textql.rpc.public.patches.PullLibraryFromRemoteRequest: + textql.rpc.public.patches.PullOntologyFromRemoteRequest: type: object properties: acknowledgeUnrelatedHistories: @@ -31841,41 +31976,41 @@ components: expectedRemoteHeadHash: type: string title: expected_remote_head_hash - title: PullLibraryFromRemoteRequest + title: PullOntologyFromRemoteRequest additionalProperties: false - textql.rpc.public.patches.PushLibraryToRemoteRequest: + textql.rpc.public.patches.PushOntologyToRemoteRequest: type: object - title: PushLibraryToRemoteRequest + title: PushOntologyToRemoteRequest additionalProperties: false - textql.rpc.public.patches.RecoverLibraryLevel: + textql.rpc.public.patches.RecoverOntologyLevel: type: string - title: RecoverLibraryLevel + title: RecoverOntologyLevel enum: - - RECOVER_LIBRARY_LEVEL_UNSPECIFIED - - RECOVER_LIBRARY_LEVEL_DISCARD_LOCAL - - RECOVER_LIBRARY_LEVEL_RESET_TO_REMOTE - - RECOVER_LIBRARY_LEVEL_RECLONE - textql.rpc.public.patches.RecoverLibraryRequest: + - RECOVER_ONTOLOGY_LEVEL_UNSPECIFIED + - RECOVER_ONTOLOGY_LEVEL_DISCARD_LOCAL + - RECOVER_ONTOLOGY_LEVEL_RESET_TO_REMOTE + - RECOVER_ONTOLOGY_LEVEL_RECLONE + textql.rpc.public.patches.RecoverOntologyRequest: type: object properties: level: title: level - $ref: '#/components/schemas/textql.rpc.public.patches.RecoverLibraryLevel' - title: RecoverLibraryRequest + $ref: '#/components/schemas/textql.rpc.public.patches.RecoverOntologyLevel' + title: RecoverOntologyRequest additionalProperties: false - textql.rpc.public.patches.RemoveLibraryRemoteRequest: + textql.rpc.public.patches.RemoveOntologyRemoteRequest: type: object - title: RemoveLibraryRemoteRequest + title: RemoveOntologyRemoteRequest additionalProperties: false - textql.rpc.public.patches.RemoveLibrarySubmoduleRequest: + textql.rpc.public.patches.RemoveOntologySubmoduleRequest: type: object properties: path: type: string title: path - title: RemoveLibrarySubmoduleRequest + title: RemoveOntologySubmoduleRequest additionalProperties: false - textql.rpc.public.patches.RenameLibraryFileRequest: + textql.rpc.public.patches.RenameOntologyFileRequest: type: object properties: oldPath: @@ -31888,15 +32023,15 @@ components: type: string title: commit_message nullable: true - title: RenameLibraryFileRequest + title: RenameOntologyFileRequest additionalProperties: false - textql.rpc.public.patches.RenameLibraryFileResponse: + textql.rpc.public.patches.RenameOntologyFileResponse: type: object properties: file: title: file - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryFile' - title: RenameLibraryFileResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' + title: RenameOntologyFileResponse additionalProperties: false textql.rpc.public.patches.RequestPatchReviewRequest: type: object @@ -31917,7 +32052,7 @@ components: title: sent title: RequestPatchReviewResponse additionalProperties: false - textql.rpc.public.patches.ResolveLibrarySyncConflictRequest: + textql.rpc.public.patches.ResolveOntologySyncConflictRequest: type: object properties: conflictId: @@ -31926,7 +32061,7 @@ components: resolvedContent: type: string title: resolved_content - title: ResolveLibrarySyncConflictRequest + title: ResolveOntologySyncConflictRequest additionalProperties: false textql.rpc.public.patches.RestorePatchRequest: type: object @@ -31979,7 +32114,7 @@ components: items: type: string title: file_paths - description: Library-relative paths of the config files in the patch. + description: Ontology-relative paths of the config files in the patch. skipped: type: array items: @@ -32006,7 +32141,7 @@ components: description: |- SaveObjectAsConfig renders an existing DB object (object_type keyed like config_source: "playbook", later "dashboard", ...) as a config file and - authors it as a new OPEN patch under the type's default library folder. The + authors it as a new OPEN patch under the type's default ontology folder. The file can be moved/edited like any patch file before merging; on merge, reconcile takes over the original object when content and permissions allow. textql.rpc.public.patches.SaveObjectAsConfigResponse: @@ -32018,10 +32153,10 @@ components: filePath: type: string title: file_path - description: Library-relative path the config file was placed at. + description: Ontology-relative path the config file was placed at. title: SaveObjectAsConfigResponse additionalProperties: false - textql.rpc.public.patches.SetLibraryFileGoldenRequest: + textql.rpc.public.patches.SetOntologyFileGoldenRequest: type: object properties: path: @@ -32031,9 +32166,9 @@ components: type: boolean title: golden description: true = certify, false = retire - title: SetLibraryFileGoldenRequest + title: SetOntologyFileGoldenRequest additionalProperties: false - textql.rpc.public.patches.SetLibraryFileGoldenResponse: + textql.rpc.public.patches.SetOntologyFileGoldenResponse: type: object properties: golden: @@ -32042,7 +32177,7 @@ components: $ref: '#/components/schemas/textql.rpc.public.patches.GoldenEntry' title: golden description: full active list after the change - title: SetLibraryFileGoldenResponse + title: SetOntologyFileGoldenResponse additionalProperties: false textql.rpc.public.patches.Skill: type: object @@ -32062,11 +32197,11 @@ components: path: type: string title: path - description: library-relative path, e.g. "skills/forecast" + description: ontology-relative path, e.g. "skills/forecast" title: Skill additionalProperties: false description: |- - Skill is the display metadata for one library skill. Intentionally carries no + Skill is the display metadata for one ontology skill. Intentionally carries no instruction body: bodies are inlined server-side at chat time and never sent to the client. textql.rpc.public.patches.SkippedConfigExport: @@ -32094,7 +32229,7 @@ components: type: boolean title: drifted description: |- - True ⇒ the org's live Library HEAD differed from the last reconciled commit, + True ⇒ the org's live Ontology HEAD differed from the last reconciled commit, so a catch-up reconcile was enqueued. False ⇒ already converged (no-op). title: TriggerConfigDriftReconcileResponse additionalProperties: false @@ -32136,7 +32271,7 @@ components: $ref: '#/components/schemas/textql.rpc.public.patches.ContextPatchAutoApproveRule' title: UpdateContextPatchAutoApproveRuleResponse additionalProperties: false - textql.rpc.public.patches.UpdateLibrarySyncConfigRequest: + textql.rpc.public.patches.UpdateOntologySyncConfigRequest: type: object properties: syncEnabled: @@ -32146,17 +32281,17 @@ components: type: integer title: sync_interval_minutes format: int32 - title: UpdateLibrarySyncConfigRequest + title: UpdateOntologySyncConfigRequest additionalProperties: false - textql.rpc.public.patches.UpdateLibrarySyncConfigResponse: + textql.rpc.public.patches.UpdateOntologySyncConfigResponse: type: object properties: remote: title: remote - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryRemote' - title: UpdateLibrarySyncConfigResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyRemote' + title: UpdateOntologySyncConfigResponse additionalProperties: false - textql.rpc.public.patches.UpsertLibraryAnaConfigRequest: + textql.rpc.public.patches.UpsertOntologyAnaConfigRequest: type: object properties: path: @@ -32176,17 +32311,17 @@ components: items: $ref: '#/components/schemas/textql.rpc.public.patches.CodeownerEntry' title: codeowners - title: UpsertLibraryAnaConfigRequest + title: UpsertOntologyAnaConfigRequest additionalProperties: false - textql.rpc.public.patches.UpsertLibraryAnaConfigResponse: + textql.rpc.public.patches.UpsertOntologyAnaConfigResponse: type: object properties: config: title: config - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryAnaConfig' - title: UpsertLibraryAnaConfigResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyAnaConfig' + title: UpsertOntologyAnaConfigResponse additionalProperties: false - textql.rpc.public.patches.UpsertLibraryFileRequest: + textql.rpc.public.patches.UpsertOntologyFileRequest: type: object properties: path: @@ -32199,17 +32334,17 @@ components: type: string title: commit_message nullable: true - title: UpsertLibraryFileRequest + title: UpsertOntologyFileRequest additionalProperties: false - textql.rpc.public.patches.UpsertLibraryFileResponse: + textql.rpc.public.patches.UpsertOntologyFileResponse: type: object properties: file: title: file - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryFile' - title: UpsertLibraryFileResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyFile' + title: UpsertOntologyFileResponse additionalProperties: false - textql.rpc.public.patches.UpsertLibraryOwnersRequest: + textql.rpc.public.patches.UpsertOntologyOwnersRequest: type: object properties: path: @@ -32223,21 +32358,21 @@ components: permissions: type: array items: - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryPermission' + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyPermission' title: permissions commitMessage: type: string title: commit_message nullable: true - title: UpsertLibraryOwnersRequest + title: UpsertOntologyOwnersRequest additionalProperties: false - textql.rpc.public.patches.UpsertLibraryOwnersResponse: + textql.rpc.public.patches.UpsertOntologyOwnersResponse: type: object properties: owners: title: owners - $ref: '#/components/schemas/textql.rpc.public.patches.LibraryOwners' - title: UpsertLibraryOwnersResponse + $ref: '#/components/schemas/textql.rpc.public.patches.OntologyOwners' + title: UpsertOntologyOwnersResponse additionalProperties: false textql.rpc.public.patches.UsageOrderBy: type: string @@ -33182,6 +33317,11 @@ components: description: present ⇒ config-managed (defined by a Library file; config-owned fields read-only in UI) nullable: true $ref: '#/components/schemas/textql.rpc.public.config_source.ConfigSource' + apiAccessKeyIds: + type: array + items: + type: string + title: api_access_key_ids title: Playbook additionalProperties: false textql.rpc.public.playbook.PlaybookAttachDashboardRequest: @@ -33846,6 +33986,10 @@ components: title: tagged_teams_user_aad_ids nullable: true $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' + apiAccessKeyIds: + title: api_access_key_ids + nullable: true + $ref: '#/components/schemas/textql.rpc.public.playbook.StringList' title: UpdatePlaybookRequest additionalProperties: false textql.rpc.public.playbook.UpdatePlaybookResponse: @@ -34600,9 +34744,16 @@ components: apiKey: title: api_key $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' + apiKeySecret: + type: string + title: api_key_secret apiKeyHash: type: string title: api_key_hash + description: |- + Deprecated compatibility alias for api_key_secret. This field contains + the same one-time bearer credential; it is not the hash stored at rest. + deprecated: true title: CreateApiKeyResponse additionalProperties: false textql.rpc.public.rbac.CreateGroupRequest: @@ -35550,9 +35701,9 @@ components: apiKey: title: api_key $ref: '#/components/schemas/textql.rpc.public.rbac.ApiKey' - apiKeyHash: + apiKeySecret: type: string - title: api_key_hash + title: api_key_secret revokedApiKeyId: type: string title: revoked_api_key_id @@ -35619,6 +35770,32 @@ components: nullable: true title: ServiceAccount additionalProperties: false + textql.rpc.public.rbac.SetRolePermissionsRequest: + type: object + properties: + roleId: + type: string + title: role_id + addPermissionIds: + type: array + items: + type: string + title: add_permission_ids + removePermissionIds: + type: array + items: + type: string + title: remove_permission_ids + title: SetRolePermissionsRequest + additionalProperties: false + textql.rpc.public.rbac.SetRolePermissionsResponse: + type: object + properties: + success: + type: boolean + title: success + title: SetRolePermissionsResponse + additionalProperties: false textql.rpc.public.rbac.ShareObjectRequest: type: object properties: @@ -36136,6 +36313,13 @@ components: title: total_acus format: double description: Sum of acus across all returned intervals. + acuRatePer1000Usd: + type: number + title: acu_rate_per_1000_usd + format: double + description: |- + Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). 0 means unknown/unpriced. title: ListSandboxSpendResponse additionalProperties: false textql.rpc.public.sandbox_admin.ListSandboxesRequest: @@ -36185,10 +36369,10 @@ components: available: type: boolean title: available - description: False when the sandbox is not running (no live filesystem). name: type: string title: name + description: CPU in cores (e.g. 0.12 used of a 1.5 limit). Limit 0 = none configured. sizeBytes: type: - integer @@ -36198,24 +36382,23 @@ components: mimeType: type: string title: mime_type + description: Percent of the limit in [0, 100]; 0 when no limit is configured. content: type: string title: content - description: UTF-8 text content; empty for binary files (see binary_content). binaryContent: type: string title: binary_content format: byte - description: Raw bytes for binary files (e.g. images); empty for text files. truncated: type: boolean title: truncated - description: True when the file exceeded the read cap and content/binary was clipped. isBinary: type: boolean title: is_binary title: ReadSandboxFileResponse additionalProperties: false + description: One CPU/memory measurement of a sandbox worker. textql.rpc.public.sandbox_admin.RestartSandboxRequest: type: object properties: @@ -36465,6 +36648,167 @@ components: title: success title: StopSandboxResponse additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxExecuteWriteRequest: + type: object + properties: + name: + type: string + title: name + connectorId: + type: integer + title: connector_id + format: int32 + statement: + type: string + title: statement + parameters: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxQueryParam' + title: parameters + maxRows: + type: + - integer + - string + title: max_rows + format: int64 + title: SandboxExecuteWriteRequest + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxExecuteWriteResponse: + type: object + properties: + arrowData: + type: string + title: arrow_data + format: byte + totalRows: + type: + - integer + - string + title: total_rows + format: int64 + error: + type: string + title: error + refreshedToken: + type: string + title: refreshed_token + nullable: true + title: SandboxExecuteWriteResponse + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxPutAssetRequest: + type: object + properties: + fileName: + type: string + title: file_name + contentType: + type: string + title: content_type + data: + type: string + title: data + format: byte + title: SandboxPutAssetRequest + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxPutAssetResponse: + type: object + properties: + url: + type: string + title: url + error: + type: string + title: error + refreshedToken: + type: string + title: refreshed_token + nullable: true + title: SandboxPutAssetResponse + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxSendNotifyRequest: + type: object + properties: + name: + type: string + title: name + subject: + type: string + title: subject + body: + type: string + title: body + parameters: + type: array + items: + $ref: '#/components/schemas/textql.rpc.public.sandbox_query.SandboxQueryParam' + title: parameters + title: SandboxSendNotifyRequest + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxSendNotifyResponse: + type: object + properties: + sent: + type: boolean + title: sent + error: + type: string + title: error + refreshedToken: + type: string + title: refreshed_token + nullable: true + title: SandboxSendNotifyResponse + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxStateOpRequest: + type: object + properties: + op: + type: string + title: op + scope: + type: string + title: scope + key: + type: string + title: key + value: + type: string + title: value + title: SandboxStateOpRequest + additionalProperties: false + textql.rpc.public.sandbox_capability.SandboxStateOpResponse: + type: object + properties: + value: + type: string + title: value + found: + type: boolean + title: found + keys: + type: array + items: + type: string + title: keys + error: + type: string + title: error + refreshedToken: + type: string + title: refreshed_token + nullable: true + title: SandboxStateOpResponse + additionalProperties: false + textql.rpc.public.sandbox_query.AppDBTemplate: + type: object + properties: + query: + type: string + title: query + description: SQL to run against the app's private DuckDB database + title: AppDBTemplate + additionalProperties: false textql.rpc.public.sandbox_query.LibraryTQLTemplate: type: object properties: @@ -36497,6 +36841,13 @@ components: title: max_rows format: int64 - oneOf: + - properties: + appDb: + title: app_db + $ref: '#/components/schemas/textql.rpc.public.sandbox_query.AppDBTemplate' + title: app_db + required: + - appDb - properties: libraryTql: title: library_tql @@ -36731,271 +37082,6 @@ components: $ref: '#/components/schemas/google.protobuf.Timestamp' title: ScimToken additionalProperties: false - textql.rpc.public.secret.ApiAccessKey: - type: object - properties: - id: - type: string - title: id - orgId: - type: string - title: org_id - memberId: - type: string - title: member_id - hosts: - type: array - items: - type: string - title: hosts - headers: - type: object - title: headers - additionalProperties: - type: string - title: value - queryParams: - type: object - title: query_params - additionalProperties: - type: string - title: value - description: - type: string - title: description - createdAt: - title: created_at - $ref: '#/components/schemas/google.protobuf.Timestamp' - updatedAt: - title: updated_at - $ref: '#/components/schemas/google.protobuf.Timestamp' - expiresAt: - title: expires_at - nullable: true - $ref: '#/components/schemas/google.protobuf.Timestamp' - provider: - type: string - title: provider - authType: - type: string - title: auth_type - description: '"token", "oauth_u2m", "oauth_per_member"' - memberOauthAuthenticated: - type: boolean - title: member_oauth_authenticated - memberOauthDisplayName: - type: string - title: member_oauth_display_name - httpBasicAuth: - title: http_basic_auth - nullable: true - $ref: '#/components/schemas/textql.rpc.public.secret.HttpBasicAuth' - body: - type: object - title: body - additionalProperties: - type: string - title: value - contentType: - title: content_type - $ref: '#/components/schemas/textql.rpc.public.secret.BodyContentType' - canWrite: - type: boolean - title: can_write - accessType: - type: string - title: access_type - nullable: true - isPublic: - type: boolean - title: is_public - testUrl: - type: string - title: test_url - name: - type: string - title: name - authPrefix: - type: string - title: auth_prefix - title: ApiAccessKey - additionalProperties: false - textql.rpc.public.secret.ApiAccessKey.BodyEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: BodyEntry - additionalProperties: false - textql.rpc.public.secret.ApiAccessKey.HeadersEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: HeadersEntry - additionalProperties: false - textql.rpc.public.secret.ApiAccessKey.QueryParamsEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: QueryParamsEntry - additionalProperties: false - textql.rpc.public.secret.ApiAccessRef: - type: object - properties: - apiAccessKeyId: - type: string - title: api_access_key_id - revision: - type: - - integer - - string - title: revision - format: int64 - title: ApiAccessRef - additionalProperties: false - textql.rpc.public.secret.ApiProvider: - type: object - properties: - id: - type: string - title: id - name: - type: string - title: name - iconUrl: - type: string - title: icon_url - authType: - type: string - title: auth_type - description: - type: string - title: description - docsUrl: - type: string - title: docs_url - defaultHosts: - type: array - items: - type: string - title: default_hosts - tokenLabel: - type: string - title: token_label - authHeader: - type: string - title: auth_header - authPrefix: - type: string - title: auth_prefix - oauthSupported: - type: boolean - title: oauth_supported - oauthConfigured: - type: boolean - title: oauth_configured - memberAuthenticated: - type: boolean - title: member_authenticated - memberAuthDisplayName: - type: string - title: member_auth_display_name - envVarFields: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.secret.EnvVarField' - title: env_var_fields - oauthHasDefaultUrls: - type: boolean - title: oauth_has_default_urls - oauthAuthUrl: - type: string - title: oauth_auth_url - oauthTokenUrl: - type: string - title: oauth_token_url - oauthScopes: - type: string - title: oauth_scopes - oauthUsePkce: - type: boolean - title: oauth_use_pkce - oauthTokenAuthMethod: - type: string - title: oauth_token_auth_method - testUrl: - type: string - title: test_url - title: ApiProvider - additionalProperties: false - textql.rpc.public.secret.BodyContentType: - type: string - title: BodyContentType - enum: - - BODY_CONTENT_TYPE_NONE - - BODY_CONTENT_TYPE_JSON - - BODY_CONTENT_TYPE_FORM - textql.rpc.public.secret.CreateApiRevisionRequest: - type: object - properties: - apiAccessKeyId: - type: string - title: api_access_key_id - description: empty = new key draft - nullable: true - title: CreateApiRevisionRequest - additionalProperties: false - textql.rpc.public.secret.CreateApiRevisionResponse: - type: object - properties: - ref: - title: ref - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessRef' - apiAccessKey: - title: api_access_key - description: pre-populated from DB if key ID was given - nullable: true - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessKey' - title: CreateApiRevisionResponse - additionalProperties: false - textql.rpc.public.secret.DeleteApiAccessKeyRequest: - type: object - properties: - id: - type: string - title: id - title: DeleteApiAccessKeyRequest - additionalProperties: false - textql.rpc.public.secret.DeleteApiAccessKeyResponse: - type: object - title: DeleteApiAccessKeyResponse - additionalProperties: false - textql.rpc.public.secret.DeleteApiRevisionRequest: - type: object - properties: - ref: - title: ref - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessRef' - title: DeleteApiRevisionRequest - additionalProperties: false - textql.rpc.public.secret.DeleteApiRevisionResponse: - type: object - title: DeleteApiRevisionResponse - additionalProperties: false textql.rpc.public.secret.DeleteSecretRequest: type: object properties: @@ -37008,45 +37094,6 @@ components: type: object title: DeleteSecretResponse additionalProperties: false - textql.rpc.public.secret.EnvVarField: - type: object - properties: - envVar: - type: string - title: env_var - label: - type: string - title: label - required: - type: boolean - title: required - secret: - type: boolean - title: secret - defaultValue: - type: string - title: default_value - placeholder: - type: string - title: placeholder - title: EnvVarField - additionalProperties: false - textql.rpc.public.secret.GetApiAccessKeyRequest: - type: object - properties: - id: - type: string - title: id - title: GetApiAccessKeyRequest - additionalProperties: false - textql.rpc.public.secret.GetApiAccessKeyResponse: - type: object - properties: - apiAccessKey: - title: api_access_key - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessKey' - title: GetApiAccessKeyResponse - additionalProperties: false textql.rpc.public.secret.GetMembersWithSecretsRequest: type: object title: GetMembersWithSecretsRequest @@ -37061,45 +37108,6 @@ components: title: members title: GetMembersWithSecretsResponse additionalProperties: false - textql.rpc.public.secret.HttpBasicAuth: - type: object - properties: - username: - type: string - title: username - password: - type: string - title: password - title: HttpBasicAuth - additionalProperties: false - textql.rpc.public.secret.ListApiAccessKeysRequest: - type: object - title: ListApiAccessKeysRequest - additionalProperties: false - textql.rpc.public.secret.ListApiAccessKeysResponse: - type: object - properties: - apiAccessKeys: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessKey' - title: api_access_keys - title: ListApiAccessKeysResponse - additionalProperties: false - textql.rpc.public.secret.ListApiProvidersRequest: - type: object - title: ListApiProvidersRequest - additionalProperties: false - textql.rpc.public.secret.ListApiProvidersResponse: - type: object - properties: - providers: - type: array - items: - $ref: '#/components/schemas/textql.rpc.public.secret.ApiProvider' - title: providers - title: ListApiProvidersResponse - additionalProperties: false textql.rpc.public.secret.ListSecretsRequest: type: object title: ListSecretsRequest @@ -37114,46 +37122,6 @@ components: title: secrets title: ListSecretsResponse additionalProperties: false - textql.rpc.public.secret.MigrateSecretToApiConnectorRequest: - type: object - properties: - secretName: - type: string - title: secret_name - apiAccessKeyId: - type: string - title: api_access_key_id - description: empty = create new API connector - headerName: - type: string - title: header_name - hosts: - type: array - items: - type: string - title: hosts - description: Fields used when creating a new API connector (api_access_key_id is empty) - description: - type: string - title: description - valuePrefix: - type: string - title: value_prefix - description: e.g. "Bearer ", prepended to the secret value - name: - type: string - title: name - description: display name for the new API connector - title: MigrateSecretToApiConnectorRequest - additionalProperties: false - textql.rpc.public.secret.MigrateSecretToApiConnectorResponse: - type: object - properties: - apiAccessKey: - title: api_access_key - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessKey' - title: MigrateSecretToApiConnectorResponse - additionalProperties: false textql.rpc.public.secret.PutSecretRequest: type: object properties: @@ -37215,29 +37183,6 @@ components: title: is_public title: Secret additionalProperties: false - textql.rpc.public.secret.TestApiAccessKeyRequest: - type: object - properties: - ref: - title: ref - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessRef' - title: TestApiAccessKeyRequest - additionalProperties: false - textql.rpc.public.secret.TestApiAccessKeyResponse: - type: object - properties: - success: - type: boolean - title: success - statusCode: - type: integer - title: status_code - format: int32 - message: - type: string - title: message - title: TestApiAccessKeyResponse - additionalProperties: false textql.rpc.public.secret.UpdateSecretRequest: type: object properties: @@ -37262,113 +37207,6 @@ components: type: object title: UpdateSecretResponse additionalProperties: false - textql.rpc.public.secret.UpsertApiAccessKeyRequest: - type: object - properties: - ref: - title: ref - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessRef' - persistToDb: - type: boolean - title: persist_to_db - hosts: - type: array - items: - type: string - title: hosts - headers: - type: object - title: headers - additionalProperties: - type: string - title: value - queryParams: - type: object - title: query_params - additionalProperties: - type: string - title: value - description: - type: string - title: description - expiresAt: - title: expires_at - nullable: true - $ref: '#/components/schemas/google.protobuf.Timestamp' - provider: - type: string - title: provider - authValue: - type: string - title: auth_value - authValueExtra: - type: string - title: auth_value_extra - authType: - type: string - title: auth_type - httpBasicAuth: - title: http_basic_auth - nullable: true - $ref: '#/components/schemas/textql.rpc.public.secret.HttpBasicAuth' - body: - type: object - title: body - additionalProperties: - type: string - title: value - contentType: - title: content_type - $ref: '#/components/schemas/textql.rpc.public.secret.BodyContentType' - testUrl: - type: string - title: test_url - name: - type: string - title: name - title: UpsertApiAccessKeyRequest - additionalProperties: false - textql.rpc.public.secret.UpsertApiAccessKeyRequest.BodyEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: BodyEntry - additionalProperties: false - textql.rpc.public.secret.UpsertApiAccessKeyRequest.HeadersEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: HeadersEntry - additionalProperties: false - textql.rpc.public.secret.UpsertApiAccessKeyRequest.QueryParamsEntry: - type: object - properties: - key: - type: string - title: key - value: - type: string - title: value - title: QueryParamsEntry - additionalProperties: false - textql.rpc.public.secret.UpsertApiAccessKeyResponse: - type: object - properties: - apiAccessKey: - title: api_access_key - $ref: '#/components/schemas/textql.rpc.public.secret.ApiAccessKey' - title: UpsertApiAccessKeyResponse - additionalProperties: false textql.rpc.public.slack.CreateSlackUuidResponse: type: object properties: @@ -38101,30 +37939,23 @@ components: nullable: true title: TeamsUser additionalProperties: false - textql.rpc.public.chat.StreamChatEvent: - type: object - title: StreamChatEvent - description: A single streamed cell event from StreamChat. - properties: - cell: - $ref: '#/components/schemas/textql.rpc.public.chat.Cell' securitySchemes: apiKey: type: apiKey in: header name: tql_api_key tags: - - name: ConnectorService - name: DashboardService - - name: TableauService - - name: PowerBIService - - name: DatasetService - - name: LibraryService - name: AppService description: |- AppService manages data apps: the generative app execution primitive. An app is agent-authored single-file HTML/JS/CSS executing in a CSP sandbox, fed a snapshot of its declared data sources. First-class resource, not a dashboard. + - name: ConnectorService + - name: PowerBIService + - name: TableauService + - name: DatasetService + - name: OntologyManagementService - name: ChatService - name: AgentService - name: AuditLogService @@ -38136,6 +37967,7 @@ tags: description: RBAC service for managing roles, permissions, and access control - name: SandboxAdminService - name: SandboxQueryService + - name: SandboxCapabilityService - name: ScimService - name: SecretService - name: SlackService diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 27a28c8..182a754 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.790.2 +speakeasyVersion: 1.790.3 sources: TextQL API: sourceNamespace: textql-api - sourceRevisionDigest: sha256:4396f79faecd1cccbf0adca15bbe79791c3370bfaaedeecfa45324c629916bf8 - sourceBlobDigest: sha256:fa54e1335583276c5ae5acfd5542a7d45e340f36b9abb35645bbab18542f6e40 + sourceRevisionDigest: sha256:d3aefd5c78cd22a45cb01988bd89a83dbe8a0260697d3c51dcb26dbb9025f892 + sourceBlobDigest: sha256:6eb6335b521170dae9c971892d4e34356c955e83a43f88d87adc0a642f3611e9 tags: - latest - 1.0.0 @@ -11,10 +11,10 @@ targets: textql: source: TextQL API sourceNamespace: textql-api - sourceRevisionDigest: sha256:4396f79faecd1cccbf0adca15bbe79791c3370bfaaedeecfa45324c629916bf8 - sourceBlobDigest: sha256:fa54e1335583276c5ae5acfd5542a7d45e340f36b9abb35645bbab18542f6e40 + sourceRevisionDigest: sha256:d3aefd5c78cd22a45cb01988bd89a83dbe8a0260697d3c51dcb26dbb9025f892 + sourceBlobDigest: sha256:6eb6335b521170dae9c971892d4e34356c955e83a43f88d87adc0a642f3611e9 codeSamplesNamespace: textql-api-python-code-samples - codeSamplesRevisionDigest: sha256:10cbd43bca15d1e828d1de0b1f98650da5da6297bd504e0d6b7eb109e96abf6b + codeSamplesRevisionDigest: sha256:1600bdb7228db8fe93a7bbb970015bf3eb9d7a1562616b74f21be6954147c864 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest @@ -39,4 +39,4 @@ workflow: location: registry.speakeasyapi.dev/textql/home/textql-api-python-code-samples labelOverride: fixedValue: Python (SDK) - blocking: false + blocking: true diff --git a/README-PYPI.md b/README-PYPI.md index 4585d46..baa4852 100644 --- a/README-PYPI.md +++ b/README-PYPI.md @@ -204,7 +204,7 @@ with Textql( ### [Apps](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md) -* [heartbeat](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#heartbeat) - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op when the app has no warm worker; never spawns one. +* [heartbeat](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#heartbeat) - Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). * [create_app](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#create_app) - CreateApp * [delete_app](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#delete_app) - DeleteApp * [duplicate](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#duplicate) - Duplicates an app the caller can view into a new draft app they own, named "Copy of ". Copies code/files/data sources/compute functions/ schedule; never carries over the source's published state or data snapshot. @@ -221,6 +221,15 @@ with Textql( * [set_favorite](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#set_favorite) - Favorite/unfavorite a library item (app or dashboard) for the calling member. Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives since the merged library page pins apps and dashboards through one client. * [update](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/apps/README.md#update) - UpdateApp +### [AppService](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md) + +* [app_service_get_app_member_state](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_get_app_member_state) - Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL. +* [app_service_list_app_activity_since](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_list_app_activity_since) - ListAppActivitySince +* [app_service_list_my_app_member_activity](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_list_my_app_member_activity) - Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. +* [app_service_presence_heartbeat](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_presence_heartbeat) - Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. +* [app_service_record_app_member_activity](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_record_app_member_activity) - RecordAppMemberActivity +* [app_service_set_app_member_state](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/appservice/README.md#app_service_set_app_member_state) - Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state. + ### [AuditLogs](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/auditlogs/README.md) * [configure_otlp_export](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/auditlogs/README.md#configure_otlp_export) - ConfigureOtlpExport @@ -340,84 +349,6 @@ with Textql( * [process_upload_presign_url](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/datasets/README.md#process_upload_presign_url) - ProcessUploadPresignUrl * [update_dataset](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/datasets/README.md#update_dataset) - Update dataset metadata -### [Libraries](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md) - -* [add_submodule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#add_submodule) - AddLibrarySubmodule -* [approve_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#approve_patch) - ApprovePatch -* [configure_library_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#configure_library_remote) - ConfigureLibraryRemote -* [create_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#create_approval_rule) - CreateApprovalRule -* [create_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule -* [create_library_directory](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#create_library_directory) - CreateLibraryDirectory -* [create_file_upload_url](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#create_file_upload_url) - CreateLibraryFileUploadUrl -* [delete_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#delete_approval_rule) - DeleteApprovalRule -* [delete_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule -* [delete_library_directory](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#delete_library_directory) - DeleteLibraryDirectory -* [delete_library_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#delete_library_file) - DeleteLibraryFile -* [delete_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#delete_owners) - DeleteLibraryOwners -* [deny_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#deny_patch) - DenyPatch -* [exchange_github_code](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#exchange_github_code) - ExchangeLibraryGithubCode -* [finalize_file_upload](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#finalize_file_upload) - FinalizeLibraryFileUpload -* [get_codeowner_coverage](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_codeowner_coverage) - GetCodeownerCoverage -* [get_config_export_capabilities](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_config_export_capabilities) - GetConfigExportCapabilities -* [get_effective_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_effective_owners) - GetEffectiveLibraryOwners -* [get_file_usage](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_file_usage) - GetFileUsage -* [get_file_usage_timeline](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_file_usage_timeline) - GetFileUsageTimeline -* [get_ana_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_ana_config) - GetLibraryAnaConfig -* [get_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_file) - GetLibraryFile -* [get_library_github_o_auth_url](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_library_github_o_auth_url) - GetLibraryGithubOAuthURL -* [get_history_file_diff](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_history_file_diff) - GetLibraryHistoryFileDiff -* [get_migration_status](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_migration_status) - GetLibraryMigrationStatus -* [get_library_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_library_owners) - GetLibraryOwners -* [get_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_remote) - GetLibraryRemote -* [get_size_timeline](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_size_timeline) - GetLibrarySizeTimeline -* [get_library_sync_conflicts](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_library_sync_conflicts) - GetLibrarySyncConflicts -* [get_ontology_usage_summary](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_ontology_usage_summary) - GetOntologyUsageSummary -* [get_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_patch) - GetPatch -* [get_patch_by_number](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_patch_by_number) - GetPatchByNumber -* [get_patch_capabilities](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_patch_capabilities) - GetPatchCapabilities -* [get_raw_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_raw_patch) - GetRawPatch -* [get_usage_details_for_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#get_usage_details_for_file) - GetUsageDetailsForFile -* [list_approval_rules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_approval_rules) - ListApprovalRules -* [list_chats_for_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_chats_for_file) - ListChatsForFile -* [list_context_patch_auto_approve_rules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules -* [list_library_entries](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_library_entries) - ListLibraryEntries -* [list_library_history](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_library_history) - ListLibraryHistory -* [list_imports](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_imports) - ListLibraryImports -* [list_library_submodules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_library_submodules) - ListLibrarySubmodules -* [list_library_sync_runs](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_library_sync_runs) - ListLibrarySyncRuns -* [list_patch_reviewers](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_patch_reviewers) - ListPatchReviewers -* [list_patches](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_patches) - ListPatches -* [list_skills](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#list_skills) - Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. -* [migrate_legacy_context](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#migrate_legacy_context) - MigrateLegacyContextToLibrary -* [migrate_ontology](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#migrate_ontology) - MigrateOntologyToLibrary -* [plan_merge](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#plan_merge) - PlanLibraryMerge -* [preview_library_pull_from_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#preview_library_pull_from_remote) - PreviewLibraryPullFromRemote -* [pull_from_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#pull_from_remote) - PullLibraryFromRemote -* [push_library_to_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#push_library_to_remote) - PushLibraryToRemote -* [recover](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#recover) - RecoverLibrary -* [remove_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#remove_remote) - RemoveLibraryRemote -* [remove_library_submodule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#remove_library_submodule) - RemoveLibrarySubmodule -* [rename_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#rename_file) - RenameLibraryFile -* [request_patch_review](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#request_patch_review) - RequestPatchReview -* [resolve_sync_conflict](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#resolve_sync_conflict) - ResolveLibrarySyncConflict -* [restore_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#restore_patch) - RestorePatch -* [revert_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#revert_patch) - RevertPatch -* [save_all_objects_as_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#save_all_objects_as_config) - SaveAllObjectsAsConfig -* [save_as_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#save_as_config) - SaveObjectAsConfig -* [trigger_config_drift_reconcile](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Library repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. -* [update_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#update_approval_rule) - UpdateApprovalRule -* [update_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule -* [update_library_sync_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#update_library_sync_config) - UpdateLibrarySyncConfig -* [upsert_ana_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#upsert_ana_config) - UpsertLibraryAnaConfig -* [upsert_library_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#upsert_library_file) - UpsertLibraryFile -* [upsert_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#upsert_owners) - UpsertLibraryOwners -* [validate_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraries/README.md#validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. - -### [LibraryService](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraryservice/README.md) - -* [library_service_list_golden_files](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraryservice/README.md#library_service_list_golden_files) - ListGoldenFiles -* [library_service_set_library_file_golden](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/libraryservice/README.md#library_service_set_library_file_golden) - SetLibraryFileGolden - ### [Mcp](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/mcp/README.md) * [clear_o_auth_token](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/mcp/README.md#clear_o_auth_token) - ClearOAuthToken @@ -468,6 +399,78 @@ with Textql( * [set_topic_tag_feedback](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/observability/README.md#set_topic_tag_feedback) - SetTopicTagFeedback * [update_custom_topic](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/observability/README.md#update_custom_topic) - UpdateCustomTopic +### [OntologyManagementService](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md) + +* [ontology_management_service_add_ontology_submodule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_add_ontology_submodule) - AddOntologySubmodule +* [ontology_management_service_approve_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_approve_patch) - ApprovePatch +* [ontology_management_service_configure_ontology_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_configure_ontology_remote) - ConfigureOntologyRemote +* [ontology_management_service_create_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_approval_rule) - CreateApprovalRule +* [ontology_management_service_create_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule +* [ontology_management_service_create_ontology_directory](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_ontology_directory) - CreateOntologyDirectory +* [ontology_management_service_create_ontology_file_upload_url](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_ontology_file_upload_url) - CreateOntologyFileUploadUrl +* [ontology_management_service_delete_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_approval_rule) - DeleteApprovalRule +* [ontology_management_service_delete_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule +* [ontology_management_service_delete_ontology_directory](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_directory) - DeleteOntologyDirectory +* [ontology_management_service_delete_ontology_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_file) - DeleteOntologyFile +* [ontology_management_service_delete_ontology_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_owners) - DeleteOntologyOwners +* [ontology_management_service_deny_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_deny_patch) - DenyPatch +* [ontology_management_service_exchange_ontology_github_code](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_exchange_ontology_github_code) - ExchangeOntologyGithubCode +* [ontology_management_service_finalize_ontology_file_upload](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_finalize_ontology_file_upload) - FinalizeOntologyFileUpload +* [ontology_management_service_get_codeowner_coverage](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_codeowner_coverage) - GetCodeownerCoverage +* [ontology_management_service_get_config_export_capabilities](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_config_export_capabilities) - GetConfigExportCapabilities +* [ontology_management_service_get_effective_ontology_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_effective_ontology_owners) - GetEffectiveOntologyOwners +* [ontology_management_service_get_file_usage](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_file_usage) - GetFileUsage +* [ontology_management_service_get_file_usage_timeline](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_file_usage_timeline) - GetFileUsageTimeline +* [ontology_management_service_get_ontology_ana_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_ana_config) - GetOntologyAnaConfig +* [ontology_management_service_get_ontology_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_file) - GetOntologyFile +* [ontology_management_service_get_ontology_github_o_auth_url](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_github_o_auth_url) - GetOntologyGithubOAuthURL +* [ontology_management_service_get_ontology_history_file_diff](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_history_file_diff) - GetOntologyHistoryFileDiff +* [ontology_management_service_get_ontology_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_owners) - GetOntologyOwners +* [ontology_management_service_get_ontology_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_remote) - GetOntologyRemote +* [ontology_management_service_get_ontology_size_timeline](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_size_timeline) - GetOntologySizeTimeline +* [ontology_management_service_get_ontology_sync_conflicts](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_sync_conflicts) - GetOntologySyncConflicts +* [ontology_management_service_get_ontology_usage_summary](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_usage_summary) - GetOntologyUsageSummary +* [ontology_management_service_get_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch) - GetPatch +* [ontology_management_service_get_patch_by_number](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch_by_number) - GetPatchByNumber +* [ontology_management_service_get_patch_capabilities](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch_capabilities) - GetPatchCapabilities +* [ontology_management_service_get_raw_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_raw_patch) - GetRawPatch +* [ontology_management_service_get_usage_details_for_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_usage_details_for_file) - GetUsageDetailsForFile +* [ontology_management_service_list_approval_rules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_approval_rules) - ListApprovalRules +* [ontology_management_service_list_chats_for_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_chats_for_file) - ListChatsForFile +* [ontology_management_service_list_context_patch_auto_approve_rules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules +* [ontology_management_service_list_golden_files](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_golden_files) - ListGoldenFiles +* [ontology_management_service_list_ontology_entries](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_entries) - ListOntologyEntries +* [ontology_management_service_list_ontology_history](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_history) - ListOntologyHistory +* [ontology_management_service_list_ontology_imports](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_imports) - ListOntologyImports +* [ontology_management_service_list_ontology_submodules](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_submodules) - ListOntologySubmodules +* [ontology_management_service_list_ontology_sync_runs](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_sync_runs) - ListOntologySyncRuns +* [ontology_management_service_list_patch_reviewers](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_patch_reviewers) - ListPatchReviewers +* [ontology_management_service_list_patches](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_patches) - ListPatches +* [ontology_management_service_list_skills](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_skills) - Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. +* [ontology_management_service_plan_ontology_merge](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_plan_ontology_merge) - PlanOntologyMerge +* [ontology_management_service_preview_ontology_pull_from_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_preview_ontology_pull_from_remote) - PreviewOntologyPullFromRemote +* [ontology_management_service_pull_ontology_from_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_pull_ontology_from_remote) - PullOntologyFromRemote +* [ontology_management_service_push_ontology_to_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_push_ontology_to_remote) - PushOntologyToRemote +* [ontology_management_service_recover_ontology](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_recover_ontology) - RecoverOntology +* [ontology_management_service_remove_ontology_remote](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_remove_ontology_remote) - RemoveOntologyRemote +* [ontology_management_service_remove_ontology_submodule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_remove_ontology_submodule) - RemoveOntologySubmodule +* [ontology_management_service_rename_ontology_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_rename_ontology_file) - RenameOntologyFile +* [ontology_management_service_request_patch_review](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_request_patch_review) - RequestPatchReview +* [ontology_management_service_resolve_ontology_sync_conflict](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_resolve_ontology_sync_conflict) - ResolveOntologySyncConflict +* [ontology_management_service_restore_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_restore_patch) - RestorePatch +* [ontology_management_service_revert_patch](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_revert_patch) - RevertPatch +* [ontology_management_service_save_all_objects_as_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_save_all_objects_as_config) - SaveAllObjectsAsConfig +* [ontology_management_service_save_object_as_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_save_object_as_config) - SaveObjectAsConfig +* [ontology_management_service_set_ontology_file_golden](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_set_ontology_file_golden) - SetOntologyFileGolden +* [ontology_management_service_trigger_config_drift_reconcile](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. +* [ontology_management_service_update_approval_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_approval_rule) - UpdateApprovalRule +* [ontology_management_service_update_context_patch_auto_approve_rule](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule +* [ontology_management_service_update_ontology_sync_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_ontology_sync_config) - UpdateOntologySyncConfig +* [ontology_management_service_upsert_ontology_ana_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_ana_config) - UpsertOntologyAnaConfig +* [ontology_management_service_upsert_ontology_file](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_file) - UpsertOntologyFile +* [ontology_management_service_upsert_ontology_owners](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_owners) - UpsertOntologyOwners +* [ontology_management_service_validate_config](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/ontologymanagementservice/README.md#ontology_management_service_validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. + ### [Playbooks](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/playbooks/README.md) * [attach_dashboard](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/playbooks/README.md#attach_dashboard) - AttachDashboard @@ -574,6 +577,10 @@ with Textql( * [update_object_visibility](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/rbac/README.md#update_object_visibility) - UpdateObjectVisibility * [update_role](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/rbac/README.md#update_role) - UpdateRole +### [RBACService](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/rbacservice/README.md) + +* [rbac_service_set_role_permissions](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/rbacservice/README.md#rbac_service_set_role_permissions) - Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + ### [Sandbox](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandbox/README.md) * [execute_query](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandbox/README.md#execute_query) - ExecuteQuery @@ -590,6 +597,13 @@ with Textql( * [restart_sandbox](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxadmin/README.md#restart_sandbox) - Restart a stopped/reaped sandbox by re-acquiring a worker for the same sandbox_id, preserving the original owner. Same scoping as StopSandbox (owner, or sandbox:write_private for org-wide). * [stop](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxadmin/README.md#stop) - StopSandbox +### [SandboxCapabilityService](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxcapabilityservice/README.md) + +* [sandbox_capability_service_execute_write](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_execute_write) - ExecuteWrite +* [sandbox_capability_service_put_asset](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_put_asset) - PutAsset +* [sandbox_capability_service_send_notify](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_send_notify) - SendNotify +* [sandbox_capability_service_state_op](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_state_op) - StateOp + ### [Scim](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/scim/README.md) * [create_o_auth_client](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/scim/README.md#create_o_auth_client) - CreateScimOAuthClient @@ -601,20 +615,11 @@ with Textql( ### [Secrets](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md) -* [create_api_revision](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#create_api_revision) - CreateApiRevision -* [delete_api_access_key](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#delete_api_access_key) - DeleteApiAccessKey -* [delete_api_revision](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#delete_api_revision) - DeleteApiRevision * [delete_secret](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#delete_secret) - DeleteSecret -* [get_api_access_key](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#get_api_access_key) - GetApiAccessKey * [get_members_with_secrets](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#get_members_with_secrets) - GetMembersWithSecrets -* [list_api_access_keys](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#list_api_access_keys) - ListApiAccessKeys -* [list_api_providers](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#list_api_providers) - ListApiProviders * [list_secrets](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#list_secrets) - ListSecrets -* [migrate_secret_to_api_connector](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#migrate_secret_to_api_connector) - MigrateSecretToApiConnector * [put_secret](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#put_secret) - PutSecret -* [test_api_access_key](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#test_api_access_key) - TestApiAccessKey * [update](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#update) - UpdateSecret -* [upsert_api_access_key](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/secrets/README.md#upsert_api_access_key) - UpsertApiAccessKey ### [Slack](https://github.com/TextQLLabs/textql-python-v3/blob/master/docs/sdks/slack/README.md) diff --git a/README.md b/README.md index 32cb158..e7120cc 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,13 @@ Developer-friendly & type-safe Python SDK specifically catered to leverage *textql* API. [![License: MIT](https://img.shields.io/badge/LICENSE_//_MIT-3b5bdb?style=for-the-badge&labelColor=eff6ff)](https://opensource.org/licenses/MIT) + +## Summary + +TextQL API: TextQL public API. Generated from protobuf service definitions; internal +endpoints are excluded via google.api.visibility / file_visibility. + + ## Table of Contents @@ -197,7 +204,7 @@ with Textql( ### [Apps](docs/sdks/apps/README.md) -* [heartbeat](docs/sdks/apps/README.md#heartbeat) - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op when the app has no warm worker; never spawns one. +* [heartbeat](docs/sdks/apps/README.md#heartbeat) - Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). * [create_app](docs/sdks/apps/README.md#create_app) - CreateApp * [delete_app](docs/sdks/apps/README.md#delete_app) - DeleteApp * [duplicate](docs/sdks/apps/README.md#duplicate) - Duplicates an app the caller can view into a new draft app they own, named "Copy of ". Copies code/files/data sources/compute functions/ schedule; never carries over the source's published state or data snapshot. @@ -214,6 +221,15 @@ with Textql( * [set_favorite](docs/sdks/apps/README.md#set_favorite) - Favorite/unfavorite a library item (app or dashboard) for the calling member. Per-member, per-org; favorited=false hard-deletes the row. Covers both primitives since the merged library page pins apps and dashboards through one client. * [update](docs/sdks/apps/README.md#update) - UpdateApp +### [AppService](docs/sdks/appservice/README.md) + +* [app_service_get_app_member_state](docs/sdks/appservice/README.md#app_service_get_app_member_state) - Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL. +* [app_service_list_app_activity_since](docs/sdks/appservice/README.md#app_service_list_app_activity_since) - ListAppActivitySince +* [app_service_list_my_app_member_activity](docs/sdks/appservice/README.md#app_service_list_my_app_member_activity) - Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. +* [app_service_presence_heartbeat](docs/sdks/appservice/README.md#app_service_presence_heartbeat) - Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. +* [app_service_record_app_member_activity](docs/sdks/appservice/README.md#app_service_record_app_member_activity) - RecordAppMemberActivity +* [app_service_set_app_member_state](docs/sdks/appservice/README.md#app_service_set_app_member_state) - Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state. + ### [AuditLogs](docs/sdks/auditlogs/README.md) * [configure_otlp_export](docs/sdks/auditlogs/README.md#configure_otlp_export) - ConfigureOtlpExport @@ -333,84 +349,6 @@ with Textql( * [process_upload_presign_url](docs/sdks/datasets/README.md#process_upload_presign_url) - ProcessUploadPresignUrl * [update_dataset](docs/sdks/datasets/README.md#update_dataset) - Update dataset metadata -### [Libraries](docs/sdks/libraries/README.md) - -* [add_submodule](docs/sdks/libraries/README.md#add_submodule) - AddLibrarySubmodule -* [approve_patch](docs/sdks/libraries/README.md#approve_patch) - ApprovePatch -* [configure_library_remote](docs/sdks/libraries/README.md#configure_library_remote) - ConfigureLibraryRemote -* [create_approval_rule](docs/sdks/libraries/README.md#create_approval_rule) - CreateApprovalRule -* [create_context_patch_auto_approve_rule](docs/sdks/libraries/README.md#create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule -* [create_library_directory](docs/sdks/libraries/README.md#create_library_directory) - CreateLibraryDirectory -* [create_file_upload_url](docs/sdks/libraries/README.md#create_file_upload_url) - CreateLibraryFileUploadUrl -* [delete_approval_rule](docs/sdks/libraries/README.md#delete_approval_rule) - DeleteApprovalRule -* [delete_context_patch_auto_approve_rule](docs/sdks/libraries/README.md#delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule -* [delete_library_directory](docs/sdks/libraries/README.md#delete_library_directory) - DeleteLibraryDirectory -* [delete_library_file](docs/sdks/libraries/README.md#delete_library_file) - DeleteLibraryFile -* [delete_owners](docs/sdks/libraries/README.md#delete_owners) - DeleteLibraryOwners -* [deny_patch](docs/sdks/libraries/README.md#deny_patch) - DenyPatch -* [exchange_github_code](docs/sdks/libraries/README.md#exchange_github_code) - ExchangeLibraryGithubCode -* [finalize_file_upload](docs/sdks/libraries/README.md#finalize_file_upload) - FinalizeLibraryFileUpload -* [get_codeowner_coverage](docs/sdks/libraries/README.md#get_codeowner_coverage) - GetCodeownerCoverage -* [get_config_export_capabilities](docs/sdks/libraries/README.md#get_config_export_capabilities) - GetConfigExportCapabilities -* [get_effective_owners](docs/sdks/libraries/README.md#get_effective_owners) - GetEffectiveLibraryOwners -* [get_file_usage](docs/sdks/libraries/README.md#get_file_usage) - GetFileUsage -* [get_file_usage_timeline](docs/sdks/libraries/README.md#get_file_usage_timeline) - GetFileUsageTimeline -* [get_ana_config](docs/sdks/libraries/README.md#get_ana_config) - GetLibraryAnaConfig -* [get_file](docs/sdks/libraries/README.md#get_file) - GetLibraryFile -* [get_library_github_o_auth_url](docs/sdks/libraries/README.md#get_library_github_o_auth_url) - GetLibraryGithubOAuthURL -* [get_history_file_diff](docs/sdks/libraries/README.md#get_history_file_diff) - GetLibraryHistoryFileDiff -* [get_migration_status](docs/sdks/libraries/README.md#get_migration_status) - GetLibraryMigrationStatus -* [get_library_owners](docs/sdks/libraries/README.md#get_library_owners) - GetLibraryOwners -* [get_remote](docs/sdks/libraries/README.md#get_remote) - GetLibraryRemote -* [get_size_timeline](docs/sdks/libraries/README.md#get_size_timeline) - GetLibrarySizeTimeline -* [get_library_sync_conflicts](docs/sdks/libraries/README.md#get_library_sync_conflicts) - GetLibrarySyncConflicts -* [get_ontology_usage_summary](docs/sdks/libraries/README.md#get_ontology_usage_summary) - GetOntologyUsageSummary -* [get_patch](docs/sdks/libraries/README.md#get_patch) - GetPatch -* [get_patch_by_number](docs/sdks/libraries/README.md#get_patch_by_number) - GetPatchByNumber -* [get_patch_capabilities](docs/sdks/libraries/README.md#get_patch_capabilities) - GetPatchCapabilities -* [get_raw_patch](docs/sdks/libraries/README.md#get_raw_patch) - GetRawPatch -* [get_usage_details_for_file](docs/sdks/libraries/README.md#get_usage_details_for_file) - GetUsageDetailsForFile -* [list_approval_rules](docs/sdks/libraries/README.md#list_approval_rules) - ListApprovalRules -* [list_chats_for_file](docs/sdks/libraries/README.md#list_chats_for_file) - ListChatsForFile -* [list_context_patch_auto_approve_rules](docs/sdks/libraries/README.md#list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules -* [list_library_entries](docs/sdks/libraries/README.md#list_library_entries) - ListLibraryEntries -* [list_library_history](docs/sdks/libraries/README.md#list_library_history) - ListLibraryHistory -* [list_imports](docs/sdks/libraries/README.md#list_imports) - ListLibraryImports -* [list_library_submodules](docs/sdks/libraries/README.md#list_library_submodules) - ListLibrarySubmodules -* [list_library_sync_runs](docs/sdks/libraries/README.md#list_library_sync_runs) - ListLibrarySyncRuns -* [list_patch_reviewers](docs/sdks/libraries/README.md#list_patch_reviewers) - ListPatchReviewers -* [list_patches](docs/sdks/libraries/README.md#list_patches) - ListPatches -* [list_skills](docs/sdks/libraries/README.md#list_skills) - Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. -* [migrate_legacy_context](docs/sdks/libraries/README.md#migrate_legacy_context) - MigrateLegacyContextToLibrary -* [migrate_ontology](docs/sdks/libraries/README.md#migrate_ontology) - MigrateOntologyToLibrary -* [plan_merge](docs/sdks/libraries/README.md#plan_merge) - PlanLibraryMerge -* [preview_library_pull_from_remote](docs/sdks/libraries/README.md#preview_library_pull_from_remote) - PreviewLibraryPullFromRemote -* [pull_from_remote](docs/sdks/libraries/README.md#pull_from_remote) - PullLibraryFromRemote -* [push_library_to_remote](docs/sdks/libraries/README.md#push_library_to_remote) - PushLibraryToRemote -* [recover](docs/sdks/libraries/README.md#recover) - RecoverLibrary -* [remove_remote](docs/sdks/libraries/README.md#remove_remote) - RemoveLibraryRemote -* [remove_library_submodule](docs/sdks/libraries/README.md#remove_library_submodule) - RemoveLibrarySubmodule -* [rename_file](docs/sdks/libraries/README.md#rename_file) - RenameLibraryFile -* [request_patch_review](docs/sdks/libraries/README.md#request_patch_review) - RequestPatchReview -* [resolve_sync_conflict](docs/sdks/libraries/README.md#resolve_sync_conflict) - ResolveLibrarySyncConflict -* [restore_patch](docs/sdks/libraries/README.md#restore_patch) - RestorePatch -* [revert_patch](docs/sdks/libraries/README.md#revert_patch) - RevertPatch -* [save_all_objects_as_config](docs/sdks/libraries/README.md#save_all_objects_as_config) - SaveAllObjectsAsConfig -* [save_as_config](docs/sdks/libraries/README.md#save_as_config) - SaveObjectAsConfig -* [trigger_config_drift_reconcile](docs/sdks/libraries/README.md#trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Library repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. -* [update_approval_rule](docs/sdks/libraries/README.md#update_approval_rule) - UpdateApprovalRule -* [update_context_patch_auto_approve_rule](docs/sdks/libraries/README.md#update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule -* [update_library_sync_config](docs/sdks/libraries/README.md#update_library_sync_config) - UpdateLibrarySyncConfig -* [upsert_ana_config](docs/sdks/libraries/README.md#upsert_ana_config) - UpsertLibraryAnaConfig -* [upsert_library_file](docs/sdks/libraries/README.md#upsert_library_file) - UpsertLibraryFile -* [upsert_owners](docs/sdks/libraries/README.md#upsert_owners) - UpsertLibraryOwners -* [validate_config](docs/sdks/libraries/README.md#validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. - -### [LibraryService](docs/sdks/libraryservice/README.md) - -* [library_service_list_golden_files](docs/sdks/libraryservice/README.md#library_service_list_golden_files) - ListGoldenFiles -* [library_service_set_library_file_golden](docs/sdks/libraryservice/README.md#library_service_set_library_file_golden) - SetLibraryFileGolden - ### [Mcp](docs/sdks/mcp/README.md) * [clear_o_auth_token](docs/sdks/mcp/README.md#clear_o_auth_token) - ClearOAuthToken @@ -461,6 +399,78 @@ with Textql( * [set_topic_tag_feedback](docs/sdks/observability/README.md#set_topic_tag_feedback) - SetTopicTagFeedback * [update_custom_topic](docs/sdks/observability/README.md#update_custom_topic) - UpdateCustomTopic +### [OntologyManagementService](docs/sdks/ontologymanagementservice/README.md) + +* [ontology_management_service_add_ontology_submodule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_add_ontology_submodule) - AddOntologySubmodule +* [ontology_management_service_approve_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_approve_patch) - ApprovePatch +* [ontology_management_service_configure_ontology_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_configure_ontology_remote) - ConfigureOntologyRemote +* [ontology_management_service_create_approval_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_approval_rule) - CreateApprovalRule +* [ontology_management_service_create_context_patch_auto_approve_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule +* [ontology_management_service_create_ontology_directory](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_ontology_directory) - CreateOntologyDirectory +* [ontology_management_service_create_ontology_file_upload_url](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_create_ontology_file_upload_url) - CreateOntologyFileUploadUrl +* [ontology_management_service_delete_approval_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_approval_rule) - DeleteApprovalRule +* [ontology_management_service_delete_context_patch_auto_approve_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule +* [ontology_management_service_delete_ontology_directory](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_directory) - DeleteOntologyDirectory +* [ontology_management_service_delete_ontology_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_file) - DeleteOntologyFile +* [ontology_management_service_delete_ontology_owners](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_delete_ontology_owners) - DeleteOntologyOwners +* [ontology_management_service_deny_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_deny_patch) - DenyPatch +* [ontology_management_service_exchange_ontology_github_code](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_exchange_ontology_github_code) - ExchangeOntologyGithubCode +* [ontology_management_service_finalize_ontology_file_upload](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_finalize_ontology_file_upload) - FinalizeOntologyFileUpload +* [ontology_management_service_get_codeowner_coverage](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_codeowner_coverage) - GetCodeownerCoverage +* [ontology_management_service_get_config_export_capabilities](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_config_export_capabilities) - GetConfigExportCapabilities +* [ontology_management_service_get_effective_ontology_owners](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_effective_ontology_owners) - GetEffectiveOntologyOwners +* [ontology_management_service_get_file_usage](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_file_usage) - GetFileUsage +* [ontology_management_service_get_file_usage_timeline](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_file_usage_timeline) - GetFileUsageTimeline +* [ontology_management_service_get_ontology_ana_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_ana_config) - GetOntologyAnaConfig +* [ontology_management_service_get_ontology_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_file) - GetOntologyFile +* [ontology_management_service_get_ontology_github_o_auth_url](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_github_o_auth_url) - GetOntologyGithubOAuthURL +* [ontology_management_service_get_ontology_history_file_diff](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_history_file_diff) - GetOntologyHistoryFileDiff +* [ontology_management_service_get_ontology_owners](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_owners) - GetOntologyOwners +* [ontology_management_service_get_ontology_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_remote) - GetOntologyRemote +* [ontology_management_service_get_ontology_size_timeline](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_size_timeline) - GetOntologySizeTimeline +* [ontology_management_service_get_ontology_sync_conflicts](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_sync_conflicts) - GetOntologySyncConflicts +* [ontology_management_service_get_ontology_usage_summary](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_ontology_usage_summary) - GetOntologyUsageSummary +* [ontology_management_service_get_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch) - GetPatch +* [ontology_management_service_get_patch_by_number](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch_by_number) - GetPatchByNumber +* [ontology_management_service_get_patch_capabilities](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_patch_capabilities) - GetPatchCapabilities +* [ontology_management_service_get_raw_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_raw_patch) - GetRawPatch +* [ontology_management_service_get_usage_details_for_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_get_usage_details_for_file) - GetUsageDetailsForFile +* [ontology_management_service_list_approval_rules](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_approval_rules) - ListApprovalRules +* [ontology_management_service_list_chats_for_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_chats_for_file) - ListChatsForFile +* [ontology_management_service_list_context_patch_auto_approve_rules](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules +* [ontology_management_service_list_golden_files](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_golden_files) - ListGoldenFiles +* [ontology_management_service_list_ontology_entries](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_entries) - ListOntologyEntries +* [ontology_management_service_list_ontology_history](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_history) - ListOntologyHistory +* [ontology_management_service_list_ontology_imports](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_imports) - ListOntologyImports +* [ontology_management_service_list_ontology_submodules](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_submodules) - ListOntologySubmodules +* [ontology_management_service_list_ontology_sync_runs](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_ontology_sync_runs) - ListOntologySyncRuns +* [ontology_management_service_list_patch_reviewers](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_patch_reviewers) - ListPatchReviewers +* [ontology_management_service_list_patches](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_patches) - ListPatches +* [ontology_management_service_list_skills](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_list_skills) - Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. +* [ontology_management_service_plan_ontology_merge](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_plan_ontology_merge) - PlanOntologyMerge +* [ontology_management_service_preview_ontology_pull_from_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_preview_ontology_pull_from_remote) - PreviewOntologyPullFromRemote +* [ontology_management_service_pull_ontology_from_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_pull_ontology_from_remote) - PullOntologyFromRemote +* [ontology_management_service_push_ontology_to_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_push_ontology_to_remote) - PushOntologyToRemote +* [ontology_management_service_recover_ontology](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_recover_ontology) - RecoverOntology +* [ontology_management_service_remove_ontology_remote](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_remove_ontology_remote) - RemoveOntologyRemote +* [ontology_management_service_remove_ontology_submodule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_remove_ontology_submodule) - RemoveOntologySubmodule +* [ontology_management_service_rename_ontology_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_rename_ontology_file) - RenameOntologyFile +* [ontology_management_service_request_patch_review](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_request_patch_review) - RequestPatchReview +* [ontology_management_service_resolve_ontology_sync_conflict](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_resolve_ontology_sync_conflict) - ResolveOntologySyncConflict +* [ontology_management_service_restore_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_restore_patch) - RestorePatch +* [ontology_management_service_revert_patch](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_revert_patch) - RevertPatch +* [ontology_management_service_save_all_objects_as_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_save_all_objects_as_config) - SaveAllObjectsAsConfig +* [ontology_management_service_save_object_as_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_save_object_as_config) - SaveObjectAsConfig +* [ontology_management_service_set_ontology_file_golden](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_set_ontology_file_golden) - SetOntologyFileGolden +* [ontology_management_service_trigger_config_drift_reconcile](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. +* [ontology_management_service_update_approval_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_approval_rule) - UpdateApprovalRule +* [ontology_management_service_update_context_patch_auto_approve_rule](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule +* [ontology_management_service_update_ontology_sync_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_update_ontology_sync_config) - UpdateOntologySyncConfig +* [ontology_management_service_upsert_ontology_ana_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_ana_config) - UpsertOntologyAnaConfig +* [ontology_management_service_upsert_ontology_file](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_file) - UpsertOntologyFile +* [ontology_management_service_upsert_ontology_owners](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_upsert_ontology_owners) - UpsertOntologyOwners +* [ontology_management_service_validate_config](docs/sdks/ontologymanagementservice/README.md#ontology_management_service_validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. + ### [Playbooks](docs/sdks/playbooks/README.md) * [attach_dashboard](docs/sdks/playbooks/README.md#attach_dashboard) - AttachDashboard @@ -567,6 +577,10 @@ with Textql( * [update_object_visibility](docs/sdks/rbac/README.md#update_object_visibility) - UpdateObjectVisibility * [update_role](docs/sdks/rbac/README.md#update_role) - UpdateRole +### [RBACService](docs/sdks/rbacservice/README.md) + +* [rbac_service_set_role_permissions](docs/sdks/rbacservice/README.md#rbac_service_set_role_permissions) - Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + ### [Sandbox](docs/sdks/sandbox/README.md) * [execute_query](docs/sdks/sandbox/README.md#execute_query) - ExecuteQuery @@ -583,6 +597,13 @@ with Textql( * [restart_sandbox](docs/sdks/sandboxadmin/README.md#restart_sandbox) - Restart a stopped/reaped sandbox by re-acquiring a worker for the same sandbox_id, preserving the original owner. Same scoping as StopSandbox (owner, or sandbox:write_private for org-wide). * [stop](docs/sdks/sandboxadmin/README.md#stop) - StopSandbox +### [SandboxCapabilityService](docs/sdks/sandboxcapabilityservice/README.md) + +* [sandbox_capability_service_execute_write](docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_execute_write) - ExecuteWrite +* [sandbox_capability_service_put_asset](docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_put_asset) - PutAsset +* [sandbox_capability_service_send_notify](docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_send_notify) - SendNotify +* [sandbox_capability_service_state_op](docs/sdks/sandboxcapabilityservice/README.md#sandbox_capability_service_state_op) - StateOp + ### [Scim](docs/sdks/scim/README.md) * [create_o_auth_client](docs/sdks/scim/README.md#create_o_auth_client) - CreateScimOAuthClient @@ -594,20 +615,11 @@ with Textql( ### [Secrets](docs/sdks/secrets/README.md) -* [create_api_revision](docs/sdks/secrets/README.md#create_api_revision) - CreateApiRevision -* [delete_api_access_key](docs/sdks/secrets/README.md#delete_api_access_key) - DeleteApiAccessKey -* [delete_api_revision](docs/sdks/secrets/README.md#delete_api_revision) - DeleteApiRevision * [delete_secret](docs/sdks/secrets/README.md#delete_secret) - DeleteSecret -* [get_api_access_key](docs/sdks/secrets/README.md#get_api_access_key) - GetApiAccessKey * [get_members_with_secrets](docs/sdks/secrets/README.md#get_members_with_secrets) - GetMembersWithSecrets -* [list_api_access_keys](docs/sdks/secrets/README.md#list_api_access_keys) - ListApiAccessKeys -* [list_api_providers](docs/sdks/secrets/README.md#list_api_providers) - ListApiProviders * [list_secrets](docs/sdks/secrets/README.md#list_secrets) - ListSecrets -* [migrate_secret_to_api_connector](docs/sdks/secrets/README.md#migrate_secret_to_api_connector) - MigrateSecretToApiConnector * [put_secret](docs/sdks/secrets/README.md#put_secret) - PutSecret -* [test_api_access_key](docs/sdks/secrets/README.md#test_api_access_key) - TestApiAccessKey * [update](docs/sdks/secrets/README.md#update) - UpdateSecret -* [upsert_api_access_key](docs/sdks/secrets/README.md#upsert_api_access_key) - UpsertApiAccessKey ### [Slack](docs/sdks/slack/README.md) diff --git a/RELEASES.md b/RELEASES.md index ec4c9d4..e5921e0 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -8,4 +8,14 @@ Based on: ### Generated - [python v1.0.0] . ### Releases -- [PyPI v1.0.0] https://pypi.org/project/textql-sdk/1.0.0 - . \ No newline at end of file +- [PyPI v1.0.0] https://pypi.org/project/textql-sdk/1.0.0 - . + +## 2026-07-20 23:02:36 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.790.3 (2.918.4) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v1.0.1] . +### Releases +- [PyPI v1.0.1] https://pypi.org/project/textql-sdk/1.0.1 - . \ No newline at end of file diff --git a/docs/models/afterseq.md b/docs/models/afterseq.md new file mode 100644 index 0000000..6655fe8 --- /dev/null +++ b/docs/models/afterseq.md @@ -0,0 +1,17 @@ +# AfterSeq + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/appdb.md b/docs/models/appdb.md new file mode 100644 index 0000000..c35d4d3 --- /dev/null +++ b/docs/models/appdb.md @@ -0,0 +1,12 @@ +# AppDb + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `app_db` | [models.TextqlRPCPublicSandboxQueryAppDBTemplate](../models/textqlrpcpublicsandboxqueryappdbtemplate.md) | :heavy_check_mark: | N/A | +| `source_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `max_rows` | [Optional[models.TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1]](../models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows1.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/appservicegetappmemberstaterequest.md b/docs/models/appservicegetappmemberstaterequest.md new file mode 100644 index 0000000..f6554c7 --- /dev/null +++ b/docs/models/appservicegetappmemberstaterequest.md @@ -0,0 +1,10 @@ +# AppServiceGetAppMemberStateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppGetAppMemberStateRequest](../models/textqlrpcpublicappgetappmemberstaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicegetappmemberstateresponse.md b/docs/models/appservicegetappmemberstateresponse.md new file mode 100644 index 0000000..76c85b4 --- /dev/null +++ b/docs/models/appservicegetappmemberstateresponse.md @@ -0,0 +1,17 @@ +# AppServiceGetAppMemberStateResponse + + +## Supported Types + +### `models.TextqlRPCPublicAppGetAppMemberStateResponse` + +```python +value: models.TextqlRPCPublicAppGetAppMemberStateResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/appservicelistappactivitysincerequest.md b/docs/models/appservicelistappactivitysincerequest.md new file mode 100644 index 0000000..4b7891d --- /dev/null +++ b/docs/models/appservicelistappactivitysincerequest.md @@ -0,0 +1,10 @@ +# AppServiceListAppActivitySinceRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppListAppActivitySinceRequest](../models/textqlrpcpublicapplistappactivitysincerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicelistappactivitysinceresponse.md b/docs/models/appservicelistappactivitysinceresponse.md new file mode 100644 index 0000000..b868b59 --- /dev/null +++ b/docs/models/appservicelistappactivitysinceresponse.md @@ -0,0 +1,17 @@ +# AppServiceListAppActivitySinceResponse + + +## Supported Types + +### `models.TextqlRPCPublicAppListAppActivitySinceResponse` + +```python +value: models.TextqlRPCPublicAppListAppActivitySinceResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/appservicelistmyappmemberactivityrequest.md b/docs/models/appservicelistmyappmemberactivityrequest.md new file mode 100644 index 0000000..d8b07a9 --- /dev/null +++ b/docs/models/appservicelistmyappmemberactivityrequest.md @@ -0,0 +1,10 @@ +# AppServiceListMyAppMemberActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppListMyAppMemberActivityRequest](../models/textqlrpcpublicapplistmyappmemberactivityrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicelistmyappmemberactivityresponse.md b/docs/models/appservicelistmyappmemberactivityresponse.md new file mode 100644 index 0000000..a3fad83 --- /dev/null +++ b/docs/models/appservicelistmyappmemberactivityresponse.md @@ -0,0 +1,17 @@ +# AppServiceListMyAppMemberActivityResponse + + +## Supported Types + +### `models.TextqlRPCPublicAppListMyAppMemberActivityResponse` + +```python +value: models.TextqlRPCPublicAppListMyAppMemberActivityResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/appservicepresenceheartbeatrequest.md b/docs/models/appservicepresenceheartbeatrequest.md new file mode 100644 index 0000000..0a85a57 --- /dev/null +++ b/docs/models/appservicepresenceheartbeatrequest.md @@ -0,0 +1,10 @@ +# AppServicePresenceHeartbeatRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppPresenceHeartbeatRequest](../models/textqlrpcpublicapppresenceheartbeatrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicepresenceheartbeatresponse.md b/docs/models/appservicepresenceheartbeatresponse.md new file mode 100644 index 0000000..05b6211 --- /dev/null +++ b/docs/models/appservicepresenceheartbeatresponse.md @@ -0,0 +1,17 @@ +# AppServicePresenceHeartbeatResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/appservicerecordappmemberactivityrequest.md b/docs/models/appservicerecordappmemberactivityrequest.md new file mode 100644 index 0000000..400f38c --- /dev/null +++ b/docs/models/appservicerecordappmemberactivityrequest.md @@ -0,0 +1,10 @@ +# AppServiceRecordAppMemberActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppRecordAppMemberActivityRequest](../models/textqlrpcpublicapprecordappmemberactivityrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicerecordappmemberactivityresponse.md b/docs/models/appservicerecordappmemberactivityresponse.md new file mode 100644 index 0000000..1a20b10 --- /dev/null +++ b/docs/models/appservicerecordappmemberactivityresponse.md @@ -0,0 +1,17 @@ +# AppServiceRecordAppMemberActivityResponse + + +## Supported Types + +### `models.TextqlRPCPublicAppRecordAppMemberActivityResponse` + +```python +value: models.TextqlRPCPublicAppRecordAppMemberActivityResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/appservicesetappmemberstaterequest.md b/docs/models/appservicesetappmemberstaterequest.md new file mode 100644 index 0000000..f66db38 --- /dev/null +++ b/docs/models/appservicesetappmemberstaterequest.md @@ -0,0 +1,10 @@ +# AppServiceSetAppMemberStateRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicAppSetAppMemberStateRequest](../models/textqlrpcpublicappsetappmemberstaterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/appservicesetappmemberstateresponse.md b/docs/models/appservicesetappmemberstateresponse.md new file mode 100644 index 0000000..f9b25e5 --- /dev/null +++ b/docs/models/appservicesetappmemberstateresponse.md @@ -0,0 +1,17 @@ +# AppServiceSetAppMemberStateResponse + + +## Supported Types + +### `models.TextqlRPCPublicAppSetAppMemberStateResponse` + +```python +value: models.TextqlRPCPublicAppSetAppMemberStateResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/libraryserviceaddlibrarysubmodulerequest.md b/docs/models/libraryserviceaddlibrarysubmodulerequest.md deleted file mode 100644 index 9a88db0..0000000 --- a/docs/models/libraryserviceaddlibrarysubmodulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceAddLibrarySubmoduleRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesAddLibrarySubmoduleRequest](../models/textqlrpcpublicpatchesaddlibrarysubmodulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceaddlibrarysubmoduleresponse.md b/docs/models/libraryserviceaddlibrarysubmoduleresponse.md deleted file mode 100644 index 102bb81..0000000 --- a/docs/models/libraryserviceaddlibrarysubmoduleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceAddLibrarySubmoduleResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesAddLibrarySubmoduleResponse` - -```python -value: models.TextqlRPCPublicPatchesAddLibrarySubmoduleResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceapprovepatchrequest.md b/docs/models/libraryserviceapprovepatchrequest.md deleted file mode 100644 index 417d339..0000000 --- a/docs/models/libraryserviceapprovepatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceApprovePatchRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesApprovePatchRequest](../models/textqlrpcpublicpatchesapprovepatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceapprovepatchresponse.md b/docs/models/libraryserviceapprovepatchresponse.md deleted file mode 100644 index e0087f4..0000000 --- a/docs/models/libraryserviceapprovepatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceApprovePatchResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesApprovePatchResponse` - -```python -value: models.TextqlRPCPublicPatchesApprovePatchResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceconfigurelibraryremoterequest.md b/docs/models/libraryserviceconfigurelibraryremoterequest.md deleted file mode 100644 index 83d2711..0000000 --- a/docs/models/libraryserviceconfigurelibraryremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceConfigureLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesConfigureLibraryRemoteRequest](../models/textqlrpcpublicpatchesconfigurelibraryremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceconfigurelibraryremoteresponse.md b/docs/models/libraryserviceconfigurelibraryremoteresponse.md deleted file mode 100644 index 43a38a5..0000000 --- a/docs/models/libraryserviceconfigurelibraryremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceConfigureLibraryRemoteResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesConfigureLibraryRemoteResponse` - -```python -value: models.TextqlRPCPublicPatchesConfigureLibraryRemoteResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicecreateapprovalrulerequest.md b/docs/models/libraryservicecreateapprovalrulerequest.md deleted file mode 100644 index ddbaade..0000000 --- a/docs/models/libraryservicecreateapprovalrulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceCreateApprovalRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesCreateApprovalRuleRequest](../models/textqlrpcpublicpatchescreateapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicecreateapprovalruleresponse.md b/docs/models/libraryservicecreateapprovalruleresponse.md deleted file mode 100644 index 96f75fa..0000000 --- a/docs/models/libraryservicecreateapprovalruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceCreateApprovalRuleResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesCreateApprovalRuleResponse` - -```python -value: models.TextqlRPCPublicPatchesCreateApprovalRuleResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicecreatecontextpatchautoapproverulerequest.md b/docs/models/libraryservicecreatecontextpatchautoapproverulerequest.md deleted file mode 100644 index 5b5d19b..0000000 --- a/docs/models/libraryservicecreatecontextpatchautoapproverulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceCreateContextPatchAutoApproveRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchescreatecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicecreatecontextpatchautoapproveruleresponse.md b/docs/models/libraryservicecreatecontextpatchautoapproveruleresponse.md deleted file mode 100644 index f83c2ca..0000000 --- a/docs/models/libraryservicecreatecontextpatchautoapproveruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceCreateContextPatchAutoApproveRuleResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse` - -```python -value: models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicecreatelibrarydirectoryrequest.md b/docs/models/libraryservicecreatelibrarydirectoryrequest.md deleted file mode 100644 index 4448423..0000000 --- a/docs/models/libraryservicecreatelibrarydirectoryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceCreateLibraryDirectoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesCreateLibraryDirectoryRequest](../models/textqlrpcpublicpatchescreatelibrarydirectoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicecreatelibrarydirectoryresponse.md b/docs/models/libraryservicecreatelibrarydirectoryresponse.md deleted file mode 100644 index 15f3b97..0000000 --- a/docs/models/libraryservicecreatelibrarydirectoryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceCreateLibraryDirectoryResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesCreateLibraryDirectoryResponse` - -```python -value: models.TextqlRPCPublicPatchesCreateLibraryDirectoryResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicecreatelibraryfileuploadurlrequest.md b/docs/models/libraryservicecreatelibraryfileuploadurlrequest.md deleted file mode 100644 index 42898ec..0000000 --- a/docs/models/libraryservicecreatelibraryfileuploadurlrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceCreateLibraryFileUploadURLRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest](../models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicecreatelibraryfileuploadurlresponse.md b/docs/models/libraryservicecreatelibraryfileuploadurlresponse.md deleted file mode 100644 index 94b0098..0000000 --- a/docs/models/libraryservicecreatelibraryfileuploadurlresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceCreateLibraryFileUploadURLResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse` - -```python -value: models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedeleteapprovalrulerequest.md b/docs/models/libraryservicedeleteapprovalrulerequest.md deleted file mode 100644 index a858640..0000000 --- a/docs/models/libraryservicedeleteapprovalrulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDeleteApprovalRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest](../models/textqlrpcpublicpatchesdeleteapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedeleteapprovalruleresponse.md b/docs/models/libraryservicedeleteapprovalruleresponse.md deleted file mode 100644 index c62c14f..0000000 --- a/docs/models/libraryservicedeleteapprovalruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDeleteApprovalRuleResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedeletecontextpatchautoapproverulerequest.md b/docs/models/libraryservicedeletecontextpatchautoapproverulerequest.md deleted file mode 100644 index 3c31a7a..0000000 --- a/docs/models/libraryservicedeletecontextpatchautoapproverulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDeleteContextPatchAutoApproveRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchesdeletecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedeletecontextpatchautoapproveruleresponse.md b/docs/models/libraryservicedeletecontextpatchautoapproveruleresponse.md deleted file mode 100644 index b2cc2c8..0000000 --- a/docs/models/libraryservicedeletecontextpatchautoapproveruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDeleteContextPatchAutoApproveRuleResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedeletelibrarydirectoryrequest.md b/docs/models/libraryservicedeletelibrarydirectoryrequest.md deleted file mode 100644 index c456822..0000000 --- a/docs/models/libraryservicedeletelibrarydirectoryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDeleteLibraryDirectoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest](../models/textqlrpcpublicpatchesdeletelibrarydirectoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedeletelibrarydirectoryresponse.md b/docs/models/libraryservicedeletelibrarydirectoryresponse.md deleted file mode 100644 index f677151..0000000 --- a/docs/models/libraryservicedeletelibrarydirectoryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDeleteLibraryDirectoryResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedeletelibraryfilerequest.md b/docs/models/libraryservicedeletelibraryfilerequest.md deleted file mode 100644 index d1fb6f8..0000000 --- a/docs/models/libraryservicedeletelibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDeleteLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDeleteLibraryFileRequest](../models/textqlrpcpublicpatchesdeletelibraryfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedeletelibraryfileresponse.md b/docs/models/libraryservicedeletelibraryfileresponse.md deleted file mode 100644 index 00bc1ab..0000000 --- a/docs/models/libraryservicedeletelibraryfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDeleteLibraryFileResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedeletelibraryownersrequest.md b/docs/models/libraryservicedeletelibraryownersrequest.md deleted file mode 100644 index 4b83919..0000000 --- a/docs/models/libraryservicedeletelibraryownersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDeleteLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDeleteLibraryOwnersRequest](../models/textqlrpcpublicpatchesdeletelibraryownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedeletelibraryownersresponse.md b/docs/models/libraryservicedeletelibraryownersresponse.md deleted file mode 100644 index d721154..0000000 --- a/docs/models/libraryservicedeletelibraryownersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDeleteLibraryOwnersResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicedenypatchrequest.md b/docs/models/libraryservicedenypatchrequest.md deleted file mode 100644 index 6d9bf95..0000000 --- a/docs/models/libraryservicedenypatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceDenyPatchRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesDenyPatchRequest](../models/textqlrpcpublicpatchesdenypatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicedenypatchresponse.md b/docs/models/libraryservicedenypatchresponse.md deleted file mode 100644 index c41f8b8..0000000 --- a/docs/models/libraryservicedenypatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceDenyPatchResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceexchangelibrarygithubcoderequest.md b/docs/models/libraryserviceexchangelibrarygithubcoderequest.md deleted file mode 100644 index 63c076a..0000000 --- a/docs/models/libraryserviceexchangelibrarygithubcoderequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceExchangeLibraryGithubCodeRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest](../models/textqlrpcpublicpatchesexchangelibrarygithubcoderequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceexchangelibrarygithubcoderesponse.md b/docs/models/libraryserviceexchangelibrarygithubcoderesponse.md deleted file mode 100644 index 12801a8..0000000 --- a/docs/models/libraryserviceexchangelibrarygithubcoderesponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceExchangeLibraryGithubCodeResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse` - -```python -value: models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicefinalizelibraryfileuploadrequest.md b/docs/models/libraryservicefinalizelibraryfileuploadrequest.md deleted file mode 100644 index f169cdd..0000000 --- a/docs/models/libraryservicefinalizelibraryfileuploadrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceFinalizeLibraryFileUploadRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest](../models/textqlrpcpublicpatchesfinalizelibraryfileuploadrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicefinalizelibraryfileuploadresponse.md b/docs/models/libraryservicefinalizelibraryfileuploadresponse.md deleted file mode 100644 index f243533..0000000 --- a/docs/models/libraryservicefinalizelibraryfileuploadresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceFinalizeLibraryFileUploadResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse` - -```python -value: models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetcodeownercoveragerequest.md b/docs/models/libraryservicegetcodeownercoveragerequest.md deleted file mode 100644 index 74a8375..0000000 --- a/docs/models/libraryservicegetcodeownercoveragerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetCodeownerCoverageRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest](../models/textqlrpcpublicpatchesgetcodeownercoveragerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetcodeownercoverageresponse.md b/docs/models/libraryservicegetcodeownercoverageresponse.md deleted file mode 100644 index 304ae5f..0000000 --- a/docs/models/libraryservicegetcodeownercoverageresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetCodeownerCoverageResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse` - -```python -value: models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetconfigexportcapabilitiesrequest.md b/docs/models/libraryservicegetconfigexportcapabilitiesrequest.md deleted file mode 100644 index e6b978d..0000000 --- a/docs/models/libraryservicegetconfigexportcapabilitiesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetConfigExportCapabilitiesRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest](../models/textqlrpcpublicpatchesgetconfigexportcapabilitiesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetconfigexportcapabilitiesresponse.md b/docs/models/libraryservicegetconfigexportcapabilitiesresponse.md deleted file mode 100644 index 6cebb9f..0000000 --- a/docs/models/libraryservicegetconfigexportcapabilitiesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetConfigExportCapabilitiesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse` - -```python -value: models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegeteffectivelibraryownersrequest.md b/docs/models/libraryservicegeteffectivelibraryownersrequest.md deleted file mode 100644 index 632be10..0000000 --- a/docs/models/libraryservicegeteffectivelibraryownersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetEffectiveLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest](../models/textqlrpcpublicpatchesgeteffectivelibraryownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegeteffectivelibraryownersresponse.md b/docs/models/libraryservicegeteffectivelibraryownersresponse.md deleted file mode 100644 index 25ffcfe..0000000 --- a/docs/models/libraryservicegeteffectivelibraryownersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetEffectiveLibraryOwnersResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse` - -```python -value: models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetfileusagerequest.md b/docs/models/libraryservicegetfileusagerequest.md deleted file mode 100644 index 8a62f7a..0000000 --- a/docs/models/libraryservicegetfileusagerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetFileUsageRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetFileUsageRequest](../models/textqlrpcpublicpatchesgetfileusagerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetfileusageresponse.md b/docs/models/libraryservicegetfileusageresponse.md deleted file mode 100644 index 6eb18bb..0000000 --- a/docs/models/libraryservicegetfileusageresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetFileUsageResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetFileUsageResponse` - -```python -value: models.TextqlRPCPublicPatchesGetFileUsageResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetfileusagetimelinerequest.md b/docs/models/libraryservicegetfileusagetimelinerequest.md deleted file mode 100644 index 841fcd5..0000000 --- a/docs/models/libraryservicegetfileusagetimelinerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetFileUsageTimelineRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest](../models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetfileusagetimelineresponse.md b/docs/models/libraryservicegetfileusagetimelineresponse.md deleted file mode 100644 index 56ca694..0000000 --- a/docs/models/libraryservicegetfileusagetimelineresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetFileUsageTimelineResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse` - -```python -value: models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibraryanaconfigrequest.md b/docs/models/libraryservicegetlibraryanaconfigrequest.md deleted file mode 100644 index 4be3365..0000000 --- a/docs/models/libraryservicegetlibraryanaconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryAnaConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryAnaConfigRequest](../models/textqlrpcpublicpatchesgetlibraryanaconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibraryanaconfigresponse.md b/docs/models/libraryservicegetlibraryanaconfigresponse.md deleted file mode 100644 index d1674e3..0000000 --- a/docs/models/libraryservicegetlibraryanaconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryAnaConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryAnaConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryAnaConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibraryfilerequest.md b/docs/models/libraryservicegetlibraryfilerequest.md deleted file mode 100644 index e020868..0000000 --- a/docs/models/libraryservicegetlibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryFileRequest](../models/textqlrpcpublicpatchesgetlibraryfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibraryfileresponse.md b/docs/models/libraryservicegetlibraryfileresponse.md deleted file mode 100644 index cdb8bc0..0000000 --- a/docs/models/libraryservicegetlibraryfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryFileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryFileResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryFileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibrarygithuboauthurlrequest.md b/docs/models/libraryservicegetlibrarygithuboauthurlrequest.md deleted file mode 100644 index 169f94f..0000000 --- a/docs/models/libraryservicegetlibrarygithuboauthurlrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryGithubOAuthURLRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest](../models/textqlrpcpublicpatchesgetlibrarygithuboauthurlrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibrarygithuboauthurlresponse.md b/docs/models/libraryservicegetlibrarygithuboauthurlresponse.md deleted file mode 100644 index 9fca471..0000000 --- a/docs/models/libraryservicegetlibrarygithuboauthurlresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryGithubOAuthURLResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibraryhistoryfilediffrequest.md b/docs/models/libraryservicegetlibraryhistoryfilediffrequest.md deleted file mode 100644 index 5f80587..0000000 --- a/docs/models/libraryservicegetlibraryhistoryfilediffrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryHistoryFileDiffRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest](../models/textqlrpcpublicpatchesgetlibraryhistoryfilediffrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibraryhistoryfilediffresponse.md b/docs/models/libraryservicegetlibraryhistoryfilediffresponse.md deleted file mode 100644 index 86bc796..0000000 --- a/docs/models/libraryservicegetlibraryhistoryfilediffresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryHistoryFileDiffResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibrarymigrationstatusrequest.md b/docs/models/libraryservicegetlibrarymigrationstatusrequest.md deleted file mode 100644 index 2e2ee88..0000000 --- a/docs/models/libraryservicegetlibrarymigrationstatusrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryMigrationStatusRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest](../models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibrarymigrationstatusresponse.md b/docs/models/libraryservicegetlibrarymigrationstatusresponse.md deleted file mode 100644 index 3d1d8a9..0000000 --- a/docs/models/libraryservicegetlibrarymigrationstatusresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryMigrationStatusResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibraryownersrequest.md b/docs/models/libraryservicegetlibraryownersrequest.md deleted file mode 100644 index 72410f3..0000000 --- a/docs/models/libraryservicegetlibraryownersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryOwnersRequest](../models/textqlrpcpublicpatchesgetlibraryownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibraryownersresponse.md b/docs/models/libraryservicegetlibraryownersresponse.md deleted file mode 100644 index 263e325..0000000 --- a/docs/models/libraryservicegetlibraryownersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryOwnersResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryOwnersResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryOwnersResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibraryremoterequest.md b/docs/models/libraryservicegetlibraryremoterequest.md deleted file mode 100644 index 460e311..0000000 --- a/docs/models/libraryservicegetlibraryremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryRemoteRequest](../models/textqlrpcpublicpatchesgetlibraryremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibraryremoteresponse.md b/docs/models/libraryservicegetlibraryremoteresponse.md deleted file mode 100644 index 4a950e4..0000000 --- a/docs/models/libraryservicegetlibraryremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibraryRemoteResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibraryRemoteResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibraryRemoteResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibrarysizetimelinerequest.md b/docs/models/libraryservicegetlibrarysizetimelinerequest.md deleted file mode 100644 index 0832e3d..0000000 --- a/docs/models/libraryservicegetlibrarysizetimelinerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibrarySizeTimelineRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest](../models/textqlrpcpublicpatchesgetlibrarysizetimelinerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibrarysizetimelineresponse.md b/docs/models/libraryservicegetlibrarysizetimelineresponse.md deleted file mode 100644 index f26ab1a..0000000 --- a/docs/models/libraryservicegetlibrarysizetimelineresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibrarySizeTimelineResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetlibrarysyncconflictsrequest.md b/docs/models/libraryservicegetlibrarysyncconflictsrequest.md deleted file mode 100644 index 5bc33a3..0000000 --- a/docs/models/libraryservicegetlibrarysyncconflictsrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetLibrarySyncConflictsRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest](../models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetlibrarysyncconflictsresponse.md b/docs/models/libraryservicegetlibrarysyncconflictsresponse.md deleted file mode 100644 index 54c6f44..0000000 --- a/docs/models/libraryservicegetlibrarysyncconflictsresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetLibrarySyncConflictsResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse` - -```python -value: models.TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetontologyusagesummaryrequest.md b/docs/models/libraryservicegetontologyusagesummaryrequest.md deleted file mode 100644 index 30e0fb2..0000000 --- a/docs/models/libraryservicegetontologyusagesummaryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetOntologyUsageSummaryRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest](../models/textqlrpcpublicpatchesgetontologyusagesummaryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetontologyusagesummaryresponse.md b/docs/models/libraryservicegetontologyusagesummaryresponse.md deleted file mode 100644 index 89ba076..0000000 --- a/docs/models/libraryservicegetontologyusagesummaryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetOntologyUsageSummaryResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse` - -```python -value: models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetpatchbynumberrequest.md b/docs/models/libraryservicegetpatchbynumberrequest.md deleted file mode 100644 index 1e5368e..0000000 --- a/docs/models/libraryservicegetpatchbynumberrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetPatchByNumberRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetPatchByNumberRequest](../models/textqlrpcpublicpatchesgetpatchbynumberrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetpatchbynumberresponse.md b/docs/models/libraryservicegetpatchbynumberresponse.md deleted file mode 100644 index 90e82c8..0000000 --- a/docs/models/libraryservicegetpatchbynumberresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetPatchByNumberResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesPatch` - -```python -value: models.TextqlRPCPublicPatchesPatch = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetpatchcapabilitiesrequest.md b/docs/models/libraryservicegetpatchcapabilitiesrequest.md deleted file mode 100644 index d64d525..0000000 --- a/docs/models/libraryservicegetpatchcapabilitiesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetPatchCapabilitiesRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest](../models/textqlrpcpublicpatchesgetpatchcapabilitiesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetpatchcapabilitiesresponse.md b/docs/models/libraryservicegetpatchcapabilitiesresponse.md deleted file mode 100644 index 0f2288f..0000000 --- a/docs/models/libraryservicegetpatchcapabilitiesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetPatchCapabilitiesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse` - -```python -value: models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetpatchrequest.md b/docs/models/libraryservicegetpatchrequest.md deleted file mode 100644 index e2155cc..0000000 --- a/docs/models/libraryservicegetpatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetPatchRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetPatchRequest](../models/textqlrpcpublicpatchesgetpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetpatchresponse.md b/docs/models/libraryservicegetpatchresponse.md deleted file mode 100644 index 693ccbb..0000000 --- a/docs/models/libraryservicegetpatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetPatchResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesPatch` - -```python -value: models.TextqlRPCPublicPatchesPatch = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetrawpatchrequest.md b/docs/models/libraryservicegetrawpatchrequest.md deleted file mode 100644 index f2a50fe..0000000 --- a/docs/models/libraryservicegetrawpatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetRawPatchRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetRawPatchRequest](../models/textqlrpcpublicpatchesgetrawpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetrawpatchresponse.md b/docs/models/libraryservicegetrawpatchresponse.md deleted file mode 100644 index ea15ba2..0000000 --- a/docs/models/libraryservicegetrawpatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetRawPatchResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetRawPatchResponse` - -```python -value: models.TextqlRPCPublicPatchesGetRawPatchResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicegetusagedetailsforfilerequest.md b/docs/models/libraryservicegetusagedetailsforfilerequest.md deleted file mode 100644 index 1e66f8b..0000000 --- a/docs/models/libraryservicegetusagedetailsforfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceGetUsageDetailsForFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest](../models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicegetusagedetailsforfileresponse.md b/docs/models/libraryservicegetusagedetailsforfileresponse.md deleted file mode 100644 index 2bb8630..0000000 --- a/docs/models/libraryservicegetusagedetailsforfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceGetUsageDetailsForFileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse` - -```python -value: models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistapprovalrulesrequest.md b/docs/models/libraryservicelistapprovalrulesrequest.md deleted file mode 100644 index 9d91342..0000000 --- a/docs/models/libraryservicelistapprovalrulesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListApprovalRulesRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListApprovalRulesRequest](../models/textqlrpcpublicpatcheslistapprovalrulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistapprovalrulesresponse.md b/docs/models/libraryservicelistapprovalrulesresponse.md deleted file mode 100644 index f65ef95..0000000 --- a/docs/models/libraryservicelistapprovalrulesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListApprovalRulesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListApprovalRulesResponse` - -```python -value: models.TextqlRPCPublicPatchesListApprovalRulesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistchatsforfilerequest.md b/docs/models/libraryservicelistchatsforfilerequest.md deleted file mode 100644 index 95ae4eb..0000000 --- a/docs/models/libraryservicelistchatsforfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListChatsForFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListChatsForFileRequest](../models/textqlrpcpublicpatcheslistchatsforfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistchatsforfileresponse.md b/docs/models/libraryservicelistchatsforfileresponse.md deleted file mode 100644 index a3d0247..0000000 --- a/docs/models/libraryservicelistchatsforfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListChatsForFileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListChatsForFileResponse` - -```python -value: models.TextqlRPCPublicPatchesListChatsForFileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistcontextpatchautoapproverulesrequest.md b/docs/models/libraryservicelistcontextpatchautoapproverulesrequest.md deleted file mode 100644 index 9ae92a8..0000000 --- a/docs/models/libraryservicelistcontextpatchautoapproverulesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListContextPatchAutoApproveRulesRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest](../models/textqlrpcpublicpatcheslistcontextpatchautoapproverulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistcontextpatchautoapproverulesresponse.md b/docs/models/libraryservicelistcontextpatchautoapproverulesresponse.md deleted file mode 100644 index 814bc51..0000000 --- a/docs/models/libraryservicelistcontextpatchautoapproverulesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListContextPatchAutoApproveRulesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse` - -```python -value: models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistgoldenfilesrequest.md b/docs/models/libraryservicelistgoldenfilesrequest.md deleted file mode 100644 index 7f7311f..0000000 --- a/docs/models/libraryservicelistgoldenfilesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListGoldenFilesRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListGoldenFilesRequest](../models/textqlrpcpublicpatcheslistgoldenfilesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistgoldenfilesresponse.md b/docs/models/libraryservicelistgoldenfilesresponse.md deleted file mode 100644 index a091356..0000000 --- a/docs/models/libraryservicelistgoldenfilesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListGoldenFilesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListGoldenFilesResponse` - -```python -value: models.TextqlRPCPublicPatchesListGoldenFilesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistlibraryentriesrequest.md b/docs/models/libraryservicelistlibraryentriesrequest.md deleted file mode 100644 index 49b2a57..0000000 --- a/docs/models/libraryservicelistlibraryentriesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListLibraryEntriesRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListLibraryEntriesRequest](../models/textqlrpcpublicpatcheslistlibraryentriesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistlibraryentriesresponse.md b/docs/models/libraryservicelistlibraryentriesresponse.md deleted file mode 100644 index 0e64070..0000000 --- a/docs/models/libraryservicelistlibraryentriesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListLibraryEntriesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListLibraryEntriesResponse` - -```python -value: models.TextqlRPCPublicPatchesListLibraryEntriesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistlibraryhistoryrequest.md b/docs/models/libraryservicelistlibraryhistoryrequest.md deleted file mode 100644 index fd39466..0000000 --- a/docs/models/libraryservicelistlibraryhistoryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListLibraryHistoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListLibraryHistoryRequest](../models/textqlrpcpublicpatcheslistlibraryhistoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistlibraryhistoryresponse.md b/docs/models/libraryservicelistlibraryhistoryresponse.md deleted file mode 100644 index 894c3e3..0000000 --- a/docs/models/libraryservicelistlibraryhistoryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListLibraryHistoryResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListLibraryHistoryResponse` - -```python -value: models.TextqlRPCPublicPatchesListLibraryHistoryResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistlibraryimportsrequest.md b/docs/models/libraryservicelistlibraryimportsrequest.md deleted file mode 100644 index 732fd45..0000000 --- a/docs/models/libraryservicelistlibraryimportsrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListLibraryImportsRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListLibraryImportsRequest](../models/textqlrpcpublicpatcheslistlibraryimportsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistlibraryimportsresponse.md b/docs/models/libraryservicelistlibraryimportsresponse.md deleted file mode 100644 index 0642916..0000000 --- a/docs/models/libraryservicelistlibraryimportsresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListLibraryImportsResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListLibraryImportsResponse` - -```python -value: models.TextqlRPCPublicPatchesListLibraryImportsResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistlibrarysubmodulesrequest.md b/docs/models/libraryservicelistlibrarysubmodulesrequest.md deleted file mode 100644 index 48de209..0000000 --- a/docs/models/libraryservicelistlibrarysubmodulesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListLibrarySubmodulesRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest](../models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistlibrarysubmodulesresponse.md b/docs/models/libraryservicelistlibrarysubmodulesresponse.md deleted file mode 100644 index cb50e1b..0000000 --- a/docs/models/libraryservicelistlibrarysubmodulesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListLibrarySubmodulesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListLibrarySubmodulesResponse` - -```python -value: models.TextqlRPCPublicPatchesListLibrarySubmodulesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistlibrarysyncrunsrequest.md b/docs/models/libraryservicelistlibrarysyncrunsrequest.md deleted file mode 100644 index cfe79cf..0000000 --- a/docs/models/libraryservicelistlibrarysyncrunsrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListLibrarySyncRunsRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListLibrarySyncRunsRequest](../models/textqlrpcpublicpatcheslistlibrarysyncrunsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistlibrarysyncrunsresponse.md b/docs/models/libraryservicelistlibrarysyncrunsresponse.md deleted file mode 100644 index 830311a..0000000 --- a/docs/models/libraryservicelistlibrarysyncrunsresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListLibrarySyncRunsResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListLibrarySyncRunsResponse` - -```python -value: models.TextqlRPCPublicPatchesListLibrarySyncRunsResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistpatchesrequest.md b/docs/models/libraryservicelistpatchesrequest.md deleted file mode 100644 index c9e9c52..0000000 --- a/docs/models/libraryservicelistpatchesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListPatchesRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListPatchesRequest](../models/textqlrpcpublicpatcheslistpatchesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistpatchesresponse.md b/docs/models/libraryservicelistpatchesresponse.md deleted file mode 100644 index 73dfd78..0000000 --- a/docs/models/libraryservicelistpatchesresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListPatchesResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListPatchesResponse` - -```python -value: models.TextqlRPCPublicPatchesListPatchesResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistpatchreviewersrequest.md b/docs/models/libraryservicelistpatchreviewersrequest.md deleted file mode 100644 index 5003f2a..0000000 --- a/docs/models/libraryservicelistpatchreviewersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListPatchReviewersRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListPatchReviewersRequest](../models/textqlrpcpublicpatcheslistpatchreviewersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistpatchreviewersresponse.md b/docs/models/libraryservicelistpatchreviewersresponse.md deleted file mode 100644 index 27f9aa6..0000000 --- a/docs/models/libraryservicelistpatchreviewersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListPatchReviewersResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListPatchReviewersResponse` - -```python -value: models.TextqlRPCPublicPatchesListPatchReviewersResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicelistskillsrequest.md b/docs/models/libraryservicelistskillsrequest.md deleted file mode 100644 index 49cd52a..0000000 --- a/docs/models/libraryservicelistskillsrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceListSkillsRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesListSkillsRequest](../models/textqlrpcpublicpatcheslistskillsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicelistskillsresponse.md b/docs/models/libraryservicelistskillsresponse.md deleted file mode 100644 index eb14581..0000000 --- a/docs/models/libraryservicelistskillsresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceListSkillsResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesListSkillsResponse` - -```python -value: models.TextqlRPCPublicPatchesListSkillsResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicemigratelegacycontexttolibraryrequest.md b/docs/models/libraryservicemigratelegacycontexttolibraryrequest.md deleted file mode 100644 index 36b27bb..0000000 --- a/docs/models/libraryservicemigratelegacycontexttolibraryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceMigrateLegacyContextToLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest](../models/textqlrpcpublicpatchesmigratelegacycontexttolibraryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicemigratelegacycontexttolibraryresponse.md b/docs/models/libraryservicemigratelegacycontexttolibraryresponse.md deleted file mode 100644 index a718b03..0000000 --- a/docs/models/libraryservicemigratelegacycontexttolibraryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceMigrateLegacyContextToLibraryResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse` - -```python -value: models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicemigrateontologytolibraryrequest.md b/docs/models/libraryservicemigrateontologytolibraryrequest.md deleted file mode 100644 index 402c637..0000000 --- a/docs/models/libraryservicemigrateontologytolibraryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceMigrateOntologyToLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest](../models/textqlrpcpublicpatchesmigrateontologytolibraryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicemigrateontologytolibraryresponse.md b/docs/models/libraryservicemigrateontologytolibraryresponse.md deleted file mode 100644 index 6cfa616..0000000 --- a/docs/models/libraryservicemigrateontologytolibraryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceMigrateOntologyToLibraryResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse` - -```python -value: models.TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceplanlibrarymergerequest.md b/docs/models/libraryserviceplanlibrarymergerequest.md deleted file mode 100644 index 53a0487..0000000 --- a/docs/models/libraryserviceplanlibrarymergerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServicePlanLibraryMergeRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesPlanLibraryMergeRequest](../models/textqlrpcpublicpatchesplanlibrarymergerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceplanlibrarymergeresponse.md b/docs/models/libraryserviceplanlibrarymergeresponse.md deleted file mode 100644 index ec4d033..0000000 --- a/docs/models/libraryserviceplanlibrarymergeresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServicePlanLibraryMergeResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesPlanLibraryMergeResponse` - -```python -value: models.TextqlRPCPublicPatchesPlanLibraryMergeResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicepreviewlibrarypullfromremoterequest.md b/docs/models/libraryservicepreviewlibrarypullfromremoterequest.md deleted file mode 100644 index 117f924..0000000 --- a/docs/models/libraryservicepreviewlibrarypullfromremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServicePreviewLibraryPullFromRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest](../models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicepreviewlibrarypullfromremoteresponse.md b/docs/models/libraryservicepreviewlibrarypullfromremoteresponse.md deleted file mode 100644 index 3c993d5..0000000 --- a/docs/models/libraryservicepreviewlibrarypullfromremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServicePreviewLibraryPullFromRemoteResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse` - -```python -value: models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicepulllibraryfromremoterequest.md b/docs/models/libraryservicepulllibraryfromremoterequest.md deleted file mode 100644 index 87abb8b..0000000 --- a/docs/models/libraryservicepulllibraryfromremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServicePullLibraryFromRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesPullLibraryFromRemoteRequest](../models/textqlrpcpublicpatchespulllibraryfromremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicepulllibraryfromremoteresponse.md b/docs/models/libraryservicepulllibraryfromremoteresponse.md deleted file mode 100644 index fac0abe..0000000 --- a/docs/models/libraryservicepulllibraryfromremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServicePullLibraryFromRemoteResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicepushlibrarytoremoterequest.md b/docs/models/libraryservicepushlibrarytoremoterequest.md deleted file mode 100644 index 7b16bc5..0000000 --- a/docs/models/libraryservicepushlibrarytoremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServicePushLibraryToRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest](../models/textqlrpcpublicpatchespushlibrarytoremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicepushlibrarytoremoteresponse.md b/docs/models/libraryservicepushlibrarytoremoteresponse.md deleted file mode 100644 index ff1c634..0000000 --- a/docs/models/libraryservicepushlibrarytoremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServicePushLibraryToRemoteResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicerecoverlibraryrequest.md b/docs/models/libraryservicerecoverlibraryrequest.md deleted file mode 100644 index 1905a96..0000000 --- a/docs/models/libraryservicerecoverlibraryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRecoverLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRecoverLibraryRequest](../models/textqlrpcpublicpatchesrecoverlibraryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicerecoverlibraryresponse.md b/docs/models/libraryservicerecoverlibraryresponse.md deleted file mode 100644 index 5e18d18..0000000 --- a/docs/models/libraryservicerecoverlibraryresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRecoverLibraryResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceremovelibraryremoterequest.md b/docs/models/libraryserviceremovelibraryremoterequest.md deleted file mode 100644 index 7773fa2..0000000 --- a/docs/models/libraryserviceremovelibraryremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRemoveLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest](../models/textqlrpcpublicpatchesremovelibraryremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceremovelibraryremoteresponse.md b/docs/models/libraryserviceremovelibraryremoteresponse.md deleted file mode 100644 index 841536d..0000000 --- a/docs/models/libraryserviceremovelibraryremoteresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRemoveLibraryRemoteResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceremovelibrarysubmodulerequest.md b/docs/models/libraryserviceremovelibrarysubmodulerequest.md deleted file mode 100644 index bb91eaf..0000000 --- a/docs/models/libraryserviceremovelibrarysubmodulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRemoveLibrarySubmoduleRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest](../models/textqlrpcpublicpatchesremovelibrarysubmodulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceremovelibrarysubmoduleresponse.md b/docs/models/libraryserviceremovelibrarysubmoduleresponse.md deleted file mode 100644 index 99607bf..0000000 --- a/docs/models/libraryserviceremovelibrarysubmoduleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRemoveLibrarySubmoduleResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicerenamelibraryfilerequest.md b/docs/models/libraryservicerenamelibraryfilerequest.md deleted file mode 100644 index b0c8c83..0000000 --- a/docs/models/libraryservicerenamelibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRenameLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRenameLibraryFileRequest](../models/textqlrpcpublicpatchesrenamelibraryfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicerenamelibraryfileresponse.md b/docs/models/libraryservicerenamelibraryfileresponse.md deleted file mode 100644 index 4e8fbf5..0000000 --- a/docs/models/libraryservicerenamelibraryfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRenameLibraryFileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesRenameLibraryFileResponse` - -```python -value: models.TextqlRPCPublicPatchesRenameLibraryFileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicerequestpatchreviewrequest.md b/docs/models/libraryservicerequestpatchreviewrequest.md deleted file mode 100644 index fed926d..0000000 --- a/docs/models/libraryservicerequestpatchreviewrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRequestPatchReviewRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRequestPatchReviewRequest](../models/textqlrpcpublicpatchesrequestpatchreviewrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicerequestpatchreviewresponse.md b/docs/models/libraryservicerequestpatchreviewresponse.md deleted file mode 100644 index d958f02..0000000 --- a/docs/models/libraryservicerequestpatchreviewresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRequestPatchReviewResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesRequestPatchReviewResponse` - -```python -value: models.TextqlRPCPublicPatchesRequestPatchReviewResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceresolvelibrarysyncconflictrequest.md b/docs/models/libraryserviceresolvelibrarysyncconflictrequest.md deleted file mode 100644 index d08e508..0000000 --- a/docs/models/libraryserviceresolvelibrarysyncconflictrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceResolveLibrarySyncConflictRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest](../models/textqlrpcpublicpatchesresolvelibrarysyncconflictrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceresolvelibrarysyncconflictresponse.md b/docs/models/libraryserviceresolvelibrarysyncconflictresponse.md deleted file mode 100644 index 4ba1727..0000000 --- a/docs/models/libraryserviceresolvelibrarysyncconflictresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceResolveLibrarySyncConflictResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicerestorepatchrequest.md b/docs/models/libraryservicerestorepatchrequest.md deleted file mode 100644 index d3ada98..0000000 --- a/docs/models/libraryservicerestorepatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRestorePatchRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRestorePatchRequest](../models/textqlrpcpublicpatchesrestorepatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicerestorepatchresponse.md b/docs/models/libraryservicerestorepatchresponse.md deleted file mode 100644 index b675bc7..0000000 --- a/docs/models/libraryservicerestorepatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRestorePatchResponse - - -## Supported Types - -### `models.GoogleProtobufEmpty` - -```python -value: models.GoogleProtobufEmpty = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicerevertpatchrequest.md b/docs/models/libraryservicerevertpatchrequest.md deleted file mode 100644 index a0c55a4..0000000 --- a/docs/models/libraryservicerevertpatchrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceRevertPatchRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesRevertPatchRequest](../models/textqlrpcpublicpatchesrevertpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicerevertpatchresponse.md b/docs/models/libraryservicerevertpatchresponse.md deleted file mode 100644 index 5a23570..0000000 --- a/docs/models/libraryservicerevertpatchresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceRevertPatchResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesRevertPatchResponse` - -```python -value: models.TextqlRPCPublicPatchesRevertPatchResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicesaveallobjectsasconfigrequest.md b/docs/models/libraryservicesaveallobjectsasconfigrequest.md deleted file mode 100644 index 03c4d68..0000000 --- a/docs/models/libraryservicesaveallobjectsasconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceSaveAllObjectsAsConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest](../models/textqlrpcpublicpatchessaveallobjectsasconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicesaveallobjectsasconfigresponse.md b/docs/models/libraryservicesaveallobjectsasconfigresponse.md deleted file mode 100644 index 9d9e817..0000000 --- a/docs/models/libraryservicesaveallobjectsasconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceSaveAllObjectsAsConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicesaveobjectasconfigrequest.md b/docs/models/libraryservicesaveobjectasconfigrequest.md deleted file mode 100644 index a5eced1..0000000 --- a/docs/models/libraryservicesaveobjectasconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceSaveObjectAsConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest](../models/textqlrpcpublicpatchessaveobjectasconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicesaveobjectasconfigresponse.md b/docs/models/libraryservicesaveobjectasconfigresponse.md deleted file mode 100644 index edd47ac..0000000 --- a/docs/models/libraryservicesaveobjectasconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceSaveObjectAsConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicesetlibraryfilegoldenrequest.md b/docs/models/libraryservicesetlibraryfilegoldenrequest.md deleted file mode 100644 index ea967d6..0000000 --- a/docs/models/libraryservicesetlibraryfilegoldenrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceSetLibraryFileGoldenRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesSetLibraryFileGoldenRequest](../models/textqlrpcpublicpatchessetlibraryfilegoldenrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicesetlibraryfilegoldenresponse.md b/docs/models/libraryservicesetlibraryfilegoldenresponse.md deleted file mode 100644 index 1bbb905..0000000 --- a/docs/models/libraryservicesetlibraryfilegoldenresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceSetLibraryFileGoldenResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesSetLibraryFileGoldenResponse` - -```python -value: models.TextqlRPCPublicPatchesSetLibraryFileGoldenResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicetriggerconfigdriftreconcilerequest.md b/docs/models/libraryservicetriggerconfigdriftreconcilerequest.md deleted file mode 100644 index ce6a258..0000000 --- a/docs/models/libraryservicetriggerconfigdriftreconcilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceTriggerConfigDriftReconcileRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest](../models/textqlrpcpublicpatchestriggerconfigdriftreconcilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicetriggerconfigdriftreconcileresponse.md b/docs/models/libraryservicetriggerconfigdriftreconcileresponse.md deleted file mode 100644 index 775f9e6..0000000 --- a/docs/models/libraryservicetriggerconfigdriftreconcileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceTriggerConfigDriftReconcileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse` - -```python -value: models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupdateapprovalrulerequest.md b/docs/models/libraryserviceupdateapprovalrulerequest.md deleted file mode 100644 index b7f494e..0000000 --- a/docs/models/libraryserviceupdateapprovalrulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpdateApprovalRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest](../models/textqlrpcpublicpatchesupdateapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupdateapprovalruleresponse.md b/docs/models/libraryserviceupdateapprovalruleresponse.md deleted file mode 100644 index bd7d203..0000000 --- a/docs/models/libraryserviceupdateapprovalruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpdateApprovalRuleResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse` - -```python -value: models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupdatecontextpatchautoapproverulerequest.md b/docs/models/libraryserviceupdatecontextpatchautoapproverulerequest.md deleted file mode 100644 index 6f22c6b..0000000 --- a/docs/models/libraryserviceupdatecontextpatchautoapproverulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpdateContextPatchAutoApproveRuleRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchesupdatecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupdatecontextpatchautoapproveruleresponse.md b/docs/models/libraryserviceupdatecontextpatchautoapproveruleresponse.md deleted file mode 100644 index 86da7df..0000000 --- a/docs/models/libraryserviceupdatecontextpatchautoapproveruleresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpdateContextPatchAutoApproveRuleResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse` - -```python -value: models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupdatelibrarysyncconfigrequest.md b/docs/models/libraryserviceupdatelibrarysyncconfigrequest.md deleted file mode 100644 index 45dc3b3..0000000 --- a/docs/models/libraryserviceupdatelibrarysyncconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpdateLibrarySyncConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest](../models/textqlrpcpublicpatchesupdatelibrarysyncconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupdatelibrarysyncconfigresponse.md b/docs/models/libraryserviceupdatelibrarysyncconfigresponse.md deleted file mode 100644 index 22e7ced..0000000 --- a/docs/models/libraryserviceupdatelibrarysyncconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpdateLibrarySyncConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupsertlibraryanaconfigrequest.md b/docs/models/libraryserviceupsertlibraryanaconfigrequest.md deleted file mode 100644 index f2990ef..0000000 --- a/docs/models/libraryserviceupsertlibraryanaconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpsertLibraryAnaConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest](../models/textqlrpcpublicpatchesupsertlibraryanaconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupsertlibraryanaconfigresponse.md b/docs/models/libraryserviceupsertlibraryanaconfigresponse.md deleted file mode 100644 index b497b49..0000000 --- a/docs/models/libraryserviceupsertlibraryanaconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpsertLibraryAnaConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupsertlibraryfilerequest.md b/docs/models/libraryserviceupsertlibraryfilerequest.md deleted file mode 100644 index 9cc10ff..0000000 --- a/docs/models/libraryserviceupsertlibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpsertLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpsertLibraryFileRequest](../models/textqlrpcpublicpatchesupsertlibraryfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupsertlibraryfileresponse.md b/docs/models/libraryserviceupsertlibraryfileresponse.md deleted file mode 100644 index 2c96120..0000000 --- a/docs/models/libraryserviceupsertlibraryfileresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpsertLibraryFileResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpsertLibraryFileResponse` - -```python -value: models.TextqlRPCPublicPatchesUpsertLibraryFileResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryserviceupsertlibraryownersrequest.md b/docs/models/libraryserviceupsertlibraryownersrequest.md deleted file mode 100644 index 42d5337..0000000 --- a/docs/models/libraryserviceupsertlibraryownersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceUpsertLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesUpsertLibraryOwnersRequest](../models/textqlrpcpublicpatchesupsertlibraryownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryserviceupsertlibraryownersresponse.md b/docs/models/libraryserviceupsertlibraryownersresponse.md deleted file mode 100644 index 1584e1a..0000000 --- a/docs/models/libraryserviceupsertlibraryownersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceUpsertLibraryOwnersResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesUpsertLibraryOwnersResponse` - -```python -value: models.TextqlRPCPublicPatchesUpsertLibraryOwnersResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/libraryservicevalidateconfigrequest.md b/docs/models/libraryservicevalidateconfigrequest.md deleted file mode 100644 index 494f36a..0000000 --- a/docs/models/libraryservicevalidateconfigrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# LibraryServiceValidateConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicPatchesValidateConfigRequest](../models/textqlrpcpublicpatchesvalidateconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/libraryservicevalidateconfigresponse.md b/docs/models/libraryservicevalidateconfigresponse.md deleted file mode 100644 index 7973419..0000000 --- a/docs/models/libraryservicevalidateconfigresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# LibraryServiceValidateConfigResponse - - -## Supported Types - -### `models.TextqlRPCPublicPatchesValidateConfigResponse` - -```python -value: models.TextqlRPCPublicPatchesValidateConfigResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/maxrows1.md b/docs/models/maxrows1.md deleted file mode 100644 index 969eb61..0000000 --- a/docs/models/maxrows1.md +++ /dev/null @@ -1,17 +0,0 @@ -# MaxRows1 - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/maxrows2.md b/docs/models/maxrows2.md deleted file mode 100644 index f82c57c..0000000 --- a/docs/models/maxrows2.md +++ /dev/null @@ -1,17 +0,0 @@ -# MaxRows2 - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/ontologymanagementserviceaddontologysubmodulerequest.md b/docs/models/ontologymanagementserviceaddontologysubmodulerequest.md new file mode 100644 index 0000000..cbfea31 --- /dev/null +++ b/docs/models/ontologymanagementserviceaddontologysubmodulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceAddOntologySubmoduleRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesAddOntologySubmoduleRequest](../models/textqlrpcpublicpatchesaddontologysubmodulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceaddontologysubmoduleresponse.md b/docs/models/ontologymanagementserviceaddontologysubmoduleresponse.md new file mode 100644 index 0000000..759d8d8 --- /dev/null +++ b/docs/models/ontologymanagementserviceaddontologysubmoduleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceAddOntologySubmoduleResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesAddOntologySubmoduleResponse` + +```python +value: models.TextqlRPCPublicPatchesAddOntologySubmoduleResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceapprovepatchrequest.md b/docs/models/ontologymanagementserviceapprovepatchrequest.md new file mode 100644 index 0000000..e41da63 --- /dev/null +++ b/docs/models/ontologymanagementserviceapprovepatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceApprovePatchRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesApprovePatchRequest](../models/textqlrpcpublicpatchesapprovepatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceapprovepatchresponse.md b/docs/models/ontologymanagementserviceapprovepatchresponse.md new file mode 100644 index 0000000..1d59ff9 --- /dev/null +++ b/docs/models/ontologymanagementserviceapprovepatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceApprovePatchResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesApprovePatchResponse` + +```python +value: models.TextqlRPCPublicPatchesApprovePatchResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceconfigureontologyremoterequest.md b/docs/models/ontologymanagementserviceconfigureontologyremoterequest.md new file mode 100644 index 0000000..7f76a45 --- /dev/null +++ b/docs/models/ontologymanagementserviceconfigureontologyremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceConfigureOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesConfigureOntologyRemoteRequest](../models/textqlrpcpublicpatchesconfigureontologyremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceconfigureontologyremoteresponse.md b/docs/models/ontologymanagementserviceconfigureontologyremoteresponse.md new file mode 100644 index 0000000..4e7e999 --- /dev/null +++ b/docs/models/ontologymanagementserviceconfigureontologyremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceConfigureOntologyRemoteResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesConfigureOntologyRemoteResponse` + +```python +value: models.TextqlRPCPublicPatchesConfigureOntologyRemoteResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicecreateapprovalrulerequest.md b/docs/models/ontologymanagementservicecreateapprovalrulerequest.md new file mode 100644 index 0000000..26cc450 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateapprovalrulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceCreateApprovalRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesCreateApprovalRuleRequest](../models/textqlrpcpublicpatchescreateapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicecreateapprovalruleresponse.md b/docs/models/ontologymanagementservicecreateapprovalruleresponse.md new file mode 100644 index 0000000..41b73d7 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateapprovalruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceCreateApprovalRuleResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesCreateApprovalRuleResponse` + +```python +value: models.TextqlRPCPublicPatchesCreateApprovalRuleResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicecreatecontextpatchautoapproverulerequest.md b/docs/models/ontologymanagementservicecreatecontextpatchautoapproverulerequest.md new file mode 100644 index 0000000..e1e3292 --- /dev/null +++ b/docs/models/ontologymanagementservicecreatecontextpatchautoapproverulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchescreatecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicecreatecontextpatchautoapproveruleresponse.md b/docs/models/ontologymanagementservicecreatecontextpatchautoapproveruleresponse.md new file mode 100644 index 0000000..bebd51d --- /dev/null +++ b/docs/models/ontologymanagementservicecreatecontextpatchautoapproveruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse` + +```python +value: models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicecreateontologydirectoryrequest.md b/docs/models/ontologymanagementservicecreateontologydirectoryrequest.md new file mode 100644 index 0000000..5c78b90 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateontologydirectoryrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceCreateOntologyDirectoryRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesCreateOntologyDirectoryRequest](../models/textqlrpcpublicpatchescreateontologydirectoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicecreateontologydirectoryresponse.md b/docs/models/ontologymanagementservicecreateontologydirectoryresponse.md new file mode 100644 index 0000000..352e136 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateontologydirectoryresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceCreateOntologyDirectoryResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesCreateOntologyDirectoryResponse` + +```python +value: models.TextqlRPCPublicPatchesCreateOntologyDirectoryResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicecreateontologyfileuploadurlrequest.md b/docs/models/ontologymanagementservicecreateontologyfileuploadurlrequest.md new file mode 100644 index 0000000..b28d510 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateontologyfileuploadurlrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceCreateOntologyFileUploadURLRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest](../models/textqlrpcpublicpatchescreateontologyfileuploadurlrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicecreateontologyfileuploadurlresponse.md b/docs/models/ontologymanagementservicecreateontologyfileuploadurlresponse.md new file mode 100644 index 0000000..448fad1 --- /dev/null +++ b/docs/models/ontologymanagementservicecreateontologyfileuploadurlresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceCreateOntologyFileUploadURLResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse` + +```python +value: models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedeleteapprovalrulerequest.md b/docs/models/ontologymanagementservicedeleteapprovalrulerequest.md new file mode 100644 index 0000000..f979f54 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteapprovalrulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDeleteApprovalRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest](../models/textqlrpcpublicpatchesdeleteapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedeleteapprovalruleresponse.md b/docs/models/ontologymanagementservicedeleteapprovalruleresponse.md new file mode 100644 index 0000000..87a1339 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteapprovalruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDeleteApprovalRuleResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedeletecontextpatchautoapproverulerequest.md b/docs/models/ontologymanagementservicedeletecontextpatchautoapproverulerequest.md new file mode 100644 index 0000000..2809ee7 --- /dev/null +++ b/docs/models/ontologymanagementservicedeletecontextpatchautoapproverulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchesdeletecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedeletecontextpatchautoapproveruleresponse.md b/docs/models/ontologymanagementservicedeletecontextpatchautoapproveruleresponse.md new file mode 100644 index 0000000..929b197 --- /dev/null +++ b/docs/models/ontologymanagementservicedeletecontextpatchautoapproveruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedeleteontologydirectoryrequest.md b/docs/models/ontologymanagementservicedeleteontologydirectoryrequest.md new file mode 100644 index 0000000..0e84c2e --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologydirectoryrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDeleteOntologyDirectoryRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest](../models/textqlrpcpublicpatchesdeleteontologydirectoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedeleteontologydirectoryresponse.md b/docs/models/ontologymanagementservicedeleteontologydirectoryresponse.md new file mode 100644 index 0000000..3e682e3 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologydirectoryresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDeleteOntologyDirectoryResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedeleteontologyfilerequest.md b/docs/models/ontologymanagementservicedeleteontologyfilerequest.md new file mode 100644 index 0000000..caac419 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologyfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDeleteOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDeleteOntologyFileRequest](../models/textqlrpcpublicpatchesdeleteontologyfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedeleteontologyfileresponse.md b/docs/models/ontologymanagementservicedeleteontologyfileresponse.md new file mode 100644 index 0000000..fc82c28 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologyfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDeleteOntologyFileResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedeleteontologyownersrequest.md b/docs/models/ontologymanagementservicedeleteontologyownersrequest.md new file mode 100644 index 0000000..49bd014 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologyownersrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDeleteOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDeleteOntologyOwnersRequest](../models/textqlrpcpublicpatchesdeleteontologyownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedeleteontologyownersresponse.md b/docs/models/ontologymanagementservicedeleteontologyownersresponse.md new file mode 100644 index 0000000..083a762 --- /dev/null +++ b/docs/models/ontologymanagementservicedeleteontologyownersresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDeleteOntologyOwnersResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicedenypatchrequest.md b/docs/models/ontologymanagementservicedenypatchrequest.md new file mode 100644 index 0000000..0013d20 --- /dev/null +++ b/docs/models/ontologymanagementservicedenypatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceDenyPatchRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesDenyPatchRequest](../models/textqlrpcpublicpatchesdenypatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicedenypatchresponse.md b/docs/models/ontologymanagementservicedenypatchresponse.md new file mode 100644 index 0000000..a29cd22 --- /dev/null +++ b/docs/models/ontologymanagementservicedenypatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceDenyPatchResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceexchangeontologygithubcoderequest.md b/docs/models/ontologymanagementserviceexchangeontologygithubcoderequest.md new file mode 100644 index 0000000..d40ad91 --- /dev/null +++ b/docs/models/ontologymanagementserviceexchangeontologygithubcoderequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceExchangeOntologyGithubCodeRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest](../models/textqlrpcpublicpatchesexchangeontologygithubcoderequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceexchangeontologygithubcoderesponse.md b/docs/models/ontologymanagementserviceexchangeontologygithubcoderesponse.md new file mode 100644 index 0000000..d973db4 --- /dev/null +++ b/docs/models/ontologymanagementserviceexchangeontologygithubcoderesponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceExchangeOntologyGithubCodeResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse` + +```python +value: models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicefinalizeontologyfileuploadrequest.md b/docs/models/ontologymanagementservicefinalizeontologyfileuploadrequest.md new file mode 100644 index 0000000..911c9e6 --- /dev/null +++ b/docs/models/ontologymanagementservicefinalizeontologyfileuploadrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceFinalizeOntologyFileUploadRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest](../models/textqlrpcpublicpatchesfinalizeontologyfileuploadrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicefinalizeontologyfileuploadresponse.md b/docs/models/ontologymanagementservicefinalizeontologyfileuploadresponse.md new file mode 100644 index 0000000..767bc81 --- /dev/null +++ b/docs/models/ontologymanagementservicefinalizeontologyfileuploadresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceFinalizeOntologyFileUploadResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse` + +```python +value: models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetcodeownercoveragerequest.md b/docs/models/ontologymanagementservicegetcodeownercoveragerequest.md new file mode 100644 index 0000000..7641a01 --- /dev/null +++ b/docs/models/ontologymanagementservicegetcodeownercoveragerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetCodeownerCoverageRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest](../models/textqlrpcpublicpatchesgetcodeownercoveragerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetcodeownercoverageresponse.md b/docs/models/ontologymanagementservicegetcodeownercoverageresponse.md new file mode 100644 index 0000000..0de7f3f --- /dev/null +++ b/docs/models/ontologymanagementservicegetcodeownercoverageresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetCodeownerCoverageResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse` + +```python +value: models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetconfigexportcapabilitiesrequest.md b/docs/models/ontologymanagementservicegetconfigexportcapabilitiesrequest.md new file mode 100644 index 0000000..6398d9d --- /dev/null +++ b/docs/models/ontologymanagementservicegetconfigexportcapabilitiesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetConfigExportCapabilitiesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest](../models/textqlrpcpublicpatchesgetconfigexportcapabilitiesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetconfigexportcapabilitiesresponse.md b/docs/models/ontologymanagementservicegetconfigexportcapabilitiesresponse.md new file mode 100644 index 0000000..f01a070 --- /dev/null +++ b/docs/models/ontologymanagementservicegetconfigexportcapabilitiesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetConfigExportCapabilitiesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse` + +```python +value: models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegeteffectiveontologyownersrequest.md b/docs/models/ontologymanagementservicegeteffectiveontologyownersrequest.md new file mode 100644 index 0000000..617e7ba --- /dev/null +++ b/docs/models/ontologymanagementservicegeteffectiveontologyownersrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetEffectiveOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest](../models/textqlrpcpublicpatchesgeteffectiveontologyownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegeteffectiveontologyownersresponse.md b/docs/models/ontologymanagementservicegeteffectiveontologyownersresponse.md new file mode 100644 index 0000000..617d29b --- /dev/null +++ b/docs/models/ontologymanagementservicegeteffectiveontologyownersresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetEffectiveOntologyOwnersResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse` + +```python +value: models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetfileusagerequest.md b/docs/models/ontologymanagementservicegetfileusagerequest.md new file mode 100644 index 0000000..36acf3b --- /dev/null +++ b/docs/models/ontologymanagementservicegetfileusagerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetFileUsageRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetFileUsageRequest](../models/textqlrpcpublicpatchesgetfileusagerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetfileusageresponse.md b/docs/models/ontologymanagementservicegetfileusageresponse.md new file mode 100644 index 0000000..c578254 --- /dev/null +++ b/docs/models/ontologymanagementservicegetfileusageresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetFileUsageResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetFileUsageResponse` + +```python +value: models.TextqlRPCPublicPatchesGetFileUsageResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetfileusagetimelinerequest.md b/docs/models/ontologymanagementservicegetfileusagetimelinerequest.md new file mode 100644 index 0000000..b4f400a --- /dev/null +++ b/docs/models/ontologymanagementservicegetfileusagetimelinerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetFileUsageTimelineRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest](../models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetfileusagetimelineresponse.md b/docs/models/ontologymanagementservicegetfileusagetimelineresponse.md new file mode 100644 index 0000000..a7856fa --- /dev/null +++ b/docs/models/ontologymanagementservicegetfileusagetimelineresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetFileUsageTimelineResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse` + +```python +value: models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyanaconfigrequest.md b/docs/models/ontologymanagementservicegetontologyanaconfigrequest.md new file mode 100644 index 0000000..35e7ef5 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyanaconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyAnaConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyAnaConfigRequest](../models/textqlrpcpublicpatchesgetontologyanaconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyanaconfigresponse.md b/docs/models/ontologymanagementservicegetontologyanaconfigresponse.md new file mode 100644 index 0000000..3f78593 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyanaconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyAnaConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyAnaConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyAnaConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyfilerequest.md b/docs/models/ontologymanagementservicegetontologyfilerequest.md new file mode 100644 index 0000000..a96da00 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyFileRequest](../models/textqlrpcpublicpatchesgetontologyfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyfileresponse.md b/docs/models/ontologymanagementservicegetontologyfileresponse.md new file mode 100644 index 0000000..ad018fe --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyFileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyFileResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyFileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologygithuboauthurlrequest.md b/docs/models/ontologymanagementservicegetontologygithuboauthurlrequest.md new file mode 100644 index 0000000..94b5713 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologygithuboauthurlrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyGithubOAuthURLRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest](../models/textqlrpcpublicpatchesgetontologygithuboauthurlrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologygithuboauthurlresponse.md b/docs/models/ontologymanagementservicegetontologygithuboauthurlresponse.md new file mode 100644 index 0000000..a7bc518 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologygithuboauthurlresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyGithubOAuthURLResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyhistoryfilediffrequest.md b/docs/models/ontologymanagementservicegetontologyhistoryfilediffrequest.md new file mode 100644 index 0000000..f724999 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyhistoryfilediffrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyHistoryFileDiffRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest](../models/textqlrpcpublicpatchesgetontologyhistoryfilediffrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyhistoryfilediffresponse.md b/docs/models/ontologymanagementservicegetontologyhistoryfilediffresponse.md new file mode 100644 index 0000000..9103608 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyhistoryfilediffresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyHistoryFileDiffResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyownersrequest.md b/docs/models/ontologymanagementservicegetontologyownersrequest.md new file mode 100644 index 0000000..5e1cdd2 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyownersrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyOwnersRequest](../models/textqlrpcpublicpatchesgetontologyownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyownersresponse.md b/docs/models/ontologymanagementservicegetontologyownersresponse.md new file mode 100644 index 0000000..5d22e8a --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyownersresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyOwnersResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyOwnersResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyOwnersResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyremoterequest.md b/docs/models/ontologymanagementservicegetontologyremoterequest.md new file mode 100644 index 0000000..799b132 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyRemoteRequest](../models/textqlrpcpublicpatchesgetontologyremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyremoteresponse.md b/docs/models/ontologymanagementservicegetontologyremoteresponse.md new file mode 100644 index 0000000..5128114 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyRemoteResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyRemoteResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyRemoteResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologysizetimelinerequest.md b/docs/models/ontologymanagementservicegetontologysizetimelinerequest.md new file mode 100644 index 0000000..d3253e7 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologysizetimelinerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologySizeTimelineRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologySizeTimelineRequest](../models/textqlrpcpublicpatchesgetontologysizetimelinerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologysizetimelineresponse.md b/docs/models/ontologymanagementservicegetontologysizetimelineresponse.md new file mode 100644 index 0000000..9f826f6 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologysizetimelineresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologySizeTimelineResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologySizeTimelineResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologySizeTimelineResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologysyncconflictsrequest.md b/docs/models/ontologymanagementservicegetontologysyncconflictsrequest.md new file mode 100644 index 0000000..dca932b --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologysyncconflictsrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologySyncConflictsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest](../models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologysyncconflictsresponse.md b/docs/models/ontologymanagementservicegetontologysyncconflictsresponse.md new file mode 100644 index 0000000..42faf5e --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologysyncconflictsresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologySyncConflictsResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologySyncConflictsResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologySyncConflictsResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetontologyusagesummaryrequest.md b/docs/models/ontologymanagementservicegetontologyusagesummaryrequest.md new file mode 100644 index 0000000..ffb33b4 --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyusagesummaryrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetOntologyUsageSummaryRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest](../models/textqlrpcpublicpatchesgetontologyusagesummaryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetontologyusagesummaryresponse.md b/docs/models/ontologymanagementservicegetontologyusagesummaryresponse.md new file mode 100644 index 0000000..499536e --- /dev/null +++ b/docs/models/ontologymanagementservicegetontologyusagesummaryresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetOntologyUsageSummaryResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse` + +```python +value: models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetpatchbynumberrequest.md b/docs/models/ontologymanagementservicegetpatchbynumberrequest.md new file mode 100644 index 0000000..da3514d --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchbynumberrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetPatchByNumberRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetPatchByNumberRequest](../models/textqlrpcpublicpatchesgetpatchbynumberrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetpatchbynumberresponse.md b/docs/models/ontologymanagementservicegetpatchbynumberresponse.md new file mode 100644 index 0000000..b104339 --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchbynumberresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetPatchByNumberResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesPatch` + +```python +value: models.TextqlRPCPublicPatchesPatch = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetpatchcapabilitiesrequest.md b/docs/models/ontologymanagementservicegetpatchcapabilitiesrequest.md new file mode 100644 index 0000000..9dc0620 --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchcapabilitiesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetPatchCapabilitiesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest](../models/textqlrpcpublicpatchesgetpatchcapabilitiesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetpatchcapabilitiesresponse.md b/docs/models/ontologymanagementservicegetpatchcapabilitiesresponse.md new file mode 100644 index 0000000..a28506d --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchcapabilitiesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetPatchCapabilitiesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse` + +```python +value: models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetpatchrequest.md b/docs/models/ontologymanagementservicegetpatchrequest.md new file mode 100644 index 0000000..e8f24a2 --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetPatchRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetPatchRequest](../models/textqlrpcpublicpatchesgetpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetpatchresponse.md b/docs/models/ontologymanagementservicegetpatchresponse.md new file mode 100644 index 0000000..07fe25c --- /dev/null +++ b/docs/models/ontologymanagementservicegetpatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetPatchResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesPatch` + +```python +value: models.TextqlRPCPublicPatchesPatch = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetrawpatchrequest.md b/docs/models/ontologymanagementservicegetrawpatchrequest.md new file mode 100644 index 0000000..ae44de0 --- /dev/null +++ b/docs/models/ontologymanagementservicegetrawpatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetRawPatchRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetRawPatchRequest](../models/textqlrpcpublicpatchesgetrawpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetrawpatchresponse.md b/docs/models/ontologymanagementservicegetrawpatchresponse.md new file mode 100644 index 0000000..4a064b9 --- /dev/null +++ b/docs/models/ontologymanagementservicegetrawpatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetRawPatchResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetRawPatchResponse` + +```python +value: models.TextqlRPCPublicPatchesGetRawPatchResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicegetusagedetailsforfilerequest.md b/docs/models/ontologymanagementservicegetusagedetailsforfilerequest.md new file mode 100644 index 0000000..bed4dcc --- /dev/null +++ b/docs/models/ontologymanagementservicegetusagedetailsforfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceGetUsageDetailsForFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest](../models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicegetusagedetailsforfileresponse.md b/docs/models/ontologymanagementservicegetusagedetailsforfileresponse.md new file mode 100644 index 0000000..be7e8d4 --- /dev/null +++ b/docs/models/ontologymanagementservicegetusagedetailsforfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceGetUsageDetailsForFileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse` + +```python +value: models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistapprovalrulesrequest.md b/docs/models/ontologymanagementservicelistapprovalrulesrequest.md new file mode 100644 index 0000000..ac7d3f7 --- /dev/null +++ b/docs/models/ontologymanagementservicelistapprovalrulesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListApprovalRulesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListApprovalRulesRequest](../models/textqlrpcpublicpatcheslistapprovalrulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistapprovalrulesresponse.md b/docs/models/ontologymanagementservicelistapprovalrulesresponse.md new file mode 100644 index 0000000..08197e7 --- /dev/null +++ b/docs/models/ontologymanagementservicelistapprovalrulesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListApprovalRulesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListApprovalRulesResponse` + +```python +value: models.TextqlRPCPublicPatchesListApprovalRulesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistchatsforfilerequest.md b/docs/models/ontologymanagementservicelistchatsforfilerequest.md new file mode 100644 index 0000000..b38c111 --- /dev/null +++ b/docs/models/ontologymanagementservicelistchatsforfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListChatsForFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListChatsForFileRequest](../models/textqlrpcpublicpatcheslistchatsforfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistchatsforfileresponse.md b/docs/models/ontologymanagementservicelistchatsforfileresponse.md new file mode 100644 index 0000000..4115fa2 --- /dev/null +++ b/docs/models/ontologymanagementservicelistchatsforfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListChatsForFileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListChatsForFileResponse` + +```python +value: models.TextqlRPCPublicPatchesListChatsForFileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesrequest.md b/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesrequest.md new file mode 100644 index 0000000..4d78761 --- /dev/null +++ b/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListContextPatchAutoApproveRulesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest](../models/textqlrpcpublicpatcheslistcontextpatchautoapproverulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesresponse.md b/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesresponse.md new file mode 100644 index 0000000..1db79a3 --- /dev/null +++ b/docs/models/ontologymanagementservicelistcontextpatchautoapproverulesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListContextPatchAutoApproveRulesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse` + +```python +value: models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistgoldenfilesrequest.md b/docs/models/ontologymanagementservicelistgoldenfilesrequest.md new file mode 100644 index 0000000..079d1ea --- /dev/null +++ b/docs/models/ontologymanagementservicelistgoldenfilesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListGoldenFilesRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListGoldenFilesRequest](../models/textqlrpcpublicpatcheslistgoldenfilesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistgoldenfilesresponse.md b/docs/models/ontologymanagementservicelistgoldenfilesresponse.md new file mode 100644 index 0000000..b4a5e3f --- /dev/null +++ b/docs/models/ontologymanagementservicelistgoldenfilesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListGoldenFilesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListGoldenFilesResponse` + +```python +value: models.TextqlRPCPublicPatchesListGoldenFilesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistontologyentriesrequest.md b/docs/models/ontologymanagementservicelistontologyentriesrequest.md new file mode 100644 index 0000000..6576252 --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyentriesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListOntologyEntriesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListOntologyEntriesRequest](../models/textqlrpcpublicpatcheslistontologyentriesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistontologyentriesresponse.md b/docs/models/ontologymanagementservicelistontologyentriesresponse.md new file mode 100644 index 0000000..8e7748f --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyentriesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListOntologyEntriesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListOntologyEntriesResponse` + +```python +value: models.TextqlRPCPublicPatchesListOntologyEntriesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistontologyhistoryrequest.md b/docs/models/ontologymanagementservicelistontologyhistoryrequest.md new file mode 100644 index 0000000..1f6ade3 --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyhistoryrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListOntologyHistoryRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListOntologyHistoryRequest](../models/textqlrpcpublicpatcheslistontologyhistoryrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistontologyhistoryresponse.md b/docs/models/ontologymanagementservicelistontologyhistoryresponse.md new file mode 100644 index 0000000..b18b40e --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyhistoryresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListOntologyHistoryResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListOntologyHistoryResponse` + +```python +value: models.TextqlRPCPublicPatchesListOntologyHistoryResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistontologyimportsrequest.md b/docs/models/ontologymanagementservicelistontologyimportsrequest.md new file mode 100644 index 0000000..066d21b --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyimportsrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListOntologyImportsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListOntologyImportsRequest](../models/textqlrpcpublicpatcheslistontologyimportsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistontologyimportsresponse.md b/docs/models/ontologymanagementservicelistontologyimportsresponse.md new file mode 100644 index 0000000..11bcd7b --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologyimportsresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListOntologyImportsResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListOntologyImportsResponse` + +```python +value: models.TextqlRPCPublicPatchesListOntologyImportsResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistontologysubmodulesrequest.md b/docs/models/ontologymanagementservicelistontologysubmodulesrequest.md new file mode 100644 index 0000000..6fc0f7b --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologysubmodulesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListOntologySubmodulesRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListOntologySubmodulesRequest](../models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistontologysubmodulesresponse.md b/docs/models/ontologymanagementservicelistontologysubmodulesresponse.md new file mode 100644 index 0000000..cc1eb84 --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologysubmodulesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListOntologySubmodulesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListOntologySubmodulesResponse` + +```python +value: models.TextqlRPCPublicPatchesListOntologySubmodulesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistontologysyncrunsrequest.md b/docs/models/ontologymanagementservicelistontologysyncrunsrequest.md new file mode 100644 index 0000000..72874bd --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologysyncrunsrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListOntologySyncRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListOntologySyncRunsRequest](../models/textqlrpcpublicpatcheslistontologysyncrunsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistontologysyncrunsresponse.md b/docs/models/ontologymanagementservicelistontologysyncrunsresponse.md new file mode 100644 index 0000000..59e4e94 --- /dev/null +++ b/docs/models/ontologymanagementservicelistontologysyncrunsresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListOntologySyncRunsResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListOntologySyncRunsResponse` + +```python +value: models.TextqlRPCPublicPatchesListOntologySyncRunsResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistpatchesrequest.md b/docs/models/ontologymanagementservicelistpatchesrequest.md new file mode 100644 index 0000000..1ae8538 --- /dev/null +++ b/docs/models/ontologymanagementservicelistpatchesrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListPatchesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListPatchesRequest](../models/textqlrpcpublicpatcheslistpatchesrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistpatchesresponse.md b/docs/models/ontologymanagementservicelistpatchesresponse.md new file mode 100644 index 0000000..bccf0bf --- /dev/null +++ b/docs/models/ontologymanagementservicelistpatchesresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListPatchesResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListPatchesResponse` + +```python +value: models.TextqlRPCPublicPatchesListPatchesResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistpatchreviewersrequest.md b/docs/models/ontologymanagementservicelistpatchreviewersrequest.md new file mode 100644 index 0000000..41a8fdf --- /dev/null +++ b/docs/models/ontologymanagementservicelistpatchreviewersrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListPatchReviewersRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListPatchReviewersRequest](../models/textqlrpcpublicpatcheslistpatchreviewersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistpatchreviewersresponse.md b/docs/models/ontologymanagementservicelistpatchreviewersresponse.md new file mode 100644 index 0000000..d7fb099 --- /dev/null +++ b/docs/models/ontologymanagementservicelistpatchreviewersresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListPatchReviewersResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListPatchReviewersResponse` + +```python +value: models.TextqlRPCPublicPatchesListPatchReviewersResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicelistskillsrequest.md b/docs/models/ontologymanagementservicelistskillsrequest.md new file mode 100644 index 0000000..0adc45c --- /dev/null +++ b/docs/models/ontologymanagementservicelistskillsrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceListSkillsRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesListSkillsRequest](../models/textqlrpcpublicpatcheslistskillsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicelistskillsresponse.md b/docs/models/ontologymanagementservicelistskillsresponse.md new file mode 100644 index 0000000..b7a87b5 --- /dev/null +++ b/docs/models/ontologymanagementservicelistskillsresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceListSkillsResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesListSkillsResponse` + +```python +value: models.TextqlRPCPublicPatchesListSkillsResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceplanontologymergerequest.md b/docs/models/ontologymanagementserviceplanontologymergerequest.md new file mode 100644 index 0000000..53e2be3 --- /dev/null +++ b/docs/models/ontologymanagementserviceplanontologymergerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServicePlanOntologyMergeRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesPlanOntologyMergeRequest](../models/textqlrpcpublicpatchesplanontologymergerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceplanontologymergeresponse.md b/docs/models/ontologymanagementserviceplanontologymergeresponse.md new file mode 100644 index 0000000..67a70fb --- /dev/null +++ b/docs/models/ontologymanagementserviceplanontologymergeresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServicePlanOntologyMergeResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesPlanOntologyMergeResponse` + +```python +value: models.TextqlRPCPublicPatchesPlanOntologyMergeResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicepreviewontologypullfromremoterequest.md b/docs/models/ontologymanagementservicepreviewontologypullfromremoterequest.md new file mode 100644 index 0000000..1255c49 --- /dev/null +++ b/docs/models/ontologymanagementservicepreviewontologypullfromremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServicePreviewOntologyPullFromRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest](../models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicepreviewontologypullfromremoteresponse.md b/docs/models/ontologymanagementservicepreviewontologypullfromremoteresponse.md new file mode 100644 index 0000000..e095a69 --- /dev/null +++ b/docs/models/ontologymanagementservicepreviewontologypullfromremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServicePreviewOntologyPullFromRemoteResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse` + +```python +value: models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicepullontologyfromremoterequest.md b/docs/models/ontologymanagementservicepullontologyfromremoterequest.md new file mode 100644 index 0000000..1a0875d --- /dev/null +++ b/docs/models/ontologymanagementservicepullontologyfromremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServicePullOntologyFromRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesPullOntologyFromRemoteRequest](../models/textqlrpcpublicpatchespullontologyfromremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicepullontologyfromremoteresponse.md b/docs/models/ontologymanagementservicepullontologyfromremoteresponse.md new file mode 100644 index 0000000..ba80d5c --- /dev/null +++ b/docs/models/ontologymanagementservicepullontologyfromremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServicePullOntologyFromRemoteResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicepushontologytoremoterequest.md b/docs/models/ontologymanagementservicepushontologytoremoterequest.md new file mode 100644 index 0000000..cd99b78 --- /dev/null +++ b/docs/models/ontologymanagementservicepushontologytoremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServicePushOntologyToRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest](../models/textqlrpcpublicpatchespushontologytoremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicepushontologytoremoteresponse.md b/docs/models/ontologymanagementservicepushontologytoremoteresponse.md new file mode 100644 index 0000000..66d5501 --- /dev/null +++ b/docs/models/ontologymanagementservicepushontologytoremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServicePushOntologyToRemoteResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicerecoverontologyrequest.md b/docs/models/ontologymanagementservicerecoverontologyrequest.md new file mode 100644 index 0000000..5e65125 --- /dev/null +++ b/docs/models/ontologymanagementservicerecoverontologyrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRecoverOntologyRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRecoverOntologyRequest](../models/textqlrpcpublicpatchesrecoverontologyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicerecoverontologyresponse.md b/docs/models/ontologymanagementservicerecoverontologyresponse.md new file mode 100644 index 0000000..24e2b0b --- /dev/null +++ b/docs/models/ontologymanagementservicerecoverontologyresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRecoverOntologyResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceremoveontologyremoterequest.md b/docs/models/ontologymanagementserviceremoveontologyremoterequest.md new file mode 100644 index 0000000..7fdc8f6 --- /dev/null +++ b/docs/models/ontologymanagementserviceremoveontologyremoterequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRemoveOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest](../models/textqlrpcpublicpatchesremoveontologyremoterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceremoveontologyremoteresponse.md b/docs/models/ontologymanagementserviceremoveontologyremoteresponse.md new file mode 100644 index 0000000..f063079 --- /dev/null +++ b/docs/models/ontologymanagementserviceremoveontologyremoteresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRemoveOntologyRemoteResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceremoveontologysubmodulerequest.md b/docs/models/ontologymanagementserviceremoveontologysubmodulerequest.md new file mode 100644 index 0000000..6e2c9d8 --- /dev/null +++ b/docs/models/ontologymanagementserviceremoveontologysubmodulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRemoveOntologySubmoduleRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest](../models/textqlrpcpublicpatchesremoveontologysubmodulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceremoveontologysubmoduleresponse.md b/docs/models/ontologymanagementserviceremoveontologysubmoduleresponse.md new file mode 100644 index 0000000..7fb2d3a --- /dev/null +++ b/docs/models/ontologymanagementserviceremoveontologysubmoduleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRemoveOntologySubmoduleResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicerenameontologyfilerequest.md b/docs/models/ontologymanagementservicerenameontologyfilerequest.md new file mode 100644 index 0000000..85e7965 --- /dev/null +++ b/docs/models/ontologymanagementservicerenameontologyfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRenameOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRenameOntologyFileRequest](../models/textqlrpcpublicpatchesrenameontologyfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicerenameontologyfileresponse.md b/docs/models/ontologymanagementservicerenameontologyfileresponse.md new file mode 100644 index 0000000..f895a8c --- /dev/null +++ b/docs/models/ontologymanagementservicerenameontologyfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRenameOntologyFileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesRenameOntologyFileResponse` + +```python +value: models.TextqlRPCPublicPatchesRenameOntologyFileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicerequestpatchreviewrequest.md b/docs/models/ontologymanagementservicerequestpatchreviewrequest.md new file mode 100644 index 0000000..22eb954 --- /dev/null +++ b/docs/models/ontologymanagementservicerequestpatchreviewrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRequestPatchReviewRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRequestPatchReviewRequest](../models/textqlrpcpublicpatchesrequestpatchreviewrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicerequestpatchreviewresponse.md b/docs/models/ontologymanagementservicerequestpatchreviewresponse.md new file mode 100644 index 0000000..485d82d --- /dev/null +++ b/docs/models/ontologymanagementservicerequestpatchreviewresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRequestPatchReviewResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesRequestPatchReviewResponse` + +```python +value: models.TextqlRPCPublicPatchesRequestPatchReviewResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceresolveontologysyncconflictrequest.md b/docs/models/ontologymanagementserviceresolveontologysyncconflictrequest.md new file mode 100644 index 0000000..5dacef1 --- /dev/null +++ b/docs/models/ontologymanagementserviceresolveontologysyncconflictrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceResolveOntologySyncConflictRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesResolveOntologySyncConflictRequest](../models/textqlrpcpublicpatchesresolveontologysyncconflictrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceresolveontologysyncconflictresponse.md b/docs/models/ontologymanagementserviceresolveontologysyncconflictresponse.md new file mode 100644 index 0000000..337034b --- /dev/null +++ b/docs/models/ontologymanagementserviceresolveontologysyncconflictresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceResolveOntologySyncConflictResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicerestorepatchrequest.md b/docs/models/ontologymanagementservicerestorepatchrequest.md new file mode 100644 index 0000000..5478680 --- /dev/null +++ b/docs/models/ontologymanagementservicerestorepatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRestorePatchRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRestorePatchRequest](../models/textqlrpcpublicpatchesrestorepatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicerestorepatchresponse.md b/docs/models/ontologymanagementservicerestorepatchresponse.md new file mode 100644 index 0000000..d7ff266 --- /dev/null +++ b/docs/models/ontologymanagementservicerestorepatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRestorePatchResponse + + +## Supported Types + +### `models.GoogleProtobufEmpty` + +```python +value: models.GoogleProtobufEmpty = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicerevertpatchrequest.md b/docs/models/ontologymanagementservicerevertpatchrequest.md new file mode 100644 index 0000000..ca710b9 --- /dev/null +++ b/docs/models/ontologymanagementservicerevertpatchrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceRevertPatchRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesRevertPatchRequest](../models/textqlrpcpublicpatchesrevertpatchrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicerevertpatchresponse.md b/docs/models/ontologymanagementservicerevertpatchresponse.md new file mode 100644 index 0000000..4270bb2 --- /dev/null +++ b/docs/models/ontologymanagementservicerevertpatchresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceRevertPatchResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesRevertPatchResponse` + +```python +value: models.TextqlRPCPublicPatchesRevertPatchResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicesaveallobjectsasconfigrequest.md b/docs/models/ontologymanagementservicesaveallobjectsasconfigrequest.md new file mode 100644 index 0000000..11733be --- /dev/null +++ b/docs/models/ontologymanagementservicesaveallobjectsasconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceSaveAllObjectsAsConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest](../models/textqlrpcpublicpatchessaveallobjectsasconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicesaveallobjectsasconfigresponse.md b/docs/models/ontologymanagementservicesaveallobjectsasconfigresponse.md new file mode 100644 index 0000000..7d970eb --- /dev/null +++ b/docs/models/ontologymanagementservicesaveallobjectsasconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceSaveAllObjectsAsConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicesaveobjectasconfigrequest.md b/docs/models/ontologymanagementservicesaveobjectasconfigrequest.md new file mode 100644 index 0000000..ba16e30 --- /dev/null +++ b/docs/models/ontologymanagementservicesaveobjectasconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceSaveObjectAsConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest](../models/textqlrpcpublicpatchessaveobjectasconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicesaveobjectasconfigresponse.md b/docs/models/ontologymanagementservicesaveobjectasconfigresponse.md new file mode 100644 index 0000000..e8240ab --- /dev/null +++ b/docs/models/ontologymanagementservicesaveobjectasconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceSaveObjectAsConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicesetontologyfilegoldenrequest.md b/docs/models/ontologymanagementservicesetontologyfilegoldenrequest.md new file mode 100644 index 0000000..b6dfd71 --- /dev/null +++ b/docs/models/ontologymanagementservicesetontologyfilegoldenrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceSetOntologyFileGoldenRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesSetOntologyFileGoldenRequest](../models/textqlrpcpublicpatchessetontologyfilegoldenrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicesetontologyfilegoldenresponse.md b/docs/models/ontologymanagementservicesetontologyfilegoldenresponse.md new file mode 100644 index 0000000..6994202 --- /dev/null +++ b/docs/models/ontologymanagementservicesetontologyfilegoldenresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceSetOntologyFileGoldenResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesSetOntologyFileGoldenResponse` + +```python +value: models.TextqlRPCPublicPatchesSetOntologyFileGoldenResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicetriggerconfigdriftreconcilerequest.md b/docs/models/ontologymanagementservicetriggerconfigdriftreconcilerequest.md new file mode 100644 index 0000000..fc4ae02 --- /dev/null +++ b/docs/models/ontologymanagementservicetriggerconfigdriftreconcilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceTriggerConfigDriftReconcileRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest](../models/textqlrpcpublicpatchestriggerconfigdriftreconcilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicetriggerconfigdriftreconcileresponse.md b/docs/models/ontologymanagementservicetriggerconfigdriftreconcileresponse.md new file mode 100644 index 0000000..d58489c --- /dev/null +++ b/docs/models/ontologymanagementservicetriggerconfigdriftreconcileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceTriggerConfigDriftReconcileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse` + +```python +value: models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupdateapprovalrulerequest.md b/docs/models/ontologymanagementserviceupdateapprovalrulerequest.md new file mode 100644 index 0000000..1524895 --- /dev/null +++ b/docs/models/ontologymanagementserviceupdateapprovalrulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpdateApprovalRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest](../models/textqlrpcpublicpatchesupdateapprovalrulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupdateapprovalruleresponse.md b/docs/models/ontologymanagementserviceupdateapprovalruleresponse.md new file mode 100644 index 0000000..7fce5a5 --- /dev/null +++ b/docs/models/ontologymanagementserviceupdateapprovalruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpdateApprovalRuleResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse` + +```python +value: models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupdatecontextpatchautoapproverulerequest.md b/docs/models/ontologymanagementserviceupdatecontextpatchautoapproverulerequest.md new file mode 100644 index 0000000..bfbba8a --- /dev/null +++ b/docs/models/ontologymanagementserviceupdatecontextpatchautoapproverulerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest](../models/textqlrpcpublicpatchesupdatecontextpatchautoapproverulerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupdatecontextpatchautoapproveruleresponse.md b/docs/models/ontologymanagementserviceupdatecontextpatchautoapproveruleresponse.md new file mode 100644 index 0000000..bc5689b --- /dev/null +++ b/docs/models/ontologymanagementserviceupdatecontextpatchautoapproveruleresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse` + +```python +value: models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupdateontologysyncconfigrequest.md b/docs/models/ontologymanagementserviceupdateontologysyncconfigrequest.md new file mode 100644 index 0000000..045265e --- /dev/null +++ b/docs/models/ontologymanagementserviceupdateontologysyncconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpdateOntologySyncConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest](../models/textqlrpcpublicpatchesupdateontologysyncconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupdateontologysyncconfigresponse.md b/docs/models/ontologymanagementserviceupdateontologysyncconfigresponse.md new file mode 100644 index 0000000..ca11022 --- /dev/null +++ b/docs/models/ontologymanagementserviceupdateontologysyncconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpdateOntologySyncConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupsertontologyanaconfigrequest.md b/docs/models/ontologymanagementserviceupsertontologyanaconfigrequest.md new file mode 100644 index 0000000..f66312e --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyanaconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpsertOntologyAnaConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest](../models/textqlrpcpublicpatchesupsertontologyanaconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupsertontologyanaconfigresponse.md b/docs/models/ontologymanagementserviceupsertontologyanaconfigresponse.md new file mode 100644 index 0000000..cf6adb0 --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyanaconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpsertOntologyAnaConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupsertontologyfilerequest.md b/docs/models/ontologymanagementserviceupsertontologyfilerequest.md new file mode 100644 index 0000000..80042c0 --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyfilerequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpsertOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpsertOntologyFileRequest](../models/textqlrpcpublicpatchesupsertontologyfilerequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupsertontologyfileresponse.md b/docs/models/ontologymanagementserviceupsertontologyfileresponse.md new file mode 100644 index 0000000..de9e201 --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyfileresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpsertOntologyFileResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpsertOntologyFileResponse` + +```python +value: models.TextqlRPCPublicPatchesUpsertOntologyFileResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementserviceupsertontologyownersrequest.md b/docs/models/ontologymanagementserviceupsertontologyownersrequest.md new file mode 100644 index 0000000..aed16f4 --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyownersrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceUpsertOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesUpsertOntologyOwnersRequest](../models/textqlrpcpublicpatchesupsertontologyownersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementserviceupsertontologyownersresponse.md b/docs/models/ontologymanagementserviceupsertontologyownersresponse.md new file mode 100644 index 0000000..8dd21b5 --- /dev/null +++ b/docs/models/ontologymanagementserviceupsertontologyownersresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceUpsertOntologyOwnersResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesUpsertOntologyOwnersResponse` + +```python +value: models.TextqlRPCPublicPatchesUpsertOntologyOwnersResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologymanagementservicevalidateconfigrequest.md b/docs/models/ontologymanagementservicevalidateconfigrequest.md new file mode 100644 index 0000000..83156f4 --- /dev/null +++ b/docs/models/ontologymanagementservicevalidateconfigrequest.md @@ -0,0 +1,10 @@ +# OntologyManagementServiceValidateConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicPatchesValidateConfigRequest](../models/textqlrpcpublicpatchesvalidateconfigrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/ontologymanagementservicevalidateconfigresponse.md b/docs/models/ontologymanagementservicevalidateconfigresponse.md new file mode 100644 index 0000000..3c59385 --- /dev/null +++ b/docs/models/ontologymanagementservicevalidateconfigresponse.md @@ -0,0 +1,17 @@ +# OntologyManagementServiceValidateConfigResponse + + +## Supported Types + +### `models.TextqlRPCPublicPatchesValidateConfigResponse` + +```python +value: models.TextqlRPCPublicPatchesValidateConfigResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/ontologysql.md b/docs/models/ontologysql.md index a044902..f8c5fd1 100644 --- a/docs/models/ontologysql.md +++ b/docs/models/ontologysql.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `ontology_sql` | [models.TextqlRPCPublicDashboardOntologySQLSource](../models/textqlrpcpublicdashboardontologysqlsource.md) | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `ontology_sql` | [models.TextqlRPCPublicDashboardOntologySQLSource](../models/textqlrpcpublicdashboardontologysqlsource.md) | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/pythoncode.md b/docs/models/pythoncode.md index 8f0281c..061208d 100644 --- a/docs/models/pythoncode.md +++ b/docs/models/pythoncode.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `python_code` | [models.TextqlRPCPublicDashboardPythonCodeSource](../models/textqlrpcpublicdashboardpythoncodesource.md) | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `python_code` | [models.TextqlRPCPublicDashboardPythonCodeSource](../models/textqlrpcpublicdashboardpythoncodesource.md) | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/rbacservicesetrolepermissionsrequest.md b/docs/models/rbacservicesetrolepermissionsrequest.md new file mode 100644 index 0000000..1a52732 --- /dev/null +++ b/docs/models/rbacservicesetrolepermissionsrequest.md @@ -0,0 +1,10 @@ +# RBACServiceSetRolePermissionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicRbacSetRolePermissionsRequest](../models/textqlrpcpublicrbacsetrolepermissionsrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/rbacservicesetrolepermissionsresponse.md b/docs/models/rbacservicesetrolepermissionsresponse.md new file mode 100644 index 0000000..216ddac --- /dev/null +++ b/docs/models/rbacservicesetrolepermissionsresponse.md @@ -0,0 +1,17 @@ +# RBACServiceSetRolePermissionsResponse + + +## Supported Types + +### `models.TextqlRPCPublicRbacSetRolePermissionsResponse` + +```python +value: models.TextqlRPCPublicRbacSetRolePermissionsResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/revision.md b/docs/models/revision.md deleted file mode 100644 index 651bf4c..0000000 --- a/docs/models/revision.md +++ /dev/null @@ -1,17 +0,0 @@ -# Revision - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/sandboxcapabilityserviceexecutewriterequest.md b/docs/models/sandboxcapabilityserviceexecutewriterequest.md new file mode 100644 index 0000000..9f2e2ea --- /dev/null +++ b/docs/models/sandboxcapabilityserviceexecutewriterequest.md @@ -0,0 +1,10 @@ +# SandboxCapabilityServiceExecuteWriteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest](../models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sandboxcapabilityserviceexecutewriteresponse.md b/docs/models/sandboxcapabilityserviceexecutewriteresponse.md new file mode 100644 index 0000000..c0e6842 --- /dev/null +++ b/docs/models/sandboxcapabilityserviceexecutewriteresponse.md @@ -0,0 +1,17 @@ +# SandboxCapabilityServiceExecuteWriteResponse + + +## Supported Types + +### `models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse` + +```python +value: models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/sandboxcapabilityserviceputassetrequest.md b/docs/models/sandboxcapabilityserviceputassetrequest.md new file mode 100644 index 0000000..041989b --- /dev/null +++ b/docs/models/sandboxcapabilityserviceputassetrequest.md @@ -0,0 +1,10 @@ +# SandboxCapabilityServicePutAssetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest](../models/textqlrpcpublicsandboxcapabilitysandboxputassetrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sandboxcapabilityserviceputassetresponse.md b/docs/models/sandboxcapabilityserviceputassetresponse.md new file mode 100644 index 0000000..0df3907 --- /dev/null +++ b/docs/models/sandboxcapabilityserviceputassetresponse.md @@ -0,0 +1,17 @@ +# SandboxCapabilityServicePutAssetResponse + + +## Supported Types + +### `models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse` + +```python +value: models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/sandboxcapabilityservicesendnotifyrequest.md b/docs/models/sandboxcapabilityservicesendnotifyrequest.md new file mode 100644 index 0000000..4312ba6 --- /dev/null +++ b/docs/models/sandboxcapabilityservicesendnotifyrequest.md @@ -0,0 +1,10 @@ +# SandboxCapabilityServiceSendNotifyRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest](../models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sandboxcapabilityservicesendnotifyresponse.md b/docs/models/sandboxcapabilityservicesendnotifyresponse.md new file mode 100644 index 0000000..5a6ae4a --- /dev/null +++ b/docs/models/sandboxcapabilityservicesendnotifyresponse.md @@ -0,0 +1,17 @@ +# SandboxCapabilityServiceSendNotifyResponse + + +## Supported Types + +### `models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse` + +```python +value: models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/sandboxcapabilityservicestateoprequest.md b/docs/models/sandboxcapabilityservicestateoprequest.md new file mode 100644 index 0000000..434e858 --- /dev/null +++ b/docs/models/sandboxcapabilityservicestateoprequest.md @@ -0,0 +1,10 @@ +# SandboxCapabilityServiceStateOpRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `body` | [models.TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest](../models/textqlrpcpublicsandboxcapabilitysandboxstateoprequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/sandboxcapabilityservicestateopresponse.md b/docs/models/sandboxcapabilityservicestateopresponse.md new file mode 100644 index 0000000..a47d18f --- /dev/null +++ b/docs/models/sandboxcapabilityservicestateopresponse.md @@ -0,0 +1,17 @@ +# SandboxCapabilityServiceStateOpResponse + + +## Supported Types + +### `models.TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse` + +```python +value: models.TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse = /* values here */ +``` + +### `models.ConnectError` + +```python +value: models.ConnectError = /* values here */ +``` + diff --git a/docs/models/secretservicecreateapirevisionrequest.md b/docs/models/secretservicecreateapirevisionrequest.md deleted file mode 100644 index b56121a..0000000 --- a/docs/models/secretservicecreateapirevisionrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceCreateAPIRevisionRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretCreateAPIRevisionRequest](../models/textqlrpcpublicsecretcreateapirevisionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicecreateapirevisionresponse.md b/docs/models/secretservicecreateapirevisionresponse.md deleted file mode 100644 index 2f0ca19..0000000 --- a/docs/models/secretservicecreateapirevisionresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceCreateAPIRevisionResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretCreateAPIRevisionResponse` - -```python -value: models.TextqlRPCPublicSecretCreateAPIRevisionResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicedeleteapiaccesskeyrequest.md b/docs/models/secretservicedeleteapiaccesskeyrequest.md deleted file mode 100644 index c2fbca2..0000000 --- a/docs/models/secretservicedeleteapiaccesskeyrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceDeleteAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretDeleteAPIAccessKeyRequest](../models/textqlrpcpublicsecretdeleteapiaccesskeyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicedeleteapiaccesskeyresponse.md b/docs/models/secretservicedeleteapiaccesskeyresponse.md deleted file mode 100644 index eee9eb9..0000000 --- a/docs/models/secretservicedeleteapiaccesskeyresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceDeleteAPIAccessKeyResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretDeleteAPIAccessKeyResponse` - -```python -value: models.TextqlRPCPublicSecretDeleteAPIAccessKeyResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicedeleteapirevisionrequest.md b/docs/models/secretservicedeleteapirevisionrequest.md deleted file mode 100644 index 6061317..0000000 --- a/docs/models/secretservicedeleteapirevisionrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceDeleteAPIRevisionRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretDeleteAPIRevisionRequest](../models/textqlrpcpublicsecretdeleteapirevisionrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicedeleteapirevisionresponse.md b/docs/models/secretservicedeleteapirevisionresponse.md deleted file mode 100644 index ee55fa4..0000000 --- a/docs/models/secretservicedeleteapirevisionresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceDeleteAPIRevisionResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretDeleteAPIRevisionResponse` - -```python -value: models.TextqlRPCPublicSecretDeleteAPIRevisionResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicegetapiaccesskeyrequest.md b/docs/models/secretservicegetapiaccesskeyrequest.md deleted file mode 100644 index 6c4ade4..0000000 --- a/docs/models/secretservicegetapiaccesskeyrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceGetAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretGetAPIAccessKeyRequest](../models/textqlrpcpublicsecretgetapiaccesskeyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicegetapiaccesskeyresponse.md b/docs/models/secretservicegetapiaccesskeyresponse.md deleted file mode 100644 index b39e6ce..0000000 --- a/docs/models/secretservicegetapiaccesskeyresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceGetAPIAccessKeyResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretGetAPIAccessKeyResponse` - -```python -value: models.TextqlRPCPublicSecretGetAPIAccessKeyResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicelistapiaccesskeysrequest.md b/docs/models/secretservicelistapiaccesskeysrequest.md deleted file mode 100644 index 7b01cb7..0000000 --- a/docs/models/secretservicelistapiaccesskeysrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceListAPIAccessKeysRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretListAPIAccessKeysRequest](../models/textqlrpcpublicsecretlistapiaccesskeysrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicelistapiaccesskeysresponse.md b/docs/models/secretservicelistapiaccesskeysresponse.md deleted file mode 100644 index b9a4cfb..0000000 --- a/docs/models/secretservicelistapiaccesskeysresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceListAPIAccessKeysResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretListAPIAccessKeysResponse` - -```python -value: models.TextqlRPCPublicSecretListAPIAccessKeysResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicelistapiprovidersrequest.md b/docs/models/secretservicelistapiprovidersrequest.md deleted file mode 100644 index 59460e8..0000000 --- a/docs/models/secretservicelistapiprovidersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceListAPIProvidersRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretListAPIProvidersRequest](../models/textqlrpcpublicsecretlistapiprovidersrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicelistapiprovidersresponse.md b/docs/models/secretservicelistapiprovidersresponse.md deleted file mode 100644 index c2fe68d..0000000 --- a/docs/models/secretservicelistapiprovidersresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceListAPIProvidersResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretListAPIProvidersResponse` - -```python -value: models.TextqlRPCPublicSecretListAPIProvidersResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicemigratesecrettoapiconnectorrequest.md b/docs/models/secretservicemigratesecrettoapiconnectorrequest.md deleted file mode 100644 index 2b631d7..0000000 --- a/docs/models/secretservicemigratesecrettoapiconnectorrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceMigrateSecretToAPIConnectorRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest](../models/textqlrpcpublicsecretmigratesecrettoapiconnectorrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicemigratesecrettoapiconnectorresponse.md b/docs/models/secretservicemigratesecrettoapiconnectorresponse.md deleted file mode 100644 index 2f00a75..0000000 --- a/docs/models/secretservicemigratesecrettoapiconnectorresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceMigrateSecretToAPIConnectorResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse` - -```python -value: models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretservicetestapiaccesskeyrequest.md b/docs/models/secretservicetestapiaccesskeyrequest.md deleted file mode 100644 index c302e66..0000000 --- a/docs/models/secretservicetestapiaccesskeyrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceTestAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretTestAPIAccessKeyRequest](../models/textqlrpcpublicsecrettestapiaccesskeyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretservicetestapiaccesskeyresponse.md b/docs/models/secretservicetestapiaccesskeyresponse.md deleted file mode 100644 index c0dff20..0000000 --- a/docs/models/secretservicetestapiaccesskeyresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceTestAPIAccessKeyResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretTestAPIAccessKeyResponse` - -```python -value: models.TextqlRPCPublicSecretTestAPIAccessKeyResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/secretserviceupsertapiaccesskeyrequest.md b/docs/models/secretserviceupsertapiaccesskeyrequest.md deleted file mode 100644 index c160edb..0000000 --- a/docs/models/secretserviceupsertapiaccesskeyrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# SecretServiceUpsertAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `connect_protocol_version` | *float* | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `body` | [models.TextqlRPCPublicSecretUpsertAPIAccessKeyRequest](../models/textqlrpcpublicsecretupsertapiaccesskeyrequest.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/secretserviceupsertapiaccesskeyresponse.md b/docs/models/secretserviceupsertapiaccesskeyresponse.md deleted file mode 100644 index 598e7f7..0000000 --- a/docs/models/secretserviceupsertapiaccesskeyresponse.md +++ /dev/null @@ -1,17 +0,0 @@ -# SecretServiceUpsertAPIAccessKeyResponse - - -## Supported Types - -### `models.TextqlRPCPublicSecretUpsertAPIAccessKeyResponse` - -```python -value: models.TextqlRPCPublicSecretUpsertAPIAccessKeyResponse = /* values here */ -``` - -### `models.ConnectError` - -```python -value: models.ConnectError = /* values here */ -``` - diff --git a/docs/models/textqlrpcparadigmparamsparadigmtype.md b/docs/models/textqlrpcparadigmparamsparadigmtype.md index 361b9f4..a7b3fbc 100644 --- a/docs/models/textqlrpcparadigmparamsparadigmtype.md +++ b/docs/models/textqlrpcparadigmparamsparadigmtype.md @@ -15,16 +15,4 @@ value: TextqlRPCParadigmParamsParadigmType = "TYPE_UNKNOWN" This is an open enum. Unrecognized values will not fail type checks. - `"TYPE_UNKNOWN"` -- `"TYPE_SQL"` -- `"TYPE_RESEARCH"` -- `"TYPE_ONTOLOGY"` -- `"TYPE_BASIC"` -- `"TYPE_TABLEAU"` -- `"TYPE_EXPERIMENTAL"` - `"TYPE_UNIVERSAL"` -- `"TYPE_PUBLIC_DEMO"` -- `"TYPE_SUMMARY"` -- `"TYPE_OBSERVABILITY"` -- `"TYPE_TEMPLATE"` -- `"TYPE_MINIMALIST"` -- `"TYPE_TOPICS"` diff --git a/docs/models/textqlrpcpublicappapp.md b/docs/models/textqlrpcpublicappapp.md index 733c877..698580b 100644 --- a/docs/models/textqlrpcpublicappapp.md +++ b/docs/models/textqlrpcpublicappapp.md @@ -18,13 +18,17 @@ | `chat_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `published_html_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `has_unpublished_changes` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `staleness_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | | | `files` | List[[models.TextqlRPCPublicAppAppFile](../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | | | `schedule_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | | `cron_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `folder_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `is_favorited` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `capabilities` | List[[models.TextqlRPCPublicAppCapability](../models/textqlrpcpublicappcapability.md)] | :heavy_minus_sign: | N/A | | +| `app_db_setup` | List[*str*] | :heavy_minus_sign: | N/A | | +| `member_features_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `uses_member_features` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `viewer_grants` | List[*str*] | :heavy_minus_sign: | N/A | | | `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | | `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | | `refreshed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | diff --git a/docs/models/textqlrpcpublicappappactivityrecord.md b/docs/models/textqlrpcpublicappappactivityrecord.md new file mode 100644 index 0000000..c144393 --- /dev/null +++ b/docs/models/textqlrpcpublicappappactivityrecord.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicAppAppActivityRecord + +One activity row from any member of the app; display_name resolved server-side. + Never carries email or raw identity fields (names-not-emails is enforced here). + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `seq` | [Optional[models.TextqlRPCPublicAppAppActivityRecordSeq]](../models/textqlrpcpublicappappactivityrecordseq.md) | :heavy_minus_sign: | N/A | | +| `member_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `payload_json` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappappactivityrecordseq.md b/docs/models/textqlrpcpublicappappactivityrecordseq.md new file mode 100644 index 0000000..2a0391c --- /dev/null +++ b/docs/models/textqlrpcpublicappappactivityrecordseq.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicAppAppActivityRecordSeq + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicappappmemberactivityrow.md b/docs/models/textqlrpcpublicappappmemberactivityrow.md new file mode 100644 index 0000000..674b8a7 --- /dev/null +++ b/docs/models/textqlrpcpublicappappmemberactivityrow.md @@ -0,0 +1,12 @@ +# TextqlRPCPublicAppAppMemberActivityRow + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `seq` | [Optional[models.TextqlRPCPublicAppAppMemberActivityRowSeq]](../models/textqlrpcpublicappappmemberactivityrowseq.md) | :heavy_minus_sign: | N/A | | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `payload_json` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappappmemberactivityrowseq.md b/docs/models/textqlrpcpublicappappmemberactivityrowseq.md new file mode 100644 index 0000000..3e3568e --- /dev/null +++ b/docs/models/textqlrpcpublicappappmemberactivityrowseq.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicAppAppMemberActivityRowSeq + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicappappversion.md b/docs/models/textqlrpcpublicappappversion.md index 3806f22..4a51ecf 100644 --- a/docs/models/textqlrpcpublicappappversion.md +++ b/docs/models/textqlrpcpublicappappversion.md @@ -6,8 +6,8 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `version_number` | *Optional[int]* | :heavy_minus_sign: | N/A | | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | Routing observability: warm \| warm_fallback \| tql \| sql. | | +| `version_number` | *Optional[int]* | :heavy_minus_sign: | Whether this invoke paid phase-1 module definition (cold imports). | | | `code` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `data_sources` | List[[models.TextqlRPCPublicDashboardDataSource](../models/textqlrpcpublicdashboarddatasource.md)] | :heavy_minus_sign: | N/A | | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | | @@ -15,7 +15,6 @@ | `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `published_html_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `staleness_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | | `published_by` | *Optional[str]* | :heavy_minus_sign: | N/A | | | `label` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `published_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | diff --git a/docs/models/textqlrpcpublicappcapability.md b/docs/models/textqlrpcpublicappcapability.md new file mode 100644 index 0000000..8f5d033 --- /dev/null +++ b/docs/models/textqlrpcpublicappcapability.md @@ -0,0 +1,15 @@ +# TextqlRPCPublicAppCapability + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `name` | *OptionalNullable[str]* | :heavy_minus_sign: | string \| number \| boolean \| object \| array | +| `connector_id` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `statement` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `subject` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `body` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicAppCapabilityParam](../models/textqlrpcpublicappcapabilityparam.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappcapabilityparam.md b/docs/models/textqlrpcpublicappcapabilityparam.md new file mode 100644 index 0000000..46a0249 --- /dev/null +++ b/docs/models/textqlrpcpublicappcapabilityparam.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicAppCapabilityParam + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappcomputefunction.md b/docs/models/textqlrpcpublicappcomputefunction.md index 943759e..2abb1f4 100644 --- a/docs/models/textqlrpcpublicappcomputefunction.md +++ b/docs/models/textqlrpcpublicappcomputefunction.md @@ -3,10 +3,13 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `params` | List[[models.TextqlRPCPublicAppComputeFunctionParam](../models/textqlrpcpublicappcomputefunctionparam.md)] | :heavy_minus_sign: | N/A | -| `returns` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `params` | List[[models.TextqlRPCPublicAppComputeFunctionParam](../models/textqlrpcpublicappcomputefunctionparam.md)] | :heavy_minus_sign: | N/A | +| `returns` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `tql_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `tql` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappcreateapprequest.md b/docs/models/textqlrpcpublicappcreateapprequest.md index c0bf646..752ba36 100644 --- a/docs/models/textqlrpcpublicappcreateapprequest.md +++ b/docs/models/textqlrpcpublicappcreateapprequest.md @@ -10,4 +10,6 @@ | `code` | *Optional[str]* | :heavy_minus_sign: | N/A | | `data_sources` | List[[models.TextqlRPCPublicDashboardDataSource](../models/textqlrpcpublicdashboarddatasource.md)] | :heavy_minus_sign: | N/A | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | -| `files` | List[[models.TextqlRPCPublicAppAppFile](../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file +| `files` | List[[models.TextqlRPCPublicAppAppFile](../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | +| `capabilities` | List[[models.TextqlRPCPublicAppCapability](../models/textqlrpcpublicappcapability.md)] | :heavy_minus_sign: | N/A | +| `app_db_setup` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappgetappmemberstaterequest.md b/docs/models/textqlrpcpublicappgetappmemberstaterequest.md new file mode 100644 index 0000000..bd450be --- /dev/null +++ b/docs/models/textqlrpcpublicappgetappmemberstaterequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicAppGetAppMemberStateRequest + +Per-member state + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappgetappmemberstateresponse.md b/docs/models/textqlrpcpublicappgetappmemberstateresponse.md new file mode 100644 index 0000000..09373f7 --- /dev/null +++ b/docs/models/textqlrpcpublicappgetappmemberstateresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicAppGetAppMemberStateResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `value_json` | *Optional[str]* | :heavy_minus_sign: | JSON object; "{}" when the member has no saved state | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappinvokeappcomputefunctionrequest.md b/docs/models/textqlrpcpublicappinvokeappcomputefunctionrequest.md index f2357db..7a0ea72 100644 --- a/docs/models/textqlrpcpublicappinvokeappcomputefunctionrequest.md +++ b/docs/models/textqlrpcpublicappinvokeappcomputefunctionrequest.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | ------------------------------------------ | -| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `function_name` | *Optional[str]* | :heavy_minus_sign: | string \| number \| boolean \| object \| array | -| `params_json` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `function_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `params_json` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappinvokeappcomputefunctionresponse.md b/docs/models/textqlrpcpublicappinvokeappcomputefunctionresponse.md index 0bbe0e4..1c56fd1 100644 --- a/docs/models/textqlrpcpublicappinvokeappcomputefunctionresponse.md +++ b/docs/models/textqlrpcpublicappinvokeappcomputefunctionresponse.md @@ -1,6 +1,10 @@ # TextqlRPCPublicAppInvokeAppComputeFunctionResponse -ComputeFunction is a declared server-side python function invocable from the app via the bridge. +ComputeFunction is a declared server-side function invocable from the app via the bridge. + Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's + private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. + TQL variants are real TQL (compiled at save time) executed against a connector; sql is + the app-state path (:name params bound server-side, reserved :_now / :_uuid). ## Fields diff --git a/docs/models/textqlrpcpublicapplistappactivitysincerequest.md b/docs/models/textqlrpcpublicapplistappactivitysincerequest.md new file mode 100644 index 0000000..b67a68f --- /dev/null +++ b/docs/models/textqlrpcpublicapplistappactivitysincerequest.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicAppListAppActivitySinceRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `after_seq` | [Optional[models.AfterSeq]](../models/afterseq.md) | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | server clamps to 200; <=0 means default | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapplistappactivitysinceresponse.md b/docs/models/textqlrpcpublicapplistappactivitysinceresponse.md new file mode 100644 index 0000000..3b3117b --- /dev/null +++ b/docs/models/textqlrpcpublicapplistappactivitysinceresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicAppListAppActivitySinceResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `records` | List[[models.TextqlRPCPublicAppAppActivityRecord](../models/textqlrpcpublicappappactivityrecord.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapplistmyappmemberactivityrequest.md b/docs/models/textqlrpcpublicapplistmyappmemberactivityrequest.md new file mode 100644 index 0000000..9e8258a --- /dev/null +++ b/docs/models/textqlrpcpublicapplistmyappmemberactivityrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicAppListMyAppMemberActivityRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------- | --------------------------------------- | --------------------------------------- | --------------------------------------- | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | server clamps to 200; <=0 means default | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapplistmyappmemberactivityresponse.md b/docs/models/textqlrpcpublicapplistmyappmemberactivityresponse.md new file mode 100644 index 0000000..688a4f4 --- /dev/null +++ b/docs/models/textqlrpcpublicapplistmyappmemberactivityresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicAppListMyAppMemberActivityResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `rows` | List[[models.TextqlRPCPublicAppAppMemberActivityRow](../models/textqlrpcpublicappappmemberactivityrow.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapppresenceheartbeatrequest.md b/docs/models/textqlrpcpublicapppresenceheartbeatrequest.md new file mode 100644 index 0000000..fa3c77e --- /dev/null +++ b/docs/models/textqlrpcpublicapppresenceheartbeatrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicAppPresenceHeartbeatRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `zone` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapprecordappmemberactivityrequest.md b/docs/models/textqlrpcpublicapprecordappmemberactivityrequest.md new file mode 100644 index 0000000..fdbd150 --- /dev/null +++ b/docs/models/textqlrpcpublicapprecordappmemberactivityrequest.md @@ -0,0 +1,14 @@ +# TextqlRPCPublicAppRecordAppMemberActivityRequest + +Per-member activity log + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `payload_json` | *OptionalNullable[str]* | :heavy_minus_sign: | JSON object, usage payload authored by the app | +| `idem_key` | *OptionalNullable[str]* | :heavy_minus_sign: | duplicate key returns the existing row, not an error | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapprecordappmemberactivityresponse.md b/docs/models/textqlrpcpublicapprecordappmemberactivityresponse.md new file mode 100644 index 0000000..d8c1170 --- /dev/null +++ b/docs/models/textqlrpcpublicapprecordappmemberactivityresponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicAppRecordAppMemberActivityResponse + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `seq` | [Optional[models.TextqlRPCPublicAppRecordAppMemberActivityResponseSeq]](../models/textqlrpcpublicapprecordappmemberactivityresponseseq.md) | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicapprecordappmemberactivityresponseseq.md b/docs/models/textqlrpcpublicapprecordappmemberactivityresponseseq.md new file mode 100644 index 0000000..196c9d9 --- /dev/null +++ b/docs/models/textqlrpcpublicapprecordappmemberactivityresponseseq.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicAppRecordAppMemberActivityResponseSeq + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicappsetappmemberstaterequest.md b/docs/models/textqlrpcpublicappsetappmemberstaterequest.md new file mode 100644 index 0000000..9ee4ee5 --- /dev/null +++ b/docs/models/textqlrpcpublicappsetappmemberstaterequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicAppSetAppMemberStateRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `value_json` | *Optional[str]* | :heavy_minus_sign: | whole-object JSON, last-write-wins, max 64KB | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappsetappmemberstateresponse.md b/docs/models/textqlrpcpublicappsetappmemberstateresponse.md new file mode 100644 index 0000000..6325ca4 --- /dev/null +++ b/docs/models/textqlrpcpublicappsetappmemberstateresponse.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicAppSetAppMemberStateResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicappupdateapprequest.md b/docs/models/textqlrpcpublicappupdateapprequest.md index bf8da4b..2767c70 100644 --- a/docs/models/textqlrpcpublicappupdateapprequest.md +++ b/docs/models/textqlrpcpublicappupdateapprequest.md @@ -12,10 +12,13 @@ | `data_sources` | List[[models.TextqlRPCPublicDashboardDataSource](../models/textqlrpcpublicdashboarddatasource.md)] | :heavy_minus_sign: | N/A | | `replace_data_sources` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `publish` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `staleness_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | | `replace_compute_functions` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `files` | List[[models.TextqlRPCPublicAppAppFile](../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | | `replace_files` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `schedule_enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `cron_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `cron_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `capabilities` | List[[models.TextqlRPCPublicAppCapability](../models/textqlrpcpublicappcapability.md)] | :heavy_minus_sign: | N/A | +| `replace_capabilities` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `app_db_setup` | List[*str*] | :heavy_minus_sign: | N/A | +| `replace_app_db_setup` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpubliccellsthinkingcell.md b/docs/models/textqlrpcpubliccellsthinkingcell.md new file mode 100644 index 0000000..e283c49 --- /dev/null +++ b/docs/models/textqlrpcpubliccellsthinkingcell.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicCellsThinkingCell + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | ------------------------------------------------------ | +| `content` | *Optional[str]* | :heavy_minus_sign: | summarized thinking text; empty for redacted blocks | +| `redacted` | *Optional[bool]* | :heavy_minus_sign: | provider returned an encrypted redacted_thinking block | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatcell.md b/docs/models/textqlrpcpublicchatcell.md index 99615d8..85a30af 100644 --- a/docs/models/textqlrpcpublicchatcell.md +++ b/docs/models/textqlrpcpublicchatcell.md @@ -333,6 +333,12 @@ value: models.TabularFileCell = /* values here */ value: models.TextCell = /* values here */ ``` +### `models.ThinkingCell` + +```python +value: models.ThinkingCell = /* values here */ +``` + ### `models.UseSkillCell` ```python diff --git a/docs/models/textqlrpcpublicchatcelldurationms58.md b/docs/models/textqlrpcpublicchatcelldurationms58.md new file mode 100644 index 0000000..e4fc987 --- /dev/null +++ b/docs/models/textqlrpcpublicchatcelldurationms58.md @@ -0,0 +1,19 @@ +# TextqlRPCPublicChatCellDurationMs58 + +cells_v5.duration_ms — wall-clock this cell took + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicchatchat.md b/docs/models/textqlrpcpublicchatchat.md index bbb9240..f89eef5 100644 --- a/docs/models/textqlrpcpublicchatchat.md +++ b/docs/models/textqlrpcpublicchatchat.md @@ -31,4 +31,5 @@ | `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | fast_mode enables Anthropic's fast inference mode (speed: "fast").
Currently supported on Opus 4.6 only. Pricing is 6x standard rates. | | | `agent_id` | *OptionalNullable[str]* | :heavy_minus_sign: | Agent that owns this chat, unset for human-initiated chats. | | | `agent_name` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `agent_profile_image_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file +| `agent_profile_image_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | max_thinking runs extended thinking at max effort with visible reasoning.
Supported on Sonnet 5, Fable 5, and Opus 4.8. Thinking tokens bill as output tokens. | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatcreaterequest.md b/docs/models/textqlrpcpublicchatcreaterequest.md index b024e29..8805de1 100644 --- a/docs/models/textqlrpcpublicchatcreaterequest.md +++ b/docs/models/textqlrpcpublicchatcreaterequest.md @@ -13,4 +13,5 @@ | `dashboard_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | whether to enable dashboard mode for this chat | | `methodology` | [Optional[models.TextqlRPCPublicChatMethodology]](../models/textqlrpcpublicchatmethodology.md) | :heavy_minus_sign: | N/A | | `vllm_model_id` | *OptionalNullable[str]* | :heavy_minus_sign: | vllm_model_id is the model identifier forwarded to the org's vLLM endpoint.
Only valid when model == MODEL_VLLM. Requires @textql.com superadmin. | -| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | fast_mode enables Anthropic's fast inference (speed: "fast") for this chat.
Currently supported on Opus 4.6 only. Pricing is 6x standard rates. | \ No newline at end of file +| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | fast_mode enables Anthropic's fast inference (speed: "fast") for this chat.
Currently supported on Opus 4.6 only. Pricing is 6x standard rates. | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | max_thinking runs extended thinking at max effort with visible reasoning.
Supported on Sonnet 5, Fable 5, and Opus 4.8. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatgetchatsrequest.md b/docs/models/textqlrpcpublicchatgetchatsrequest.md index 4f235a1..ba0f914 100644 --- a/docs/models/textqlrpcpublicchatgetchatsrequest.md +++ b/docs/models/textqlrpcpublicchatgetchatsrequest.md @@ -24,4 +24,5 @@ | `exclude_feed` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | | `sources` | List[[models.TextqlRPCPublicChatChatSource](../models/textqlrpcpublicchatchatsource.md)] | :heavy_minus_sign: | Filter chats by source (union). Ignored when empty. Supersedes the single `source` when non-empty. | | | `thread_warning_types` | List[[models.TextqlRPCPublicChatThreadWarningType](../models/textqlrpcpublicchatthreadwarningtype.md)] | :heavy_minus_sign: | Filter to chats with at least one thread_warning of any of these types (union). | | -| `topic_ids` | List[*str*] | :heavy_minus_sign: | Only chats tagged with at least one of these custom topics
(verdict='tagged'). Ignored when empty. | | \ No newline at end of file +| `topic_ids` | List[*str*] | :heavy_minus_sign: | Only chats tagged with at least one of these custom topics
(verdict='tagged'). Ignored when empty. | | +| `connector_ids` | List[*int*] | :heavy_minus_sign: | Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty. | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatgetllmusageresponse.md b/docs/models/textqlrpcpublicchatgetllmusageresponse.md index c04322d..b19377a 100644 --- a/docs/models/textqlrpcpublicchatgetllmusageresponse.md +++ b/docs/models/textqlrpcpublicchatgetllmusageresponse.md @@ -3,8 +3,11 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `usage` | List[[models.TextqlRPCPublicChatLlmUsage](../models/textqlrpcpublicchatllmusage.md)] | :heavy_minus_sign: | N/A | -| `context_window_used` | *Optional[float]* | :heavy_minus_sign: | range: [0, 1] | -| `estimated_cost` | *OptionalNullable[float]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `usage` | List[[models.TextqlRPCPublicChatLlmUsage](../models/textqlrpcpublicchatllmusage.md)] | :heavy_minus_sign: | N/A | +| `context_window_used` | *Optional[float]* | :heavy_minus_sign: | range: [0, 1] | +| `estimated_cost` | *OptionalNullable[float]* | :heavy_minus_sign: | Estimated LLM-token cost (USD, list model prices). LLM only. | +| `estimated_compute_cost` | *OptionalNullable[float]* | :heavy_minus_sign: | Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds →
ACUs → USD at the org's effective rate. Add to estimated_cost for the
thread's total cost. Requires the console rate (0/omitted if unavailable). | +| `sandbox_id` | *OptionalNullable[str]* | :heavy_minus_sign: | The chat's sandbox id ({orgID}-{chatID}), set when the thread used any
sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted
when the thread had no sandbox usage. | +| `estimated_compute_acus` | *OptionalNullable[float]* | :heavy_minus_sign: | Sandbox compute usage for this chat in ACUs (sandbox-seconds / 3600 × ACUs
per instance-hour). The metered unit behind estimated_compute_cost; shown
alongside the dollars. Independent of the console $ rate, so present whenever
the thread used a sandbox. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatrunchatrequest.md b/docs/models/textqlrpcpublicchatrunchatrequest.md index 119e749..16f783b 100644 --- a/docs/models/textqlrpcpublicchatrunchatrequest.md +++ b/docs/models/textqlrpcpublicchatrunchatrequest.md @@ -9,4 +9,5 @@ | `latest_complete_cell_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `research` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `model` | [Optional[models.TextqlRPCPublicChatLlmModel]](../models/textqlrpcpublicchatllmmodel.md) | :heavy_minus_sign: | N/A | -| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicchatupdatechatrequest.md b/docs/models/textqlrpcpublicchatupdatechatrequest.md index 7d5b65f..9dc61da 100644 --- a/docs/models/textqlrpcpublicchatupdatechatrequest.md +++ b/docs/models/textqlrpcpublicchatupdatechatrequest.md @@ -10,4 +10,5 @@ | `summary` | *OptionalNullable[str]* | :heavy_minus_sign: | update chat summary | | `dashboard_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | update dashboard mode | | `methodology` | [Optional[models.TextqlRPCPublicChatMethodology]](../models/textqlrpcpublicchatmethodology.md) | :heavy_minus_sign: | N/A | -| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | update fast inference mode | \ No newline at end of file +| `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | update fast inference mode | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | update max thinking mode | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicdashboarddatasourcefile.md b/docs/models/textqlrpcpublicdashboarddatasourcefile.md index 5e7e0f7..21e4b8a 100644 --- a/docs/models/textqlrpcpublicdashboarddatasourcefile.md +++ b/docs/models/textqlrpcpublicdashboarddatasourcefile.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `file` | [models.TextqlRPCPublicDashboardFileSource](../models/textqlrpcpublicdashboardfilesource.md) | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `file` | [models.TextqlRPCPublicDashboardFileSource](../models/textqlrpcpublicdashboardfilesource.md) | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicdashboarddatasourcelibrarytql.md b/docs/models/textqlrpcpublicdashboarddatasourcelibrarytql.md index 4d1f987..ce5140b 100644 --- a/docs/models/textqlrpcpublicdashboarddatasourcelibrarytql.md +++ b/docs/models/textqlrpcpublicdashboarddatasourcelibrarytql.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `library_tql` | [models.TextqlRPCPublicDashboardLibraryTQLSource](../models/textqlrpcpublicdashboardlibrarytqlsource.md) | :heavy_check_mark: | References a .tql file stored in the Context Library. The file is rendered
to SQL at fetch time and executed against the provided connector. Template
parameter values are JSON-encoded in `params_json` (e.g. {"region":"EU"}). | -| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `library_tql` | [models.TextqlRPCPublicDashboardLibraryTQLSource](../models/textqlrpcpublicdashboardlibrarytqlsource.md) | :heavy_check_mark: | References a .tql file stored in the Context Library. The file is rendered
to SQL at fetch time and executed against the provided connector. Template
parameter values are JSON-encoded in `params_json` (e.g. {"region":"EU"}). | +| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicdashboarddatasourcesqlquery.md b/docs/models/textqlrpcpublicdashboarddatasourcesqlquery.md index 60489f4..b98a100 100644 --- a/docs/models/textqlrpcpublicdashboarddatasourcesqlquery.md +++ b/docs/models/textqlrpcpublicdashboarddatasourcesqlquery.md @@ -3,9 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `sql_query` | [models.TextqlRPCPublicDashboardSQLQuerySource](../models/textqlrpcpublicdashboardsqlquerysource.md) | :heavy_check_mark: | N/A | -| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `sql_query` | [models.TextqlRPCPublicDashboardSQLQuerySource](../models/textqlrpcpublicdashboardsqlquerysource.md) | :heavy_check_mark: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | "sql_query", "file", "python_code", "ontology_sql", or "library_tql" | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicDashboardQueryParameter](../models/textqlrpcpublicdashboardqueryparameter.md)] | :heavy_minus_sign: | Parameters for live parameterized queries (sql_query type only) | +| `grant` | [Optional[models.TextqlRPCPublicDashboardGrant]](../models/textqlrpcpublicdashboardgrant.md) | :heavy_minus_sign: | Grant is an author allowlist gating a data source or compute function. A viewer whose
effective role names intersect roles, or whose member id is listed in members, may call it.
Absent grant = org-visible (today's behavior); an empty grant object is invalid. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicdashboardgrant.md b/docs/models/textqlrpcpublicdashboardgrant.md new file mode 100644 index 0000000..cb41665 --- /dev/null +++ b/docs/models/textqlrpcpublicdashboardgrant.md @@ -0,0 +1,13 @@ +# TextqlRPCPublicDashboardGrant + +Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + + +## Fields + +| Field | Type | Required | Description | +| ------------------- | ------------------- | ------------------- | ------------------- | +| `roles` | List[*str*] | :heavy_minus_sign: | org role names | +| `members` | List[*str*] | :heavy_minus_sign: | explicit member ids | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicdashboardsqlquerysource.md b/docs/models/textqlrpcpublicdashboardsqlquerysource.md index b6a7879..e13b566 100644 --- a/docs/models/textqlrpcpublicdashboardsqlquerysource.md +++ b/docs/models/textqlrpcpublicdashboardsqlquerysource.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `query` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `query` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `predicate` | *Optional[str]* | :heavy_minus_sign: | Optional viewer row-filter appended server-side at live-query time; binds :viewer_member_id / :viewer_email. Presence forces the source out of the published snapshot. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicobservegetbillingstatsresponse.md b/docs/models/textqlrpcpublicobservegetbillingstatsresponse.md index e6bd8fe..d836963 100644 --- a/docs/models/textqlrpcpublicobservegetbillingstatsresponse.md +++ b/docs/models/textqlrpcpublicobservegetbillingstatsresponse.md @@ -3,21 +3,22 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `member_stats` | List[[models.TextqlRPCPublicObserveMemberBillingStat](../models/textqlrpcpublicobservememberbillingstat.md)] | :heavy_minus_sign: | N/A | -| `agent_stats` | List[[models.TextqlRPCPublicObserveAgentBillingStat](../models/textqlrpcpublicobserveagentbillingstat.md)] | :heavy_minus_sign: | N/A | -| `total_feed_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `playbook_stats` | List[[models.TextqlRPCPublicObservePlaybookBillingStat](../models/textqlrpcpublicobserveplaybookbillingstat.md)] | :heavy_minus_sign: | N/A | -| `dashboard_stats` | List[[models.TextqlRPCPublicObserveDashboardBillingStat](../models/textqlrpcpublicobservedashboardbillingstat.md)] | :heavy_minus_sign: | N/A | -| `total_playbook_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `total_dashboard_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `unattributed_feed_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `unattributed_dashboard_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `total_dashboard_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `total_playbook_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `unattributed_playbook_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `app_stats` | List[[models.TextqlRPCPublicObserveAppBillingStat](../models/textqlrpcpublicobserveappbillingstat.md)] | :heavy_minus_sign: | N/A | -| `total_app_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `unattributed_app_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `total_app_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `member_stats` | List[[models.TextqlRPCPublicObserveMemberBillingStat](../models/textqlrpcpublicobservememberbillingstat.md)] | :heavy_minus_sign: | N/A | +| `agent_stats` | List[[models.TextqlRPCPublicObserveAgentBillingStat](../models/textqlrpcpublicobserveagentbillingstat.md)] | :heavy_minus_sign: | N/A | +| `total_feed_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `playbook_stats` | List[[models.TextqlRPCPublicObservePlaybookBillingStat](../models/textqlrpcpublicobserveplaybookbillingstat.md)] | :heavy_minus_sign: | N/A | +| `dashboard_stats` | List[[models.TextqlRPCPublicObserveDashboardBillingStat](../models/textqlrpcpublicobservedashboardbillingstat.md)] | :heavy_minus_sign: | N/A | +| `total_playbook_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `total_dashboard_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `unattributed_feed_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `unattributed_dashboard_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `total_dashboard_count` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `total_playbook_count` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `unattributed_playbook_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_stats` | List[[models.TextqlRPCPublicObserveAppBillingStat](../models/textqlrpcpublicobserveappbillingstat.md)] | :heavy_minus_sign: | N/A | +| `total_app_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `unattributed_app_acu` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `total_app_count` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `acu_rate_per1000_usd` | *Optional[float]* | :heavy_minus_sign: | Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from
the tenant's pricing tier / active override). Multiply any ACU figure by
(rate / 1000) to show dollars. 0 means unknown/unpriced (e.g. trial). | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicparadigmuniversaloptions.md b/docs/models/textqlrpcpublicparadigmuniversaloptions.md index 9fd5274..4aa902a 100644 --- a/docs/models/textqlrpcpublicparadigmuniversaloptions.md +++ b/docs/models/textqlrpcpublicparadigmuniversaloptions.md @@ -32,4 +32,5 @@ | `google_calendar_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `email_output_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `powerbi_selections` | List[[models.TextqlRPCPowerbiSelectionPowerBISelection](../models/textqlrpcpowerbiselectionpowerbiselection.md)] | :heavy_minus_sign: | N/A | -| `sms_mode` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| `sms_mode` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `api_access_key_ids` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesaddlibrarysubmodulerequest.md b/docs/models/textqlrpcpublicpatchesaddlibrarysubmodulerequest.md deleted file mode 100644 index 0ed0853..0000000 --- a/docs/models/textqlrpcpublicpatchesaddlibrarysubmodulerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesAddLibrarySubmoduleRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesaddlibrarysubmoduleresponse.md b/docs/models/textqlrpcpublicpatchesaddlibrarysubmoduleresponse.md deleted file mode 100644 index 1fa84f7..0000000 --- a/docs/models/textqlrpcpublicpatchesaddlibrarysubmoduleresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesAddLibrarySubmoduleResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `branch` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesaddontologysubmodulerequest.md b/docs/models/textqlrpcpublicpatchesaddontologysubmodulerequest.md new file mode 100644 index 0000000..2450a6a --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesaddontologysubmodulerequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesAddOntologySubmoduleRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesaddontologysubmoduleresponse.md b/docs/models/textqlrpcpublicpatchesaddontologysubmoduleresponse.md new file mode 100644 index 0000000..26504f0 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesaddontologysubmoduleresponse.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesAddOntologySubmoduleResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `branch` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesconfigurelibraryremoterequest.md b/docs/models/textqlrpcpublicpatchesconfigurelibraryremoterequest.md deleted file mode 100644 index 6c1d24c..0000000 --- a/docs/models/textqlrpcpublicpatchesconfigurelibraryremoterequest.md +++ /dev/null @@ -1,20 +0,0 @@ -# TextqlRPCPublicPatchesConfigureLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | -| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `ssh_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `ssh_key_password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `signing_key_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `signing_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `push_mode` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `use_hosted_github_app` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesconfigurelibraryremoteresponse.md b/docs/models/textqlrpcpublicpatchesconfigurelibraryremoteresponse.md deleted file mode 100644 index 4bea1e0..0000000 --- a/docs/models/textqlrpcpublicpatchesconfigurelibraryremoteresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesConfigureLibraryRemoteResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `remote` | [Optional[models.TextqlRPCPublicPatchesLibraryRemote]](../models/textqlrpcpublicpatcheslibraryremote.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesconfigureontologyremoterequest.md b/docs/models/textqlrpcpublicpatchesconfigureontologyremoterequest.md new file mode 100644 index 0000000..6032188 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesconfigureontologyremoterequest.md @@ -0,0 +1,20 @@ +# TextqlRPCPublicPatchesConfigureOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------- | ---------------------------- | ---------------------------- | ---------------------------- | +| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `ssh_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `ssh_key_password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `signing_key_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `signing_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `push_mode` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `use_hosted_github_app` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesconfigureontologyremoteresponse.md b/docs/models/textqlrpcpublicpatchesconfigureontologyremoteresponse.md new file mode 100644 index 0000000..762dba8 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesconfigureontologyremoteresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesConfigureOntologyRemoteResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `remote` | [Optional[models.TextqlRPCPublicPatchesOntologyRemote]](../models/textqlrpcpublicpatchesontologyremote.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryrequest.md b/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryrequest.md deleted file mode 100644 index 168a30b..0000000 --- a/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesCreateLibraryDirectoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryresponse.md b/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryresponse.md deleted file mode 100644 index 84fbefc..0000000 --- a/docs/models/textqlrpcpublicpatchescreatelibrarydirectoryresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesCreateLibraryDirectoryResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `entry` | [Optional[models.TextqlRPCPublicPatchesLibraryEntry]](../models/textqlrpcpublicpatcheslibraryentry.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequest.md b/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequest.md deleted file mode 100644 index 2c36f59..0000000 --- a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes]](../models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md b/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md deleted file mode 100644 index 4e31d01..0000000 --- a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlresponse.md b/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlresponse.md deleted file mode 100644 index 8dcef58..0000000 --- a/docs/models/textqlrpcpublicpatchescreatelibraryfileuploadurlresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `upload_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreateontologydirectoryrequest.md b/docs/models/textqlrpcpublicpatchescreateontologydirectoryrequest.md new file mode 100644 index 0000000..f94e914 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchescreateontologydirectoryrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesCreateOntologyDirectoryRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreateontologydirectoryresponse.md b/docs/models/textqlrpcpublicpatchescreateontologydirectoryresponse.md new file mode 100644 index 0000000..ebbef59 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchescreateontologydirectoryresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesCreateOntologyDirectoryResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `entry` | [Optional[models.TextqlRPCPublicPatchesOntologyEntry]](../models/textqlrpcpublicpatchesontologyentry.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequest.md b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequest.md new file mode 100644 index 0000000..b506ac0 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes]](../models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md new file mode 100644 index 0000000..db3fef5 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlresponse.md b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlresponse.md new file mode 100644 index 0000000..a8bdcbe --- /dev/null +++ b/docs/models/textqlrpcpublicpatchescreateontologyfileuploadurlresponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `upload_url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdailyfileusage.md b/docs/models/textqlrpcpublicpatchesdailyfileusage.md index 11f10b6..5efdb6c 100644 --- a/docs/models/textqlrpcpublicpatchesdailyfileusage.md +++ b/docs/models/textqlrpcpublicpatchesdailyfileusage.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `date_` | [Optional[models.TextqlRPCPublicPatchesDate]](../models/textqlrpcpublicpatchesdate.md) | :heavy_minus_sign: | copied from google.type.Date; not available in buf's google/protobuf/* | +| `date_` | [Optional[models.TextqlRPCPublicPatchesDate]](../models/textqlrpcpublicpatchesdate.md) | :heavy_minus_sign: | N/A | | `average_tokens` | *Optional[int]* | :heavy_minus_sign: | N/A | | `average_query_time` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | | `hit_rate` | *Optional[float]* | :heavy_minus_sign: | N/A | diff --git a/docs/models/textqlrpcpublicpatchesdate.md b/docs/models/textqlrpcpublicpatchesdate.md index 0c1e88d..f447322 100644 --- a/docs/models/textqlrpcpublicpatchesdate.md +++ b/docs/models/textqlrpcpublicpatchesdate.md @@ -1,12 +1,10 @@ # TextqlRPCPublicPatchesDate -copied from google.type.Date; not available in buf's google/protobuf/* - ## Fields -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `year` | *Optional[int]* | :heavy_minus_sign: | Year of the date. Must be from 1 to 9999, or 0 to specify a date without
a year. | -| `month` | *Optional[int]* | :heavy_minus_sign: | Month of a year. Must be from 1 to 12, or 0 to specify a year without a
month and day. | -| `day` | *Optional[int]* | :heavy_minus_sign: | Day of a month. Must be from 1 to 31 and valid for the year and month, or 0
to specify a year by itself or a year and month where the day isn't
significant. | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `year` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `month` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `day` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeletelibrarydirectoryrequest.md b/docs/models/textqlrpcpublicpatchesdeletelibrarydirectoryrequest.md deleted file mode 100644 index 8c1a994..0000000 --- a/docs/models/textqlrpcpublicpatchesdeletelibrarydirectoryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | When true, delete the directory and all of its contents (files and
subdirectories) in a single atomic commit. The caller must have write
access to every nested subdirectory. When false (default), the directory
must be empty of non-reserved entries. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeletelibraryfilerequest.md b/docs/models/textqlrpcpublicpatchesdeletelibraryfilerequest.md deleted file mode 100644 index b4f9c1b..0000000 --- a/docs/models/textqlrpcpublicpatchesdeletelibraryfilerequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesDeleteLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeletelibraryownersrequest.md b/docs/models/textqlrpcpublicpatchesdeletelibraryownersrequest.md deleted file mode 100644 index 9dec1a9..0000000 --- a/docs/models/textqlrpcpublicpatchesdeletelibraryownersrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesDeleteLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeleteontologydirectoryrequest.md b/docs/models/textqlrpcpublicpatchesdeleteontologydirectoryrequest.md new file mode 100644 index 0000000..f63cb4e --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesdeleteontologydirectoryrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `recursive` | *Optional[bool]* | :heavy_minus_sign: | When true, delete the directory and all of its contents (files and
subdirectories) in a single atomic commit. The caller must have write
access to every nested subdirectory. When false (default), the directory
must be empty of non-reserved entries. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeleteontologyfilerequest.md b/docs/models/textqlrpcpublicpatchesdeleteontologyfilerequest.md new file mode 100644 index 0000000..6a6ce45 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesdeleteontologyfilerequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesDeleteOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesdeleteontologyownersrequest.md b/docs/models/textqlrpcpublicpatchesdeleteontologyownersrequest.md new file mode 100644 index 0000000..08d1319 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesdeleteontologyownersrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesDeleteOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderequest.md b/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderequest.md deleted file mode 100644 index d2ea4f5..0000000 --- a/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderesponse.md b/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderesponse.md deleted file mode 100644 index 55793e9..0000000 --- a/docs/models/textqlrpcpublicpatchesexchangelibrarygithubcoderesponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `success` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `installations` | List[[models.TextqlRPCPublicPatchesGithubInstallation](../models/textqlrpcpublicpatchesgithubinstallation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderequest.md b/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderequest.md new file mode 100644 index 0000000..eca07e7 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderesponse.md b/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderesponse.md new file mode 100644 index 0000000..e2cabbb --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesexchangeontologygithubcoderesponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `success` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `installations` | List[[models.TextqlRPCPublicPatchesGithubInstallation](../models/textqlrpcpublicpatchesgithubinstallation.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesfilechatusage.md b/docs/models/textqlrpcpublicpatchesfilechatusage.md index 78d6105..6769c78 100644 --- a/docs/models/textqlrpcpublicpatchesfilechatusage.md +++ b/docs/models/textqlrpcpublicpatchesfilechatusage.md @@ -1,15 +1,11 @@ # TextqlRPCPublicPatchesFileChatUsage -FileChatUsage is one chat that retrieved a library file inside the - observation window. Only pulls attributed to a chat are listed — background - or sandbox reads carry no chat id and are excluded. - ## Fields | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `chat_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `title` | *Optional[str]* | :heavy_minus_sign: | empty for untitled chats | | +| `chat_id` | *Optional[str]* | :heavy_minus_sign: | most recent pull or run (imports included) inside the window; unset when
the file had no usage at all | | +| `title` | *Optional[str]* | :heavy_minus_sign: | one entry per UTC day in the window, oldest first; idle days zero-filled | | | `last_pulled` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `used` | *Optional[bool]* | :heavy_minus_sign: | the chat also ran the file (directly or via imports), not just pulled it | | \ No newline at end of file +| `used` | *Optional[bool]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadrequest.md b/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadrequest.md deleted file mode 100644 index b6b5516..0000000 --- a/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadresponse.md b/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadresponse.md deleted file mode 100644 index 71ce7b9..0000000 --- a/docs/models/textqlrpcpublicpatchesfinalizelibraryfileuploadresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `file` | [Optional[models.TextqlRPCPublicPatchesLibraryFile]](../models/textqlrpcpublicpatcheslibraryfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadrequest.md b/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadrequest.md new file mode 100644 index 0000000..9687535 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadresponse.md b/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadresponse.md new file mode 100644 index 0000000..b6a6af7 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesfinalizeontologyfileuploadresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `file` | [Optional[models.TextqlRPCPublicPatchesOntologyFile]](../models/textqlrpcpublicpatchesontologyfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersrequest.md b/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersrequest.md deleted file mode 100644 index ff17dd8..0000000 --- a/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersrequest.md +++ /dev/null @@ -1,15 +0,0 @@ -# TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest - -Returns the *effective* owners for a directory after walking ancestor - OWNERS files: for every role in the org, the resolved permission the - role would have on this directory (per `permissionForDirWithRoles`). - Use this when you need to compare permissions across paths — the - literal GetLibraryOwners only reflects the OWNERS file at the exact - path, missing inheritance. - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersresponse.md b/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersresponse.md deleted file mode 100644 index 2335430..0000000 --- a/docs/models/textqlrpcpublicpatchesgeteffectivelibraryownersresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `entries` | List[[models.TextqlRPCPublicPatchesLibraryOwnerEntry](../models/textqlrpcpublicpatcheslibraryownerentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersrequest.md b/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersrequest.md new file mode 100644 index 0000000..b80314c --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersrequest.md @@ -0,0 +1,15 @@ +# TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest + +Returns the *effective* owners for a directory after walking ancestor + OWNERS files: for every role in the org, the resolved permission the + role would have on this directory (per `permissionForDirWithRoles`). + Use this when you need to compare permissions across paths — the + literal GetOntologyOwners only reflects the OWNERS file at the exact + path, missing inheritance. + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersresponse.md b/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersresponse.md new file mode 100644 index 0000000..570a41b --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgeteffectiveontologyownersresponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `entries` | List[[models.TextqlRPCPublicPatchesOntologyOwnerEntry](../models/textqlrpcpublicpatchesontologyownerentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetfileusagerequest.md b/docs/models/textqlrpcpublicpatchesgetfileusagerequest.md index abc5403..8120a6d 100644 --- a/docs/models/textqlrpcpublicpatchesgetfileusagerequest.md +++ b/docs/models/textqlrpcpublicpatchesgetfileusagerequest.md @@ -9,4 +9,4 @@ | `order` | [Optional[models.TextqlRPCPublicPatchesUsageOrderBy]](../models/textqlrpcpublicpatchesusageorderby.md) | :heavy_minus_sign: | N/A | | `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | | `page_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | default 100, capped at 100 | \ No newline at end of file +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | default 1000, capped at 1000 | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md b/docs/models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md index 06064a3..74c5bef 100644 --- a/docs/models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md +++ b/docs/models/textqlrpcpublicpatchesgetfileusagetimelinerequest.md @@ -1,9 +1,13 @@ # TextqlRPCPublicPatchesGetFileUsageTimelineRequest +FileChatUsage is one chat that retrieved a ontology file inside the + observation window. Only pulls attributed to a chat are listed — background + or sandbox reads carry no chat id and are excluded. + ## Fields | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | Restrict to files under this prefix; the whole library when unset. | +| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetfileusagetimelineresponse.md b/docs/models/textqlrpcpublicpatchesgetfileusagetimelineresponse.md index 1415a94..84886e3 100644 --- a/docs/models/textqlrpcpublicpatchesgetfileusagetimelineresponse.md +++ b/docs/models/textqlrpcpublicpatchesgetfileusagetimelineresponse.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `days` | List[[models.TextqlRPCPublicPatchesDailyFileUsage](../models/textqlrpcpublicpatchesdailyfileusage.md)] | :heavy_minus_sign: | one entry per UTC day in the window, oldest first; idle days zero-filled | \ No newline at end of file +| `days` | List[[models.TextqlRPCPublicPatchesDailyFileUsage](../models/textqlrpcpublicpatchesdailyfileusage.md)] | :heavy_minus_sign: | most recent pull first | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigrequest.md b/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigrequest.md deleted file mode 100644 index b584ee7..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryAnaConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigresponse.md b/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigresponse.md deleted file mode 100644 index e236970..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryanaconfigresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryAnaConfigResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `config` | [Optional[models.TextqlRPCPublicPatchesLibraryAnaConfig]](../models/textqlrpcpublicpatcheslibraryanaconfig.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryfilerequest.md b/docs/models/textqlrpcpublicpatchesgetlibraryfilerequest.md deleted file mode 100644 index f23afd0..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryfilerequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryfileresponse.md b/docs/models/textqlrpcpublicpatchesgetlibraryfileresponse.md deleted file mode 100644 index 4b0276d..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryfileresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryFileResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `file` | [Optional[models.TextqlRPCPublicPatchesLibraryFile]](../models/textqlrpcpublicpatcheslibraryfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlrequest.md b/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlrequest.md deleted file mode 100644 index 2a3f1f4..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlresponse.md b/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlresponse.md deleted file mode 100644 index cac77d2..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarygithuboauthurlresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `authorize_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `install_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `available` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffrequest.md b/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffrequest.md deleted file mode 100644 index 217c4e7..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffresponse.md b/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffresponse.md deleted file mode 100644 index 137d12f..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryhistoryfilediffresponse.md +++ /dev/null @@ -1,14 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `previous_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `change_type` | [Optional[models.TextqlRPCPublicPatchesLibraryHistoryChangeType]](../models/textqlrpcpublicpatcheslibraryhistorychangetype.md) | :heavy_minus_sign: | N/A | -| `before_content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `after_content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `is_binary` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md b/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md deleted file mode 100644 index 413a62b..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusresponse.md b/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusresponse.md deleted file mode 100644 index 8a81b97..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarymigrationstatusresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `pending_legacy_context_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryownersrequest.md b/docs/models/textqlrpcpublicpatchesgetlibraryownersrequest.md deleted file mode 100644 index 9110694..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryownersrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryownersresponse.md b/docs/models/textqlrpcpublicpatchesgetlibraryownersresponse.md deleted file mode 100644 index 0f9a053..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryownersresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryOwnersResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `owners` | [Optional[models.TextqlRPCPublicPatchesLibraryOwners]](../models/textqlrpcpublicpatcheslibraryowners.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryremoterequest.md b/docs/models/textqlrpcpublicpatchesgetlibraryremoterequest.md deleted file mode 100644 index 2389425..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryremoterequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibraryremoteresponse.md b/docs/models/textqlrpcpublicpatchesgetlibraryremoteresponse.md deleted file mode 100644 index 50f14e3..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibraryremoteresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesGetLibraryRemoteResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `remote` | [Optional[models.TextqlRPCPublicPatchesLibraryRemote]](../models/textqlrpcpublicpatcheslibraryremote.md) | :heavy_minus_sign: | N/A | -| `hosted_github_app_available` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `hosted_github_app_slug` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelinerequest.md b/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelinerequest.md deleted file mode 100644 index b5b4ca3..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelinerequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelineresponse.md b/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelineresponse.md deleted file mode 100644 index 283dd3e..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarysizetimelineresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `days` | List[[models.TextqlRPCPublicPatchesLibrarySizeDay](../models/textqlrpcpublicpatcheslibrarysizeday.md)] | :heavy_minus_sign: | one entry per UTC day, oldest first; days before the repo's first commit
are omitted, and days without commits carry the previous day's tree | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md b/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md deleted file mode 100644 index 6853c4f..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsresponse.md b/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsresponse.md deleted file mode 100644 index 2a50752..0000000 --- a/docs/models/textqlrpcpublicpatchesgetlibrarysyncconflictsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `conflicts` | List[[models.TextqlRPCPublicPatchesLibrarySyncConflict](../models/textqlrpcpublicpatcheslibrarysyncconflict.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyanaconfigrequest.md b/docs/models/textqlrpcpublicpatchesgetontologyanaconfigrequest.md new file mode 100644 index 0000000..b94bc78 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyanaconfigrequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyAnaConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyanaconfigresponse.md b/docs/models/textqlrpcpublicpatchesgetontologyanaconfigresponse.md new file mode 100644 index 0000000..74e62de --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyanaconfigresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyAnaConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `config` | [Optional[models.TextqlRPCPublicPatchesOntologyAnaConfig]](../models/textqlrpcpublicpatchesontologyanaconfig.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyfilerequest.md b/docs/models/textqlrpcpublicpatchesgetontologyfilerequest.md new file mode 100644 index 0000000..2431c75 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyfilerequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyfileresponse.md b/docs/models/textqlrpcpublicpatchesgetontologyfileresponse.md new file mode 100644 index 0000000..df208e0 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyfileresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyFileResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `file` | [Optional[models.TextqlRPCPublicPatchesOntologyFile]](../models/textqlrpcpublicpatchesontologyfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlrequest.md b/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlrequest.md new file mode 100644 index 0000000..f35ac84 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlresponse.md b/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlresponse.md new file mode 100644 index 0000000..149e9f1 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologygithuboauthurlresponse.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `authorize_url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `install_url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `available` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffrequest.md b/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffrequest.md new file mode 100644 index 0000000..d485c31 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffresponse.md b/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffresponse.md new file mode 100644 index 0000000..2597129 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyhistoryfilediffresponse.md @@ -0,0 +1,14 @@ +# TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `previous_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `change_type` | [Optional[models.TextqlRPCPublicPatchesOntologyHistoryChangeType]](../models/textqlrpcpublicpatchesontologyhistorychangetype.md) | :heavy_minus_sign: | N/A | +| `before_content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `after_content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `is_binary` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyownersrequest.md b/docs/models/textqlrpcpublicpatchesgetontologyownersrequest.md new file mode 100644 index 0000000..57a7770 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyownersrequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyownersresponse.md b/docs/models/textqlrpcpublicpatchesgetontologyownersresponse.md new file mode 100644 index 0000000..1130904 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyownersresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologyOwnersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `owners` | [Optional[models.TextqlRPCPublicPatchesOntologyOwners]](../models/textqlrpcpublicpatchesontologyowners.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyremoterequest.md b/docs/models/textqlrpcpublicpatchesgetontologyremoterequest.md new file mode 100644 index 0000000..4852115 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyremoterequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesGetOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologyremoteresponse.md b/docs/models/textqlrpcpublicpatchesgetontologyremoteresponse.md new file mode 100644 index 0000000..901c3ca --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologyremoteresponse.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesGetOntologyRemoteResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `remote` | [Optional[models.TextqlRPCPublicPatchesOntologyRemote]](../models/textqlrpcpublicpatchesontologyremote.md) | :heavy_minus_sign: | N/A | +| `hosted_github_app_available` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `hosted_github_app_slug` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologysizetimelinerequest.md b/docs/models/textqlrpcpublicpatchesgetontologysizetimelinerequest.md new file mode 100644 index 0000000..bb7dad5 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologysizetimelinerequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologySizeTimelineRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologysizetimelineresponse.md b/docs/models/textqlrpcpublicpatchesgetontologysizetimelineresponse.md new file mode 100644 index 0000000..bc5a50b --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologysizetimelineresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologySizeTimelineResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `days` | List[[models.TextqlRPCPublicPatchesOntologySizeDay](../models/textqlrpcpublicpatchesontologysizeday.md)] | :heavy_minus_sign: | default 90d, capped at 365d | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md b/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md new file mode 100644 index 0000000..514b81c --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesGetOntologySyncConflictsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsresponse.md b/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsresponse.md new file mode 100644 index 0000000..24a7f3b --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesgetontologysyncconflictsresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesGetOntologySyncConflictsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `conflicts` | List[[models.TextqlRPCPublicPatchesOntologySyncConflict](../models/textqlrpcpublicpatchesontologysyncconflict.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md b/docs/models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md index 163eca3..8772cbe 100644 --- a/docs/models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md +++ b/docs/models/textqlrpcpublicpatchesgetusagedetailsforfilerequest.md @@ -1,9 +1,11 @@ # TextqlRPCPublicPatchesGetUsageDetailsForFileRequest +copied from google.type.Date; not available in buf's google/protobuf/* + ## Fields | Field | Type | Required | Description | | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `file_path` | *Optional[str]* | :heavy_minus_sign: | Year of the date. Must be from 1 to 9999, or 0 to specify a date without
a year. | | `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesgetusagedetailsforfileresponse.md b/docs/models/textqlrpcpublicpatchesgetusagedetailsforfileresponse.md index 6a4be74..96808c6 100644 --- a/docs/models/textqlrpcpublicpatchesgetusagedetailsforfileresponse.md +++ b/docs/models/textqlrpcpublicpatchesgetusagedetailsforfileresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | Example | | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `last_used` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `days` | List[[models.TextqlRPCPublicPatchesDailyFileUsage](../models/textqlrpcpublicpatchesdailyfileusage.md)] | :heavy_minus_sign: | one entry per UTC day in the window, oldest first; idle days zero-filled | | \ No newline at end of file +| `days` | List[[models.TextqlRPCPublicPatchesDailyFileUsage](../models/textqlrpcpublicpatchesdailyfileusage.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryanaconfig.md b/docs/models/textqlrpcpublicpatcheslibraryanaconfig.md deleted file mode 100644 index 4cbc8df..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryanaconfig.md +++ /dev/null @@ -1,12 +0,0 @@ -# TextqlRPCPublicPatchesLibraryAnaConfig - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | | -| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryentry.md b/docs/models/textqlrpcpublicpatcheslibraryentry.md deleted file mode 100644 index cd2cc2d..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryentry.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextqlRPCPublicPatchesLibraryEntry - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `is_dir` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `size_bytes` | [OptionalNullable[models.TextqlRPCPublicPatchesLibraryEntrySizeBytes]](../models/textqlrpcpublicpatcheslibraryentrysizebytes.md) | :heavy_minus_sign: | N/A | | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `can_read` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `config_sync_status` | [Optional[models.TextqlRPCPublicConfigSourceConfigSyncStatus]](../models/textqlrpcpublicconfigsourceconfigsyncstatus.md) | :heavy_minus_sign: | N/A | | -| `config_object_id` | *OptionalNullable[str]* | :heavy_minus_sign: | config_object_id is the id of the object this file defines (the playbook
id), enabling file -> object links. Empty when no object is materialized yet. | | -| `config_sync_error` | *OptionalNullable[str]* | :heavy_minus_sign: | config_sync_error is the latest sync failure message for a config-managed
entry whose status is ERROR; empty otherwise. Lets the file view surface the
error inline without a second fetch. | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryentrysizebytes.md b/docs/models/textqlrpcpublicpatcheslibraryentrysizebytes.md deleted file mode 100644 index e6cb971..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryentrysizebytes.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextqlRPCPublicPatchesLibraryEntrySizeBytes - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/textqlrpcpublicpatcheslibraryfile.md b/docs/models/textqlrpcpublicpatcheslibraryfile.md deleted file mode 100644 index 99bb8cf..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryfile.md +++ /dev/null @@ -1,16 +0,0 @@ -# TextqlRPCPublicPatchesLibraryFile - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `kind` | [Optional[models.TextqlRPCPublicPatchesLibraryFileKind]](../models/textqlrpcpublicpatcheslibraryfilekind.md) | :heavy_minus_sign: | N/A | | -| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesLibraryFileSizeBytes]](../models/textqlrpcpublicpatcheslibraryfilesizebytes.md) | :heavy_minus_sign: | N/A | | -| `binary_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryfilekind.md b/docs/models/textqlrpcpublicpatcheslibraryfilekind.md deleted file mode 100644 index d812ce4..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryfilekind.md +++ /dev/null @@ -1,22 +0,0 @@ -# TextqlRPCPublicPatchesLibraryFileKind - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesLibraryFileKind - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicPatchesLibraryFileKind = "LIBRARY_FILE_KIND_UNSPECIFIED" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"LIBRARY_FILE_KIND_UNSPECIFIED"` -- `"LIBRARY_FILE_KIND_TEXT"` -- `"LIBRARY_FILE_KIND_PDF"` -- `"LIBRARY_FILE_KIND_IMAGE"` -- `"LIBRARY_FILE_KIND_ASSET"` -- `"LIBRARY_FILE_KIND_TABULAR"` diff --git a/docs/models/textqlrpcpublicpatcheslibraryfilesizebytes.md b/docs/models/textqlrpcpublicpatcheslibraryfilesizebytes.md deleted file mode 100644 index 53d58a4..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryfilesizebytes.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextqlRPCPublicPatchesLibraryFileSizeBytes - - -## Supported Types - -### `int` - -```python -value: int = /* values here */ -``` - -### `str` - -```python -value: str = /* values here */ -``` - diff --git a/docs/models/textqlrpcpublicpatcheslibraryhistorychangedfile.md b/docs/models/textqlrpcpublicpatcheslibraryhistorychangedfile.md deleted file mode 100644 index c2ca828..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryhistorychangedfile.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesLibraryHistoryChangedFile - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `previous_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `change_type` | [Optional[models.TextqlRPCPublicPatchesLibraryHistoryChangeType]](../models/textqlrpcpublicpatcheslibraryhistorychangetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryhistorychangetype.md b/docs/models/textqlrpcpublicpatcheslibraryhistorychangetype.md deleted file mode 100644 index f2841d4..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryhistorychangetype.md +++ /dev/null @@ -1,21 +0,0 @@ -# TextqlRPCPublicPatchesLibraryHistoryChangeType - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesLibraryHistoryChangeType - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicPatchesLibraryHistoryChangeType = "LIBRARY_HISTORY_CHANGE_TYPE_UNSPECIFIED" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"LIBRARY_HISTORY_CHANGE_TYPE_UNSPECIFIED"` -- `"LIBRARY_HISTORY_CHANGE_TYPE_ADDED"` -- `"LIBRARY_HISTORY_CHANGE_TYPE_MODIFIED"` -- `"LIBRARY_HISTORY_CHANGE_TYPE_DELETED"` -- `"LIBRARY_HISTORY_CHANGE_TYPE_RENAMED"` diff --git a/docs/models/textqlrpcpublicpatcheslibraryhistoryentry.md b/docs/models/textqlrpcpublicpatcheslibraryhistoryentry.md deleted file mode 100644 index 8decbdb..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryhistoryentry.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicPatchesLibraryHistoryEntry - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `committed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `author_email` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `author_name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `changed_files` | List[[models.TextqlRPCPublicPatchesLibraryHistoryChangedFile](../models/textqlrpcpublicpatcheslibraryhistorychangedfile.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryimportedge.md b/docs/models/textqlrpcpublicpatcheslibraryimportedge.md deleted file mode 100644 index 91b0a76..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryimportedge.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesLibraryImportEdge - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `source_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `target_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `alias` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarymergeoutcome.md b/docs/models/textqlrpcpublicpatcheslibrarymergeoutcome.md deleted file mode 100644 index ccbd40e..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarymergeoutcome.md +++ /dev/null @@ -1,23 +0,0 @@ -# TextqlRPCPublicPatchesLibraryMergeOutcome - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesLibraryMergeOutcome - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicPatchesLibraryMergeOutcome = "LIBRARY_MERGE_OUTCOME_UNSPECIFIED" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"LIBRARY_MERGE_OUTCOME_UNSPECIFIED"` -- `"LIBRARY_MERGE_OUTCOME_ALREADY_UP_TO_DATE"` -- `"LIBRARY_MERGE_OUTCOME_LOCAL_AHEAD"` -- `"LIBRARY_MERGE_OUTCOME_FAST_FORWARD"` -- `"LIBRARY_MERGE_OUTCOME_BOOTSTRAP_ADOPT"` -- `"LIBRARY_MERGE_OUTCOME_MERGE_REQUIRED"` -- `"LIBRARY_MERGE_OUTCOME_UNRELATED_HISTORIES"` diff --git a/docs/models/textqlrpcpublicpatcheslibraryownerentry.md b/docs/models/textqlrpcpublicpatcheslibraryownerentry.md deleted file mode 100644 index 3f44f3a..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryownerentry.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesLibraryOwnerEntry - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `role_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `permission` | [Optional[models.TextqlRPCPublicPatchesLibraryPermission]](../models/textqlrpcpublicpatcheslibrarypermission.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibraryowners.md b/docs/models/textqlrpcpublicpatcheslibraryowners.md deleted file mode 100644 index ea58b5e..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryowners.md +++ /dev/null @@ -1,11 +0,0 @@ -# TextqlRPCPublicPatchesLibraryOwners - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `entries` | List[[models.TextqlRPCPublicPatchesLibraryOwnerEntry](../models/textqlrpcpublicpatcheslibraryownerentry.md)] | :heavy_minus_sign: | N/A | | -| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarypermission.md b/docs/models/textqlrpcpublicpatcheslibrarypermission.md deleted file mode 100644 index d4edb95..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarypermission.md +++ /dev/null @@ -1,22 +0,0 @@ -# TextqlRPCPublicPatchesLibraryPermission - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesLibraryPermission - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicPatchesLibraryPermission = "LIBRARY_PERMISSION_UNSPECIFIED" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"LIBRARY_PERMISSION_UNSPECIFIED"` -- `"LIBRARY_PERMISSION_EXECUTE"` -- `"LIBRARY_PERMISSION_READ"` -- `"LIBRARY_PERMISSION_READ_EXECUTE"` -- `"LIBRARY_PERMISSION_READ_WRITE"` -- `"LIBRARY_PERMISSION_READ_WRITE_EXECUTE"` diff --git a/docs/models/textqlrpcpublicpatcheslibraryremote.md b/docs/models/textqlrpcpublicpatcheslibraryremote.md deleted file mode 100644 index 34f7eff..0000000 --- a/docs/models/textqlrpcpublicpatcheslibraryremote.md +++ /dev/null @@ -1,22 +0,0 @@ -# TextqlRPCPublicPatchesLibraryRemote - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `default_branch` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | | -| `last_synced_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `last_sync_error` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `signing_key_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `has_conflicts` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `push_mode` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarysizeday.md b/docs/models/textqlrpcpublicpatcheslibrarysizeday.md deleted file mode 100644 index fad9e6a..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarysizeday.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicPatchesLibrarySizeDay - -LibrarySizeDay is the library's total content size as of the end of one UTC - day, sampled from git history (the last commit on or before that day). - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -| `date_` | [Optional[models.TextqlRPCPublicPatchesDate]](../models/textqlrpcpublicpatchesdate.md) | :heavy_minus_sign: | copied from google.type.Date; not available in buf's google/protobuf/* | -| `total_bytes` | [Optional[models.TotalBytes]](../models/totalbytes.md) | :heavy_minus_sign: | N/A | -| `file_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarysubmodule.md b/docs/models/textqlrpcpublicpatcheslibrarysubmodule.md deleted file mode 100644 index 1e976a0..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarysubmodule.md +++ /dev/null @@ -1,11 +0,0 @@ -# TextqlRPCPublicPatchesLibrarySubmodule - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `branch` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarysyncconflict.md b/docs/models/textqlrpcpublicpatcheslibrarysyncconflict.md deleted file mode 100644 index dd4453d..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarysyncconflict.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicPatchesLibrarySyncConflict - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `ours_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `theirs_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `base_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarysyncrun.md b/docs/models/textqlrpcpublicpatcheslibrarysyncrun.md deleted file mode 100644 index 320ef00..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarysyncrun.md +++ /dev/null @@ -1,17 +0,0 @@ -# TextqlRPCPublicPatchesLibrarySyncRun - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `remote_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `remote_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `source` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `status` | [Optional[models.TextqlRPCPublicPatchesLibrarySyncRunStatus]](../models/textqlrpcpublicpatcheslibrarysyncrunstatus.md) | :heavy_minus_sign: | N/A | | -| `started_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `completed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `conflict_count` | *Optional[int]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslibrarysyncrunstatus.md b/docs/models/textqlrpcpublicpatcheslibrarysyncrunstatus.md deleted file mode 100644 index b1e53d8..0000000 --- a/docs/models/textqlrpcpublicpatcheslibrarysyncrunstatus.md +++ /dev/null @@ -1,21 +0,0 @@ -# TextqlRPCPublicPatchesLibrarySyncRunStatus - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesLibrarySyncRunStatus - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicPatchesLibrarySyncRunStatus = "LIBRARY_SYNC_RUN_STATUS_UNSPECIFIED" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"LIBRARY_SYNC_RUN_STATUS_UNSPECIFIED"` -- `"LIBRARY_SYNC_RUN_STATUS_IN_PROGRESS"` -- `"LIBRARY_SYNC_RUN_STATUS_SUCCEEDED"` -- `"LIBRARY_SYNC_RUN_STATUS_FAILED"` -- `"LIBRARY_SYNC_RUN_STATUS_CONFLICTS"` diff --git a/docs/models/textqlrpcpublicpatcheslistchatsforfilerequest.md b/docs/models/textqlrpcpublicpatcheslistchatsforfilerequest.md index 9b685fb..2f7643d 100644 --- a/docs/models/textqlrpcpublicpatcheslistchatsforfilerequest.md +++ b/docs/models/textqlrpcpublicpatcheslistchatsforfilerequest.md @@ -7,4 +7,4 @@ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | | `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `limit` | *OptionalNullable[int]* | :heavy_minus_sign: | default and cap applied server-side | \ No newline at end of file +| `limit` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistchatsforfileresponse.md b/docs/models/textqlrpcpublicpatcheslistchatsforfileresponse.md index 954f678..1c651b7 100644 --- a/docs/models/textqlrpcpublicpatcheslistchatsforfileresponse.md +++ b/docs/models/textqlrpcpublicpatcheslistchatsforfileresponse.md @@ -5,4 +5,4 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `chats` | List[[models.TextqlRPCPublicPatchesFileChatUsage](../models/textqlrpcpublicpatchesfilechatusage.md)] | :heavy_minus_sign: | most recent pull first | \ No newline at end of file +| `chats` | List[[models.TextqlRPCPublicPatchesFileChatUsage](../models/textqlrpcpublicpatchesfilechatusage.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryentriesrequest.md b/docs/models/textqlrpcpublicpatcheslistlibraryentriesrequest.md deleted file mode 100644 index e39cf13..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryentriesrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryEntriesRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `include_debug_files` | *Optional[bool]* | :heavy_minus_sign: | when true, reserved files like OWNERS are included | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryentriesresponse.md b/docs/models/textqlrpcpublicpatcheslistlibraryentriesresponse.md deleted file mode 100644 index 104e943..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryentriesresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryEntriesResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------- | -| `entries` | List[[models.TextqlRPCPublicPatchesLibraryEntry](../models/textqlrpcpublicpatcheslibraryentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryhistoryrequest.md b/docs/models/textqlrpcpublicpatcheslistlibraryhistoryrequest.md deleted file mode 100644 index e8541ea..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryhistoryrequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryHistoryRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryhistoryresponse.md b/docs/models/textqlrpcpublicpatcheslistlibraryhistoryresponse.md deleted file mode 100644 index 5a57083..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryhistoryresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryHistoryResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | -| `history` | List[[models.TextqlRPCPublicPatchesLibraryHistoryEntry](../models/textqlrpcpublicpatcheslibraryhistoryentry.md)] | :heavy_minus_sign: | N/A | -| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryimportsrequest.md b/docs/models/textqlrpcpublicpatcheslistlibraryimportsrequest.md deleted file mode 100644 index fee354d..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryimportsrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryImportsRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibraryimportsresponse.md b/docs/models/textqlrpcpublicpatcheslistlibraryimportsresponse.md deleted file mode 100644 index 69a306e..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibraryimportsresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesListLibraryImportsResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `imports` | List[[models.TextqlRPCPublicPatchesLibraryImportEdge](../models/textqlrpcpublicpatcheslibraryimportedge.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md b/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md deleted file mode 100644 index 0c66af9..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesListLibrarySubmodulesRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesresponse.md b/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesresponse.md deleted file mode 100644 index 7b94cd1..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibrarysubmodulesresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesListLibrarySubmodulesResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | -| `submodules` | List[[models.TextqlRPCPublicPatchesLibrarySubmodule](../models/textqlrpcpublicpatcheslibrarysubmodule.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsrequest.md b/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsrequest.md deleted file mode 100644 index 6ffae50..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesListLibrarySyncRunsRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsresponse.md b/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsresponse.md deleted file mode 100644 index b311638..0000000 --- a/docs/models/textqlrpcpublicpatcheslistlibrarysyncrunsresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesListLibrarySyncRunsResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | -| `runs` | List[[models.TextqlRPCPublicPatchesLibrarySyncRun](../models/textqlrpcpublicpatcheslibrarysyncrun.md)] | :heavy_minus_sign: | N/A | -| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyentriesrequest.md b/docs/models/textqlrpcpublicpatcheslistontologyentriesrequest.md new file mode 100644 index 0000000..77552e1 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyentriesrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesListOntologyEntriesRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `recursive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `include_debug_files` | *Optional[bool]* | :heavy_minus_sign: | when true, reserved files like OWNERS are included | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyentriesresponse.md b/docs/models/textqlrpcpublicpatcheslistontologyentriesresponse.md new file mode 100644 index 0000000..4dbcc28 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyentriesresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesListOntologyEntriesResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | +| `entries` | List[[models.TextqlRPCPublicPatchesOntologyEntry](../models/textqlrpcpublicpatchesontologyentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyhistoryrequest.md b/docs/models/textqlrpcpublicpatcheslistontologyhistoryrequest.md new file mode 100644 index 0000000..f7ec4a8 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyhistoryrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesListOntologyHistoryRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyhistoryresponse.md b/docs/models/textqlrpcpublicpatcheslistontologyhistoryresponse.md new file mode 100644 index 0000000..e5c7b15 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyhistoryresponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesListOntologyHistoryResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `history` | List[[models.TextqlRPCPublicPatchesOntologyHistoryEntry](../models/textqlrpcpublicpatchesontologyhistoryentry.md)] | :heavy_minus_sign: | N/A | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyimportsrequest.md b/docs/models/textqlrpcpublicpatcheslistontologyimportsrequest.md new file mode 100644 index 0000000..bc81b4c --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyimportsrequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesListOntologyImportsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologyimportsresponse.md b/docs/models/textqlrpcpublicpatcheslistontologyimportsresponse.md new file mode 100644 index 0000000..c2245bc --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologyimportsresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesListOntologyImportsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `imports` | List[[models.TextqlRPCPublicPatchesOntologyImportEdge](../models/textqlrpcpublicpatchesontologyimportedge.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md b/docs/models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md new file mode 100644 index 0000000..7d8bef3 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesListOntologySubmodulesRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologysubmodulesresponse.md b/docs/models/textqlrpcpublicpatcheslistontologysubmodulesresponse.md new file mode 100644 index 0000000..2f29ec4 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologysubmodulesresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesListOntologySubmodulesResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | +| `submodules` | List[[models.TextqlRPCPublicPatchesOntologySubmodule](../models/textqlrpcpublicpatchesontologysubmodule.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologysyncrunsrequest.md b/docs/models/textqlrpcpublicpatcheslistontologysyncrunsrequest.md new file mode 100644 index 0000000..f7cff33 --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologysyncrunsrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesListOntologySyncRunsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatcheslistontologysyncrunsresponse.md b/docs/models/textqlrpcpublicpatcheslistontologysyncrunsresponse.md new file mode 100644 index 0000000..83202ca --- /dev/null +++ b/docs/models/textqlrpcpublicpatcheslistontologysyncrunsresponse.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesListOntologySyncRunsResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `runs` | List[[models.TextqlRPCPublicPatchesOntologySyncRun](../models/textqlrpcpublicpatchesontologysyncrun.md)] | :heavy_minus_sign: | N/A | +| `next_page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigratedlegacycontextprompt.md b/docs/models/textqlrpcpublicpatchesmigratedlegacycontextprompt.md deleted file mode 100644 index 141d707..0000000 --- a/docs/models/textqlrpcpublicpatchesmigratedlegacycontextprompt.md +++ /dev/null @@ -1,16 +0,0 @@ -# TextqlRPCPublicPatchesMigratedLegacyContextPrompt - - -## Fields - -| Field | Type | Required | Description | -| -------------------------- | -------------------------- | -------------------------- | -------------------------- | -| `legacy_context_prompt_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `folder_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `skipped` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `skip_reason` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `is_public` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `auto_attach` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigratedontologynoun.md b/docs/models/textqlrpcpublicpatchesmigratedontologynoun.md deleted file mode 100644 index cd09982..0000000 --- a/docs/models/textqlrpcpublicpatchesmigratedontologynoun.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicPatchesMigratedOntologyNoun - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `noun_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `noun_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `created` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `skipped` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `skip_reason` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryrequest.md b/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryrequest.md deleted file mode 100644 index 95b1ac9..0000000 --- a/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `dry_run` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `include_inactive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryresponse.md b/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryresponse.md deleted file mode 100644 index 125b7f2..0000000 --- a/docs/models/textqlrpcpublicpatchesmigratelegacycontexttolibraryresponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `prompts` | List[[models.TextqlRPCPublicPatchesMigratedLegacyContextPrompt](../models/textqlrpcpublicpatchesmigratedlegacycontextprompt.md)] | :heavy_minus_sign: | N/A | -| `created_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `skipped_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `total_legacy_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `dry_run` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryrequest.md b/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryrequest.md deleted file mode 100644 index c41f878..0000000 --- a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------ | ------------------------ | ------------------------ | ------------------------ | -| `ontology_ids` | List[*int*] | :heavy_minus_sign: | N/A | -| `dry_run` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresponse.md b/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresponse.md deleted file mode 100644 index ffd596b..0000000 --- a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresponse.md +++ /dev/null @@ -1,11 +0,0 @@ -# TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- | -| `results` | List[[models.TextqlRPCPublicPatchesMigrateOntologyToLibraryResult](../models/textqlrpcpublicpatchesmigrateontologytolibraryresult.md)] | :heavy_minus_sign: | N/A | -| `total_created` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `total_skipped` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `dry_run` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresult.md b/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresult.md deleted file mode 100644 index 4f4118a..0000000 --- a/docs/models/textqlrpcpublicpatchesmigrateontologytolibraryresult.md +++ /dev/null @@ -1,14 +0,0 @@ -# TextqlRPCPublicPatchesMigrateOntologyToLibraryResult - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | -| `ontology_id` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `ontology_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `folder_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `nouns` | List[[models.TextqlRPCPublicPatchesMigratedOntologyNoun](../models/textqlrpcpublicpatchesmigratedontologynoun.md)] | :heavy_minus_sign: | N/A | -| `created_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `skipped_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `total_nouns` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyanaconfig.md b/docs/models/textqlrpcpublicpatchesontologyanaconfig.md new file mode 100644 index 0000000..e679266 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyanaconfig.md @@ -0,0 +1,12 @@ +# TextqlRPCPublicPatchesOntologyAnaConfig + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | | +| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyentry.md b/docs/models/textqlrpcpublicpatchesontologyentry.md new file mode 100644 index 0000000..e441cc7 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyentry.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicPatchesOntologyEntry + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `is_dir` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `size_bytes` | [OptionalNullable[models.TextqlRPCPublicPatchesOntologyEntrySizeBytes]](../models/textqlrpcpublicpatchesontologyentrysizebytes.md) | :heavy_minus_sign: | N/A | | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `can_read` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `config_sync_status` | [Optional[models.TextqlRPCPublicConfigSourceConfigSyncStatus]](../models/textqlrpcpublicconfigsourceconfigsyncstatus.md) | :heavy_minus_sign: | N/A | | +| `config_object_id` | *OptionalNullable[str]* | :heavy_minus_sign: | config_object_id is the id of the object this file defines (the playbook
id), enabling file -> object links. Empty when no object is materialized yet. | | +| `config_sync_error` | *OptionalNullable[str]* | :heavy_minus_sign: | config_sync_error is the latest sync failure message for a config-managed
entry whose status is ERROR; empty otherwise. Lets the file view surface the
error inline without a second fetch. | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyentrysizebytes.md b/docs/models/textqlrpcpublicpatchesontologyentrysizebytes.md new file mode 100644 index 0000000..9afb4b3 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyentrysizebytes.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicPatchesOntologyEntrySizeBytes + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicpatchesontologyfile.md b/docs/models/textqlrpcpublicpatchesontologyfile.md new file mode 100644 index 0000000..a3e7a61 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyfile.md @@ -0,0 +1,16 @@ +# TextqlRPCPublicPatchesOntologyFile + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `kind` | [Optional[models.TextqlRPCPublicPatchesOntologyFileKind]](../models/textqlrpcpublicpatchesontologyfilekind.md) | :heavy_minus_sign: | N/A | | +| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesOntologyFileSizeBytes]](../models/textqlrpcpublicpatchesontologyfilesizebytes.md) | :heavy_minus_sign: | N/A | | +| `binary_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyfilekind.md b/docs/models/textqlrpcpublicpatchesontologyfilekind.md new file mode 100644 index 0000000..609aa19 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyfilekind.md @@ -0,0 +1,22 @@ +# TextqlRPCPublicPatchesOntologyFileKind + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesOntologyFileKind + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: TextqlRPCPublicPatchesOntologyFileKind = "ONTOLOGY_FILE_KIND_UNSPECIFIED" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"ONTOLOGY_FILE_KIND_UNSPECIFIED"` +- `"ONTOLOGY_FILE_KIND_TEXT"` +- `"ONTOLOGY_FILE_KIND_PDF"` +- `"ONTOLOGY_FILE_KIND_IMAGE"` +- `"ONTOLOGY_FILE_KIND_ASSET"` +- `"ONTOLOGY_FILE_KIND_TABULAR"` diff --git a/docs/models/textqlrpcpublicpatchesontologyfilesizebytes.md b/docs/models/textqlrpcpublicpatchesontologyfilesizebytes.md new file mode 100644 index 0000000..e9cd9d5 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyfilesizebytes.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicPatchesOntologyFileSizeBytes + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicpatchesontologyhistorychangedfile.md b/docs/models/textqlrpcpublicpatchesontologyhistorychangedfile.md new file mode 100644 index 0000000..83543f8 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyhistorychangedfile.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesOntologyHistoryChangedFile + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `previous_path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `change_type` | [Optional[models.TextqlRPCPublicPatchesOntologyHistoryChangeType]](../models/textqlrpcpublicpatchesontologyhistorychangetype.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyhistorychangetype.md b/docs/models/textqlrpcpublicpatchesontologyhistorychangetype.md new file mode 100644 index 0000000..6ed65af --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyhistorychangetype.md @@ -0,0 +1,21 @@ +# TextqlRPCPublicPatchesOntologyHistoryChangeType + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesOntologyHistoryChangeType + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: TextqlRPCPublicPatchesOntologyHistoryChangeType = "ONTOLOGY_HISTORY_CHANGE_TYPE_UNSPECIFIED" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"ONTOLOGY_HISTORY_CHANGE_TYPE_UNSPECIFIED"` +- `"ONTOLOGY_HISTORY_CHANGE_TYPE_ADDED"` +- `"ONTOLOGY_HISTORY_CHANGE_TYPE_MODIFIED"` +- `"ONTOLOGY_HISTORY_CHANGE_TYPE_DELETED"` +- `"ONTOLOGY_HISTORY_CHANGE_TYPE_RENAMED"` diff --git a/docs/models/textqlrpcpublicpatchesontologyhistoryentry.md b/docs/models/textqlrpcpublicpatchesontologyhistoryentry.md new file mode 100644 index 0000000..274d469 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyhistoryentry.md @@ -0,0 +1,13 @@ +# TextqlRPCPublicPatchesOntologyHistoryEntry + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `committed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `author_email` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `author_name` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `changed_files` | List[[models.TextqlRPCPublicPatchesOntologyHistoryChangedFile](../models/textqlrpcpublicpatchesontologyhistorychangedfile.md)] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyimportedge.md b/docs/models/textqlrpcpublicpatchesontologyimportedge.md new file mode 100644 index 0000000..311fd94 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyimportedge.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesOntologyImportEdge + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `source_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `target_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `alias` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologymergeoutcome.md b/docs/models/textqlrpcpublicpatchesontologymergeoutcome.md new file mode 100644 index 0000000..0682f1b --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologymergeoutcome.md @@ -0,0 +1,23 @@ +# TextqlRPCPublicPatchesOntologyMergeOutcome + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesOntologyMergeOutcome + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: TextqlRPCPublicPatchesOntologyMergeOutcome = "ONTOLOGY_MERGE_OUTCOME_UNSPECIFIED" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"ONTOLOGY_MERGE_OUTCOME_UNSPECIFIED"` +- `"ONTOLOGY_MERGE_OUTCOME_ALREADY_UP_TO_DATE"` +- `"ONTOLOGY_MERGE_OUTCOME_LOCAL_AHEAD"` +- `"ONTOLOGY_MERGE_OUTCOME_FAST_FORWARD"` +- `"ONTOLOGY_MERGE_OUTCOME_BOOTSTRAP_ADOPT"` +- `"ONTOLOGY_MERGE_OUTCOME_MERGE_REQUIRED"` +- `"ONTOLOGY_MERGE_OUTCOME_UNRELATED_HISTORIES"` diff --git a/docs/models/textqlrpcpublicpatchesontologyownerentry.md b/docs/models/textqlrpcpublicpatchesontologyownerentry.md new file mode 100644 index 0000000..2f9ad73 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyownerentry.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesOntologyOwnerEntry + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `role_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `permission` | [Optional[models.TextqlRPCPublicPatchesOntologyPermission]](../models/textqlrpcpublicpatchesontologypermission.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologyowners.md b/docs/models/textqlrpcpublicpatchesontologyowners.md new file mode 100644 index 0000000..c6380b6 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyowners.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicPatchesOntologyOwners + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `entries` | List[[models.TextqlRPCPublicPatchesOntologyOwnerEntry](../models/textqlrpcpublicpatchesontologyownerentry.md)] | :heavy_minus_sign: | N/A | | +| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologypermission.md b/docs/models/textqlrpcpublicpatchesontologypermission.md new file mode 100644 index 0000000..77ce7f9 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologypermission.md @@ -0,0 +1,22 @@ +# TextqlRPCPublicPatchesOntologyPermission + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesOntologyPermission + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: TextqlRPCPublicPatchesOntologyPermission = "ONTOLOGY_PERMISSION_UNSPECIFIED" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"ONTOLOGY_PERMISSION_UNSPECIFIED"` +- `"ONTOLOGY_PERMISSION_EXECUTE"` +- `"ONTOLOGY_PERMISSION_READ"` +- `"ONTOLOGY_PERMISSION_READ_EXECUTE"` +- `"ONTOLOGY_PERMISSION_READ_WRITE"` +- `"ONTOLOGY_PERMISSION_READ_WRITE_EXECUTE"` diff --git a/docs/models/textqlrpcpublicpatchesontologyremote.md b/docs/models/textqlrpcpublicpatchesontologyremote.md new file mode 100644 index 0000000..18f27b6 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologyremote.md @@ -0,0 +1,22 @@ +# TextqlRPCPublicPatchesOntologyRemote + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `default_branch` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | | +| `last_synced_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `last_sync_error` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `signing_key_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `has_conflicts` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `push_mode` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologysizeday.md b/docs/models/textqlrpcpublicpatchesontologysizeday.md new file mode 100644 index 0000000..4833ff4 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologysizeday.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesOntologySizeDay + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | +| `date_` | [Optional[models.TextqlRPCPublicPatchesDate]](../models/textqlrpcpublicpatchesdate.md) | :heavy_minus_sign: | N/A | +| `total_bytes` | [Optional[models.TotalBytes]](../models/totalbytes.md) | :heavy_minus_sign: | N/A | +| `file_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologysubmodule.md b/docs/models/textqlrpcpublicpatchesontologysubmodule.md new file mode 100644 index 0000000..74dd3e5 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologysubmodule.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicPatchesOntologySubmodule + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `branch` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologysyncconflict.md b/docs/models/textqlrpcpublicpatchesontologysyncconflict.md new file mode 100644 index 0000000..4245b7f --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologysyncconflict.md @@ -0,0 +1,13 @@ +# TextqlRPCPublicPatchesOntologySyncConflict + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `ours_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `theirs_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `base_content` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologysyncrun.md b/docs/models/textqlrpcpublicpatchesontologysyncrun.md new file mode 100644 index 0000000..6cd6cf1 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologysyncrun.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicPatchesOntologySyncRun + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `remote_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `remote_url` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `source` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `status` | [Optional[models.TextqlRPCPublicPatchesOntologySyncRunStatus]](../models/textqlrpcpublicpatchesontologysyncrunstatus.md) | :heavy_minus_sign: | N/A | | +| `started_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `completed_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `error_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `conflict_count` | *Optional[int]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesontologysyncrunstatus.md b/docs/models/textqlrpcpublicpatchesontologysyncrunstatus.md new file mode 100644 index 0000000..26eede1 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesontologysyncrunstatus.md @@ -0,0 +1,21 @@ +# TextqlRPCPublicPatchesOntologySyncRunStatus + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesOntologySyncRunStatus + +# Open enum: unrecognized values are captured as UnrecognizedStr +value: TextqlRPCPublicPatchesOntologySyncRunStatus = "ONTOLOGY_SYNC_RUN_STATUS_UNSPECIFIED" +``` + + +## Values + +This is an open enum. Unrecognized values will not fail type checks. + +- `"ONTOLOGY_SYNC_RUN_STATUS_UNSPECIFIED"` +- `"ONTOLOGY_SYNC_RUN_STATUS_IN_PROGRESS"` +- `"ONTOLOGY_SYNC_RUN_STATUS_SUCCEEDED"` +- `"ONTOLOGY_SYNC_RUN_STATUS_FAILED"` +- `"ONTOLOGY_SYNC_RUN_STATUS_CONFLICTS"` diff --git a/docs/models/textqlrpcpublicpatchesplanlibrarymergerequest.md b/docs/models/textqlrpcpublicpatchesplanlibrarymergerequest.md deleted file mode 100644 index fa4f6fe..0000000 --- a/docs/models/textqlrpcpublicpatchesplanlibrarymergerequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesPlanLibraryMergeRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesplanlibrarymergeresponse.md b/docs/models/textqlrpcpublicpatchesplanlibrarymergeresponse.md deleted file mode 100644 index 3d8eb73..0000000 --- a/docs/models/textqlrpcpublicpatchesplanlibrarymergeresponse.md +++ /dev/null @@ -1,12 +0,0 @@ -# TextqlRPCPublicPatchesPlanLibraryMergeResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `outcome` | [Optional[models.TextqlRPCPublicPatchesLibraryMergeOutcome]](../models/textqlrpcpublicpatcheslibrarymergeoutcome.md) | :heavy_minus_sign: | N/A | -| `local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `remote_addition_paths` | List[*str*] | :heavy_minus_sign: | N/A | -| `conflict_paths` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesplanontologymergerequest.md b/docs/models/textqlrpcpublicpatchesplanontologymergerequest.md new file mode 100644 index 0000000..14ba6b0 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesplanontologymergerequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesPlanOntologyMergeRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesplanontologymergeresponse.md b/docs/models/textqlrpcpublicpatchesplanontologymergeresponse.md new file mode 100644 index 0000000..e01cbec --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesplanontologymergeresponse.md @@ -0,0 +1,12 @@ +# TextqlRPCPublicPatchesPlanOntologyMergeResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `outcome` | [Optional[models.TextqlRPCPublicPatchesOntologyMergeOutcome]](../models/textqlrpcpublicpatchesontologymergeoutcome.md) | :heavy_minus_sign: | N/A | +| `local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `remote_addition_paths` | List[*str*] | :heavy_minus_sign: | N/A | +| `conflict_paths` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfolderrow.md b/docs/models/textqlrpcpublicpatchespreviewlibrarypullfolderrow.md deleted file mode 100644 index 3a3bce1..0000000 --- a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfolderrow.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesPreviewLibraryPullFolderRow - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `folder_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `file_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md b/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md deleted file mode 100644 index f2005aa..0000000 --- a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoteresponse.md b/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoteresponse.md deleted file mode 100644 index 33e3011..0000000 --- a/docs/models/textqlrpcpublicpatchespreviewlibrarypullfromremoteresponse.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -| `total_files` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `top_level_folder_count` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `folder_rows` | List[[models.TextqlRPCPublicPatchesPreviewLibraryPullFolderRow](../models/textqlrpcpublicpatchespreviewlibrarypullfolderrow.md)] | :heavy_minus_sign: | N/A | -| `unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `unrelated_histories_remote_additions` | List[*str*] | :heavy_minus_sign: | N/A | -| `unrelated_histories_conflict_paths` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewontologypullfolderrow.md b/docs/models/textqlrpcpublicpatchespreviewontologypullfolderrow.md new file mode 100644 index 0000000..91900b6 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchespreviewontologypullfolderrow.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesPreviewOntologyPullFolderRow + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `folder_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `file_count` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md b/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md new file mode 100644 index 0000000..2d0b31f --- /dev/null +++ b/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoteresponse.md b/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoteresponse.md new file mode 100644 index 0000000..4b93541 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchespreviewontologypullfromremoteresponse.md @@ -0,0 +1,13 @@ +# TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `total_files` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `top_level_folder_count` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `folder_rows` | List[[models.TextqlRPCPublicPatchesPreviewOntologyPullFolderRow](../models/textqlrpcpublicpatchespreviewontologypullfolderrow.md)] | :heavy_minus_sign: | N/A | +| `unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `unrelated_histories_remote_additions` | List[*str*] | :heavy_minus_sign: | N/A | +| `unrelated_histories_conflict_paths` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespulllibraryfromremoterequest.md b/docs/models/textqlrpcpublicpatchespulllibraryfromremoterequest.md deleted file mode 100644 index efa675f..0000000 --- a/docs/models/textqlrpcpublicpatchespulllibraryfromremoterequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesPullLibraryFromRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | -| `acknowledge_unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `expected_local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `expected_remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespullontologyfromremoterequest.md b/docs/models/textqlrpcpublicpatchespullontologyfromremoterequest.md new file mode 100644 index 0000000..c5c9c5e --- /dev/null +++ b/docs/models/textqlrpcpublicpatchespullontologyfromremoterequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesPullOntologyFromRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| --------------------------------- | --------------------------------- | --------------------------------- | --------------------------------- | +| `acknowledge_unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `expected_local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `expected_remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespushlibrarytoremoterequest.md b/docs/models/textqlrpcpublicpatchespushlibrarytoremoterequest.md deleted file mode 100644 index fe76ccd..0000000 --- a/docs/models/textqlrpcpublicpatchespushlibrarytoremoterequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesPushLibraryToRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchespushontologytoremoterequest.md b/docs/models/textqlrpcpublicpatchespushontologytoremoterequest.md new file mode 100644 index 0000000..39cc968 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchespushontologytoremoterequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesPushOntologyToRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrecoverlibrarylevel.md b/docs/models/textqlrpcpublicpatchesrecoverlibrarylevel.md deleted file mode 100644 index b815f4a..0000000 --- a/docs/models/textqlrpcpublicpatchesrecoverlibrarylevel.md +++ /dev/null @@ -1,16 +0,0 @@ -# TextqlRPCPublicPatchesRecoverLibraryLevel - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicPatchesRecoverLibraryLevel -value: TextqlRPCPublicPatchesRecoverLibraryLevel = "RECOVER_LIBRARY_LEVEL_UNSPECIFIED" -``` - - -## Values - -- `"RECOVER_LIBRARY_LEVEL_UNSPECIFIED"` -- `"RECOVER_LIBRARY_LEVEL_DISCARD_LOCAL"` -- `"RECOVER_LIBRARY_LEVEL_RESET_TO_REMOTE"` -- `"RECOVER_LIBRARY_LEVEL_RECLONE"` diff --git a/docs/models/textqlrpcpublicpatchesrecoverlibraryrequest.md b/docs/models/textqlrpcpublicpatchesrecoverlibraryrequest.md deleted file mode 100644 index f666cc3..0000000 --- a/docs/models/textqlrpcpublicpatchesrecoverlibraryrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesRecoverLibraryRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -| `level` | [Optional[models.TextqlRPCPublicPatchesRecoverLibraryLevel]](../models/textqlrpcpublicpatchesrecoverlibrarylevel.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrecoverontologylevel.md b/docs/models/textqlrpcpublicpatchesrecoverontologylevel.md new file mode 100644 index 0000000..40e5352 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesrecoverontologylevel.md @@ -0,0 +1,16 @@ +# TextqlRPCPublicPatchesRecoverOntologyLevel + +## Example Usage + +```python +from textql_sdk.models import TextqlRPCPublicPatchesRecoverOntologyLevel +value: TextqlRPCPublicPatchesRecoverOntologyLevel = "RECOVER_ONTOLOGY_LEVEL_UNSPECIFIED" +``` + + +## Values + +- `"RECOVER_ONTOLOGY_LEVEL_UNSPECIFIED"` +- `"RECOVER_ONTOLOGY_LEVEL_DISCARD_LOCAL"` +- `"RECOVER_ONTOLOGY_LEVEL_RESET_TO_REMOTE"` +- `"RECOVER_ONTOLOGY_LEVEL_RECLONE"` diff --git a/docs/models/textqlrpcpublicpatchesrecoverontologyrequest.md b/docs/models/textqlrpcpublicpatchesrecoverontologyrequest.md new file mode 100644 index 0000000..32b6677 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesrecoverontologyrequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesRecoverOntologyRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `level` | [Optional[models.TextqlRPCPublicPatchesRecoverOntologyLevel]](../models/textqlrpcpublicpatchesrecoverontologylevel.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesremovelibraryremoterequest.md b/docs/models/textqlrpcpublicpatchesremovelibraryremoterequest.md deleted file mode 100644 index d166081..0000000 --- a/docs/models/textqlrpcpublicpatchesremovelibraryremoterequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicPatchesRemoveLibraryRemoteRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesremovelibrarysubmodulerequest.md b/docs/models/textqlrpcpublicpatchesremovelibrarysubmodulerequest.md deleted file mode 100644 index 2e311bb..0000000 --- a/docs/models/textqlrpcpublicpatchesremovelibrarysubmodulerequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesremoveontologyremoterequest.md b/docs/models/textqlrpcpublicpatchesremoveontologyremoterequest.md new file mode 100644 index 0000000..e924b9f --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesremoveontologyremoterequest.md @@ -0,0 +1,7 @@ +# TextqlRPCPublicPatchesRemoveOntologyRemoteRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesremoveontologysubmodulerequest.md b/docs/models/textqlrpcpublicpatchesremoveontologysubmodulerequest.md new file mode 100644 index 0000000..51b968e --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesremoveontologysubmodulerequest.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrenamelibraryfilerequest.md b/docs/models/textqlrpcpublicpatchesrenamelibraryfilerequest.md deleted file mode 100644 index 51ce96c..0000000 --- a/docs/models/textqlrpcpublicpatchesrenamelibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesRenameLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `old_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `new_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrenamelibraryfileresponse.md b/docs/models/textqlrpcpublicpatchesrenamelibraryfileresponse.md deleted file mode 100644 index 2c63c06..0000000 --- a/docs/models/textqlrpcpublicpatchesrenamelibraryfileresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesRenameLibraryFileResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `file` | [Optional[models.TextqlRPCPublicPatchesLibraryFile]](../models/textqlrpcpublicpatcheslibraryfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrenameontologyfilerequest.md b/docs/models/textqlrpcpublicpatchesrenameontologyfilerequest.md new file mode 100644 index 0000000..fda785e --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesrenameontologyfilerequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesRenameOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `old_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `new_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesrenameontologyfileresponse.md b/docs/models/textqlrpcpublicpatchesrenameontologyfileresponse.md new file mode 100644 index 0000000..c185d29 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesrenameontologyfileresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesRenameOntologyFileResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `file` | [Optional[models.TextqlRPCPublicPatchesOntologyFile]](../models/textqlrpcpublicpatchesontologyfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesresolvelibrarysyncconflictrequest.md b/docs/models/textqlrpcpublicpatchesresolvelibrarysyncconflictrequest.md deleted file mode 100644 index ebaa7bb..0000000 --- a/docs/models/textqlrpcpublicpatchesresolvelibrarysyncconflictrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `conflict_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `resolved_content` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesresolveontologysyncconflictrequest.md b/docs/models/textqlrpcpublicpatchesresolveontologysyncconflictrequest.md new file mode 100644 index 0000000..b229e29 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesresolveontologysyncconflictrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesResolveOntologySyncConflictRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `conflict_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `resolved_content` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessaveallobjectsasconfigresponse.md b/docs/models/textqlrpcpublicpatchessaveallobjectsasconfigresponse.md index 8b1668e..f1ae19c 100644 --- a/docs/models/textqlrpcpublicpatchessaveallobjectsasconfigresponse.md +++ b/docs/models/textqlrpcpublicpatchessaveallobjectsasconfigresponse.md @@ -6,6 +6,6 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | `patch` | [Optional[models.TextqlRPCPublicPatchesPatch]](../models/textqlrpcpublicpatchespatch.md) | :heavy_minus_sign: | N/A | -| `file_paths` | List[*str*] | :heavy_minus_sign: | Library-relative paths of the config files in the patch. | +| `file_paths` | List[*str*] | :heavy_minus_sign: | Ontology-relative paths of the config files in the patch. | | `skipped` | List[[models.TextqlRPCPublicPatchesSkippedConfigExport](../models/textqlrpcpublicpatchesskippedconfigexport.md)] | :heavy_minus_sign: | N/A | | `already_managed_count` | *Optional[int]* | :heavy_minus_sign: | Objects excluded up front because a config file already manages them. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessaveobjectasconfigrequest.md b/docs/models/textqlrpcpublicpatchessaveobjectasconfigrequest.md index 82bb53a..fd91545 100644 --- a/docs/models/textqlrpcpublicpatchessaveobjectasconfigrequest.md +++ b/docs/models/textqlrpcpublicpatchessaveobjectasconfigrequest.md @@ -2,7 +2,7 @@ SaveObjectAsConfig renders an existing DB object (object_type keyed like config_source: "playbook", later "dashboard", ...) as a config file and - authors it as a new OPEN patch under the type's default library folder. The + authors it as a new OPEN patch under the type's default ontology folder. The file can be moved/edited like any patch file before merging; on merge, reconcile takes over the original object when content and permissions allow. diff --git a/docs/models/textqlrpcpublicpatchessaveobjectasconfigresponse.md b/docs/models/textqlrpcpublicpatchessaveobjectasconfigresponse.md index 4bd1801..5188e60 100644 --- a/docs/models/textqlrpcpublicpatchessaveobjectasconfigresponse.md +++ b/docs/models/textqlrpcpublicpatchessaveobjectasconfigresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `patch` | [Optional[models.TextqlRPCPublicPatchesPatch]](../models/textqlrpcpublicpatchespatch.md) | :heavy_minus_sign: | N/A | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | Library-relative path the config file was placed at. | \ No newline at end of file +| `file_path` | *Optional[str]* | :heavy_minus_sign: | Ontology-relative path the config file was placed at. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenrequest.md b/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenrequest.md deleted file mode 100644 index e964ed1..0000000 --- a/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesSetLibraryFileGoldenRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `golden` | *Optional[bool]* | :heavy_minus_sign: | true = certify, false = retire | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenresponse.md b/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenresponse.md deleted file mode 100644 index bacbad3..0000000 --- a/docs/models/textqlrpcpublicpatchessetlibraryfilegoldenresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesSetLibraryFileGoldenResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `golden` | List[[models.TextqlRPCPublicPatchesGoldenEntry](../models/textqlrpcpublicpatchesgoldenentry.md)] | :heavy_minus_sign: | full active list after the change | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessetontologyfilegoldenrequest.md b/docs/models/textqlrpcpublicpatchessetontologyfilegoldenrequest.md new file mode 100644 index 0000000..856ec30 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchessetontologyfilegoldenrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesSetOntologyFileGoldenRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------ | ------------------------------ | ------------------------------ | ------------------------------ | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `golden` | *Optional[bool]* | :heavy_minus_sign: | true = certify, false = retire | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchessetontologyfilegoldenresponse.md b/docs/models/textqlrpcpublicpatchessetontologyfilegoldenresponse.md new file mode 100644 index 0000000..48394a4 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchessetontologyfilegoldenresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesSetOntologyFileGoldenResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | +| `golden` | List[[models.TextqlRPCPublicPatchesGoldenEntry](../models/textqlrpcpublicpatchesgoldenentry.md)] | :heavy_minus_sign: | full active list after the change | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesskill.md b/docs/models/textqlrpcpublicpatchesskill.md index 8411e41..648629d 100644 --- a/docs/models/textqlrpcpublicpatchesskill.md +++ b/docs/models/textqlrpcpublicpatchesskill.md @@ -1,6 +1,6 @@ # TextqlRPCPublicPatchesSkill -Skill is the display metadata for one library skill. Intentionally carries no +Skill is the display metadata for one ontology skill. Intentionally carries no instruction body: bodies are inlined server-side at chat time and never sent to the client. @@ -12,4 +12,4 @@ Skill is the display metadata for one library skill. Intentionally carries no | `trigger` | *Optional[str]* | :heavy_minus_sign: | directory basename — the / a user types | | `name` | *Optional[str]* | :heavy_minus_sign: | frontmatter display name (may be empty) | | `description` | *Optional[str]* | :heavy_minus_sign: | frontmatter description (may be empty) | -| `path` | *Optional[str]* | :heavy_minus_sign: | library-relative path, e.g. "skills/forecast" | \ No newline at end of file +| `path` | *Optional[str]* | :heavy_minus_sign: | ontology-relative path, e.g. "skills/forecast" | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchestriggerconfigdriftreconcileresponse.md b/docs/models/textqlrpcpublicpatchestriggerconfigdriftreconcileresponse.md index 72e216f..838b46d 100644 --- a/docs/models/textqlrpcpublicpatchestriggerconfigdriftreconcileresponse.md +++ b/docs/models/textqlrpcpublicpatchestriggerconfigdriftreconcileresponse.md @@ -3,6 +3,6 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------ | -| `drifted` | *Optional[bool]* | :heavy_minus_sign: | True ⇒ the org's live Library HEAD differed from the last reconciled commit,
so a catch-up reconcile was enqueued. False ⇒ already converged (no-op). | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `drifted` | *Optional[bool]* | :heavy_minus_sign: | True ⇒ the org's live Ontology HEAD differed from the last reconciled commit,
so a catch-up reconcile was enqueued. False ⇒ already converged (no-op). | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigrequest.md b/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigrequest.md deleted file mode 100644 index 5badacd..0000000 --- a/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigrequest.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigresponse.md b/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigresponse.md deleted file mode 100644 index d075b6c..0000000 --- a/docs/models/textqlrpcpublicpatchesupdatelibrarysyncconfigresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `remote` | [Optional[models.TextqlRPCPublicPatchesLibraryRemote]](../models/textqlrpcpublicpatcheslibraryremote.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigrequest.md b/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigrequest.md new file mode 100644 index 0000000..511eda9 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigrequest.md @@ -0,0 +1,9 @@ +# TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigresponse.md b/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigresponse.md new file mode 100644 index 0000000..cc82a24 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupdateontologysyncconfigresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `remote` | [Optional[models.TextqlRPCPublicPatchesOntologyRemote]](../models/textqlrpcpublicpatchesontologyremote.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigrequest.md b/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigrequest.md deleted file mode 100644 index 37668ce..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigrequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigresponse.md b/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigresponse.md deleted file mode 100644 index d2af89c..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryanaconfigresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -| `config` | [Optional[models.TextqlRPCPublicPatchesLibraryAnaConfig]](../models/textqlrpcpublicpatcheslibraryanaconfig.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryfilerequest.md b/docs/models/textqlrpcpublicpatchesupsertlibraryfilerequest.md deleted file mode 100644 index 5a5417e..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryfilerequest.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryFileRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryfileresponse.md b/docs/models/textqlrpcpublicpatchesupsertlibraryfileresponse.md deleted file mode 100644 index 97ba16a..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryfileresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryFileResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `file` | [Optional[models.TextqlRPCPublicPatchesLibraryFile]](../models/textqlrpcpublicpatcheslibraryfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryownersrequest.md b/docs/models/textqlrpcpublicpatchesupsertlibraryownersrequest.md deleted file mode 100644 index 4ba04c4..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryownersrequest.md +++ /dev/null @@ -1,11 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryOwnersRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | -| `permissions` | List[[models.TextqlRPCPublicPatchesLibraryPermission](../models/textqlrpcpublicpatcheslibrarypermission.md)] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertlibraryownersresponse.md b/docs/models/textqlrpcpublicpatchesupsertlibraryownersresponse.md deleted file mode 100644 index 753bf8d..0000000 --- a/docs/models/textqlrpcpublicpatchesupsertlibraryownersresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicPatchesUpsertLibraryOwnersResponse - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -| `owners` | [Optional[models.TextqlRPCPublicPatchesLibraryOwners]](../models/textqlrpcpublicpatcheslibraryowners.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigrequest.md b/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigrequest.md new file mode 100644 index 0000000..f40042a --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigrequest.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigresponse.md b/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigresponse.md new file mode 100644 index 0000000..60b2591 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyanaconfigresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | +| `config` | [Optional[models.TextqlRPCPublicPatchesOntologyAnaConfig]](../models/textqlrpcpublicpatchesontologyanaconfig.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyfilerequest.md b/docs/models/textqlrpcpublicpatchesupsertontologyfilerequest.md new file mode 100644 index 0000000..c1af527 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyfilerequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicPatchesUpsertOntologyFileRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyfileresponse.md b/docs/models/textqlrpcpublicpatchesupsertontologyfileresponse.md new file mode 100644 index 0000000..9b3ec75 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyfileresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesUpsertOntologyFileResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ | +| `file` | [Optional[models.TextqlRPCPublicPatchesOntologyFile]](../models/textqlrpcpublicpatchesontologyfile.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyownersrequest.md b/docs/models/textqlrpcpublicpatchesupsertontologyownersrequest.md new file mode 100644 index 0000000..fbdd6f7 --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyownersrequest.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicPatchesUpsertOntologyOwnersRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `permissions` | List[[models.TextqlRPCPublicPatchesOntologyPermission](../models/textqlrpcpublicpatchesontologypermission.md)] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicpatchesupsertontologyownersresponse.md b/docs/models/textqlrpcpublicpatchesupsertontologyownersresponse.md new file mode 100644 index 0000000..8a3e5ab --- /dev/null +++ b/docs/models/textqlrpcpublicpatchesupsertontologyownersresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicPatchesUpsertOntologyOwnersResponse + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | +| `owners` | [Optional[models.TextqlRPCPublicPatchesOntologyOwners]](../models/textqlrpcpublicpatchesontologyowners.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicplaybookplaybook.md b/docs/models/textqlrpcpublicplaybookplaybook.md index 9cf6b1e..cf13f3a 100644 --- a/docs/models/textqlrpcpublicplaybookplaybook.md +++ b/docs/models/textqlrpcpublicplaybookplaybook.md @@ -47,4 +47,5 @@ | `recipient_email_column` | *OptionalNullable[str]* | :heavy_minus_sign: | Column name in template data to use as recipient email override | | | `teams_channel_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `tagged_teams_user_aad_ids` | List[*str*] | :heavy_minus_sign: | N/A | | -| `config_source` | [Optional[models.TextqlRPCPublicConfigSourceConfigSource]](../models/textqlrpcpublicconfigsourceconfigsource.md) | :heavy_minus_sign: | Config-management metadata (provenance + reconcile state) for any file-based
object. Presence on an object ⇒ the object is config-managed. | | \ No newline at end of file +| `config_source` | [Optional[models.TextqlRPCPublicConfigSourceConfigSource]](../models/textqlrpcpublicconfigsourceconfigsource.md) | :heavy_minus_sign: | Config-management metadata (provenance + reconcile state) for any file-based
object. Presence on an object ⇒ the object is config-managed. | | +| `api_access_key_ids` | List[*str*] | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicplaybookupdateplaybookrequest.md b/docs/models/textqlrpcpublicplaybookupdateplaybookrequest.md index c59a851..e92144b 100644 --- a/docs/models/textqlrpcpublicplaybookupdateplaybookrequest.md +++ b/docs/models/textqlrpcpublicplaybookupdateplaybookrequest.md @@ -33,4 +33,5 @@ | `dashboard_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | | `recipient_email_column` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `teams_channel_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `tagged_teams_user_aad_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| `tagged_teams_user_aad_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | +| `api_access_key_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicrbaccreateapikeyresponse.md b/docs/models/textqlrpcpublicrbaccreateapikeyresponse.md index a397b35..cbd82c7 100644 --- a/docs/models/textqlrpcpublicrbaccreateapikeyresponse.md +++ b/docs/models/textqlrpcpublicrbaccreateapikeyresponse.md @@ -3,7 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | -| `api_key` | [Optional[models.TextqlRPCPublicRbacAPIKey]](../models/textqlrpcpublicrbacapikey.md) | :heavy_minus_sign: | N/A | -| `api_key_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `api_key` | [Optional[models.TextqlRPCPublicRbacAPIKey]](../models/textqlrpcpublicrbacapikey.md) | :heavy_minus_sign: | N/A | +| `api_key_secret` | *Optional[str]* | :heavy_minus_sign: | N/A | +| ~~`api_key_hash`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Deprecated compatibility alias for api_key_secret. This field contains
the same one-time bearer credential; it is not the hash stored at rest. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicrbacrotateapikeyresponse.md b/docs/models/textqlrpcpublicrbacrotateapikeyresponse.md index 44f1111..460b757 100644 --- a/docs/models/textqlrpcpublicrbacrotateapikeyresponse.md +++ b/docs/models/textqlrpcpublicrbacrotateapikeyresponse.md @@ -6,5 +6,5 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | | `api_key` | [Optional[models.TextqlRPCPublicRbacAPIKey]](../models/textqlrpcpublicrbacapikey.md) | :heavy_minus_sign: | N/A | -| `api_key_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `api_key_secret` | *Optional[str]* | :heavy_minus_sign: | N/A | | `revoked_api_key_id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicrbacsetrolepermissionsrequest.md b/docs/models/textqlrpcpublicrbacsetrolepermissionsrequest.md new file mode 100644 index 0000000..6c7bdfc --- /dev/null +++ b/docs/models/textqlrpcpublicrbacsetrolepermissionsrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicRbacSetRolePermissionsRequest + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `role_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `add_permission_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `remove_permission_ids` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicrbacsetrolepermissionsresponse.md b/docs/models/textqlrpcpublicrbacsetrolepermissionsresponse.md new file mode 100644 index 0000000..e5980fd --- /dev/null +++ b/docs/models/textqlrpcpublicrbacsetrolepermissionsresponse.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicRbacSetRolePermissionsResponse + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `success` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxadminlistsandboxspendresponse.md b/docs/models/textqlrpcpublicsandboxadminlistsandboxspendresponse.md index f1c1ac0..271d181 100644 --- a/docs/models/textqlrpcpublicsandboxadminlistsandboxspendresponse.md +++ b/docs/models/textqlrpcpublicsandboxadminlistsandboxspendresponse.md @@ -3,8 +3,9 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `intervals` | List[[models.TextqlRPCPublicSandboxAdminSandboxSpendInterval](../models/textqlrpcpublicsandboxadminsandboxspendinterval.md)] | :heavy_minus_sign: | Newest first. | -| `acus_per_hour` | *Optional[float]* | :heavy_minus_sign: | ACUs per instance-hour used to compute the figures above. | -| `total_acus` | *Optional[float]* | :heavy_minus_sign: | Sum of acus across all returned intervals. | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------- | +| `intervals` | List[[models.TextqlRPCPublicSandboxAdminSandboxSpendInterval](../models/textqlrpcpublicsandboxadminsandboxspendinterval.md)] | :heavy_minus_sign: | Newest first. | +| `acus_per_hour` | *Optional[float]* | :heavy_minus_sign: | ACUs per instance-hour used to compute the figures above. | +| `total_acus` | *Optional[float]* | :heavy_minus_sign: | Sum of acus across all returned intervals. | +| `acu_rate_per1000_usd` | *Optional[float]* | :heavy_minus_sign: | Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from
the tenant's pricing tier / active override). 0 means unknown/unpriced. | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponse.md b/docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponse.md index 4ccfbd9..8f5f5b1 100644 --- a/docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponse.md +++ b/docs/models/textqlrpcpublicsandboxadminreadsandboxfileresponse.md @@ -1,15 +1,17 @@ # TextqlRPCPublicSandboxAdminReadSandboxFileResponse +One CPU/memory measurement of a sandbox worker. + ## Fields | Field | Type | Required | Description | | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `available` | *Optional[bool]* | :heavy_minus_sign: | False when the sandbox is not running (no live filesystem). | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `available` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | CPU in cores (e.g. 0.12 used of a 1.5 limit). Limit 0 = none configured. | | `size_bytes` | [Optional[models.TextqlRPCPublicSandboxAdminReadSandboxFileResponseSizeBytes]](../models/textqlrpcpublicsandboxadminreadsandboxfileresponsesizebytes.md) | :heavy_minus_sign: | N/A | -| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `content` | *Optional[str]* | :heavy_minus_sign: | UTF-8 text content; empty for binary files (see binary_content). | -| `binary_content` | *Optional[str]* | :heavy_minus_sign: | Raw bytes for binary files (e.g. images); empty for text files. | -| `truncated` | *Optional[bool]* | :heavy_minus_sign: | True when the file exceeded the read cap and content/binary was clipped. | +| `mime_type` | *Optional[str]* | :heavy_minus_sign: | Percent of the limit in [0, 100]; 0 when no limit is configured. | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `binary_content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `truncated` | *Optional[bool]* | :heavy_minus_sign: | N/A | | `is_binary` | *Optional[bool]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequest.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequest.md new file mode 100644 index 0000000..8ba8100 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequest.md @@ -0,0 +1,12 @@ +# TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `statement` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `max_rows` | [Optional[models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows]](../models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md new file mode 100644 index 0000000..4b55a19 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponse.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponse.md new file mode 100644 index 0000000..60e8429 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponse.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse + + +## Fields + +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `arrow_data` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `total_rows` | [Optional[models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows]](../models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponsetotalrows.md) | :heavy_minus_sign: | N/A | +| `error` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `refreshed_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponsetotalrows.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponsetotalrows.md new file mode 100644 index 0000000..94b1457 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxexecutewriteresponsetotalrows.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetrequest.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetrequest.md new file mode 100644 index 0000000..aa7a04d --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetrequest.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `file_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `data` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetresponse.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetresponse.md new file mode 100644 index 0000000..946054a --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxputassetresponse.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `error` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `refreshed_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyrequest.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyrequest.md new file mode 100644 index 0000000..78eb722 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyrequest.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `subject` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `body` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyresponse.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyresponse.md new file mode 100644 index 0000000..3fa3d65 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxsendnotifyresponse.md @@ -0,0 +1,10 @@ +# TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `sent` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `error` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `refreshed_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateoprequest.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateoprequest.md new file mode 100644 index 0000000..20e89f4 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateoprequest.md @@ -0,0 +1,11 @@ +# TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `op` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `key` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `value` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateopresponse.md b/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateopresponse.md new file mode 100644 index 0000000..ec113e3 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxcapabilitysandboxstateopresponse.md @@ -0,0 +1,12 @@ +# TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse + + +## Fields + +| Field | Type | Required | Description | +| ----------------------- | ----------------------- | ----------------------- | ----------------------- | +| `value` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `found` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `keys` | List[*str*] | :heavy_minus_sign: | N/A | +| `error` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `refreshed_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxqueryappdbtemplate.md b/docs/models/textqlrpcpublicsandboxqueryappdbtemplate.md new file mode 100644 index 0000000..aa1c907 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxqueryappdbtemplate.md @@ -0,0 +1,8 @@ +# TextqlRPCPublicSandboxQueryAppDBTemplate + + +## Fields + +| Field | Type | Required | Description | +| ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | +| `query` | *Optional[str]* | :heavy_minus_sign: | SQL to run against the app's private DuckDB database | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequest.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequest.md index 6a0f7ec..bbd2297 100644 --- a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequest.md +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequest.md @@ -3,6 +3,12 @@ ## Supported Types +### `models.AppDb` + +```python +value: models.AppDb = /* values here */ +``` + ### `models.TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql` ```python diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestlibrarytql.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestlibrarytql.md index 2335003..d053455 100644 --- a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestlibrarytql.md +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestlibrarytql.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `library_tql` | [models.TextqlRPCPublicSandboxQueryLibraryTQLTemplate](../models/textqlrpcpublicsandboxquerylibrarytqltemplate.md) | :heavy_check_mark: | N/A | -| `source_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | -| `max_rows` | [Optional[models.MaxRows1]](../models/maxrows1.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `library_tql` | [models.TextqlRPCPublicSandboxQueryLibraryTQLTemplate](../models/textqlrpcpublicsandboxquerylibrarytqltemplate.md) | :heavy_check_mark: | N/A | +| `source_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `max_rows` | [Optional[models.TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2]](../models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows2.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows1.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows1.md new file mode 100644 index 0000000..5af263a --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows1.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1 + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows2.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows2.md new file mode 100644 index 0000000..80b2130 --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows2.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2 + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows3.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows3.md new file mode 100644 index 0000000..5cf541c --- /dev/null +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows3.md @@ -0,0 +1,17 @@ +# TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3 + + +## Supported Types + +### `int` + +```python +value: int = /* values here */ +``` + +### `str` + +```python +value: str = /* values here */ +``` + diff --git a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestsqlquery.md b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestsqlquery.md index 7f310ca..458be69 100644 --- a/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestsqlquery.md +++ b/docs/models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestsqlquery.md @@ -3,10 +3,10 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- | -| `sql_query` | [models.TextqlRPCPublicSandboxQuerySQLQueryTemplate](../models/textqlrpcpublicsandboxquerysqlquerytemplate.md) | :heavy_check_mark: | N/A | -| `source_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | -| `max_rows` | [Optional[models.MaxRows2]](../models/maxrows2.md) | :heavy_minus_sign: | N/A | \ No newline at end of file +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| `sql_query` | [models.TextqlRPCPublicSandboxQuerySQLQueryTemplate](../models/textqlrpcpublicsandboxquerysqlquerytemplate.md) | :heavy_check_mark: | N/A | +| `source_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `max_rows` | [Optional[models.TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3]](../models/textqlrpcpublicsandboxquerysandboxexecutequeryrequestmaxrows3.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretapiaccesskey.md b/docs/models/textqlrpcpublicsecretapiaccesskey.md deleted file mode 100644 index e3fd5a0..0000000 --- a/docs/models/textqlrpcpublicsecretapiaccesskey.md +++ /dev/null @@ -1,30 +0,0 @@ -# TextqlRPCPublicSecretAPIAccessKey - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `org_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `member_id` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `hosts` | List[*str*] | :heavy_minus_sign: | N/A | | -| `headers` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `query_params` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `created_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `updated_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `provider` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | "token", "oauth_u2m", "oauth_per_member" | | -| `member_oauth_authenticated` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `member_oauth_display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `http_basic_auth` | [Optional[models.TextqlRPCPublicSecretHTTPBasicAuth]](../models/textqlrpcpublicsecrethttpbasicauth.md) | :heavy_minus_sign: | N/A | | -| `body` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `content_type` | [Optional[models.TextqlRPCPublicSecretBodyContentType]](../models/textqlrpcpublicsecretbodycontenttype.md) | :heavy_minus_sign: | N/A | | -| `can_write` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `access_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | -| `is_public` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `test_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_prefix` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretapiaccessref.md b/docs/models/textqlrpcpublicsecretapiaccessref.md deleted file mode 100644 index 098f23f..0000000 --- a/docs/models/textqlrpcpublicsecretapiaccessref.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicSecretAPIAccessRef - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -------------------------------------------------- | -| `api_access_key_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `revision` | [Optional[models.Revision]](../models/revision.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretapiprovider.md b/docs/models/textqlrpcpublicsecretapiprovider.md deleted file mode 100644 index 7484a06..0000000 --- a/docs/models/textqlrpcpublicsecretapiprovider.md +++ /dev/null @@ -1,29 +0,0 @@ -# TextqlRPCPublicSecretAPIProvider - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `icon_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `docs_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `default_hosts` | List[*str*] | :heavy_minus_sign: | N/A | -| `token_label` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auth_header` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auth_prefix` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `oauth_supported` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `oauth_configured` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `member_authenticated` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `member_auth_display_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `env_var_fields` | List[[models.TextqlRPCPublicSecretEnvVarField](../models/textqlrpcpublicsecretenvvarfield.md)] | :heavy_minus_sign: | N/A | -| `oauth_has_default_urls` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `oauth_auth_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `oauth_token_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `oauth_scopes` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `oauth_use_pkce` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `oauth_token_auth_method` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `test_url` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretbodycontenttype.md b/docs/models/textqlrpcpublicsecretbodycontenttype.md deleted file mode 100644 index 540eac1..0000000 --- a/docs/models/textqlrpcpublicsecretbodycontenttype.md +++ /dev/null @@ -1,19 +0,0 @@ -# TextqlRPCPublicSecretBodyContentType - -## Example Usage - -```python -from textql_sdk.models import TextqlRPCPublicSecretBodyContentType - -# Open enum: unrecognized values are captured as UnrecognizedStr -value: TextqlRPCPublicSecretBodyContentType = "BODY_CONTENT_TYPE_NONE" -``` - - -## Values - -This is an open enum. Unrecognized values will not fail type checks. - -- `"BODY_CONTENT_TYPE_NONE"` -- `"BODY_CONTENT_TYPE_JSON"` -- `"BODY_CONTENT_TYPE_FORM"` diff --git a/docs/models/textqlrpcpublicsecretcreateapirevisionrequest.md b/docs/models/textqlrpcpublicsecretcreateapirevisionrequest.md deleted file mode 100644 index 036a558..0000000 --- a/docs/models/textqlrpcpublicsecretcreateapirevisionrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretCreateAPIRevisionRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------------------- | ----------------------- | ----------------------- | ----------------------- | -| `api_access_key_id` | *OptionalNullable[str]* | :heavy_minus_sign: | empty = new key draft | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretcreateapirevisionresponse.md b/docs/models/textqlrpcpublicsecretcreateapirevisionresponse.md deleted file mode 100644 index d4ee2c3..0000000 --- a/docs/models/textqlrpcpublicsecretcreateapirevisionresponse.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicSecretCreateAPIRevisionResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | -| `api_access_key` | [Optional[models.TextqlRPCPublicSecretAPIAccessKey]](../models/textqlrpcpublicsecretapiaccesskey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyrequest.md b/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyrequest.md deleted file mode 100644 index 8e83bff..0000000 --- a/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretDeleteAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyresponse.md b/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyresponse.md deleted file mode 100644 index b8ff06a..0000000 --- a/docs/models/textqlrpcpublicsecretdeleteapiaccesskeyresponse.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicSecretDeleteAPIAccessKeyResponse - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretdeleteapirevisionrequest.md b/docs/models/textqlrpcpublicsecretdeleteapirevisionrequest.md deleted file mode 100644 index 9285d79..0000000 --- a/docs/models/textqlrpcpublicsecretdeleteapirevisionrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretDeleteAPIRevisionRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretdeleteapirevisionresponse.md b/docs/models/textqlrpcpublicsecretdeleteapirevisionresponse.md deleted file mode 100644 index b930c2b..0000000 --- a/docs/models/textqlrpcpublicsecretdeleteapirevisionresponse.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicSecretDeleteAPIRevisionResponse - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretenvvarfield.md b/docs/models/textqlrpcpublicsecretenvvarfield.md deleted file mode 100644 index d400746..0000000 --- a/docs/models/textqlrpcpublicsecretenvvarfield.md +++ /dev/null @@ -1,13 +0,0 @@ -# TextqlRPCPublicSecretEnvVarField - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `env_var` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `label` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `required` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `secret` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `default_value` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `placeholder` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretgetapiaccesskeyrequest.md b/docs/models/textqlrpcpublicsecretgetapiaccesskeyrequest.md deleted file mode 100644 index 7702378..0000000 --- a/docs/models/textqlrpcpublicsecretgetapiaccesskeyrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretGetAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretgetapiaccesskeyresponse.md b/docs/models/textqlrpcpublicsecretgetapiaccesskeyresponse.md deleted file mode 100644 index 7579982..0000000 --- a/docs/models/textqlrpcpublicsecretgetapiaccesskeyresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretGetAPIAccessKeyResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `api_access_key` | [Optional[models.TextqlRPCPublicSecretAPIAccessKey]](../models/textqlrpcpublicsecretapiaccesskey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecrethttpbasicauth.md b/docs/models/textqlrpcpublicsecrethttpbasicauth.md deleted file mode 100644 index e62ce2f..0000000 --- a/docs/models/textqlrpcpublicsecrethttpbasicauth.md +++ /dev/null @@ -1,9 +0,0 @@ -# TextqlRPCPublicSecretHTTPBasicAuth - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `username` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `password` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretlistapiaccesskeysrequest.md b/docs/models/textqlrpcpublicsecretlistapiaccesskeysrequest.md deleted file mode 100644 index 88fb1d5..0000000 --- a/docs/models/textqlrpcpublicsecretlistapiaccesskeysrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicSecretListAPIAccessKeysRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretlistapiaccesskeysresponse.md b/docs/models/textqlrpcpublicsecretlistapiaccesskeysresponse.md deleted file mode 100644 index 93d530f..0000000 --- a/docs/models/textqlrpcpublicsecretlistapiaccesskeysresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretListAPIAccessKeysResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | -| `api_access_keys` | List[[models.TextqlRPCPublicSecretAPIAccessKey](../models/textqlrpcpublicsecretapiaccesskey.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretlistapiprovidersrequest.md b/docs/models/textqlrpcpublicsecretlistapiprovidersrequest.md deleted file mode 100644 index 54ccba3..0000000 --- a/docs/models/textqlrpcpublicsecretlistapiprovidersrequest.md +++ /dev/null @@ -1,7 +0,0 @@ -# TextqlRPCPublicSecretListAPIProvidersRequest - - -## Fields - -| Field | Type | Required | Description | -| ----------- | ----------- | ----------- | ----------- | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretlistapiprovidersresponse.md b/docs/models/textqlrpcpublicsecretlistapiprovidersresponse.md deleted file mode 100644 index 32dc45b..0000000 --- a/docs/models/textqlrpcpublicsecretlistapiprovidersresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretListAPIProvidersResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | -| `providers` | List[[models.TextqlRPCPublicSecretAPIProvider](../models/textqlrpcpublicsecretapiprovider.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorrequest.md b/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorrequest.md deleted file mode 100644 index cf7e2da..0000000 --- a/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorrequest.md +++ /dev/null @@ -1,14 +0,0 @@ -# TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest - - -## Fields - -| Field | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `secret_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `api_access_key_id` | *Optional[str]* | :heavy_minus_sign: | empty = create new API connector | -| `header_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `hosts` | List[*str*] | :heavy_minus_sign: | Fields used when creating a new API connector (api_access_key_id is empty) | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `value_prefix` | *Optional[str]* | :heavy_minus_sign: | e.g. "Bearer ", prepended to the secret value | -| `name` | *Optional[str]* | :heavy_minus_sign: | display name for the new API connector | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorresponse.md b/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorresponse.md deleted file mode 100644 index 234468d..0000000 --- a/docs/models/textqlrpcpublicsecretmigratesecrettoapiconnectorresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `api_access_key` | [Optional[models.TextqlRPCPublicSecretAPIAccessKey]](../models/textqlrpcpublicsecretapiaccesskey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecrettestapiaccesskeyrequest.md b/docs/models/textqlrpcpublicsecrettestapiaccesskeyrequest.md deleted file mode 100644 index 9c3d487..0000000 --- a/docs/models/textqlrpcpublicsecrettestapiaccesskeyrequest.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretTestAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecrettestapiaccesskeyresponse.md b/docs/models/textqlrpcpublicsecrettestapiaccesskeyresponse.md deleted file mode 100644 index d93e563..0000000 --- a/docs/models/textqlrpcpublicsecrettestapiaccesskeyresponse.md +++ /dev/null @@ -1,10 +0,0 @@ -# TextqlRPCPublicSecretTestAPIAccessKeyResponse - - -## Fields - -| Field | Type | Required | Description | -| ------------------ | ------------------ | ------------------ | ------------------ | -| `success` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `status_code` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `message` | *Optional[str]* | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretupsertapiaccesskeyrequest.md b/docs/models/textqlrpcpublicsecretupsertapiaccesskeyrequest.md deleted file mode 100644 index 73c5d30..0000000 --- a/docs/models/textqlrpcpublicsecretupsertapiaccesskeyrequest.md +++ /dev/null @@ -1,23 +0,0 @@ -# TextqlRPCPublicSecretUpsertAPIAccessKeyRequest - - -## Fields - -| Field | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | | -| `persist_to_db` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `hosts` | List[*str*] | :heavy_minus_sign: | N/A | | -| `headers` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `query_params` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `provider` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_value` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_value_extra` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `http_basic_auth` | [Optional[models.TextqlRPCPublicSecretHTTPBasicAuth]](../models/textqlrpcpublicsecrethttpbasicauth.md) | :heavy_minus_sign: | N/A | | -| `body` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `content_type` | [Optional[models.TextqlRPCPublicSecretBodyContentType]](../models/textqlrpcpublicsecretbodycontenttype.md) | :heavy_minus_sign: | N/A | | -| `test_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | \ No newline at end of file diff --git a/docs/models/textqlrpcpublicsecretupsertapiaccesskeyresponse.md b/docs/models/textqlrpcpublicsecretupsertapiaccesskeyresponse.md deleted file mode 100644 index c56244f..0000000 --- a/docs/models/textqlrpcpublicsecretupsertapiaccesskeyresponse.md +++ /dev/null @@ -1,8 +0,0 @@ -# TextqlRPCPublicSecretUpsertAPIAccessKeyResponse - - -## Fields - -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -| `api_access_key` | [Optional[models.TextqlRPCPublicSecretAPIAccessKey]](../models/textqlrpcpublicsecretapiaccesskey.md) | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/thinkingcell.md b/docs/models/thinkingcell.md new file mode 100644 index 0000000..8ac41e1 --- /dev/null +++ b/docs/models/thinkingcell.md @@ -0,0 +1,18 @@ +# ThinkingCell + + +## Fields + +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `thinking_cell` | [models.TextqlRPCPublicCellsThinkingCell](../models/textqlrpcpubliccellsthinkingcell.md) | :heavy_check_mark: | N/A | | +| `id` | *Optional[str]* | :heavy_minus_sign: | UUID | | +| `timestamp` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | +| `complete` | *Optional[bool]* | :heavy_minus_sign: | N/A | | +| `generated` | *Optional[bool]* | :heavy_minus_sign: | whether it was created by a human or robot | | +| `lifecycle` | [Optional[models.TextqlRPCPublicChatCellLifecycle]](../models/textqlrpcpublicchatcelllifecycle.md) | :heavy_minus_sign: | N/A | | +| `tool_call_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `exec_error` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `sender_member_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | +| `tool_summary` | *OptionalNullable[str]* | :heavy_minus_sign: | LLM-generated summary of what this tool call does | | +| `duration_ms` | [OptionalNullable[models.TextqlRPCPublicChatCellDurationMs56]](../models/textqlrpcpublicchatcelldurationms56.md) | :heavy_minus_sign: | cells_v5.duration_ms — wall-clock this cell took | | \ No newline at end of file diff --git a/docs/models/useskillcell.md b/docs/models/useskillcell.md index 4306364..38465ef 100644 --- a/docs/models/useskillcell.md +++ b/docs/models/useskillcell.md @@ -15,4 +15,4 @@ | `exec_error` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `sender_member_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `tool_summary` | *OptionalNullable[str]* | :heavy_minus_sign: | LLM-generated summary of what this tool call does | | -| `duration_ms` | [OptionalNullable[models.TextqlRPCPublicChatCellDurationMs56]](../models/textqlrpcpublicchatcelldurationms56.md) | :heavy_minus_sign: | cells_v5.duration_ms — wall-clock this cell took | | \ No newline at end of file +| `duration_ms` | [OptionalNullable[models.TextqlRPCPublicChatCellDurationMs57]](../models/textqlrpcpublicchatcelldurationms57.md) | :heavy_minus_sign: | cells_v5.duration_ms — wall-clock this cell took | | \ No newline at end of file diff --git a/docs/models/wscell.md b/docs/models/wscell.md index 5799fdf..fff11e5 100644 --- a/docs/models/wscell.md +++ b/docs/models/wscell.md @@ -15,4 +15,4 @@ | `exec_error` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `sender_member_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | | `tool_summary` | *OptionalNullable[str]* | :heavy_minus_sign: | LLM-generated summary of what this tool call does | | -| `duration_ms` | [OptionalNullable[models.TextqlRPCPublicChatCellDurationMs57]](../models/textqlrpcpublicchatcelldurationms57.md) | :heavy_minus_sign: | cells_v5.duration_ms — wall-clock this cell took | | \ No newline at end of file +| `duration_ms` | [OptionalNullable[models.TextqlRPCPublicChatCellDurationMs58]](../models/textqlrpcpublicchatcelldurationms58.md) | :heavy_minus_sign: | cells_v5.duration_ms — wall-clock this cell took | | \ No newline at end of file diff --git a/docs/sdks/apps/README.md b/docs/sdks/apps/README.md index a808d8d..5f57c95 100644 --- a/docs/sdks/apps/README.md +++ b/docs/sdks/apps/README.md @@ -4,7 +4,7 @@ ### Available Operations -* [heartbeat](#heartbeat) - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op when the app has no warm worker; never spawns one. +* [heartbeat](#heartbeat) - Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). * [create_app](#create_app) - CreateApp * [delete_app](#delete_app) - DeleteApp * [duplicate](#duplicate) - Duplicates an app the caller can view into a new draft app they own, named "Copy of ". Copies code/files/data sources/compute functions/ schedule; never carries over the source's published state or data snapshot. @@ -23,9 +23,7 @@ ## heartbeat -Viewer heartbeat: keeps a warm compute worker alive while the app is open so its - billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op - when the app has no warm worker; never spawns one. +Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). ### Example Usage @@ -98,6 +96,8 @@ with Textql( | `data_sources` | List[[models.TextqlRPCPublicDashboardDataSource](../../models/textqlrpcpublicdashboarddatasource.md)] | :heavy_minus_sign: | N/A | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | | `files` | List[[models.TextqlRPCPublicAppAppFile](../../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | +| `capabilities` | List[[models.TextqlRPCPublicAppCapability](../../models/textqlrpcpublicappcapability.md)] | :heavy_minus_sign: | N/A | +| `app_db_setup` | List[*str*] | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -388,7 +388,7 @@ with Textql( | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | | `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | | `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `function_name` | *Optional[str]* | :heavy_minus_sign: | string \| number \| boolean \| object \| array | +| `function_name` | *Optional[str]* | :heavy_minus_sign: | N/A | | `params_json` | *Optional[str]* | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | @@ -696,13 +696,16 @@ with Textql( | `data_sources` | List[[models.TextqlRPCPublicDashboardDataSource](../../models/textqlrpcpublicdashboarddatasource.md)] | :heavy_minus_sign: | N/A | | `replace_data_sources` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `publish` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `staleness_seconds` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | | `compute_functions` | List[[models.TextqlRPCPublicAppComputeFunction](../../models/textqlrpcpublicappcomputefunction.md)] | :heavy_minus_sign: | N/A | | `replace_compute_functions` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `files` | List[[models.TextqlRPCPublicAppAppFile](../../models/textqlrpcpublicappappfile.md)] | :heavy_minus_sign: | N/A | | `replace_files` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `schedule_enabled` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `cron_string` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `capabilities` | List[[models.TextqlRPCPublicAppCapability](../../models/textqlrpcpublicappcapability.md)] | :heavy_minus_sign: | N/A | +| `replace_capabilities` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `app_db_setup` | List[*str*] | :heavy_minus_sign: | N/A | +| `replace_app_db_setup` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/appservice/README.md b/docs/sdks/appservice/README.md new file mode 100644 index 0000000..9b57544 --- /dev/null +++ b/docs/sdks/appservice/README.md @@ -0,0 +1,278 @@ +# AppService + +## Overview + +AppService manages data apps: the generative app execution primitive. + An app is agent-authored single-file HTML/JS/CSS executing in a CSP sandbox, + fed a snapshot of its declared data sources. First-class resource, not a dashboard. + +### Available Operations + +* [app_service_get_app_member_state](#app_service_get_app_member_state) - Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL. +* [app_service_list_app_activity_since](#app_service_list_app_activity_since) - ListAppActivitySince +* [app_service_list_my_app_member_activity](#app_service_list_my_app_member_activity) - Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. +* [app_service_presence_heartbeat](#app_service_presence_heartbeat) - Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. +* [app_service_record_app_member_activity](#app_service_record_app_member_activity) - RecordAppMemberActivity +* [app_service_set_app_member_state](#app_service_set_app_member_state) - Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state. + +## app_service_get_app_member_state + +Staff-only (superadmin gated in-handler): publishes the embedded component + gallery as an app tree and returns its signed viewer URL. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_get_app_member_state() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServiceGetAppMemberStateResponse](../../models/appservicegetappmemberstateresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## app_service_list_app_activity_since + +ListAppActivitySince + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_list_app_activity_since() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `after_seq` | [Optional[models.AfterSeq]](../../models/afterseq.md) | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | server clamps to 200; <=0 means default | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServiceListAppActivitySinceResponse](../../models/appservicelistappactivitysinceresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## app_service_list_my_app_member_activity + +Append-only per-member activity log. Listing is own rows only; no + cross-member reads in this release. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_list_my_app_member_activity() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `limit` | *Optional[int]* | :heavy_minus_sign: | server clamps to 200; <=0 means default | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServiceListMyAppMemberActivityResponse](../../models/appservicelistmyappmemberactivityresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## app_service_presence_heartbeat + +Server stream of live activity batches + presence snapshots, driven by + Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_presence_heartbeat() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `zone` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServicePresenceHeartbeatResponse](../../models/appservicepresenceheartbeatresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## app_service_record_app_member_activity + +RecordAppMemberActivity + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_record_app_member_activity() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `payload_json` | *OptionalNullable[str]* | :heavy_minus_sign: | JSON object, usage payload authored by the app | +| `idem_key` | *OptionalNullable[str]* | :heavy_minus_sign: | duplicate key returns the existing row, not an error | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServiceRecordAppMemberActivityResponse](../../models/appservicerecordappmemberactivityresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## app_service_set_app_member_state + +Per-member app state: one JSON blob per (app, member) so apps remember + settings/progress. Member always resolved server-side from auth context; + per-member persistence, so viewers with read access can save their own state. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.app_service.app_service_set_app_member_state() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `app_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `value_json` | *Optional[str]* | :heavy_minus_sign: | whole-object JSON, last-write-wins, max 64KB | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.AppServiceSetAppMemberStateResponse](../../models/appservicesetappmemberstateresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/chats/README.md b/docs/sdks/chats/README.md index dd831af..5c923e7 100644 --- a/docs/sdks/chats/README.md +++ b/docs/sdks/chats/README.md @@ -541,6 +541,7 @@ with Textql( | `methodology` | [Optional[models.TextqlRPCPublicChatMethodology]](../../models/textqlrpcpublicchatmethodology.md) | :heavy_minus_sign: | N/A | | `vllm_model_id` | *OptionalNullable[str]* | :heavy_minus_sign: | vllm_model_id is the model identifier forwarded to the org's vLLM endpoint.
Only valid when model == MODEL_VLLM. Requires @textql.com superadmin. | | `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | fast_mode enables Anthropic's fast inference (speed: "fast") for this chat.
Currently supported on Opus 4.6 only. Pricing is 6x standard rates. | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | max_thinking runs extended thinking at max effort with visible reasoning.
Supported on Sonnet 5, Fable 5, and Opus 4.8. | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -976,6 +977,7 @@ with Textql( | `sources` | List[[models.TextqlRPCPublicChatChatSource](../../models/textqlrpcpublicchatchatsource.md)] | :heavy_minus_sign: | Filter chats by source (union). Ignored when empty. Supersedes the single `source` when non-empty. | | | `thread_warning_types` | List[[models.TextqlRPCPublicChatThreadWarningType](../../models/textqlrpcpublicchatthreadwarningtype.md)] | :heavy_minus_sign: | Filter to chats with at least one thread_warning of any of these types (union). | | | `topic_ids` | List[*str*] | :heavy_minus_sign: | Only chats tagged with at least one of these custom topics
(verdict='tagged'). Ignored when empty. | | +| `connector_ids` | List[*int*] | :heavy_minus_sign: | Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty. | | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | ### Response @@ -1444,6 +1446,7 @@ with Textql( | `research` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `model` | [Optional[models.TextqlRPCPublicChatLlmModel]](../../models/textqlrpcpublicchatllmmodel.md) | :heavy_minus_sign: | N/A | | `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response @@ -1662,6 +1665,7 @@ with Textql( | `dashboard_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | update dashboard mode | | `methodology` | [Optional[models.TextqlRPCPublicChatMethodology]](../../models/textqlrpcpublicchatmethodology.md) | :heavy_minus_sign: | N/A | | `fast_mode` | *OptionalNullable[bool]* | :heavy_minus_sign: | update fast inference mode | +| `max_thinking` | *OptionalNullable[bool]* | :heavy_minus_sign: | update max thinking mode | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/libraries/README.md b/docs/sdks/libraries/README.md deleted file mode 100644 index ee26d37..0000000 --- a/docs/sdks/libraries/README.md +++ /dev/null @@ -1,3022 +0,0 @@ -# Libraries - -## Overview - -### Available Operations - -* [add_submodule](#add_submodule) - AddLibrarySubmodule -* [approve_patch](#approve_patch) - ApprovePatch -* [configure_library_remote](#configure_library_remote) - ConfigureLibraryRemote -* [create_approval_rule](#create_approval_rule) - CreateApprovalRule -* [create_context_patch_auto_approve_rule](#create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule -* [create_library_directory](#create_library_directory) - CreateLibraryDirectory -* [create_file_upload_url](#create_file_upload_url) - CreateLibraryFileUploadUrl -* [delete_approval_rule](#delete_approval_rule) - DeleteApprovalRule -* [delete_context_patch_auto_approve_rule](#delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule -* [delete_library_directory](#delete_library_directory) - DeleteLibraryDirectory -* [delete_library_file](#delete_library_file) - DeleteLibraryFile -* [delete_owners](#delete_owners) - DeleteLibraryOwners -* [deny_patch](#deny_patch) - DenyPatch -* [exchange_github_code](#exchange_github_code) - ExchangeLibraryGithubCode -* [finalize_file_upload](#finalize_file_upload) - FinalizeLibraryFileUpload -* [get_codeowner_coverage](#get_codeowner_coverage) - GetCodeownerCoverage -* [get_config_export_capabilities](#get_config_export_capabilities) - GetConfigExportCapabilities -* [get_effective_owners](#get_effective_owners) - GetEffectiveLibraryOwners -* [get_file_usage](#get_file_usage) - GetFileUsage -* [get_file_usage_timeline](#get_file_usage_timeline) - GetFileUsageTimeline -* [get_ana_config](#get_ana_config) - GetLibraryAnaConfig -* [get_file](#get_file) - GetLibraryFile -* [get_library_github_o_auth_url](#get_library_github_o_auth_url) - GetLibraryGithubOAuthURL -* [get_history_file_diff](#get_history_file_diff) - GetLibraryHistoryFileDiff -* [get_migration_status](#get_migration_status) - GetLibraryMigrationStatus -* [get_library_owners](#get_library_owners) - GetLibraryOwners -* [get_remote](#get_remote) - GetLibraryRemote -* [get_size_timeline](#get_size_timeline) - GetLibrarySizeTimeline -* [get_library_sync_conflicts](#get_library_sync_conflicts) - GetLibrarySyncConflicts -* [get_ontology_usage_summary](#get_ontology_usage_summary) - GetOntologyUsageSummary -* [get_patch](#get_patch) - GetPatch -* [get_patch_by_number](#get_patch_by_number) - GetPatchByNumber -* [get_patch_capabilities](#get_patch_capabilities) - GetPatchCapabilities -* [get_raw_patch](#get_raw_patch) - GetRawPatch -* [get_usage_details_for_file](#get_usage_details_for_file) - GetUsageDetailsForFile -* [list_approval_rules](#list_approval_rules) - ListApprovalRules -* [list_chats_for_file](#list_chats_for_file) - ListChatsForFile -* [list_context_patch_auto_approve_rules](#list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules -* [list_library_entries](#list_library_entries) - ListLibraryEntries -* [list_library_history](#list_library_history) - ListLibraryHistory -* [list_imports](#list_imports) - ListLibraryImports -* [list_library_submodules](#list_library_submodules) - ListLibrarySubmodules -* [list_library_sync_runs](#list_library_sync_runs) - ListLibrarySyncRuns -* [list_patch_reviewers](#list_patch_reviewers) - ListPatchReviewers -* [list_patches](#list_patches) - ListPatches -* [list_skills](#list_skills) - Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. -* [migrate_legacy_context](#migrate_legacy_context) - MigrateLegacyContextToLibrary -* [migrate_ontology](#migrate_ontology) - MigrateOntologyToLibrary -* [plan_merge](#plan_merge) - PlanLibraryMerge -* [preview_library_pull_from_remote](#preview_library_pull_from_remote) - PreviewLibraryPullFromRemote -* [pull_from_remote](#pull_from_remote) - PullLibraryFromRemote -* [push_library_to_remote](#push_library_to_remote) - PushLibraryToRemote -* [recover](#recover) - RecoverLibrary -* [remove_remote](#remove_remote) - RemoveLibraryRemote -* [remove_library_submodule](#remove_library_submodule) - RemoveLibrarySubmodule -* [rename_file](#rename_file) - RenameLibraryFile -* [request_patch_review](#request_patch_review) - RequestPatchReview -* [resolve_sync_conflict](#resolve_sync_conflict) - ResolveLibrarySyncConflict -* [restore_patch](#restore_patch) - RestorePatch -* [revert_patch](#revert_patch) - RevertPatch -* [save_all_objects_as_config](#save_all_objects_as_config) - SaveAllObjectsAsConfig -* [save_as_config](#save_as_config) - SaveObjectAsConfig -* [trigger_config_drift_reconcile](#trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Library repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. -* [update_approval_rule](#update_approval_rule) - UpdateApprovalRule -* [update_context_patch_auto_approve_rule](#update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule -* [update_library_sync_config](#update_library_sync_config) - UpdateLibrarySyncConfig -* [upsert_ana_config](#upsert_ana_config) - UpsertLibraryAnaConfig -* [upsert_library_file](#upsert_library_file) - UpsertLibraryFile -* [upsert_owners](#upsert_owners) - UpsertLibraryOwners -* [validate_config](#validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. - -## add_submodule - -AddLibrarySubmodule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.add_submodule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceAddLibrarySubmoduleResponse](../../models/libraryserviceaddlibrarysubmoduleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## approve_patch - -ApprovePatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.approve_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceApprovePatchResponse](../../models/libraryserviceapprovepatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## configure_library_remote - -ConfigureLibraryRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.configure_library_remote() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `ssh_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `ssh_key_password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `github_app_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `signing_key_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `signing_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `push_mode` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `use_hosted_github_app` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceConfigureLibraryRemoteResponse](../../models/libraryserviceconfigurelibraryremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## create_approval_rule - -CreateApprovalRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.create_approval_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `rule` | [Optional[models.TextqlRPCPublicPatchesApprovalRuleInput]](../../models/textqlrpcpublicpatchesapprovalruleinput.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceCreateApprovalRuleResponse](../../models/libraryservicecreateapprovalruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## create_context_patch_auto_approve_rule - -CreateContextPatchAutoApproveRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.create_context_patch_auto_approve_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `rule` | [Optional[models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput]](../../models/textqlrpcpublicpatchescontextpatchautoapproveruleinput.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceCreateContextPatchAutoApproveRuleResponse](../../models/libraryservicecreatecontextpatchautoapproveruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## create_library_directory - -CreateLibraryDirectory - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.create_library_directory() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceCreateLibraryDirectoryResponse](../../models/libraryservicecreatelibrarydirectoryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## create_file_upload_url - -CreateLibraryFileUploadUrl - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.create_file_upload_url() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes]](../../models/textqlrpcpublicpatchescreatelibraryfileuploadurlrequestsizebytes.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceCreateLibraryFileUploadURLResponse](../../models/libraryservicecreatelibraryfileuploadurlresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_approval_rule - -DeleteApprovalRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.delete_approval_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDeleteApprovalRuleResponse](../../models/libraryservicedeleteapprovalruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_context_patch_auto_approve_rule - -DeleteContextPatchAutoApproveRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.delete_context_patch_auto_approve_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDeleteContextPatchAutoApproveRuleResponse](../../models/libraryservicedeletecontextpatchautoapproveruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_library_directory - -DeleteLibraryDirectory - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.delete_library_directory() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *Optional[bool]* | :heavy_minus_sign: | When true, delete the directory and all of its contents (files and
subdirectories) in a single atomic commit. The caller must have write
access to every nested subdirectory. When false (default), the directory
must be empty of non-reserved entries. | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDeleteLibraryDirectoryResponse](../../models/libraryservicedeletelibrarydirectoryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_library_file - -DeleteLibraryFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.delete_library_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDeleteLibraryFileResponse](../../models/libraryservicedeletelibraryfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_owners - -DeleteLibraryOwners - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.delete_owners() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDeleteLibraryOwnersResponse](../../models/libraryservicedeletelibraryownersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## deny_patch - -DenyPatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.deny_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceDenyPatchResponse](../../models/libraryservicedenypatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## exchange_github_code - -ExchangeLibraryGithubCode - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.exchange_github_code() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceExchangeLibraryGithubCodeResponse](../../models/libraryserviceexchangelibrarygithubcoderesponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## finalize_file_upload - -FinalizeLibraryFileUpload - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.finalize_file_upload() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceFinalizeLibraryFileUploadResponse](../../models/libraryservicefinalizelibraryfileuploadresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_codeowner_coverage - -GetCodeownerCoverage - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_codeowner_coverage(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest](../../models/textqlrpcpublicpatchesgetcodeownercoveragerequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetCodeownerCoverageResponse](../../models/libraryservicegetcodeownercoverageresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_config_export_capabilities - -GetConfigExportCapabilities - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_config_export_capabilities(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest](../../models/textqlrpcpublicpatchesgetconfigexportcapabilitiesrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetConfigExportCapabilitiesResponse](../../models/libraryservicegetconfigexportcapabilitiesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_effective_owners - -GetEffectiveLibraryOwners - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_effective_owners() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetEffectiveLibraryOwnersResponse](../../models/libraryservicegeteffectivelibraryownersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_file_usage - -GetFileUsage - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_file_usage() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `order` | [Optional[models.TextqlRPCPublicPatchesUsageOrderBy]](../../models/textqlrpcpublicpatchesusageorderby.md) | :heavy_minus_sign: | N/A | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `page_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | default 100, capped at 100 | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetFileUsageResponse](../../models/libraryservicegetfileusageresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_file_usage_timeline - -GetFileUsageTimeline - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_file_usage_timeline() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | Restrict to files under this prefix; the whole library when unset. | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetFileUsageTimelineResponse](../../models/libraryservicegetfileusagetimelineresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_ana_config - -GetLibraryAnaConfig - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_ana_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryAnaConfigResponse](../../models/libraryservicegetlibraryanaconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_file - -GetLibraryFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryFileResponse](../../models/libraryservicegetlibraryfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_library_github_o_auth_url - -GetLibraryGithubOAuthURL - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_library_github_o_auth_url() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryGithubOAuthURLResponse](../../models/libraryservicegetlibrarygithuboauthurlresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_history_file_diff - -GetLibraryHistoryFileDiff - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_history_file_diff() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryHistoryFileDiffResponse](../../models/libraryservicegetlibraryhistoryfilediffresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_migration_status - -GetLibraryMigrationStatus - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_migration_status(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest](../../models/textqlrpcpublicpatchesgetlibrarymigrationstatusrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryMigrationStatusResponse](../../models/libraryservicegetlibrarymigrationstatusresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_library_owners - -GetLibraryOwners - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_library_owners() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryOwnersResponse](../../models/libraryservicegetlibraryownersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_remote - -GetLibraryRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_remote(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesGetLibraryRemoteRequest](../../models/textqlrpcpublicpatchesgetlibraryremoterequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibraryRemoteResponse](../../models/libraryservicegetlibraryremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_size_timeline - -GetLibrarySizeTimeline - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_size_timeline() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibrarySizeTimelineResponse](../../models/libraryservicegetlibrarysizetimelineresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_library_sync_conflicts - -GetLibrarySyncConflicts - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_library_sync_conflicts(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest](../../models/textqlrpcpublicpatchesgetlibrarysyncconflictsrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetLibrarySyncConflictsResponse](../../models/libraryservicegetlibrarysyncconflictsresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_ontology_usage_summary - -GetOntologyUsageSummary - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_ontology_usage_summary() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetOntologyUsageSummaryResponse](../../models/libraryservicegetontologyusagesummaryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_patch - -GetPatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `revision` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetPatchResponse](../../models/libraryservicegetpatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_patch_by_number - -GetPatchByNumber - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_patch_by_number() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `number` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetPatchByNumberResponse](../../models/libraryservicegetpatchbynumberresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_patch_capabilities - -GetPatchCapabilities - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_patch_capabilities() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetPatchCapabilitiesResponse](../../models/libraryservicegetpatchcapabilitiesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_raw_patch - -GetRawPatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_raw_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_number` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetRawPatchResponse](../../models/libraryservicegetrawpatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## get_usage_details_for_file - -GetUsageDetailsForFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.get_usage_details_for_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceGetUsageDetailsForFileResponse](../../models/libraryservicegetusagedetailsforfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_approval_rules - -ListApprovalRules - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_approval_rules(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListApprovalRulesRequest](../../models/textqlrpcpublicpatcheslistapprovalrulesrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListApprovalRulesResponse](../../models/libraryservicelistapprovalrulesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_chats_for_file - -ListChatsForFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_chats_for_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | -| `limit` | *OptionalNullable[int]* | :heavy_minus_sign: | default and cap applied server-side | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListChatsForFileResponse](../../models/libraryservicelistchatsforfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_context_patch_auto_approve_rules - -ListContextPatchAutoApproveRules - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_context_patch_auto_approve_rules(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest](../../models/textqlrpcpublicpatcheslistcontextpatchautoapproverulesrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListContextPatchAutoApproveRulesResponse](../../models/libraryservicelistcontextpatchautoapproverulesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_library_entries - -ListLibraryEntries - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_library_entries() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `recursive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `include_debug_files` | *Optional[bool]* | :heavy_minus_sign: | when true, reserved files like OWNERS are included | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListLibraryEntriesResponse](../../models/libraryservicelistlibraryentriesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_library_history - -ListLibraryHistory - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_library_history() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListLibraryHistoryResponse](../../models/libraryservicelistlibraryhistoryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_imports - -ListLibraryImports - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_imports(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListLibraryImportsRequest](../../models/textqlrpcpublicpatcheslistlibraryimportsrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListLibraryImportsResponse](../../models/libraryservicelistlibraryimportsresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_library_submodules - -ListLibrarySubmodules - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_library_submodules(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest](../../models/textqlrpcpublicpatcheslistlibrarysubmodulesrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListLibrarySubmodulesResponse](../../models/libraryservicelistlibrarysubmodulesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_library_sync_runs - -ListLibrarySyncRuns - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_library_sync_runs() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListLibrarySyncRunsResponse](../../models/libraryservicelistlibrarysyncrunsresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_patch_reviewers - -ListPatchReviewers - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_patch_reviewers() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListPatchReviewersResponse](../../models/libraryservicelistpatchreviewersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_patches - -ListPatches - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_patches() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | -| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `statuses` | List[[models.TextqlRPCPublicPatchesPatchStatus](../../models/textqlrpcpublicpatchespatchstatus.md)] | :heavy_minus_sign: | N/A | -| `include_auto_approved` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListPatchesResponse](../../models/libraryservicelistpatchesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_skills - -Lists the skills under the library's flat skills/ root that the caller can - read (OWNERS-filtered). Returns display metadata only — never instruction - bodies — feeding the chat composer's `/` autocomplete. - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.list_skills(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListSkillsRequest](../../models/textqlrpcpublicpatcheslistskillsrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListSkillsResponse](../../models/libraryservicelistskillsresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## migrate_legacy_context - -MigrateLegacyContextToLibrary - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.migrate_legacy_context() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `dry_run` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `include_inactive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceMigrateLegacyContextToLibraryResponse](../../models/libraryservicemigratelegacycontexttolibraryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## migrate_ontology - -MigrateOntologyToLibrary - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.migrate_ontology() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `ontology_ids` | List[*int*] | :heavy_minus_sign: | N/A | -| `dry_run` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceMigrateOntologyToLibraryResponse](../../models/libraryservicemigrateontologytolibraryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## plan_merge - -PlanLibraryMerge - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.plan_merge(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesPlanLibraryMergeRequest](../../models/textqlrpcpublicpatchesplanlibrarymergerequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServicePlanLibraryMergeResponse](../../models/libraryserviceplanlibrarymergeresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## preview_library_pull_from_remote - -PreviewLibraryPullFromRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.preview_library_pull_from_remote(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest](../../models/textqlrpcpublicpatchespreviewlibrarypullfromremoterequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServicePreviewLibraryPullFromRemoteResponse](../../models/libraryservicepreviewlibrarypullfromremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## pull_from_remote - -PullLibraryFromRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.pull_from_remote() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `acknowledge_unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `expected_local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `expected_remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServicePullLibraryFromRemoteResponse](../../models/libraryservicepulllibraryfromremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## push_library_to_remote - -PushLibraryToRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.push_library_to_remote(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest](../../models/textqlrpcpublicpatchespushlibrarytoremoterequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServicePushLibraryToRemoteResponse](../../models/libraryservicepushlibrarytoremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## recover - -RecoverLibrary - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.recover() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `level` | [Optional[models.TextqlRPCPublicPatchesRecoverLibraryLevel]](../../models/textqlrpcpublicpatchesrecoverlibrarylevel.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRecoverLibraryResponse](../../models/libraryservicerecoverlibraryresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## remove_remote - -RemoveLibraryRemote - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.remove_remote(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest](../../models/textqlrpcpublicpatchesremovelibraryremoterequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRemoveLibraryRemoteResponse](../../models/libraryserviceremovelibraryremoteresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## remove_library_submodule - -RemoveLibrarySubmodule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.remove_library_submodule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRemoveLibrarySubmoduleResponse](../../models/libraryserviceremovelibrarysubmoduleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## rename_file - -RenameLibraryFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.rename_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `old_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `new_path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRenameLibraryFileResponse](../../models/libraryservicerenamelibraryfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## request_patch_review - -RequestPatchReview - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.request_patch_review() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `reviewer_member_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRequestPatchReviewResponse](../../models/libraryservicerequestpatchreviewresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## resolve_sync_conflict - -ResolveLibrarySyncConflict - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.resolve_sync_conflict() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `conflict_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `resolved_content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceResolveLibrarySyncConflictResponse](../../models/libraryserviceresolvelibrarysyncconflictresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## restore_patch - -RestorePatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.restore_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRestorePatchResponse](../../models/libraryservicerestorepatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## revert_patch - -RevertPatch - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.revert_patch() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceRevertPatchResponse](../../models/libraryservicerevertpatchresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## save_all_objects_as_config - -SaveAllObjectsAsConfig - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.save_all_objects_as_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `object_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceSaveAllObjectsAsConfigResponse](../../models/libraryservicesaveallobjectsasconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## save_as_config - -SaveObjectAsConfig - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.save_as_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `object_type` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `object_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceSaveObjectAsConfigResponse](../../models/libraryservicesaveobjectasconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## trigger_config_drift_reconcile - -TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the - caller's org: if the Library repo's live HEAD differs from the last - reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand - equivalent of waiting for the periodic drift scan. - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.trigger_config_drift_reconcile(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest](../../models/textqlrpcpublicpatchestriggerconfigdriftreconcilerequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceTriggerConfigDriftReconcileResponse](../../models/libraryservicetriggerconfigdriftreconcileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## update_approval_rule - -UpdateApprovalRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.update_approval_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `rule` | [Optional[models.TextqlRPCPublicPatchesApprovalRuleInput]](../../models/textqlrpcpublicpatchesapprovalruleinput.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpdateApprovalRuleResponse](../../models/libraryserviceupdateapprovalruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## update_context_patch_auto_approve_rule - -UpdateContextPatchAutoApproveRule - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.update_context_patch_auto_approve_rule() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `rule` | [Optional[models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput]](../../models/textqlrpcpublicpatchescontextpatchautoapproveruleinput.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpdateContextPatchAutoApproveRuleResponse](../../models/libraryserviceupdatecontextpatchautoapproveruleresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## update_library_sync_config - -UpdateLibrarySyncConfig - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.update_library_sync_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | -| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpdateLibrarySyncConfigResponse](../../models/libraryserviceupdatelibrarysyncconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## upsert_ana_config - -UpsertLibraryAnaConfig - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.upsert_ana_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpsertLibraryAnaConfigResponse](../../models/libraryserviceupsertlibraryanaconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## upsert_library_file - -UpsertLibraryFile - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.upsert_library_file() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpsertLibraryFileResponse](../../models/libraryserviceupsertlibraryfileresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## upsert_owners - -UpsertLibraryOwners - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.upsert_owners() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | -| `permissions` | List[[models.TextqlRPCPublicPatchesLibraryPermission](../../models/textqlrpcpublicpatcheslibrarypermission.md)] | :heavy_minus_sign: | N/A | -| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceUpsertLibraryOwnersResponse](../../models/libraryserviceupsertlibraryownersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## validate_config - -Read-only functional validation of a proposed config: parse + dependency - resolution/reachability, no authorization and no persistence. "ok" means - functionally valid, not "guaranteed to merge" — the merge gate re-checks - authorization at approve time. - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.libraries.validate_config() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceValidateConfigResponse](../../models/libraryservicevalidateconfigresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/libraryservice/README.md b/docs/sdks/libraryservice/README.md deleted file mode 100644 index 256963a..0000000 --- a/docs/sdks/libraryservice/README.md +++ /dev/null @@ -1,91 +0,0 @@ -# LibraryService - -## Overview - -### Available Operations - -* [library_service_list_golden_files](#library_service_list_golden_files) - ListGoldenFiles -* [library_service_set_library_file_golden](#library_service_set_library_file_golden) - SetLibraryFileGolden - -## library_service_list_golden_files - -ListGoldenFiles - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.library_service.library_service_list_golden_files(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicPatchesListGoldenFilesRequest](../../models/textqlrpcpublicpatcheslistgoldenfilesrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceListGoldenFilesResponse](../../models/libraryservicelistgoldenfilesresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## library_service_set_library_file_golden - -SetLibraryFileGolden - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.library_service.library_service_set_library_file_golden() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `golden` | *Optional[bool]* | :heavy_minus_sign: | true = certify, false = retire | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.LibraryServiceSetLibraryFileGoldenResponse](../../models/libraryservicesetlibraryfilegoldenresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/ontologymanagementservice/README.md b/docs/sdks/ontologymanagementservice/README.md new file mode 100644 index 0000000..dddd974 --- /dev/null +++ b/docs/sdks/ontologymanagementservice/README.md @@ -0,0 +1,2979 @@ +# OntologyManagementService + +## Overview + +### Available Operations + +* [ontology_management_service_add_ontology_submodule](#ontology_management_service_add_ontology_submodule) - AddOntologySubmodule +* [ontology_management_service_approve_patch](#ontology_management_service_approve_patch) - ApprovePatch +* [ontology_management_service_configure_ontology_remote](#ontology_management_service_configure_ontology_remote) - ConfigureOntologyRemote +* [ontology_management_service_create_approval_rule](#ontology_management_service_create_approval_rule) - CreateApprovalRule +* [ontology_management_service_create_context_patch_auto_approve_rule](#ontology_management_service_create_context_patch_auto_approve_rule) - CreateContextPatchAutoApproveRule +* [ontology_management_service_create_ontology_directory](#ontology_management_service_create_ontology_directory) - CreateOntologyDirectory +* [ontology_management_service_create_ontology_file_upload_url](#ontology_management_service_create_ontology_file_upload_url) - CreateOntologyFileUploadUrl +* [ontology_management_service_delete_approval_rule](#ontology_management_service_delete_approval_rule) - DeleteApprovalRule +* [ontology_management_service_delete_context_patch_auto_approve_rule](#ontology_management_service_delete_context_patch_auto_approve_rule) - DeleteContextPatchAutoApproveRule +* [ontology_management_service_delete_ontology_directory](#ontology_management_service_delete_ontology_directory) - DeleteOntologyDirectory +* [ontology_management_service_delete_ontology_file](#ontology_management_service_delete_ontology_file) - DeleteOntologyFile +* [ontology_management_service_delete_ontology_owners](#ontology_management_service_delete_ontology_owners) - DeleteOntologyOwners +* [ontology_management_service_deny_patch](#ontology_management_service_deny_patch) - DenyPatch +* [ontology_management_service_exchange_ontology_github_code](#ontology_management_service_exchange_ontology_github_code) - ExchangeOntologyGithubCode +* [ontology_management_service_finalize_ontology_file_upload](#ontology_management_service_finalize_ontology_file_upload) - FinalizeOntologyFileUpload +* [ontology_management_service_get_codeowner_coverage](#ontology_management_service_get_codeowner_coverage) - GetCodeownerCoverage +* [ontology_management_service_get_config_export_capabilities](#ontology_management_service_get_config_export_capabilities) - GetConfigExportCapabilities +* [ontology_management_service_get_effective_ontology_owners](#ontology_management_service_get_effective_ontology_owners) - GetEffectiveOntologyOwners +* [ontology_management_service_get_file_usage](#ontology_management_service_get_file_usage) - GetFileUsage +* [ontology_management_service_get_file_usage_timeline](#ontology_management_service_get_file_usage_timeline) - GetFileUsageTimeline +* [ontology_management_service_get_ontology_ana_config](#ontology_management_service_get_ontology_ana_config) - GetOntologyAnaConfig +* [ontology_management_service_get_ontology_file](#ontology_management_service_get_ontology_file) - GetOntologyFile +* [ontology_management_service_get_ontology_github_o_auth_url](#ontology_management_service_get_ontology_github_o_auth_url) - GetOntologyGithubOAuthURL +* [ontology_management_service_get_ontology_history_file_diff](#ontology_management_service_get_ontology_history_file_diff) - GetOntologyHistoryFileDiff +* [ontology_management_service_get_ontology_owners](#ontology_management_service_get_ontology_owners) - GetOntologyOwners +* [ontology_management_service_get_ontology_remote](#ontology_management_service_get_ontology_remote) - GetOntologyRemote +* [ontology_management_service_get_ontology_size_timeline](#ontology_management_service_get_ontology_size_timeline) - GetOntologySizeTimeline +* [ontology_management_service_get_ontology_sync_conflicts](#ontology_management_service_get_ontology_sync_conflicts) - GetOntologySyncConflicts +* [ontology_management_service_get_ontology_usage_summary](#ontology_management_service_get_ontology_usage_summary) - GetOntologyUsageSummary +* [ontology_management_service_get_patch](#ontology_management_service_get_patch) - GetPatch +* [ontology_management_service_get_patch_by_number](#ontology_management_service_get_patch_by_number) - GetPatchByNumber +* [ontology_management_service_get_patch_capabilities](#ontology_management_service_get_patch_capabilities) - GetPatchCapabilities +* [ontology_management_service_get_raw_patch](#ontology_management_service_get_raw_patch) - GetRawPatch +* [ontology_management_service_get_usage_details_for_file](#ontology_management_service_get_usage_details_for_file) - GetUsageDetailsForFile +* [ontology_management_service_list_approval_rules](#ontology_management_service_list_approval_rules) - ListApprovalRules +* [ontology_management_service_list_chats_for_file](#ontology_management_service_list_chats_for_file) - ListChatsForFile +* [ontology_management_service_list_context_patch_auto_approve_rules](#ontology_management_service_list_context_patch_auto_approve_rules) - ListContextPatchAutoApproveRules +* [ontology_management_service_list_golden_files](#ontology_management_service_list_golden_files) - ListGoldenFiles +* [ontology_management_service_list_ontology_entries](#ontology_management_service_list_ontology_entries) - ListOntologyEntries +* [ontology_management_service_list_ontology_history](#ontology_management_service_list_ontology_history) - ListOntologyHistory +* [ontology_management_service_list_ontology_imports](#ontology_management_service_list_ontology_imports) - ListOntologyImports +* [ontology_management_service_list_ontology_submodules](#ontology_management_service_list_ontology_submodules) - ListOntologySubmodules +* [ontology_management_service_list_ontology_sync_runs](#ontology_management_service_list_ontology_sync_runs) - ListOntologySyncRuns +* [ontology_management_service_list_patch_reviewers](#ontology_management_service_list_patch_reviewers) - ListPatchReviewers +* [ontology_management_service_list_patches](#ontology_management_service_list_patches) - ListPatches +* [ontology_management_service_list_skills](#ontology_management_service_list_skills) - Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. +* [ontology_management_service_plan_ontology_merge](#ontology_management_service_plan_ontology_merge) - PlanOntologyMerge +* [ontology_management_service_preview_ontology_pull_from_remote](#ontology_management_service_preview_ontology_pull_from_remote) - PreviewOntologyPullFromRemote +* [ontology_management_service_pull_ontology_from_remote](#ontology_management_service_pull_ontology_from_remote) - PullOntologyFromRemote +* [ontology_management_service_push_ontology_to_remote](#ontology_management_service_push_ontology_to_remote) - PushOntologyToRemote +* [ontology_management_service_recover_ontology](#ontology_management_service_recover_ontology) - RecoverOntology +* [ontology_management_service_remove_ontology_remote](#ontology_management_service_remove_ontology_remote) - RemoveOntologyRemote +* [ontology_management_service_remove_ontology_submodule](#ontology_management_service_remove_ontology_submodule) - RemoveOntologySubmodule +* [ontology_management_service_rename_ontology_file](#ontology_management_service_rename_ontology_file) - RenameOntologyFile +* [ontology_management_service_request_patch_review](#ontology_management_service_request_patch_review) - RequestPatchReview +* [ontology_management_service_resolve_ontology_sync_conflict](#ontology_management_service_resolve_ontology_sync_conflict) - ResolveOntologySyncConflict +* [ontology_management_service_restore_patch](#ontology_management_service_restore_patch) - RestorePatch +* [ontology_management_service_revert_patch](#ontology_management_service_revert_patch) - RevertPatch +* [ontology_management_service_save_all_objects_as_config](#ontology_management_service_save_all_objects_as_config) - SaveAllObjectsAsConfig +* [ontology_management_service_save_object_as_config](#ontology_management_service_save_object_as_config) - SaveObjectAsConfig +* [ontology_management_service_set_ontology_file_golden](#ontology_management_service_set_ontology_file_golden) - SetOntologyFileGolden +* [ontology_management_service_trigger_config_drift_reconcile](#ontology_management_service_trigger_config_drift_reconcile) - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. +* [ontology_management_service_update_approval_rule](#ontology_management_service_update_approval_rule) - UpdateApprovalRule +* [ontology_management_service_update_context_patch_auto_approve_rule](#ontology_management_service_update_context_patch_auto_approve_rule) - UpdateContextPatchAutoApproveRule +* [ontology_management_service_update_ontology_sync_config](#ontology_management_service_update_ontology_sync_config) - UpdateOntologySyncConfig +* [ontology_management_service_upsert_ontology_ana_config](#ontology_management_service_upsert_ontology_ana_config) - UpsertOntologyAnaConfig +* [ontology_management_service_upsert_ontology_file](#ontology_management_service_upsert_ontology_file) - UpsertOntologyFile +* [ontology_management_service_upsert_ontology_owners](#ontology_management_service_upsert_ontology_owners) - UpsertOntologyOwners +* [ontology_management_service_validate_config](#ontology_management_service_validate_config) - Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. "ok" means functionally valid, not "guaranteed to merge" — the merge gate re-checks authorization at approve time. + +## ontology_management_service_add_ontology_submodule + +AddOntologySubmodule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_add_ontology_submodule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceAddOntologySubmoduleResponse](../../models/ontologymanagementserviceaddontologysubmoduleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_approve_patch + +ApprovePatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_approve_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceApprovePatchResponse](../../models/ontologymanagementserviceapprovepatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_configure_ontology_remote + +ConfigureOntologyRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_configure_ontology_remote() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `remote_url` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `ssh_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `ssh_key_password` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `default_branch` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_installation_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `github_app_private_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `signing_key_type` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `signing_key` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `push_mode` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `use_hosted_github_app` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceConfigureOntologyRemoteResponse](../../models/ontologymanagementserviceconfigureontologyremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_create_approval_rule + +CreateApprovalRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_create_approval_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `rule` | [Optional[models.TextqlRPCPublicPatchesApprovalRuleInput]](../../models/textqlrpcpublicpatchesapprovalruleinput.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceCreateApprovalRuleResponse](../../models/ontologymanagementservicecreateapprovalruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_create_context_patch_auto_approve_rule + +CreateContextPatchAutoApproveRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_create_context_patch_auto_approve_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `rule` | [Optional[models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput]](../../models/textqlrpcpublicpatchescontextpatchautoapproveruleinput.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse](../../models/ontologymanagementservicecreatecontextpatchautoapproveruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_create_ontology_directory + +CreateOntologyDirectory + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_create_ontology_directory() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceCreateOntologyDirectoryResponse](../../models/ontologymanagementservicecreateontologydirectoryresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_create_ontology_file_upload_url + +CreateOntologyFileUploadUrl + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_create_ontology_file_upload_url() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `mime_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `size_bytes` | [Optional[models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes]](../../models/textqlrpcpublicpatchescreateontologyfileuploadurlrequestsizebytes.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceCreateOntologyFileUploadURLResponse](../../models/ontologymanagementservicecreateontologyfileuploadurlresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_delete_approval_rule + +DeleteApprovalRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_delete_approval_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDeleteApprovalRuleResponse](../../models/ontologymanagementservicedeleteapprovalruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_delete_context_patch_auto_approve_rule + +DeleteContextPatchAutoApproveRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_delete_context_patch_auto_approve_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse](../../models/ontologymanagementservicedeletecontextpatchautoapproveruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_delete_ontology_directory + +DeleteOntologyDirectory + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_delete_ontology_directory() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `recursive` | *Optional[bool]* | :heavy_minus_sign: | When true, delete the directory and all of its contents (files and
subdirectories) in a single atomic commit. The caller must have write
access to every nested subdirectory. When false (default), the directory
must be empty of non-reserved entries. | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDeleteOntologyDirectoryResponse](../../models/ontologymanagementservicedeleteontologydirectoryresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_delete_ontology_file + +DeleteOntologyFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_delete_ontology_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDeleteOntologyFileResponse](../../models/ontologymanagementservicedeleteontologyfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_delete_ontology_owners + +DeleteOntologyOwners + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_delete_ontology_owners() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDeleteOntologyOwnersResponse](../../models/ontologymanagementservicedeleteontologyownersresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_deny_patch + +DenyPatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_deny_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceDenyPatchResponse](../../models/ontologymanagementservicedenypatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_exchange_ontology_github_code + +ExchangeOntologyGithubCode + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_exchange_ontology_github_code() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `code` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `code_verifier` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceExchangeOntologyGithubCodeResponse](../../models/ontologymanagementserviceexchangeontologygithubcoderesponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_finalize_ontology_file_upload + +FinalizeOntologyFileUpload + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_finalize_ontology_file_upload() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `upload_key` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceFinalizeOntologyFileUploadResponse](../../models/ontologymanagementservicefinalizeontologyfileuploadresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_codeowner_coverage + +GetCodeownerCoverage + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_codeowner_coverage(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest](../../models/textqlrpcpublicpatchesgetcodeownercoveragerequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetCodeownerCoverageResponse](../../models/ontologymanagementservicegetcodeownercoverageresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_config_export_capabilities + +GetConfigExportCapabilities + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_config_export_capabilities(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest](../../models/textqlrpcpublicpatchesgetconfigexportcapabilitiesrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetConfigExportCapabilitiesResponse](../../models/ontologymanagementservicegetconfigexportcapabilitiesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_effective_ontology_owners + +GetEffectiveOntologyOwners + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_effective_ontology_owners() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetEffectiveOntologyOwnersResponse](../../models/ontologymanagementservicegeteffectiveontologyownersresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_file_usage + +GetFileUsage + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_file_usage() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `order` | [Optional[models.TextqlRPCPublicPatchesUsageOrderBy]](../../models/textqlrpcpublicpatchesusageorderby.md) | :heavy_minus_sign: | N/A | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `page_cursor` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | default 1000, capped at 1000 | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetFileUsageResponse](../../models/ontologymanagementservicegetfileusageresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_file_usage_timeline + +GetFileUsageTimeline + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_file_usage_timeline() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path_prefix` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetFileUsageTimelineResponse](../../models/ontologymanagementservicegetfileusagetimelineresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_ana_config + +GetOntologyAnaConfig + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_ana_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyAnaConfigResponse](../../models/ontologymanagementservicegetontologyanaconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_file + +GetOntologyFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyFileResponse](../../models/ontologymanagementservicegetontologyfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_github_o_auth_url + +GetOntologyGithubOAuthURL + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_github_o_auth_url() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `state` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `code_challenge` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyGithubOAuthURLResponse](../../models/ontologymanagementservicegetontologygithuboauthurlresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_history_file_diff + +GetOntologyHistoryFileDiff + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_history_file_diff() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `commit_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyHistoryFileDiffResponse](../../models/ontologymanagementservicegetontologyhistoryfilediffresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_owners + +GetOntologyOwners + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_owners() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyOwnersResponse](../../models/ontologymanagementservicegetontologyownersresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_remote + +GetOntologyRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_remote(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesGetOntologyRemoteRequest](../../models/textqlrpcpublicpatchesgetontologyremoterequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyRemoteResponse](../../models/ontologymanagementservicegetontologyremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_size_timeline + +GetOntologySizeTimeline + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_size_timeline() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologySizeTimelineResponse](../../models/ontologymanagementservicegetontologysizetimelineresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_sync_conflicts + +GetOntologySyncConflicts + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_sync_conflicts(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest](../../models/textqlrpcpublicpatchesgetontologysyncconflictsrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologySyncConflictsResponse](../../models/ontologymanagementservicegetontologysyncconflictsresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_ontology_usage_summary + +GetOntologyUsageSummary + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_ontology_usage_summary() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetOntologyUsageSummaryResponse](../../models/ontologymanagementservicegetontologyusagesummaryresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_patch + +GetPatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `revision` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetPatchResponse](../../models/ontologymanagementservicegetpatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_patch_by_number + +GetPatchByNumber + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_patch_by_number() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `number` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetPatchByNumberResponse](../../models/ontologymanagementservicegetpatchbynumberresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_patch_capabilities + +GetPatchCapabilities + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_patch_capabilities() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetPatchCapabilitiesResponse](../../models/ontologymanagementservicegetpatchcapabilitiesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_raw_patch + +GetRawPatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_raw_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_number` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetRawPatchResponse](../../models/ontologymanagementservicegetrawpatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_get_usage_details_for_file + +GetUsageDetailsForFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_get_usage_details_for_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `file_path` | *Optional[str]* | :heavy_minus_sign: | Year of the date. Must be from 1 to 9999, or 0 to specify a date without
a year. | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceGetUsageDetailsForFileResponse](../../models/ontologymanagementservicegetusagedetailsforfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_approval_rules + +ListApprovalRules + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_approval_rules(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListApprovalRulesRequest](../../models/textqlrpcpublicpatcheslistapprovalrulesrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListApprovalRulesResponse](../../models/ontologymanagementservicelistapprovalrulesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_chats_for_file + +ListChatsForFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_chats_for_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `file_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `observation_period` | *Optional[timedelta]* | :heavy_minus_sign: | A Duration represents a signed, fixed-length span of time represented
as a count of seconds and fractions of seconds at nanosecond
resolution. It is independent of any calendar and concepts like "day"
or "month". It is related to Timestamp in that the difference between
two Timestamp values is a Duration and it can be added or subtracted
from a Timestamp. Range is approximately +-10,000 years.

# Examples

Example 1: Compute Duration from two Timestamps in pseudo code.

Timestamp start = ...;
Timestamp end = ...;
Duration duration = ...;

duration.seconds = end.seconds - start.seconds;
duration.nanos = end.nanos - start.nanos;

if (duration.seconds < 0 && duration.nanos > 0) {
duration.seconds += 1;
duration.nanos -= 1000000000;
} else if (duration.seconds > 0 && duration.nanos < 0) {
duration.seconds -= 1;
duration.nanos += 1000000000;
}

Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.

Timestamp start = ...;
Duration duration = ...;
Timestamp end = ...;

end.seconds = start.seconds + duration.seconds;
end.nanos = start.nanos + duration.nanos;

if (end.nanos < 0) {
end.seconds -= 1;
end.nanos += 1000000000;
} else if (end.nanos >= 1000000000) {
end.seconds += 1;
end.nanos -= 1000000000;
}

Example 3: Compute Duration from datetime.timedelta in Python.

td = datetime.timedelta(days=3, minutes=10)
duration = Duration()
duration.FromTimedelta(td)

# JSON Mapping

In JSON format, the Duration type is encoded as a string rather than an
object, where the string ends in the suffix "s" (indicating seconds) and
is preceded by the number of seconds, with nanoseconds expressed as
fractional seconds. For example, 3 seconds with 0 nanoseconds should be
encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
be expressed in JSON format as "3.000000001s", and 3 seconds and 1
microsecond should be expressed in JSON format as "3.000001s". | +| `limit` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListChatsForFileResponse](../../models/ontologymanagementservicelistchatsforfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_context_patch_auto_approve_rules + +ListContextPatchAutoApproveRules + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_context_patch_auto_approve_rules(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest](../../models/textqlrpcpublicpatcheslistcontextpatchautoapproverulesrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListContextPatchAutoApproveRulesResponse](../../models/ontologymanagementservicelistcontextpatchautoapproverulesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_golden_files + +ListGoldenFiles + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_golden_files(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListGoldenFilesRequest](../../models/textqlrpcpublicpatcheslistgoldenfilesrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListGoldenFilesResponse](../../models/ontologymanagementservicelistgoldenfilesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_ontology_entries + +ListOntologyEntries + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_ontology_entries() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `recursive` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `include_debug_files` | *Optional[bool]* | :heavy_minus_sign: | when true, reserved files like OWNERS are included | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListOntologyEntriesResponse](../../models/ontologymanagementservicelistontologyentriesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_ontology_history + +ListOntologyHistory + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_ontology_history() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `path` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListOntologyHistoryResponse](../../models/ontologymanagementservicelistontologyhistoryresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_ontology_imports + +ListOntologyImports + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_ontology_imports(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListOntologyImportsRequest](../../models/textqlrpcpublicpatcheslistontologyimportsrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListOntologyImportsResponse](../../models/ontologymanagementservicelistontologyimportsresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_ontology_submodules + +ListOntologySubmodules + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_ontology_submodules(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListOntologySubmodulesRequest](../../models/textqlrpcpublicpatcheslistontologysubmodulesrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListOntologySubmodulesResponse](../../models/ontologymanagementservicelistontologysubmodulesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_ontology_sync_runs + +ListOntologySyncRuns + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_ontology_sync_runs() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListOntologySyncRunsResponse](../../models/ontologymanagementservicelistontologysyncrunsresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_patch_reviewers + +ListPatchReviewers + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_patch_reviewers() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListPatchReviewersResponse](../../models/ontologymanagementservicelistpatchreviewersresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_patches + +ListPatches + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_patches() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `page_size` | *OptionalNullable[int]* | :heavy_minus_sign: | N/A | +| `page_token` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `statuses` | List[[models.TextqlRPCPublicPatchesPatchStatus](../../models/textqlrpcpublicpatchespatchstatus.md)] | :heavy_minus_sign: | N/A | +| `include_auto_approved` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListPatchesResponse](../../models/ontologymanagementservicelistpatchesresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_list_skills + +Lists the skills under the ontology's flat skills/ root that the caller can + read (OWNERS-filtered). Returns display metadata only — never instruction + bodies — feeding the chat composer's `/` autocomplete. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_list_skills(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesListSkillsRequest](../../models/textqlrpcpublicpatcheslistskillsrequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceListSkillsResponse](../../models/ontologymanagementservicelistskillsresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_plan_ontology_merge + +PlanOntologyMerge + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_plan_ontology_merge(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesPlanOntologyMergeRequest](../../models/textqlrpcpublicpatchesplanontologymergerequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServicePlanOntologyMergeResponse](../../models/ontologymanagementserviceplanontologymergeresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_preview_ontology_pull_from_remote + +PreviewOntologyPullFromRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_preview_ontology_pull_from_remote(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest](../../models/textqlrpcpublicpatchespreviewontologypullfromremoterequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServicePreviewOntologyPullFromRemoteResponse](../../models/ontologymanagementservicepreviewontologypullfromremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_pull_ontology_from_remote + +PullOntologyFromRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_pull_ontology_from_remote() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `acknowledge_unrelated_histories` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `expected_local_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `expected_remote_head_hash` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServicePullOntologyFromRemoteResponse](../../models/ontologymanagementservicepullontologyfromremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_push_ontology_to_remote + +PushOntologyToRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_push_ontology_to_remote(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest](../../models/textqlrpcpublicpatchespushontologytoremoterequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServicePushOntologyToRemoteResponse](../../models/ontologymanagementservicepushontologytoremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_recover_ontology + +RecoverOntology + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_recover_ontology() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `level` | [Optional[models.TextqlRPCPublicPatchesRecoverOntologyLevel]](../../models/textqlrpcpublicpatchesrecoverontologylevel.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRecoverOntologyResponse](../../models/ontologymanagementservicerecoverontologyresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_remove_ontology_remote + +RemoveOntologyRemote + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_remove_ontology_remote(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest](../../models/textqlrpcpublicpatchesremoveontologyremoterequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRemoveOntologyRemoteResponse](../../models/ontologymanagementserviceremoveontologyremoteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_remove_ontology_submodule + +RemoveOntologySubmodule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_remove_ontology_submodule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRemoveOntologySubmoduleResponse](../../models/ontologymanagementserviceremoveontologysubmoduleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_rename_ontology_file + +RenameOntologyFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_rename_ontology_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `old_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `new_path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRenameOntologyFileResponse](../../models/ontologymanagementservicerenameontologyfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_request_patch_review + +RequestPatchReview + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_request_patch_review() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `reviewer_member_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRequestPatchReviewResponse](../../models/ontologymanagementservicerequestpatchreviewresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_resolve_ontology_sync_conflict + +ResolveOntologySyncConflict + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_resolve_ontology_sync_conflict() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `conflict_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `resolved_content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceResolveOntologySyncConflictResponse](../../models/ontologymanagementserviceresolveontologysyncconflictresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_restore_patch + +RestorePatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_restore_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `expected_git_ref` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRestorePatchResponse](../../models/ontologymanagementservicerestorepatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_revert_patch + +RevertPatch + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_revert_patch() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceRevertPatchResponse](../../models/ontologymanagementservicerevertpatchresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_save_all_objects_as_config + +SaveAllObjectsAsConfig + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_save_all_objects_as_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `object_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceSaveAllObjectsAsConfigResponse](../../models/ontologymanagementservicesaveallobjectsasconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_save_object_as_config + +SaveObjectAsConfig + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_save_object_as_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `object_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `object_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceSaveObjectAsConfigResponse](../../models/ontologymanagementservicesaveobjectasconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_set_ontology_file_golden + +SetOntologyFileGolden + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_set_ontology_file_golden() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `golden` | *Optional[bool]* | :heavy_minus_sign: | true = certify, false = retire | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceSetOntologyFileGoldenResponse](../../models/ontologymanagementservicesetontologyfilegoldenresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_trigger_config_drift_reconcile + +TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the + caller's org: if the Ontology repo's live HEAD differs from the last + reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand + equivalent of waiting for the periodic drift scan. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_trigger_config_drift_reconcile(body={}) + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- | +| `body` | [models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest](../../models/textqlrpcpublicpatchestriggerconfigdriftreconcilerequest.md) | :heavy_check_mark: | N/A | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceTriggerConfigDriftReconcileResponse](../../models/ontologymanagementservicetriggerconfigdriftreconcileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_update_approval_rule + +UpdateApprovalRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_update_approval_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `rule` | [Optional[models.TextqlRPCPublicPatchesApprovalRuleInput]](../../models/textqlrpcpublicpatchesapprovalruleinput.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpdateApprovalRuleResponse](../../models/ontologymanagementserviceupdateapprovalruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_update_context_patch_auto_approve_rule + +UpdateContextPatchAutoApproveRule + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_update_context_patch_auto_approve_rule() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `rule` | [Optional[models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput]](../../models/textqlrpcpublicpatchescontextpatchautoapproveruleinput.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse](../../models/ontologymanagementserviceupdatecontextpatchautoapproveruleresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_update_ontology_sync_config + +UpdateOntologySyncConfig + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_update_ontology_sync_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `sync_enabled` | *Optional[bool]* | :heavy_minus_sign: | N/A | +| `sync_interval_minutes` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpdateOntologySyncConfigResponse](../../models/ontologymanagementserviceupdateontologysyncconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_upsert_ontology_ana_config + +UpsertOntologyAnaConfig + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_upsert_ontology_ana_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `auto_attach` | List[[models.TextqlRPCPublicPatchesAutoAttachEntry](../../models/textqlrpcpublicpatchesautoattachentry.md)] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `codeowners` | List[[models.TextqlRPCPublicPatchesCodeownerEntry](../../models/textqlrpcpublicpatchescodeownerentry.md)] | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpsertOntologyAnaConfigResponse](../../models/ontologymanagementserviceupsertontologyanaconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_upsert_ontology_file + +UpsertOntologyFile + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_upsert_ontology_file() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `content` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpsertOntologyFileResponse](../../models/ontologymanagementserviceupsertontologyfileresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_upsert_ontology_owners + +UpsertOntologyOwners + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_upsert_ontology_owners() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `path` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `role_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `permissions` | List[[models.TextqlRPCPublicPatchesOntologyPermission](../../models/textqlrpcpublicpatchesontologypermission.md)] | :heavy_minus_sign: | N/A | +| `commit_message` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceUpsertOntologyOwnersResponse](../../models/ontologymanagementserviceupsertontologyownersresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## ontology_management_service_validate_config + +Read-only functional validation of a proposed config: parse + dependency + resolution/reachability, no authorization and no persistence. "ok" means + functionally valid, not "guaranteed to merge" — the merge gate re-checks + authorization at approve time. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.ontology_management_service.ontology_management_service_validate_config() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `patch_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.OntologyManagementServiceValidateConfigResponse](../../models/ontologymanagementservicevalidateconfigresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/playbooks/README.md b/docs/sdks/playbooks/README.md index b89b5b9..4d1425e 100644 --- a/docs/sdks/playbooks/README.md +++ b/docs/sdks/playbooks/README.md @@ -1708,6 +1708,7 @@ with Textql( | `recipient_email_column` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `teams_channel_id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A | | `tagged_teams_user_aad_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | +| `api_access_key_ids` | [Optional[models.TextqlRPCPublicPlaybookStringList]](../../models/textqlrpcpublicplaybookstringlist.md) | :heavy_minus_sign: | N/A | | `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | ### Response diff --git a/docs/sdks/rbacservice/README.md b/docs/sdks/rbacservice/README.md new file mode 100644 index 0000000..232c0ea --- /dev/null +++ b/docs/sdks/rbacservice/README.md @@ -0,0 +1,52 @@ +# RBACService + +## Overview + +RBAC service for managing roles, permissions, and access control + +### Available Operations + +* [rbac_service_set_role_permissions](#rbac_service_set_role_permissions) - Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + +## rbac_service_set_role_permissions + +Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.rbac_service.rbac_service_set_role_permissions() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `role_id` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `add_permission_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `remove_permission_ids` | List[*str*] | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.RBACServiceSetRolePermissionsResponse](../../models/rbacservicesetrolepermissionsresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/sandboxcapabilityservice/README.md b/docs/sdks/sandboxcapabilityservice/README.md new file mode 100644 index 0000000..6c8d8b8 --- /dev/null +++ b/docs/sdks/sandboxcapabilityservice/README.md @@ -0,0 +1,186 @@ +# SandboxCapabilityService + +## Overview + +### Available Operations + +* [sandbox_capability_service_execute_write](#sandbox_capability_service_execute_write) - ExecuteWrite +* [sandbox_capability_service_put_asset](#sandbox_capability_service_put_asset) - PutAsset +* [sandbox_capability_service_send_notify](#sandbox_capability_service_send_notify) - SendNotify +* [sandbox_capability_service_state_op](#sandbox_capability_service_state_op) - StateOp + +## sandbox_capability_service_execute_write + +ExecuteWrite + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.sandbox_capability_service.sandbox_capability_service_execute_write() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `connector_id` | *Optional[int]* | :heavy_minus_sign: | N/A | +| `statement` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `max_rows` | [Optional[models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows]](../../models/textqlrpcpublicsandboxcapabilitysandboxexecutewriterequestmaxrows.md) | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.SandboxCapabilityServiceExecuteWriteResponse](../../models/sandboxcapabilityserviceexecutewriteresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## sandbox_capability_service_put_asset + +PutAsset + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.sandbox_capability_service.sandbox_capability_service_put_asset() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `file_name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `content_type` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `data` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.SandboxCapabilityServicePutAssetResponse](../../models/sandboxcapabilityserviceputassetresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## sandbox_capability_service_send_notify + +SendNotify + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.sandbox_capability_service.sandbox_capability_service_send_notify() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `subject` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `body` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `parameters` | List[[models.TextqlRPCPublicSandboxQuerySandboxQueryParam](../../models/textqlrpcpublicsandboxquerysandboxqueryparam.md)] | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.SandboxCapabilityServiceSendNotifyResponse](../../models/sandboxcapabilityservicesendnotifyresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | + +## sandbox_capability_service_state_op + +StateOp + +### Example Usage + + +```python +import os +from textql_sdk import Textql + + +with Textql( + api_key=os.getenv("TEXTQL_API_KEY", ""), +) as textql: + + res = textql.sandbox_capability_service.sandbox_capability_service_state_op() + + # Handle response + print(res) + +``` + +### Parameters + +| Parameter | Type | Required | Description | +| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | +| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | +| `op` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `scope` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `key` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `value` | *Optional[str]* | :heavy_minus_sign: | N/A | +| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | + +### Response + +**[models.SandboxCapabilityServiceStateOpResponse](../../models/sandboxcapabilityservicestateopresponse.md)** + +### Errors + +| Error Type | Status Code | Content Type | +| ------------------------- | ------------------------- | ------------------------- | +| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/secrets/README.md b/docs/sdks/secrets/README.md index 143955f..90581a6 100644 --- a/docs/sdks/secrets/README.md +++ b/docs/sdks/secrets/README.md @@ -4,143 +4,11 @@ ### Available Operations -* [create_api_revision](#create_api_revision) - CreateApiRevision -* [delete_api_access_key](#delete_api_access_key) - DeleteApiAccessKey -* [delete_api_revision](#delete_api_revision) - DeleteApiRevision * [delete_secret](#delete_secret) - DeleteSecret -* [get_api_access_key](#get_api_access_key) - GetApiAccessKey * [get_members_with_secrets](#get_members_with_secrets) - GetMembersWithSecrets -* [list_api_access_keys](#list_api_access_keys) - ListApiAccessKeys -* [list_api_providers](#list_api_providers) - ListApiProviders * [list_secrets](#list_secrets) - ListSecrets -* [migrate_secret_to_api_connector](#migrate_secret_to_api_connector) - MigrateSecretToApiConnector * [put_secret](#put_secret) - PutSecret -* [test_api_access_key](#test_api_access_key) - TestApiAccessKey * [update](#update) - UpdateSecret -* [upsert_api_access_key](#upsert_api_access_key) - UpsertApiAccessKey - -## create_api_revision - -CreateApiRevision - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.create_api_revision() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `api_access_key_id` | *OptionalNullable[str]* | :heavy_minus_sign: | empty = new key draft | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceCreateAPIRevisionResponse](../../models/secretservicecreateapirevisionresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_api_access_key - -DeleteApiAccessKey - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.delete_api_access_key() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceDeleteAPIAccessKeyResponse](../../models/secretservicedeleteapiaccesskeyresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## delete_api_revision - -DeleteApiRevision - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.delete_api_revision() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceDeleteAPIRevisionResponse](../../models/secretservicedeleteapirevisionresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | ## delete_secret @@ -183,47 +51,6 @@ with Textql( | ------------------------- | ------------------------- | ------------------------- | | errors.TextqlDefaultError | 4XX, 5XX | \*/\* | -## get_api_access_key - -GetApiAccessKey - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.get_api_access_key() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | ------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `id` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceGetAPIAccessKeyResponse](../../models/secretservicegetapiaccesskeyresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - ## get_members_with_secrets GetMembersWithSecrets @@ -265,88 +92,6 @@ with Textql( | ------------------------- | ------------------------- | ------------------------- | | errors.TextqlDefaultError | 4XX, 5XX | \*/\* | -## list_api_access_keys - -ListApiAccessKeys - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.list_api_access_keys(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicSecretListAPIAccessKeysRequest](../../models/textqlrpcpublicsecretlistapiaccesskeysrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceListAPIAccessKeysResponse](../../models/secretservicelistapiaccesskeysresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## list_api_providers - -ListApiProviders - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.list_api_providers(body={}) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | -| `body` | [models.TextqlRPCPublicSecretListAPIProvidersRequest](../../models/textqlrpcpublicsecretlistapiprovidersrequest.md) | :heavy_check_mark: | N/A | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceListAPIProvidersResponse](../../models/secretservicelistapiprovidersresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - ## list_secrets ListSecrets @@ -388,53 +133,6 @@ with Textql( | ------------------------- | ------------------------- | ------------------------- | | errors.TextqlDefaultError | 4XX, 5XX | \*/\* | -## migrate_secret_to_api_connector - -MigrateSecretToApiConnector - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.migrate_secret_to_api_connector() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `secret_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `api_access_key_id` | *Optional[str]* | :heavy_minus_sign: | empty = create new API connector | -| `header_name` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `hosts` | List[*str*] | :heavy_minus_sign: | Fields used when creating a new API connector (api_access_key_id is empty) | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | -| `value_prefix` | *Optional[str]* | :heavy_minus_sign: | e.g. "Bearer ", prepended to the secret value | -| `name` | *Optional[str]* | :heavy_minus_sign: | display name for the new API connector | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceMigrateSecretToAPIConnectorResponse](../../models/secretservicemigratesecrettoapiconnectorresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - ## put_secret PutSecret @@ -480,47 +178,6 @@ with Textql( | ------------------------- | ------------------------- | ------------------------- | | errors.TextqlDefaultError | 4XX, 5XX | \*/\* | -## test_api_access_key - -TestApiAccessKey - -### Example Usage - - -```python -import os -from textql_sdk import Textql - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.test_api_access_key() - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | -| ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | - -### Response - -**[models.SecretServiceTestAPIAccessKeyResponse](../../models/secretservicetestapiaccesskeyresponse.md)** - -### Errors - -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - ## update UpdateSecret @@ -561,63 +218,6 @@ with Textql( ### Errors -| Error Type | Status Code | Content Type | -| ------------------------- | ------------------------- | ------------------------- | -| errors.TextqlDefaultError | 4XX, 5XX | \*/\* | - -## upsert_api_access_key - -UpsertApiAccessKey - -### Example Usage - - -```python -import os -from textql_sdk import Textql -from textql_sdk.utils import parse_datetime - - -with Textql( - api_key=os.getenv("TEXTQL_API_KEY", ""), -) as textql: - - res = textql.secrets.upsert_api_access_key(expires_at=parse_datetime("2023-01-15T01:30:15.01Z")) - - # Handle response - print(res) - -``` - -### Parameters - -| Parameter | Type | Required | Description | Example | -| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `connect_timeout_ms` | *Optional[float]* | :heavy_minus_sign: | N/A | | -| `ref` | [Optional[models.TextqlRPCPublicSecretAPIAccessRef]](../../models/textqlrpcpublicsecretapiaccessref.md) | :heavy_minus_sign: | N/A | | -| `persist_to_db` | *Optional[bool]* | :heavy_minus_sign: | N/A | | -| `hosts` | List[*str*] | :heavy_minus_sign: | N/A | | -| `headers` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `query_params` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `description` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `expires_at` | [date](https://docs.python.org/3/library/datetime.html#date-objects) | :heavy_minus_sign: | A Timestamp represents a point in time independent of any time zone or local
calendar, encoded as a count of seconds and fractions of seconds at
nanosecond resolution. The count is relative to an epoch at UTC midnight on
January 1, 1970, in the proleptic Gregorian calendar which extends the
Gregorian calendar backwards to year one.

All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
second table is needed for interpretation, using a [24-hour linear
smear](https://developers.google.com/time/smear).

The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
restricting to that range, we ensure that we can convert to and from [RFC
3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.

# Examples

Example 1: Compute Timestamp from POSIX `time()`.

Timestamp timestamp;
timestamp.set_seconds(time(NULL));
timestamp.set_nanos(0);

Example 2: Compute Timestamp from POSIX `gettimeofday()`.

struct timeval tv;
gettimeofday(&tv, NULL);

Timestamp timestamp;
timestamp.set_seconds(tv.tv_sec);
timestamp.set_nanos(tv.tv_usec * 1000);

Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.

FILETIME ft;
GetSystemTimeAsFileTime(&ft);
UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) \| ft.dwLowDateTime;

// A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
// is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
Timestamp timestamp;
timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));

Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.

long millis = System.currentTimeMillis();

Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
.setNanos((int) ((millis % 1000) * 1000000)).build();

Example 5: Compute Timestamp from Java `Instant.now()`.

Instant now = Instant.now();

Timestamp timestamp =
Timestamp.newBuilder().setSeconds(now.getEpochSecond())
.setNanos(now.getNano()).build();

Example 6: Compute Timestamp from current time in Python.

timestamp = Timestamp()
timestamp.GetCurrentTime()

# JSON Mapping

In JSON format, the Timestamp type is encoded as a string in the
[RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
where {year} is always expressed using four digits while {month}, {day},
{hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
is required. A proto3 JSON serializer should always use UTC (as indicated by
"Z") when printing the Timestamp type and a proto3 JSON parser should be
able to accept both UTC and other timezones (as indicated by an offset).

For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
01:30 UTC on January 15, 2017.

In JavaScript, one can convert a Date object to this format using the
standard
[toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
method. In Python, a standard `datetime.datetime` object can be converted
to this format using
[`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
the Joda Time's [`ISODateTimeFormat.dateTime()`](
http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
) to obtain a formatter capable of generating timestamps in this format. | **Example 1:** 2023-01-15T01:30:15.01Z
**Example 2:** 2024-12-25T12:00:00Z | -| `provider` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_value` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_value_extra` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `auth_type` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `http_basic_auth` | [Optional[models.TextqlRPCPublicSecretHTTPBasicAuth]](../../models/textqlrpcpublicsecrethttpbasicauth.md) | :heavy_minus_sign: | N/A | | -| `body` | Dict[str, *str*] | :heavy_minus_sign: | N/A | | -| `content_type` | [Optional[models.TextqlRPCPublicSecretBodyContentType]](../../models/textqlrpcpublicsecretbodycontenttype.md) | :heavy_minus_sign: | N/A | | -| `test_url` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | -| `retries` | [Optional[utils.RetryConfig]](../../models/utils/retryconfig.md) | :heavy_minus_sign: | Configuration to override the default retry behavior of the client. | | - -### Response - -**[models.SecretServiceUpsertAPIAccessKeyResponse](../../models/secretserviceupsertapiaccesskeyresponse.md)** - -### Errors - | Error Type | Status Code | Content Type | | ------------------------- | ------------------------- | ------------------------- | | errors.TextqlDefaultError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index bca3ae0..a832b17 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "textql-sdk" -version = "1.0.0" +version = "1.0.1" description = "Python Client SDK Generated by Speakeasy." authors = [{ name = "Speakeasy" },] readme = "README-PYPI.md" diff --git a/src/textql_sdk/_version.py b/src/textql_sdk/_version.py index 5f9eeef..07afcc3 100644 --- a/src/textql_sdk/_version.py +++ b/src/textql_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "textql-sdk" -__version__: str = "1.0.0" +__version__: str = "1.0.1" __openapi_doc_version__: str = "1.0.0" -__gen_version__: str = "2.918.3" -__user_agent__: str = "speakeasy-sdk/python 1.0.0 2.918.3 1.0.0 textql-sdk" +__gen_version__: str = "2.918.4" +__user_agent__: str = "speakeasy-sdk/python 1.0.1 2.918.4 1.0.0 textql-sdk" try: if __package__ is not None: diff --git a/src/textql_sdk/apps.py b/src/textql_sdk/apps.py index ee5c1bb..90b1c7f 100644 --- a/src/textql_sdk/apps.py +++ b/src/textql_sdk/apps.py @@ -20,11 +20,9 @@ def heartbeat( timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> models.AppServiceAppHeartbeatResponse: - r"""Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op when the app has no warm worker; never spawns one. + r"""Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its - billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op - when the app has no warm worker; never spawns one. + Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). :param connect_timeout_ms: :param app_id: 'app' | 'dashboard' @@ -126,11 +124,9 @@ async def heartbeat_async( timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, ) -> models.AppServiceAppHeartbeatResponse: - r"""Viewer heartbeat: keeps a warm compute worker alive while the app is open so its billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op when the app has no warm worker; never spawns one. + r"""Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). - Viewer heartbeat: keeps a warm compute worker alive while the app is open so its - billed lifetime tracks the view session (mirrors a dashboard's viewer TTL). No-op - when the app has no warm worker; never spawns one. + Keeps the viewed app's compute worker alive; first view spawns and pre-warms it (dashboard viewer-TTL parity). :param connect_timeout_ms: :param app_id: 'app' | 'dashboard' @@ -247,6 +243,13 @@ def create_app( Iterable[models.TextqlRPCPublicAppAppFileTypedDict], ] ] = None, + capabilities: Optional[ + Union[ + Iterable[models.TextqlRPCPublicAppCapability], + Iterable[models.TextqlRPCPublicAppCapabilityTypedDict], + ] + ] = None, + app_db_setup: Optional[Iterable[str]] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -261,6 +264,8 @@ def create_app( :param data_sources: :param compute_functions: :param files: + :param capabilities: + :param app_db_setup: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -293,6 +298,10 @@ def create_app( files=utils.get_pydantic_model( files, Optional[List[models.TextqlRPCPublicAppAppFile]] ), + capabilities=utils.get_pydantic_model( + capabilities, Optional[List[models.TextqlRPCPublicAppCapability]] + ), + app_db_setup=utils.unmarshal(app_db_setup, Optional[List[str]]), ), ) @@ -389,6 +398,13 @@ async def create_app_async( Iterable[models.TextqlRPCPublicAppAppFileTypedDict], ] ] = None, + capabilities: Optional[ + Union[ + Iterable[models.TextqlRPCPublicAppCapability], + Iterable[models.TextqlRPCPublicAppCapabilityTypedDict], + ] + ] = None, + app_db_setup: Optional[Iterable[str]] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -403,6 +419,8 @@ async def create_app_async( :param data_sources: :param compute_functions: :param files: + :param capabilities: + :param app_db_setup: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -435,6 +453,10 @@ async def create_app_async( files=utils.get_pydantic_model( files, Optional[List[models.TextqlRPCPublicAppAppFile]] ), + capabilities=utils.get_pydantic_model( + capabilities, Optional[List[models.TextqlRPCPublicAppCapability]] + ), + app_db_setup=utils.unmarshal(app_db_setup, Optional[List[str]]), ), ) @@ -1792,7 +1814,7 @@ def invoke_compute_function( :param connect_timeout_ms: :param app_id: - :param function_name: string | number | boolean | object | array + :param function_name: :param params_json: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -1904,7 +1926,7 @@ async def invoke_compute_function_async( :param connect_timeout_ms: :param app_id: - :param function_name: string | number | boolean | object | array + :param function_name: :param params_json: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method @@ -3348,7 +3370,6 @@ def update( ] = None, replace_data_sources: OptionalNullable[bool] = UNSET, publish: OptionalNullable[bool] = UNSET, - staleness_seconds: OptionalNullable[int] = UNSET, compute_functions: Optional[ Union[ Iterable[models.TextqlRPCPublicAppComputeFunction], @@ -3365,6 +3386,15 @@ def update( replace_files: OptionalNullable[bool] = UNSET, schedule_enabled: OptionalNullable[bool] = UNSET, cron_string: OptionalNullable[str] = UNSET, + capabilities: Optional[ + Union[ + Iterable[models.TextqlRPCPublicAppCapability], + Iterable[models.TextqlRPCPublicAppCapabilityTypedDict], + ] + ] = None, + replace_capabilities: OptionalNullable[bool] = UNSET, + app_db_setup: Optional[Iterable[str]] = None, + replace_app_db_setup: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -3380,13 +3410,16 @@ def update( :param data_sources: :param replace_data_sources: :param publish: - :param staleness_seconds: :param compute_functions: :param replace_compute_functions: :param files: :param replace_files: :param schedule_enabled: :param cron_string: + :param capabilities: + :param replace_capabilities: + :param app_db_setup: + :param replace_app_db_setup: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -3415,7 +3448,6 @@ def update( ), replace_data_sources=replace_data_sources, publish=publish, - staleness_seconds=staleness_seconds, compute_functions=utils.get_pydantic_model( compute_functions, Optional[List[models.TextqlRPCPublicAppComputeFunction]], @@ -3427,6 +3459,12 @@ def update( replace_files=replace_files, schedule_enabled=schedule_enabled, cron_string=cron_string, + capabilities=utils.get_pydantic_model( + capabilities, Optional[List[models.TextqlRPCPublicAppCapability]] + ), + replace_capabilities=replace_capabilities, + app_db_setup=utils.unmarshal(app_db_setup, Optional[List[str]]), + replace_app_db_setup=replace_app_db_setup, ), ) @@ -3514,7 +3552,6 @@ async def update_async( ] = None, replace_data_sources: OptionalNullable[bool] = UNSET, publish: OptionalNullable[bool] = UNSET, - staleness_seconds: OptionalNullable[int] = UNSET, compute_functions: Optional[ Union[ Iterable[models.TextqlRPCPublicAppComputeFunction], @@ -3531,6 +3568,15 @@ async def update_async( replace_files: OptionalNullable[bool] = UNSET, schedule_enabled: OptionalNullable[bool] = UNSET, cron_string: OptionalNullable[str] = UNSET, + capabilities: Optional[ + Union[ + Iterable[models.TextqlRPCPublicAppCapability], + Iterable[models.TextqlRPCPublicAppCapabilityTypedDict], + ] + ] = None, + replace_capabilities: OptionalNullable[bool] = UNSET, + app_db_setup: Optional[Iterable[str]] = None, + replace_app_db_setup: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -3546,13 +3592,16 @@ async def update_async( :param data_sources: :param replace_data_sources: :param publish: - :param staleness_seconds: :param compute_functions: :param replace_compute_functions: :param files: :param replace_files: :param schedule_enabled: :param cron_string: + :param capabilities: + :param replace_capabilities: + :param app_db_setup: + :param replace_app_db_setup: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -3581,7 +3630,6 @@ async def update_async( ), replace_data_sources=replace_data_sources, publish=publish, - staleness_seconds=staleness_seconds, compute_functions=utils.get_pydantic_model( compute_functions, Optional[List[models.TextqlRPCPublicAppComputeFunction]], @@ -3593,6 +3641,12 @@ async def update_async( replace_files=replace_files, schedule_enabled=schedule_enabled, cron_string=cron_string, + capabilities=utils.get_pydantic_model( + capabilities, Optional[List[models.TextqlRPCPublicAppCapability]] + ), + replace_capabilities=replace_capabilities, + app_db_setup=utils.unmarshal(app_db_setup, Optional[List[str]]), + replace_app_db_setup=replace_app_db_setup, ), ) diff --git a/src/textql_sdk/appservice.py b/src/textql_sdk/appservice.py new file mode 100644 index 0000000..bb410f8 --- /dev/null +++ b/src/textql_sdk/appservice.py @@ -0,0 +1,1352 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .basesdk import BaseSDK +from textql_sdk import errors, models, utils +from textql_sdk._hooks import HookContext +from textql_sdk.types import OptionalNullable, UNSET +from textql_sdk.utils import get_security_from_env +from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response +from typing import Mapping, Optional, Union + + +class AppService(BaseSDK): + r"""AppService manages data apps: the generative app execution primitive. + An app is agent-authored single-file HTML/JS/CSS executing in a CSP sandbox, + fed a snapshot of its declared data sources. First-class resource, not a dashboard. + """ + + def app_service_get_app_member_state( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceGetAppMemberStateResponse: + r"""Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL. + + Staff-only (superadmin gated in-handler): publishes the embedded component + gallery as an app tree and returns its signed viewer URL. + + :param connect_timeout_ms: + :param app_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceGetAppMemberStateRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppGetAppMemberStateRequest( + app_id=app_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/GetAppMemberState", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppGetAppMemberStateRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_GetAppMemberState", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppGetAppMemberStateResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_get_app_member_state_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceGetAppMemberStateResponse: + r"""Staff-only (superadmin gated in-handler): publishes the embedded component gallery as an app tree and returns its signed viewer URL. + + Staff-only (superadmin gated in-handler): publishes the embedded component + gallery as an app tree and returns its signed viewer URL. + + :param connect_timeout_ms: + :param app_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceGetAppMemberStateRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppGetAppMemberStateRequest( + app_id=app_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/GetAppMemberState", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppGetAppMemberStateRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_GetAppMemberState", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppGetAppMemberStateResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def app_service_list_app_activity_since( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + scope: OptionalNullable[str] = UNSET, + after_seq: Optional[Union[models.AfterSeq, models.AfterSeqTypedDict]] = None, + limit: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceListAppActivitySinceResponse: + r"""ListAppActivitySince + + :param connect_timeout_ms: + :param app_id: + :param scope: + :param after_seq: + :param limit: server clamps to 200; <=0 means default + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceListAppActivitySinceRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppListAppActivitySinceRequest( + app_id=app_id, + scope=scope, + after_seq=after_seq, + limit=limit, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/ListAppActivitySince", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppListAppActivitySinceRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_ListAppActivitySince", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppListAppActivitySinceResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_list_app_activity_since_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + scope: OptionalNullable[str] = UNSET, + after_seq: Optional[Union[models.AfterSeq, models.AfterSeqTypedDict]] = None, + limit: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceListAppActivitySinceResponse: + r"""ListAppActivitySince + + :param connect_timeout_ms: + :param app_id: + :param scope: + :param after_seq: + :param limit: server clamps to 200; <=0 means default + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceListAppActivitySinceRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppListAppActivitySinceRequest( + app_id=app_id, + scope=scope, + after_seq=after_seq, + limit=limit, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/ListAppActivitySince", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppListAppActivitySinceRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_ListAppActivitySince", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppListAppActivitySinceResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def app_service_list_my_app_member_activity( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + type_: OptionalNullable[str] = UNSET, + limit: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceListMyAppMemberActivityResponse: + r"""Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. + + Append-only per-member activity log. Listing is own rows only; no + cross-member reads in this release. + + :param connect_timeout_ms: + :param app_id: + :param type: + :param limit: server clamps to 200; <=0 means default + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceListMyAppMemberActivityRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppListMyAppMemberActivityRequest( + app_id=app_id, + type=type_, + limit=limit, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/ListMyAppMemberActivity", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppListMyAppMemberActivityRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_ListMyAppMemberActivity", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppListMyAppMemberActivityResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_list_my_app_member_activity_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + type_: OptionalNullable[str] = UNSET, + limit: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceListMyAppMemberActivityResponse: + r"""Append-only per-member activity log. Listing is own rows only; no cross-member reads in this release. + + Append-only per-member activity log. Listing is own rows only; no + cross-member reads in this release. + + :param connect_timeout_ms: + :param app_id: + :param type: + :param limit: server clamps to 200; <=0 means default + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceListMyAppMemberActivityRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppListMyAppMemberActivityRequest( + app_id=app_id, + type=type_, + limit=limit, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/ListMyAppMemberActivity", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppListMyAppMemberActivityRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_ListMyAppMemberActivity", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppListMyAppMemberActivityResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def app_service_presence_heartbeat( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + zone: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServicePresenceHeartbeatResponse: + r"""Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + + Server stream of live activity batches + presence snapshots, driven by + Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + + :param connect_timeout_ms: + :param app_id: + :param zone: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServicePresenceHeartbeatRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppPresenceHeartbeatRequest( + app_id=app_id, + zone=zone, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/PresenceHeartbeat", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppPresenceHeartbeatRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_PresenceHeartbeat", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_presence_heartbeat_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + zone: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServicePresenceHeartbeatResponse: + r"""Server stream of live activity batches + presence snapshots, driven by Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + + Server stream of live activity batches + presence snapshots, driven by + Valkey nudges over the app_activity:{app_id} channel; Postgres stays SSoT. + + :param connect_timeout_ms: + :param app_id: + :param zone: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServicePresenceHeartbeatRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppPresenceHeartbeatRequest( + app_id=app_id, + zone=zone, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/PresenceHeartbeat", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppPresenceHeartbeatRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_PresenceHeartbeat", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def app_service_record_app_member_activity( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + type_: Optional[str] = None, + scope: OptionalNullable[str] = UNSET, + payload_json: OptionalNullable[str] = UNSET, + idem_key: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceRecordAppMemberActivityResponse: + r"""RecordAppMemberActivity + + :param connect_timeout_ms: + :param app_id: + :param type: + :param scope: + :param payload_json: JSON object, usage payload authored by the app + :param idem_key: duplicate key returns the existing row, not an error + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceRecordAppMemberActivityRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppRecordAppMemberActivityRequest( + app_id=app_id, + type=type_, + scope=scope, + payload_json=payload_json, + idem_key=idem_key, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/RecordAppMemberActivity", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppRecordAppMemberActivityRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_RecordAppMemberActivity", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppRecordAppMemberActivityResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_record_app_member_activity_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + type_: Optional[str] = None, + scope: OptionalNullable[str] = UNSET, + payload_json: OptionalNullable[str] = UNSET, + idem_key: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceRecordAppMemberActivityResponse: + r"""RecordAppMemberActivity + + :param connect_timeout_ms: + :param app_id: + :param type: + :param scope: + :param payload_json: JSON object, usage payload authored by the app + :param idem_key: duplicate key returns the existing row, not an error + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceRecordAppMemberActivityRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppRecordAppMemberActivityRequest( + app_id=app_id, + type=type_, + scope=scope, + payload_json=payload_json, + idem_key=idem_key, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/RecordAppMemberActivity", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppRecordAppMemberActivityRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_RecordAppMemberActivity", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppRecordAppMemberActivityResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def app_service_set_app_member_state( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + value_json: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceSetAppMemberStateResponse: + r"""Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state. + + Per-member app state: one JSON blob per (app, member) so apps remember + settings/progress. Member always resolved server-side from auth context; + per-member persistence, so viewers with read access can save their own state. + + :param connect_timeout_ms: + :param app_id: + :param value_json: whole-object JSON, last-write-wins, max 64KB + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceSetAppMemberStateRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppSetAppMemberStateRequest( + app_id=app_id, + value_json=value_json, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.app.AppService/SetAppMemberState", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppSetAppMemberStateRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_SetAppMemberState", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppSetAppMemberStateResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def app_service_set_app_member_state_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + app_id: Optional[str] = None, + value_json: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.AppServiceSetAppMemberStateResponse: + r"""Per-member app state: one JSON blob per (app, member) so apps remember settings/progress. Member always resolved server-side from auth context; per-member persistence, so viewers with read access can save their own state. + + Per-member app state: one JSON blob per (app, member) so apps remember + settings/progress. Member always resolved server-side from auth context; + per-member persistence, so viewers with read access can save their own state. + + :param connect_timeout_ms: + :param app_id: + :param value_json: whole-object JSON, last-write-wins, max 64KB + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.AppServiceSetAppMemberStateRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicAppSetAppMemberStateRequest( + app_id=app_id, + value_json=value_json, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.app.AppService/SetAppMemberState", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicAppSetAppMemberStateRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="AppService_SetAppMemberState", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["AppService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicAppSetAppMemberStateResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/chats.py b/src/textql_sdk/chats.py index b1ad174..3457bc2 100644 --- a/src/textql_sdk/chats.py +++ b/src/textql_sdk/chats.py @@ -2369,6 +2369,7 @@ def create_chat( methodology: Optional[models.TextqlRPCPublicChatMethodology] = None, vllm_model_id: OptionalNullable[str] = UNSET, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2388,6 +2389,8 @@ def create_chat( Only valid when model == MODEL_VLLM. Requires @textql.com superadmin. :param fast_mode: fast_mode enables Anthropic's fast inference (speed: \"fast\") for this chat. Currently supported on Opus 4.6 only. Pricing is 6x standard rates. + :param max_thinking: max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -2417,6 +2420,7 @@ def create_chat( methodology=methodology, vllm_model_id=vllm_model_id, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) @@ -2506,6 +2510,7 @@ async def create_chat_async( methodology: Optional[models.TextqlRPCPublicChatMethodology] = None, vllm_model_id: OptionalNullable[str] = UNSET, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -2525,6 +2530,8 @@ async def create_chat_async( Only valid when model == MODEL_VLLM. Requires @textql.com superadmin. :param fast_mode: fast_mode enables Anthropic's fast inference (speed: \"fast\") for this chat. Currently supported on Opus 4.6 only. Pricing is 6x standard rates. + :param max_thinking: max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -2554,6 +2561,7 @@ async def create_chat_async( methodology=methodology, vllm_model_id=vllm_model_id, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) @@ -4563,6 +4571,7 @@ def get_all( Iterable[models.TextqlRPCPublicChatThreadWarningType] ] = None, topic_ids: Optional[Iterable[str]] = None, + connector_ids: Optional[Iterable[int]] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -4768,6 +4777,7 @@ def get_all( :param thread_warning_types: Filter to chats with at least one thread_warning of any of these types (union). :param topic_ids: Only chats tagged with at least one of these custom topics (verdict='tagged'). Ignored when empty. + :param connector_ids: Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -4813,6 +4823,7 @@ def get_all( Optional[List[models.TextqlRPCPublicChatThreadWarningType]], ), topic_ids=utils.unmarshal(topic_ids, Optional[List[str]]), + connector_ids=utils.unmarshal(connector_ids, Optional[List[int]]), ), ) @@ -4910,6 +4921,7 @@ async def get_all_async( Iterable[models.TextqlRPCPublicChatThreadWarningType] ] = None, topic_ids: Optional[Iterable[str]] = None, + connector_ids: Optional[Iterable[int]] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -5115,6 +5127,7 @@ async def get_all_async( :param thread_warning_types: Filter to chats with at least one thread_warning of any of these types (union). :param topic_ids: Only chats tagged with at least one of these custom topics (verdict='tagged'). Ignored when empty. + :param connector_ids: Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty. :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -5160,6 +5173,7 @@ async def get_all_async( Optional[List[models.TextqlRPCPublicChatThreadWarningType]], ), topic_ids=utils.unmarshal(topic_ids, Optional[List[str]]), + connector_ids=utils.unmarshal(connector_ids, Optional[List[int]]), ), ) @@ -7426,6 +7440,7 @@ def run( research: OptionalNullable[bool] = UNSET, model: Optional[models.TextqlRPCPublicChatLlmModel] = None, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -7439,6 +7454,7 @@ def run( :param research: :param model: :param fast_mode: + :param max_thinking: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -7462,6 +7478,7 @@ def run( research=research, model=model, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) @@ -7542,6 +7559,7 @@ async def run_async( research: OptionalNullable[bool] = UNSET, model: Optional[models.TextqlRPCPublicChatLlmModel] = None, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -7555,6 +7573,7 @@ async def run_async( :param research: :param model: :param fast_mode: + :param max_thinking: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -7578,6 +7597,7 @@ async def run_async( research=research, model=model, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) @@ -8545,6 +8565,7 @@ def update( dashboard_mode: OptionalNullable[bool] = UNSET, methodology: Optional[models.TextqlRPCPublicChatMethodology] = None, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -8559,6 +8580,7 @@ def update( :param dashboard_mode: update dashboard mode :param methodology: :param fast_mode: update fast inference mode + :param max_thinking: update max thinking mode :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -8583,6 +8605,7 @@ def update( dashboard_mode=dashboard_mode, methodology=methodology, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) @@ -8664,6 +8687,7 @@ async def update_async( dashboard_mode: OptionalNullable[bool] = UNSET, methodology: Optional[models.TextqlRPCPublicChatMethodology] = None, fast_mode: OptionalNullable[bool] = UNSET, + max_thinking: OptionalNullable[bool] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -8678,6 +8702,7 @@ async def update_async( :param dashboard_mode: update dashboard mode :param methodology: :param fast_mode: update fast inference mode + :param max_thinking: update max thinking mode :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -8702,6 +8727,7 @@ async def update_async( dashboard_mode=dashboard_mode, methodology=methodology, fast_mode=fast_mode, + max_thinking=max_thinking, ), ) diff --git a/src/textql_sdk/libraries.py b/src/textql_sdk/libraries.py deleted file mode 100644 index aef8abc..0000000 --- a/src/textql_sdk/libraries.py +++ /dev/null @@ -1,15870 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from .basesdk import BaseSDK -from datetime import timedelta -from textql_sdk import errors, models, utils -from textql_sdk._hooks import HookContext -from textql_sdk.types import OptionalNullable, UNSET -from textql_sdk.utils import get_security_from_env -from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Iterable, List, Mapping, Optional, Union - - -class Libraries(BaseSDK): - def add_submodule( - self, - *, - connect_timeout_ms: Optional[float] = None, - url: Optional[str] = None, - path: Optional[str] = None, - branch: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceAddLibrarySubmoduleResponse: - r"""AddLibrarySubmodule - - :param connect_timeout_ms: - :param url: - :param path: - :param branch: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceAddLibrarySubmoduleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesAddLibrarySubmoduleRequest( - url=url, - path=path, - branch=branch, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/AddLibrarySubmodule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesAddLibrarySubmoduleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_AddLibrarySubmodule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesAddLibrarySubmoduleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def add_submodule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - url: Optional[str] = None, - path: Optional[str] = None, - branch: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceAddLibrarySubmoduleResponse: - r"""AddLibrarySubmodule - - :param connect_timeout_ms: - :param url: - :param path: - :param branch: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceAddLibrarySubmoduleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesAddLibrarySubmoduleRequest( - url=url, - path=path, - branch=branch, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/AddLibrarySubmodule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesAddLibrarySubmoduleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_AddLibrarySubmodule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesAddLibrarySubmoduleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def approve_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceApprovePatchResponse: - r"""ApprovePatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceApprovePatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesApprovePatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ApprovePatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesApprovePatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ApprovePatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesApprovePatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def approve_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceApprovePatchResponse: - r"""ApprovePatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceApprovePatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesApprovePatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ApprovePatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesApprovePatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ApprovePatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesApprovePatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def configure_library_remote( - self, - *, - connect_timeout_ms: Optional[float] = None, - remote_url: Optional[str] = None, - auth_type: Optional[str] = None, - token: OptionalNullable[str] = UNSET, - ssh_private_key: OptionalNullable[str] = UNSET, - ssh_key_password: OptionalNullable[str] = UNSET, - default_branch: OptionalNullable[str] = UNSET, - github_app_id: OptionalNullable[str] = UNSET, - github_app_installation_id: OptionalNullable[str] = UNSET, - github_app_private_key: OptionalNullable[str] = UNSET, - signing_key_type: OptionalNullable[str] = UNSET, - signing_key: OptionalNullable[str] = UNSET, - push_mode: OptionalNullable[str] = UNSET, - use_hosted_github_app: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceConfigureLibraryRemoteResponse: - r"""ConfigureLibraryRemote - - :param connect_timeout_ms: - :param remote_url: - :param auth_type: - :param token: - :param ssh_private_key: - :param ssh_key_password: - :param default_branch: - :param github_app_id: - :param github_app_installation_id: - :param github_app_private_key: - :param signing_key_type: - :param signing_key: - :param push_mode: - :param use_hosted_github_app: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceConfigureLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesConfigureLibraryRemoteRequest( - remote_url=remote_url, - auth_type=auth_type, - token=token, - ssh_private_key=ssh_private_key, - ssh_key_password=ssh_key_password, - default_branch=default_branch, - github_app_id=github_app_id, - github_app_installation_id=github_app_installation_id, - github_app_private_key=github_app_private_key, - signing_key_type=signing_key_type, - signing_key=signing_key, - push_mode=push_mode, - use_hosted_github_app=use_hosted_github_app, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ConfigureLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesConfigureLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ConfigureLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesConfigureLibraryRemoteResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def configure_library_remote_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - remote_url: Optional[str] = None, - auth_type: Optional[str] = None, - token: OptionalNullable[str] = UNSET, - ssh_private_key: OptionalNullable[str] = UNSET, - ssh_key_password: OptionalNullable[str] = UNSET, - default_branch: OptionalNullable[str] = UNSET, - github_app_id: OptionalNullable[str] = UNSET, - github_app_installation_id: OptionalNullable[str] = UNSET, - github_app_private_key: OptionalNullable[str] = UNSET, - signing_key_type: OptionalNullable[str] = UNSET, - signing_key: OptionalNullable[str] = UNSET, - push_mode: OptionalNullable[str] = UNSET, - use_hosted_github_app: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceConfigureLibraryRemoteResponse: - r"""ConfigureLibraryRemote - - :param connect_timeout_ms: - :param remote_url: - :param auth_type: - :param token: - :param ssh_private_key: - :param ssh_key_password: - :param default_branch: - :param github_app_id: - :param github_app_installation_id: - :param github_app_private_key: - :param signing_key_type: - :param signing_key: - :param push_mode: - :param use_hosted_github_app: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceConfigureLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesConfigureLibraryRemoteRequest( - remote_url=remote_url, - auth_type=auth_type, - token=token, - ssh_private_key=ssh_private_key, - ssh_key_password=ssh_key_password, - default_branch=default_branch, - github_app_id=github_app_id, - github_app_installation_id=github_app_installation_id, - github_app_private_key=github_app_private_key, - signing_key_type=signing_key_type, - signing_key=signing_key, - push_mode=push_mode, - use_hosted_github_app=use_hosted_github_app, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ConfigureLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesConfigureLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ConfigureLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesConfigureLibraryRemoteResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def create_approval_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesApprovalRuleInput, - models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateApprovalRuleResponse: - r"""CreateApprovalRule - - :param connect_timeout_ms: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateApprovalRuleRequest( - rule=utils.get_pydantic_model( - rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateApprovalRuleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def create_approval_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesApprovalRuleInput, - models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateApprovalRuleResponse: - r"""CreateApprovalRule - - :param connect_timeout_ms: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateApprovalRuleRequest( - rule=utils.get_pydantic_model( - rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateApprovalRuleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def create_context_patch_auto_approve_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateContextPatchAutoApproveRuleResponse: - r"""CreateContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest( - rule=utils.get_pydantic_model( - rule, - Optional[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput - ], - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def create_context_patch_auto_approve_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateContextPatchAutoApproveRuleResponse: - r"""CreateContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest( - rule=utils.get_pydantic_model( - rule, - Optional[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput - ], - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def create_library_directory( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateLibraryDirectoryResponse: - r"""CreateLibraryDirectory - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateLibraryDirectoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateLibraryDirectoryRequest( - path=path, - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateLibraryDirectory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateLibraryDirectoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateLibraryDirectory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateLibraryDirectoryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def create_library_directory_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateLibraryDirectoryResponse: - r"""CreateLibraryDirectory - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateLibraryDirectoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateLibraryDirectoryRequest( - path=path, - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateLibraryDirectory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateLibraryDirectoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateLibraryDirectory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateLibraryDirectoryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def create_file_upload_url( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - mime_type: Optional[str] = None, - size_bytes: Optional[ - Union[ - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes, - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateLibraryFileUploadURLResponse: - r"""CreateLibraryFileUploadUrl - - :param connect_timeout_ms: - :param path: - :param mime_type: - :param size_bytes: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateLibraryFileUploadURLRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest( - path=path, - mime_type=mime_type, - size_bytes=size_bytes, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateLibraryFileUploadUrl", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateLibraryFileUploadUrl", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def create_file_upload_url_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - mime_type: Optional[str] = None, - size_bytes: Optional[ - Union[ - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes, - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceCreateLibraryFileUploadURLResponse: - r"""CreateLibraryFileUploadUrl - - :param connect_timeout_ms: - :param path: - :param mime_type: - :param size_bytes: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceCreateLibraryFileUploadURLRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest( - path=path, - mime_type=mime_type, - size_bytes=size_bytes, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/CreateLibraryFileUploadUrl", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_CreateLibraryFileUploadUrl", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def delete_approval_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteApprovalRuleResponse: - r"""DeleteApprovalRule - - :param connect_timeout_ms: - :param id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest( - id=id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def delete_approval_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteApprovalRuleResponse: - r"""DeleteApprovalRule - - :param connect_timeout_ms: - :param id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest( - id=id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def delete_context_patch_auto_approve_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteContextPatchAutoApproveRuleResponse: - r"""DeleteContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest( - id=id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def delete_context_patch_auto_approve_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteContextPatchAutoApproveRuleResponse: - r"""DeleteContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest( - id=id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def delete_library_directory( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - recursive: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryDirectoryResponse: - r"""DeleteLibraryDirectory - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param recursive: When true, delete the directory and all of its contents (files and - subdirectories) in a single atomic commit. The caller must have write - access to every nested subdirectory. When false (default), the directory - must be empty of non-reserved entries. - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryDirectoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest( - path=path, - commit_message=commit_message, - recursive=recursive, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryDirectory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryDirectory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def delete_library_directory_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - recursive: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryDirectoryResponse: - r"""DeleteLibraryDirectory - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param recursive: When true, delete the directory and all of its contents (files and - subdirectories) in a single atomic commit. The caller must have write - access to every nested subdirectory. When false (default), the directory - must be empty of non-reserved entries. - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryDirectoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest( - path=path, - commit_message=commit_message, - recursive=recursive, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryDirectory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryDirectory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def delete_library_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryFileResponse: - r"""DeleteLibraryFile - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryFileRequest( - path=path, - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def delete_library_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryFileResponse: - r"""DeleteLibraryFile - - :param connect_timeout_ms: - :param path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryFileRequest( - path=path, - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def delete_owners( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - role_ids: Optional[Iterable[str]] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryOwnersResponse: - r"""DeleteLibraryOwners - - :param connect_timeout_ms: - :param path: - :param role_ids: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryOwnersRequest( - path=path, - role_ids=utils.unmarshal(role_ids, Optional[List[str]]), - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def delete_owners_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - role_ids: Optional[Iterable[str]] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDeleteLibraryOwnersResponse: - r"""DeleteLibraryOwners - - :param connect_timeout_ms: - :param path: - :param role_ids: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDeleteLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDeleteLibraryOwnersRequest( - path=path, - role_ids=utils.unmarshal(role_ids, Optional[List[str]]), - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DeleteLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDeleteLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DeleteLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def deny_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDenyPatchResponse: - r"""DenyPatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDenyPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDenyPatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DenyPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDenyPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DenyPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def deny_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceDenyPatchResponse: - r"""DenyPatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceDenyPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesDenyPatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/DenyPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesDenyPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_DenyPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def exchange_github_code( - self, - *, - connect_timeout_ms: Optional[float] = None, - code: Optional[str] = None, - state: Optional[str] = None, - code_verifier: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceExchangeLibraryGithubCodeResponse: - r"""ExchangeLibraryGithubCode - - :param connect_timeout_ms: - :param code: - :param state: - :param code_verifier: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceExchangeLibraryGithubCodeRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest( - code=code, - state=state, - code_verifier=code_verifier, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ExchangeLibraryGithubCode", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ExchangeLibraryGithubCode", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def exchange_github_code_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - code: Optional[str] = None, - state: Optional[str] = None, - code_verifier: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceExchangeLibraryGithubCodeResponse: - r"""ExchangeLibraryGithubCode - - :param connect_timeout_ms: - :param code: - :param state: - :param code_verifier: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceExchangeLibraryGithubCodeRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest( - code=code, - state=state, - code_verifier=code_verifier, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ExchangeLibraryGithubCode", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ExchangeLibraryGithubCode", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def finalize_file_upload( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - upload_key: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceFinalizeLibraryFileUploadResponse: - r"""FinalizeLibraryFileUpload - - :param connect_timeout_ms: - :param path: - :param upload_key: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceFinalizeLibraryFileUploadRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest( - path=path, - upload_key=upload_key, - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/FinalizeLibraryFileUpload", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_FinalizeLibraryFileUpload", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def finalize_file_upload_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - upload_key: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceFinalizeLibraryFileUploadResponse: - r"""FinalizeLibraryFileUpload - - :param connect_timeout_ms: - :param path: - :param upload_key: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceFinalizeLibraryFileUploadRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest( - path=path, - upload_key=upload_key, - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/FinalizeLibraryFileUpload", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_FinalizeLibraryFileUpload", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_codeowner_coverage( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetCodeownerCoverageResponse: - r"""GetCodeownerCoverage - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetCodeownerCoverageRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetCodeownerCoverage", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetCodeownerCoverage", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_codeowner_coverage_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetCodeownerCoverageResponse: - r"""GetCodeownerCoverage - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetCodeownerCoverageRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetCodeownerCoverage", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetCodeownerCoverage", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_config_export_capabilities( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetConfigExportCapabilitiesResponse: - r"""GetConfigExportCapabilities - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetConfigExportCapabilitiesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetConfigExportCapabilities", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetConfigExportCapabilities", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_config_export_capabilities_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetConfigExportCapabilitiesResponse: - r"""GetConfigExportCapabilities - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetConfigExportCapabilitiesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetConfigExportCapabilities", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetConfigExportCapabilities", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_effective_owners( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetEffectiveLibraryOwnersResponse: - r"""GetEffectiveLibraryOwners - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetEffectiveLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest( - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetEffectiveLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetEffectiveLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_effective_owners_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetEffectiveLibraryOwnersResponse: - r"""GetEffectiveLibraryOwners - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetEffectiveLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest( - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetEffectiveLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetEffectiveLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_file_usage( - self, - *, - connect_timeout_ms: Optional[float] = None, - path_prefix: OptionalNullable[str] = UNSET, - order: Optional[models.TextqlRPCPublicPatchesUsageOrderBy] = None, - observation_period: Optional[timedelta] = None, - page_cursor: OptionalNullable[str] = UNSET, - page_size: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetFileUsageResponse: - r"""GetFileUsage - - :param connect_timeout_ms: - :param path_prefix: - :param order: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param page_cursor: - :param page_size: default 100, capped at 100 - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetFileUsageRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetFileUsageRequest( - path_prefix=path_prefix, - order=order, - observation_period=observation_period, - page_cursor=page_cursor, - page_size=page_size, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetFileUsage", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetFileUsageRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetFileUsage", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetFileUsageResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_file_usage_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path_prefix: OptionalNullable[str] = UNSET, - order: Optional[models.TextqlRPCPublicPatchesUsageOrderBy] = None, - observation_period: Optional[timedelta] = None, - page_cursor: OptionalNullable[str] = UNSET, - page_size: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetFileUsageResponse: - r"""GetFileUsage - - :param connect_timeout_ms: - :param path_prefix: - :param order: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param page_cursor: - :param page_size: default 100, capped at 100 - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetFileUsageRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetFileUsageRequest( - path_prefix=path_prefix, - order=order, - observation_period=observation_period, - page_cursor=page_cursor, - page_size=page_size, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetFileUsage", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetFileUsageRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetFileUsage", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetFileUsageResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_file_usage_timeline( - self, - *, - connect_timeout_ms: Optional[float] = None, - path_prefix: OptionalNullable[str] = UNSET, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetFileUsageTimelineResponse: - r"""GetFileUsageTimeline - - :param connect_timeout_ms: - :param path_prefix: Restrict to files under this prefix; the whole library when unset. - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetFileUsageTimelineRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest( - path_prefix=path_prefix, - observation_period=observation_period, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetFileUsageTimeline", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetFileUsageTimeline", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_file_usage_timeline_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path_prefix: OptionalNullable[str] = UNSET, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetFileUsageTimelineResponse: - r"""GetFileUsageTimeline - - :param connect_timeout_ms: - :param path_prefix: Restrict to files under this prefix; the whole library when unset. - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetFileUsageTimelineRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest( - path_prefix=path_prefix, - observation_period=observation_period, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetFileUsageTimeline", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetFileUsageTimeline", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_ana_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryAnaConfigResponse: - r"""GetLibraryAnaConfig - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryAnaConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryAnaConfigRequest( - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryAnaConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryAnaConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryAnaConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryAnaConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_ana_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryAnaConfigResponse: - r"""GetLibraryAnaConfig - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryAnaConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryAnaConfigRequest( - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryAnaConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryAnaConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryAnaConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryAnaConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryFileResponse: - r"""GetLibraryFile - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryFileRequest( - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryFileResponse: - r"""GetLibraryFile - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryFileRequest( - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_library_github_o_auth_url( - self, - *, - connect_timeout_ms: Optional[float] = None, - state: Optional[str] = None, - code_challenge: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryGithubOAuthURLResponse: - r"""GetLibraryGithubOAuthURL - - :param connect_timeout_ms: - :param state: - :param code_challenge: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryGithubOAuthURLRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest( - state=state, - code_challenge=code_challenge, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryGithubOAuthURL", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryGithubOAuthURL", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_library_github_o_auth_url_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - state: Optional[str] = None, - code_challenge: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryGithubOAuthURLResponse: - r"""GetLibraryGithubOAuthURL - - :param connect_timeout_ms: - :param state: - :param code_challenge: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryGithubOAuthURLRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest( - state=state, - code_challenge=code_challenge, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryGithubOAuthURL", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryGithubOAuthURL", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_history_file_diff( - self, - *, - connect_timeout_ms: Optional[float] = None, - commit_id: Optional[str] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryHistoryFileDiffResponse: - r"""GetLibraryHistoryFileDiff - - :param connect_timeout_ms: - :param commit_id: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryHistoryFileDiffRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest( - commit_id=commit_id, - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryHistoryFileDiff", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryHistoryFileDiff", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_history_file_diff_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - commit_id: Optional[str] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryHistoryFileDiffResponse: - r"""GetLibraryHistoryFileDiff - - :param connect_timeout_ms: - :param commit_id: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryHistoryFileDiffRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest( - commit_id=commit_id, - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryHistoryFileDiff", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryHistoryFileDiff", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_migration_status( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryMigrationStatusResponse: - r"""GetLibraryMigrationStatus - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryMigrationStatusRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryMigrationStatus", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryMigrationStatus", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_migration_status_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryMigrationStatusResponse: - r"""GetLibraryMigrationStatus - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryMigrationStatusRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryMigrationStatus", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryMigrationStatus", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_library_owners( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryOwnersResponse: - r"""GetLibraryOwners - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryOwnersRequest( - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_library_owners_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryOwnersResponse: - r"""GetLibraryOwners - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibraryOwnersRequest( - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_remote( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibraryRemoteRequest, - models.TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryRemoteResponse: - r"""GetLibraryRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibraryRemoteRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryRemoteResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_remote_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibraryRemoteRequest, - models.TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibraryRemoteResponse: - r"""GetLibraryRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibraryRemoteRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibraryRemoteResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_size_timeline( - self, - *, - connect_timeout_ms: Optional[float] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibrarySizeTimelineResponse: - r"""GetLibrarySizeTimeline - - :param connect_timeout_ms: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibrarySizeTimelineRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest( - observation_period=observation_period, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibrarySizeTimeline", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibrarySizeTimeline", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_size_timeline_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibrarySizeTimelineResponse: - r"""GetLibrarySizeTimeline - - :param connect_timeout_ms: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibrarySizeTimelineRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest( - observation_period=observation_period, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibrarySizeTimeline", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibrarySizeTimeline", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_library_sync_conflicts( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibrarySyncConflictsResponse: - r"""GetLibrarySyncConflicts - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibrarySyncConflictsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibrarySyncConflicts", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibrarySyncConflicts", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_library_sync_conflicts_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetLibrarySyncConflictsResponse: - r"""GetLibrarySyncConflicts - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetLibrarySyncConflictsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetLibrarySyncConflicts", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetLibrarySyncConflicts", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_ontology_usage_summary( - self, - *, - connect_timeout_ms: Optional[float] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetOntologyUsageSummaryResponse: - r"""GetOntologyUsageSummary - - :param connect_timeout_ms: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetOntologyUsageSummaryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest( - observation_period=observation_period, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetOntologyUsageSummary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetOntologyUsageSummary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_ontology_usage_summary_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetOntologyUsageSummaryResponse: - r"""GetOntologyUsageSummary - - :param connect_timeout_ms: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetOntologyUsageSummaryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest( - observation_period=observation_period, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetOntologyUsageSummary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetOntologyUsageSummary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - revision: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchResponse: - r"""GetPatch - - :param connect_timeout_ms: - :param patch_id: - :param revision: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchRequest( - patch_id=patch_id, - revision=revision, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - revision: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchResponse: - r"""GetPatch - - :param connect_timeout_ms: - :param patch_id: - :param revision: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchRequest( - patch_id=patch_id, - revision=revision, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_patch_by_number( - self, - *, - connect_timeout_ms: Optional[float] = None, - number: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchByNumberResponse: - r"""GetPatchByNumber - - :param connect_timeout_ms: - :param number: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchByNumberRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchByNumberRequest( - number=number, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatchByNumber", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchByNumberRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatchByNumber", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_patch_by_number_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - number: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchByNumberResponse: - r"""GetPatchByNumber - - :param connect_timeout_ms: - :param number: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchByNumberRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchByNumberRequest( - number=number, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatchByNumber", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchByNumberRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatchByNumber", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_patch_capabilities( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchCapabilitiesResponse: - r"""GetPatchCapabilities - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchCapabilitiesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatchCapabilities", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatchCapabilities", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_patch_capabilities_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetPatchCapabilitiesResponse: - r"""GetPatchCapabilities - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetPatchCapabilitiesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetPatchCapabilities", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetPatchCapabilities", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_raw_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_number: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetRawPatchResponse: - r"""GetRawPatch - - :param connect_timeout_ms: - :param patch_number: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetRawPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetRawPatchRequest( - patch_number=patch_number, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetRawPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetRawPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetRawPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetRawPatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_raw_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_number: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetRawPatchResponse: - r"""GetRawPatch - - :param connect_timeout_ms: - :param patch_number: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetRawPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetRawPatchRequest( - patch_number=patch_number, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetRawPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetRawPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetRawPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetRawPatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_usage_details_for_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - file_path: Optional[str] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetUsageDetailsForFileResponse: - r"""GetUsageDetailsForFile - - :param connect_timeout_ms: - :param file_path: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetUsageDetailsForFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest( - file_path=file_path, - observation_period=observation_period, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetUsageDetailsForFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetUsageDetailsForFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_usage_details_for_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - file_path: Optional[str] = None, - observation_period: Optional[timedelta] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceGetUsageDetailsForFileResponse: - r"""GetUsageDetailsForFile - - :param connect_timeout_ms: - :param file_path: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceGetUsageDetailsForFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest( - file_path=file_path, - observation_period=observation_period, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/GetUsageDetailsForFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_GetUsageDetailsForFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_approval_rules( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListApprovalRulesRequest, - models.TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListApprovalRulesResponse: - r"""ListApprovalRules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListApprovalRulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListApprovalRulesRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListApprovalRules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListApprovalRulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListApprovalRules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListApprovalRulesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_approval_rules_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListApprovalRulesRequest, - models.TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListApprovalRulesResponse: - r"""ListApprovalRules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListApprovalRulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListApprovalRulesRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListApprovalRules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListApprovalRulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListApprovalRules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListApprovalRulesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_chats_for_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - file_path: Optional[str] = None, - observation_period: Optional[timedelta] = None, - limit: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListChatsForFileResponse: - r"""ListChatsForFile - - :param connect_timeout_ms: - :param file_path: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param limit: default and cap applied server-side - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListChatsForFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListChatsForFileRequest( - file_path=file_path, - observation_period=observation_period, - limit=limit, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListChatsForFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListChatsForFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListChatsForFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListChatsForFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_chats_for_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - file_path: Optional[str] = None, - observation_period: Optional[timedelta] = None, - limit: OptionalNullable[int] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListChatsForFileResponse: - r"""ListChatsForFile - - :param connect_timeout_ms: - :param file_path: - :param observation_period: A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - :param limit: default and cap applied server-side - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListChatsForFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListChatsForFileRequest( - file_path=file_path, - observation_period=observation_period, - limit=limit, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListChatsForFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListChatsForFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListChatsForFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListChatsForFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_context_patch_auto_approve_rules( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListContextPatchAutoApproveRulesResponse: - r"""ListContextPatchAutoApproveRules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListContextPatchAutoApproveRulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListContextPatchAutoApproveRules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListContextPatchAutoApproveRules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_context_patch_auto_approve_rules_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListContextPatchAutoApproveRulesResponse: - r"""ListContextPatchAutoApproveRules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListContextPatchAutoApproveRulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListContextPatchAutoApproveRules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListContextPatchAutoApproveRules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_library_entries( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - recursive: OptionalNullable[bool] = UNSET, - include_debug_files: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryEntriesResponse: - r"""ListLibraryEntries - - :param connect_timeout_ms: - :param path: - :param recursive: - :param include_debug_files: when true, reserved files like OWNERS are included - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryEntriesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibraryEntriesRequest( - path=path, - recursive=recursive, - include_debug_files=include_debug_files, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryEntries", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryEntriesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryEntries", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryEntriesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_library_entries_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - recursive: OptionalNullable[bool] = UNSET, - include_debug_files: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryEntriesResponse: - r"""ListLibraryEntries - - :param connect_timeout_ms: - :param path: - :param recursive: - :param include_debug_files: when true, reserved files like OWNERS are included - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryEntriesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibraryEntriesRequest( - path=path, - recursive=recursive, - include_debug_files=include_debug_files, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryEntries", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryEntriesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryEntries", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryEntriesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_library_history( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - path: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryHistoryResponse: - r"""ListLibraryHistory - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryHistoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibraryHistoryRequest( - page_size=page_size, - page_token=page_token, - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryHistory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryHistoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryHistory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryHistoryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_library_history_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - path: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryHistoryResponse: - r"""ListLibraryHistory - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryHistoryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibraryHistoryRequest( - page_size=page_size, - page_token=page_token, - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryHistory", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryHistoryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryHistory", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryHistoryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_imports( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListLibraryImportsRequest, - models.TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryImportsResponse: - r"""ListLibraryImports - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryImportsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListLibraryImportsRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryImports", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryImportsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryImports", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryImportsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_imports_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListLibraryImportsRequest, - models.TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibraryImportsResponse: - r"""ListLibraryImports - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibraryImportsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListLibraryImportsRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibraryImports", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibraryImportsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibraryImports", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibraryImportsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_library_submodules( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibrarySubmodulesResponse: - r"""ListLibrarySubmodules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibrarySubmodulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibrarySubmodules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibrarySubmodules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibrarySubmodulesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_library_submodules_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibrarySubmodulesResponse: - r"""ListLibrarySubmodules - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibrarySubmodulesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibrarySubmodules", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibrarySubmodules", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibrarySubmodulesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_library_sync_runs( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibrarySyncRunsResponse: - r"""ListLibrarySyncRuns - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibrarySyncRunsRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibrarySyncRunsRequest( - page_size=page_size, - page_token=page_token, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibrarySyncRuns", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibrarySyncRunsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibrarySyncRuns", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibrarySyncRunsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_library_sync_runs_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListLibrarySyncRunsResponse: - r"""ListLibrarySyncRuns - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListLibrarySyncRunsRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListLibrarySyncRunsRequest( - page_size=page_size, - page_token=page_token, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListLibrarySyncRuns", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListLibrarySyncRunsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListLibrarySyncRuns", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListLibrarySyncRunsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_patch_reviewers( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListPatchReviewersResponse: - r"""ListPatchReviewers - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListPatchReviewersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListPatchReviewersRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListPatchReviewers", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListPatchReviewersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListPatchReviewers", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListPatchReviewersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_patch_reviewers_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListPatchReviewersResponse: - r"""ListPatchReviewers - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListPatchReviewersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListPatchReviewersRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListPatchReviewers", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListPatchReviewersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListPatchReviewers", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListPatchReviewersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_patches( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - statuses: Optional[Iterable[models.TextqlRPCPublicPatchesPatchStatus]] = None, - include_auto_approved: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListPatchesResponse: - r"""ListPatches - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param statuses: - :param include_auto_approved: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListPatchesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListPatchesRequest( - page_size=page_size, - page_token=page_token, - statuses=utils.unmarshal( - statuses, Optional[List[models.TextqlRPCPublicPatchesPatchStatus]] - ), - include_auto_approved=include_auto_approved, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListPatches", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListPatchesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListPatches", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListPatchesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_patches_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - page_size: OptionalNullable[int] = UNSET, - page_token: OptionalNullable[str] = UNSET, - statuses: Optional[Iterable[models.TextqlRPCPublicPatchesPatchStatus]] = None, - include_auto_approved: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListPatchesResponse: - r"""ListPatches - - :param connect_timeout_ms: - :param page_size: - :param page_token: - :param statuses: - :param include_auto_approved: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListPatchesRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesListPatchesRequest( - page_size=page_size, - page_token=page_token, - statuses=utils.unmarshal( - statuses, Optional[List[models.TextqlRPCPublicPatchesPatchStatus]] - ), - include_auto_approved=include_auto_approved, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListPatches", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListPatchesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListPatches", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListPatchesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_skills( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListSkillsRequest, - models.TextqlRPCPublicPatchesListSkillsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListSkillsResponse: - r"""Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. - - Lists the skills under the library's flat skills/ root that the caller can - read (OWNERS-filtered). Returns display metadata only — never instruction - bodies — feeding the chat composer's `/` autocomplete. - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListSkillsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListSkillsRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListSkills", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListSkillsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListSkills", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListSkillsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_skills_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListSkillsRequest, - models.TextqlRPCPublicPatchesListSkillsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListSkillsResponse: - r"""Lists the skills under the library's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. - - Lists the skills under the library's flat skills/ root that the caller can - read (OWNERS-filtered). Returns display metadata only — never instruction - bodies — feeding the chat composer's `/` autocomplete. - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListSkillsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListSkillsRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListSkills", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListSkillsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListSkills", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListSkillsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def migrate_legacy_context( - self, - *, - connect_timeout_ms: Optional[float] = None, - dry_run: OptionalNullable[bool] = UNSET, - include_inactive: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceMigrateLegacyContextToLibraryResponse: - r"""MigrateLegacyContextToLibrary - - :param connect_timeout_ms: - :param dry_run: - :param include_inactive: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceMigrateLegacyContextToLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest( - dry_run=dry_run, - include_inactive=include_inactive, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/MigrateLegacyContextToLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_MigrateLegacyContextToLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def migrate_legacy_context_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - dry_run: OptionalNullable[bool] = UNSET, - include_inactive: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceMigrateLegacyContextToLibraryResponse: - r"""MigrateLegacyContextToLibrary - - :param connect_timeout_ms: - :param dry_run: - :param include_inactive: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceMigrateLegacyContextToLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest( - dry_run=dry_run, - include_inactive=include_inactive, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/MigrateLegacyContextToLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_MigrateLegacyContextToLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def migrate_ontology( - self, - *, - connect_timeout_ms: Optional[float] = None, - ontology_ids: Optional[Iterable[int]] = None, - dry_run: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceMigrateOntologyToLibraryResponse: - r"""MigrateOntologyToLibrary - - :param connect_timeout_ms: - :param ontology_ids: - :param dry_run: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceMigrateOntologyToLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest( - ontology_ids=utils.unmarshal(ontology_ids, Optional[List[int]]), - dry_run=dry_run, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/MigrateOntologyToLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_MigrateOntologyToLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def migrate_ontology_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - ontology_ids: Optional[Iterable[int]] = None, - dry_run: OptionalNullable[bool] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceMigrateOntologyToLibraryResponse: - r"""MigrateOntologyToLibrary - - :param connect_timeout_ms: - :param ontology_ids: - :param dry_run: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceMigrateOntologyToLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest( - ontology_ids=utils.unmarshal(ontology_ids, Optional[List[int]]), - dry_run=dry_run, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/MigrateOntologyToLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_MigrateOntologyToLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def plan_merge( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPlanLibraryMergeRequest, - models.TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePlanLibraryMergeResponse: - r"""PlanLibraryMerge - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePlanLibraryMergeRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPlanLibraryMergeRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PlanLibraryMerge", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPlanLibraryMergeRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PlanLibraryMerge", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesPlanLibraryMergeResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def plan_merge_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPlanLibraryMergeRequest, - models.TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePlanLibraryMergeResponse: - r"""PlanLibraryMerge - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePlanLibraryMergeRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPlanLibraryMergeRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PlanLibraryMerge", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPlanLibraryMergeRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PlanLibraryMerge", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesPlanLibraryMergeResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def preview_library_pull_from_remote( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePreviewLibraryPullFromRemoteResponse: - r"""PreviewLibraryPullFromRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePreviewLibraryPullFromRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PreviewLibraryPullFromRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PreviewLibraryPullFromRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def preview_library_pull_from_remote_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePreviewLibraryPullFromRemoteResponse: - r"""PreviewLibraryPullFromRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePreviewLibraryPullFromRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PreviewLibraryPullFromRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PreviewLibraryPullFromRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def pull_from_remote( - self, - *, - connect_timeout_ms: Optional[float] = None, - acknowledge_unrelated_histories: Optional[bool] = None, - expected_local_head_hash: Optional[str] = None, - expected_remote_head_hash: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePullLibraryFromRemoteResponse: - r"""PullLibraryFromRemote - - :param connect_timeout_ms: - :param acknowledge_unrelated_histories: - :param expected_local_head_hash: - :param expected_remote_head_hash: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePullLibraryFromRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesPullLibraryFromRemoteRequest( - acknowledge_unrelated_histories=acknowledge_unrelated_histories, - expected_local_head_hash=expected_local_head_hash, - expected_remote_head_hash=expected_remote_head_hash, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PullLibraryFromRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPullLibraryFromRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PullLibraryFromRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def pull_from_remote_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - acknowledge_unrelated_histories: Optional[bool] = None, - expected_local_head_hash: Optional[str] = None, - expected_remote_head_hash: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePullLibraryFromRemoteResponse: - r"""PullLibraryFromRemote - - :param connect_timeout_ms: - :param acknowledge_unrelated_histories: - :param expected_local_head_hash: - :param expected_remote_head_hash: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePullLibraryFromRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesPullLibraryFromRemoteRequest( - acknowledge_unrelated_histories=acknowledge_unrelated_histories, - expected_local_head_hash=expected_local_head_hash, - expected_remote_head_hash=expected_remote_head_hash, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PullLibraryFromRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPullLibraryFromRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PullLibraryFromRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def push_library_to_remote( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePushLibraryToRemoteResponse: - r"""PushLibraryToRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePushLibraryToRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PushLibraryToRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PushLibraryToRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def push_library_to_remote_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServicePushLibraryToRemoteResponse: - r"""PushLibraryToRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServicePushLibraryToRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/PushLibraryToRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_PushLibraryToRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def recover( - self, - *, - connect_timeout_ms: Optional[float] = None, - level: Optional[models.TextqlRPCPublicPatchesRecoverLibraryLevel] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRecoverLibraryResponse: - r"""RecoverLibrary - - :param connect_timeout_ms: - :param level: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRecoverLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRecoverLibraryRequest( - level=level, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RecoverLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRecoverLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RecoverLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def recover_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - level: Optional[models.TextqlRPCPublicPatchesRecoverLibraryLevel] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRecoverLibraryResponse: - r"""RecoverLibrary - - :param connect_timeout_ms: - :param level: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRecoverLibraryRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRecoverLibraryRequest( - level=level, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RecoverLibrary", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRecoverLibraryRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RecoverLibrary", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def remove_remote( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRemoveLibraryRemoteResponse: - r"""RemoveLibraryRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRemoveLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RemoveLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RemoveLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def remove_remote_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRemoveLibraryRemoteResponse: - r"""RemoveLibraryRemote - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRemoveLibraryRemoteRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RemoveLibraryRemote", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RemoveLibraryRemote", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def remove_library_submodule( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRemoveLibrarySubmoduleResponse: - r"""RemoveLibrarySubmodule - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRemoveLibrarySubmoduleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest( - path=path, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RemoveLibrarySubmodule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RemoveLibrarySubmodule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def remove_library_submodule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRemoveLibrarySubmoduleResponse: - r"""RemoveLibrarySubmodule - - :param connect_timeout_ms: - :param path: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRemoveLibrarySubmoduleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest( - path=path, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RemoveLibrarySubmodule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RemoveLibrarySubmodule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def rename_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - old_path: Optional[str] = None, - new_path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRenameLibraryFileResponse: - r"""RenameLibraryFile - - :param connect_timeout_ms: - :param old_path: - :param new_path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRenameLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRenameLibraryFileRequest( - old_path=old_path, - new_path=new_path, - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RenameLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRenameLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RenameLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRenameLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def rename_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - old_path: Optional[str] = None, - new_path: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRenameLibraryFileResponse: - r"""RenameLibraryFile - - :param connect_timeout_ms: - :param old_path: - :param new_path: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRenameLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRenameLibraryFileRequest( - old_path=old_path, - new_path=new_path, - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RenameLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRenameLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RenameLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRenameLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def request_patch_review( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - reviewer_member_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRequestPatchReviewResponse: - r"""RequestPatchReview - - :param connect_timeout_ms: - :param patch_id: - :param reviewer_member_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRequestPatchReviewRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRequestPatchReviewRequest( - patch_id=patch_id, - reviewer_member_id=reviewer_member_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RequestPatchReview", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRequestPatchReviewRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RequestPatchReview", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRequestPatchReviewResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def request_patch_review_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - reviewer_member_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRequestPatchReviewResponse: - r"""RequestPatchReview - - :param connect_timeout_ms: - :param patch_id: - :param reviewer_member_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRequestPatchReviewRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRequestPatchReviewRequest( - patch_id=patch_id, - reviewer_member_id=reviewer_member_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RequestPatchReview", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRequestPatchReviewRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RequestPatchReview", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRequestPatchReviewResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def resolve_sync_conflict( - self, - *, - connect_timeout_ms: Optional[float] = None, - conflict_id: Optional[str] = None, - resolved_content: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceResolveLibrarySyncConflictResponse: - r"""ResolveLibrarySyncConflict - - :param connect_timeout_ms: - :param conflict_id: - :param resolved_content: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceResolveLibrarySyncConflictRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest( - conflict_id=conflict_id, - resolved_content=resolved_content, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ResolveLibrarySyncConflict", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ResolveLibrarySyncConflict", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def resolve_sync_conflict_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - conflict_id: Optional[str] = None, - resolved_content: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceResolveLibrarySyncConflictResponse: - r"""ResolveLibrarySyncConflict - - :param connect_timeout_ms: - :param conflict_id: - :param resolved_content: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceResolveLibrarySyncConflictRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest( - conflict_id=conflict_id, - resolved_content=resolved_content, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ResolveLibrarySyncConflict", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ResolveLibrarySyncConflict", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def restore_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRestorePatchResponse: - r"""RestorePatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRestorePatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRestorePatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RestorePatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRestorePatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RestorePatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def restore_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - expected_git_ref: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRestorePatchResponse: - r"""RestorePatch - - :param connect_timeout_ms: - :param patch_id: - :param expected_git_ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRestorePatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRestorePatchRequest( - patch_id=patch_id, - expected_git_ref=expected_git_ref, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RestorePatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRestorePatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RestorePatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def revert_patch( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRevertPatchResponse: - r"""RevertPatch - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRevertPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRevertPatchRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RevertPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRevertPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RevertPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRevertPatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def revert_patch_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceRevertPatchResponse: - r"""RevertPatch - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceRevertPatchRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesRevertPatchRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/RevertPatch", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesRevertPatchRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_RevertPatch", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesRevertPatchResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def save_all_objects_as_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - object_type: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSaveAllObjectsAsConfigResponse: - r"""SaveAllObjectsAsConfig - - :param connect_timeout_ms: - :param object_type: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSaveAllObjectsAsConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest( - object_type=object_type, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SaveAllObjectsAsConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SaveAllObjectsAsConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def save_all_objects_as_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - object_type: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSaveAllObjectsAsConfigResponse: - r"""SaveAllObjectsAsConfig - - :param connect_timeout_ms: - :param object_type: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSaveAllObjectsAsConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest( - object_type=object_type, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SaveAllObjectsAsConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SaveAllObjectsAsConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def save_as_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - object_type: Optional[str] = None, - object_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSaveObjectAsConfigResponse: - r"""SaveObjectAsConfig - - :param connect_timeout_ms: - :param object_type: - :param object_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSaveObjectAsConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest( - object_type=object_type, - object_id=object_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SaveObjectAsConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SaveObjectAsConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def save_as_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - object_type: Optional[str] = None, - object_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSaveObjectAsConfigResponse: - r"""SaveObjectAsConfig - - :param connect_timeout_ms: - :param object_type: - :param object_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSaveObjectAsConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest( - object_type=object_type, - object_id=object_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SaveObjectAsConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SaveObjectAsConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def trigger_config_drift_reconcile( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceTriggerConfigDriftReconcileResponse: - r"""TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Library repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. - - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the - caller's org: if the Library repo's live HEAD differs from the last - reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand - equivalent of waiting for the periodic drift scan. - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceTriggerConfigDriftReconcileRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/TriggerConfigDriftReconcile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_TriggerConfigDriftReconcile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def trigger_config_drift_reconcile_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceTriggerConfigDriftReconcileResponse: - r"""TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Library repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. - - TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the - caller's org: if the Library repo's live HEAD differs from the last - reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand - equivalent of waiting for the periodic drift scan. - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceTriggerConfigDriftReconcileRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/TriggerConfigDriftReconcile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_TriggerConfigDriftReconcile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def update_approval_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesApprovalRuleInput, - models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateApprovalRuleResponse: - r"""UpdateApprovalRule - - :param connect_timeout_ms: - :param id: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest( - id=id, - rule=utils.get_pydantic_model( - rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def update_approval_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesApprovalRuleInput, - models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateApprovalRuleResponse: - r"""UpdateApprovalRule - - :param connect_timeout_ms: - :param id: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateApprovalRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest( - id=id, - rule=utils.get_pydantic_model( - rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateApprovalRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateApprovalRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def update_context_patch_auto_approve_rule( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateContextPatchAutoApproveRuleResponse: - r"""UpdateContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param id: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest( - id=id, - rule=utils.get_pydantic_model( - rule, - Optional[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput - ], - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def update_context_patch_auto_approve_rule_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, - rule: Optional[ - Union[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateContextPatchAutoApproveRuleResponse: - r"""UpdateContextPatchAutoApproveRule - - :param connect_timeout_ms: - :param id: - :param rule: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateContextPatchAutoApproveRuleRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest( - id=id, - rule=utils.get_pydantic_model( - rule, - Optional[ - models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput - ], - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateContextPatchAutoApproveRule", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateContextPatchAutoApproveRule", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def update_library_sync_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - sync_enabled: Optional[bool] = None, - sync_interval_minutes: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateLibrarySyncConfigResponse: - r"""UpdateLibrarySyncConfig - - :param connect_timeout_ms: - :param sync_enabled: - :param sync_interval_minutes: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateLibrarySyncConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest( - sync_enabled=sync_enabled, - sync_interval_minutes=sync_interval_minutes, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateLibrarySyncConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateLibrarySyncConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def update_library_sync_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - sync_enabled: Optional[bool] = None, - sync_interval_minutes: Optional[int] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpdateLibrarySyncConfigResponse: - r"""UpdateLibrarySyncConfig - - :param connect_timeout_ms: - :param sync_enabled: - :param sync_interval_minutes: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpdateLibrarySyncConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest( - sync_enabled=sync_enabled, - sync_interval_minutes=sync_interval_minutes, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpdateLibrarySyncConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpdateLibrarySyncConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def upsert_ana_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - auto_attach: Optional[ - Union[ - Iterable[models.TextqlRPCPublicPatchesAutoAttachEntry], - Iterable[models.TextqlRPCPublicPatchesAutoAttachEntryTypedDict], - ] - ] = None, - commit_message: OptionalNullable[str] = UNSET, - codeowners: Optional[ - Union[ - Iterable[models.TextqlRPCPublicPatchesCodeownerEntry], - Iterable[models.TextqlRPCPublicPatchesCodeownerEntryTypedDict], - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryAnaConfigResponse: - r"""UpsertLibraryAnaConfig - - :param connect_timeout_ms: - :param path: - :param auto_attach: - :param commit_message: - :param codeowners: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryAnaConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest( - path=path, - auto_attach=utils.get_pydantic_model( - auto_attach, - Optional[List[models.TextqlRPCPublicPatchesAutoAttachEntry]], - ), - commit_message=commit_message, - codeowners=utils.get_pydantic_model( - codeowners, - Optional[List[models.TextqlRPCPublicPatchesCodeownerEntry]], - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryAnaConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryAnaConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def upsert_ana_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - auto_attach: Optional[ - Union[ - Iterable[models.TextqlRPCPublicPatchesAutoAttachEntry], - Iterable[models.TextqlRPCPublicPatchesAutoAttachEntryTypedDict], - ] - ] = None, - commit_message: OptionalNullable[str] = UNSET, - codeowners: Optional[ - Union[ - Iterable[models.TextqlRPCPublicPatchesCodeownerEntry], - Iterable[models.TextqlRPCPublicPatchesCodeownerEntryTypedDict], - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryAnaConfigResponse: - r"""UpsertLibraryAnaConfig - - :param connect_timeout_ms: - :param path: - :param auto_attach: - :param commit_message: - :param codeowners: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryAnaConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest( - path=path, - auto_attach=utils.get_pydantic_model( - auto_attach, - Optional[List[models.TextqlRPCPublicPatchesAutoAttachEntry]], - ), - commit_message=commit_message, - codeowners=utils.get_pydantic_model( - codeowners, - Optional[List[models.TextqlRPCPublicPatchesCodeownerEntry]], - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryAnaConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryAnaConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def upsert_library_file( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - content: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryFileResponse: - r"""UpsertLibraryFile - - :param connect_timeout_ms: - :param path: - :param content: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryFileRequest( - path=path, - content=content, - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def upsert_library_file_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - content: Optional[str] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryFileResponse: - r"""UpsertLibraryFile - - :param connect_timeout_ms: - :param path: - :param content: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryFileRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryFileRequest( - path=path, - content=content, - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryFile", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryFileRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryFile", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryFileResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def upsert_owners( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - role_ids: Optional[Iterable[str]] = None, - permissions: Optional[ - Iterable[models.TextqlRPCPublicPatchesLibraryPermission] - ] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryOwnersResponse: - r"""UpsertLibraryOwners - - :param connect_timeout_ms: - :param path: - :param role_ids: - :param permissions: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryOwnersRequest( - path=path, - role_ids=utils.unmarshal(role_ids, Optional[List[str]]), - permissions=utils.unmarshal( - permissions, - Optional[List[models.TextqlRPCPublicPatchesLibraryPermission]], - ), - commit_message=commit_message, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def upsert_owners_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - role_ids: Optional[Iterable[str]] = None, - permissions: Optional[ - Iterable[models.TextqlRPCPublicPatchesLibraryPermission] - ] = None, - commit_message: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceUpsertLibraryOwnersResponse: - r"""UpsertLibraryOwners - - :param connect_timeout_ms: - :param path: - :param role_ids: - :param permissions: - :param commit_message: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceUpsertLibraryOwnersRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesUpsertLibraryOwnersRequest( - path=path, - role_ids=utils.unmarshal(role_ids, Optional[List[str]]), - permissions=utils.unmarshal( - permissions, - Optional[List[models.TextqlRPCPublicPatchesLibraryPermission]], - ), - commit_message=commit_message, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/UpsertLibraryOwners", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesUpsertLibraryOwnersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_UpsertLibraryOwners", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesUpsertLibraryOwnersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def validate_config( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceValidateConfigResponse: - r"""Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. \"ok\" means functionally valid, not \"guaranteed to merge\" — the merge gate re-checks authorization at approve time. - - Read-only functional validation of a proposed config: parse + dependency - resolution/reachability, no authorization and no persistence. \"ok\" means - functionally valid, not \"guaranteed to merge\" — the merge gate re-checks - authorization at approve time. - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceValidateConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesValidateConfigRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ValidateConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesValidateConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ValidateConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesValidateConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def validate_config_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - patch_id: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceValidateConfigResponse: - r"""Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. \"ok\" means functionally valid, not \"guaranteed to merge\" — the merge gate re-checks authorization at approve time. - - Read-only functional validation of a proposed config: parse + dependency - resolution/reachability, no authorization and no persistence. \"ok\" means - functionally valid, not \"guaranteed to merge\" — the merge gate re-checks - authorization at approve time. - - :param connect_timeout_ms: - :param patch_id: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceValidateConfigRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesValidateConfigRequest( - patch_id=patch_id, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ValidateConfig", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesValidateConfigRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ValidateConfig", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesValidateConfigResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/libraryservice.py b/src/textql_sdk/libraryservice.py deleted file mode 100644 index 8b2d623..0000000 --- a/src/textql_sdk/libraryservice.py +++ /dev/null @@ -1,439 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from .basesdk import BaseSDK -from textql_sdk import errors, models, utils -from textql_sdk._hooks import HookContext -from textql_sdk.types import OptionalNullable, UNSET -from textql_sdk.utils import get_security_from_env -from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Mapping, Optional, Union - - -class LibraryService(BaseSDK): - def library_service_list_golden_files( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListGoldenFilesRequest, - models.TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListGoldenFilesResponse: - r"""ListGoldenFiles - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListGoldenFilesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListGoldenFilesRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListGoldenFiles", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListGoldenFilesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListGoldenFiles", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListGoldenFilesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def library_service_list_golden_files_async( - self, - *, - body: Union[ - models.TextqlRPCPublicPatchesListGoldenFilesRequest, - models.TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceListGoldenFilesResponse: - r"""ListGoldenFiles - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceListGoldenFilesRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicPatchesListGoldenFilesRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/ListGoldenFiles", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesListGoldenFilesRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_ListGoldenFiles", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesListGoldenFilesResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def library_service_set_library_file_golden( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - golden: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSetLibraryFileGoldenResponse: - r"""SetLibraryFileGolden - - :param connect_timeout_ms: - :param path: - :param golden: true = certify, false = retire - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSetLibraryFileGoldenRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSetLibraryFileGoldenRequest( - path=path, - golden=golden, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SetLibraryFileGolden", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSetLibraryFileGoldenRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SetLibraryFileGolden", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSetLibraryFileGoldenResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def library_service_set_library_file_golden_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - path: Optional[str] = None, - golden: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.LibraryServiceSetLibraryFileGoldenResponse: - r"""SetLibraryFileGolden - - :param connect_timeout_ms: - :param path: - :param golden: true = certify, false = retire - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.LibraryServiceSetLibraryFileGoldenRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicPatchesSetLibraryFileGoldenRequest( - path=path, - golden=golden, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.patches.LibraryService/SetLibraryFileGolden", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicPatchesSetLibraryFileGoldenRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="LibraryService_SetLibraryFileGolden", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["LibraryService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicPatchesSetLibraryFileGoldenResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/models/__init__.py b/src/textql_sdk/models/__init__.py index 37e8956..a718249 100644 --- a/src/textql_sdk/models/__init__.py +++ b/src/textql_sdk/models/__init__.py @@ -119,6 +119,12 @@ AppServiceDuplicateAppResponse, AppServiceDuplicateAppResponseTypedDict, ) + from .appservice_getappmemberstateop import ( + AppServiceGetAppMemberStateRequest, + AppServiceGetAppMemberStateRequestTypedDict, + AppServiceGetAppMemberStateResponse, + AppServiceGetAppMemberStateResponseTypedDict, + ) from .appservice_getappop import ( AppServiceGetAppRequest, AppServiceGetAppRequestTypedDict, @@ -149,6 +155,12 @@ AppServiceInvokeAppComputeFunctionResponse, AppServiceInvokeAppComputeFunctionResponseTypedDict, ) + from .appservice_listappactivitysinceop import ( + AppServiceListAppActivitySinceRequest, + AppServiceListAppActivitySinceRequestTypedDict, + AppServiceListAppActivitySinceResponse, + AppServiceListAppActivitySinceResponseTypedDict, + ) from .appservice_listappsop import ( AppServiceListAppsRequest, AppServiceListAppsRequestTypedDict, @@ -161,12 +173,30 @@ AppServiceListAppVersionsResponse, AppServiceListAppVersionsResponseTypedDict, ) + from .appservice_listmyappmemberactivityop import ( + AppServiceListMyAppMemberActivityRequest, + AppServiceListMyAppMemberActivityRequestTypedDict, + AppServiceListMyAppMemberActivityResponse, + AppServiceListMyAppMemberActivityResponseTypedDict, + ) from .appservice_moveapptofolderop import ( AppServiceMoveAppToFolderRequest, AppServiceMoveAppToFolderRequestTypedDict, AppServiceMoveAppToFolderResponse, AppServiceMoveAppToFolderResponseTypedDict, ) + from .appservice_presenceheartbeatop import ( + AppServicePresenceHeartbeatRequest, + AppServicePresenceHeartbeatRequestTypedDict, + AppServicePresenceHeartbeatResponse, + AppServicePresenceHeartbeatResponseTypedDict, + ) + from .appservice_recordappmemberactivityop import ( + AppServiceRecordAppMemberActivityRequest, + AppServiceRecordAppMemberActivityRequestTypedDict, + AppServiceRecordAppMemberActivityResponse, + AppServiceRecordAppMemberActivityResponseTypedDict, + ) from .appservice_refreshappop import ( AppServiceRefreshAppRequest, AppServiceRefreshAppRequestTypedDict, @@ -179,6 +209,12 @@ AppServiceRestoreAppVersionResponse, AppServiceRestoreAppVersionResponseTypedDict, ) + from .appservice_setappmemberstateop import ( + AppServiceSetAppMemberStateRequest, + AppServiceSetAppMemberStateRequestTypedDict, + AppServiceSetAppMemberStateResponse, + AppServiceSetAppMemberStateResponseTypedDict, + ) from .appservice_setfavoriteop import ( AppServiceSetFavoriteRequest, AppServiceSetFavoriteRequestTypedDict, @@ -824,438 +860,6 @@ ) from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict from .google_protobuf_value import GoogleProtobufValue, GoogleProtobufValueTypedDict - from .libraryservice_addlibrarysubmoduleop import ( - LibraryServiceAddLibrarySubmoduleRequest, - LibraryServiceAddLibrarySubmoduleRequestTypedDict, - LibraryServiceAddLibrarySubmoduleResponse, - LibraryServiceAddLibrarySubmoduleResponseTypedDict, - ) - from .libraryservice_approvepatchop import ( - LibraryServiceApprovePatchRequest, - LibraryServiceApprovePatchRequestTypedDict, - LibraryServiceApprovePatchResponse, - LibraryServiceApprovePatchResponseTypedDict, - ) - from .libraryservice_configurelibraryremoteop import ( - LibraryServiceConfigureLibraryRemoteRequest, - LibraryServiceConfigureLibraryRemoteRequestTypedDict, - LibraryServiceConfigureLibraryRemoteResponse, - LibraryServiceConfigureLibraryRemoteResponseTypedDict, - ) - from .libraryservice_createapprovalruleop import ( - LibraryServiceCreateApprovalRuleRequest, - LibraryServiceCreateApprovalRuleRequestTypedDict, - LibraryServiceCreateApprovalRuleResponse, - LibraryServiceCreateApprovalRuleResponseTypedDict, - ) - from .libraryservice_createcontextpatchautoapproveruleop import ( - LibraryServiceCreateContextPatchAutoApproveRuleRequest, - LibraryServiceCreateContextPatchAutoApproveRuleRequestTypedDict, - LibraryServiceCreateContextPatchAutoApproveRuleResponse, - LibraryServiceCreateContextPatchAutoApproveRuleResponseTypedDict, - ) - from .libraryservice_createlibrarydirectoryop import ( - LibraryServiceCreateLibraryDirectoryRequest, - LibraryServiceCreateLibraryDirectoryRequestTypedDict, - LibraryServiceCreateLibraryDirectoryResponse, - LibraryServiceCreateLibraryDirectoryResponseTypedDict, - ) - from .libraryservice_createlibraryfileuploadurlop import ( - LibraryServiceCreateLibraryFileUploadURLRequest, - LibraryServiceCreateLibraryFileUploadURLRequestTypedDict, - LibraryServiceCreateLibraryFileUploadURLResponse, - LibraryServiceCreateLibraryFileUploadURLResponseTypedDict, - ) - from .libraryservice_deleteapprovalruleop import ( - LibraryServiceDeleteApprovalRuleRequest, - LibraryServiceDeleteApprovalRuleRequestTypedDict, - LibraryServiceDeleteApprovalRuleResponse, - LibraryServiceDeleteApprovalRuleResponseTypedDict, - ) - from .libraryservice_deletecontextpatchautoapproveruleop import ( - LibraryServiceDeleteContextPatchAutoApproveRuleRequest, - LibraryServiceDeleteContextPatchAutoApproveRuleRequestTypedDict, - LibraryServiceDeleteContextPatchAutoApproveRuleResponse, - LibraryServiceDeleteContextPatchAutoApproveRuleResponseTypedDict, - ) - from .libraryservice_deletelibrarydirectoryop import ( - LibraryServiceDeleteLibraryDirectoryRequest, - LibraryServiceDeleteLibraryDirectoryRequestTypedDict, - LibraryServiceDeleteLibraryDirectoryResponse, - LibraryServiceDeleteLibraryDirectoryResponseTypedDict, - ) - from .libraryservice_deletelibraryfileop import ( - LibraryServiceDeleteLibraryFileRequest, - LibraryServiceDeleteLibraryFileRequestTypedDict, - LibraryServiceDeleteLibraryFileResponse, - LibraryServiceDeleteLibraryFileResponseTypedDict, - ) - from .libraryservice_deletelibraryownersop import ( - LibraryServiceDeleteLibraryOwnersRequest, - LibraryServiceDeleteLibraryOwnersRequestTypedDict, - LibraryServiceDeleteLibraryOwnersResponse, - LibraryServiceDeleteLibraryOwnersResponseTypedDict, - ) - from .libraryservice_denypatchop import ( - LibraryServiceDenyPatchRequest, - LibraryServiceDenyPatchRequestTypedDict, - LibraryServiceDenyPatchResponse, - LibraryServiceDenyPatchResponseTypedDict, - ) - from .libraryservice_exchangelibrarygithubcodeop import ( - LibraryServiceExchangeLibraryGithubCodeRequest, - LibraryServiceExchangeLibraryGithubCodeRequestTypedDict, - LibraryServiceExchangeLibraryGithubCodeResponse, - LibraryServiceExchangeLibraryGithubCodeResponseTypedDict, - ) - from .libraryservice_finalizelibraryfileuploadop import ( - LibraryServiceFinalizeLibraryFileUploadRequest, - LibraryServiceFinalizeLibraryFileUploadRequestTypedDict, - LibraryServiceFinalizeLibraryFileUploadResponse, - LibraryServiceFinalizeLibraryFileUploadResponseTypedDict, - ) - from .libraryservice_getcodeownercoverageop import ( - LibraryServiceGetCodeownerCoverageRequest, - LibraryServiceGetCodeownerCoverageRequestTypedDict, - LibraryServiceGetCodeownerCoverageResponse, - LibraryServiceGetCodeownerCoverageResponseTypedDict, - ) - from .libraryservice_getconfigexportcapabilitiesop import ( - LibraryServiceGetConfigExportCapabilitiesRequest, - LibraryServiceGetConfigExportCapabilitiesRequestTypedDict, - LibraryServiceGetConfigExportCapabilitiesResponse, - LibraryServiceGetConfigExportCapabilitiesResponseTypedDict, - ) - from .libraryservice_geteffectivelibraryownersop import ( - LibraryServiceGetEffectiveLibraryOwnersRequest, - LibraryServiceGetEffectiveLibraryOwnersRequestTypedDict, - LibraryServiceGetEffectiveLibraryOwnersResponse, - LibraryServiceGetEffectiveLibraryOwnersResponseTypedDict, - ) - from .libraryservice_getfileusageop import ( - LibraryServiceGetFileUsageRequest, - LibraryServiceGetFileUsageRequestTypedDict, - LibraryServiceGetFileUsageResponse, - LibraryServiceGetFileUsageResponseTypedDict, - ) - from .libraryservice_getfileusagetimelineop import ( - LibraryServiceGetFileUsageTimelineRequest, - LibraryServiceGetFileUsageTimelineRequestTypedDict, - LibraryServiceGetFileUsageTimelineResponse, - LibraryServiceGetFileUsageTimelineResponseTypedDict, - ) - from .libraryservice_getlibraryanaconfigop import ( - LibraryServiceGetLibraryAnaConfigRequest, - LibraryServiceGetLibraryAnaConfigRequestTypedDict, - LibraryServiceGetLibraryAnaConfigResponse, - LibraryServiceGetLibraryAnaConfigResponseTypedDict, - ) - from .libraryservice_getlibraryfileop import ( - LibraryServiceGetLibraryFileRequest, - LibraryServiceGetLibraryFileRequestTypedDict, - LibraryServiceGetLibraryFileResponse, - LibraryServiceGetLibraryFileResponseTypedDict, - ) - from .libraryservice_getlibrarygithuboauthurlop import ( - LibraryServiceGetLibraryGithubOAuthURLRequest, - LibraryServiceGetLibraryGithubOAuthURLRequestTypedDict, - LibraryServiceGetLibraryGithubOAuthURLResponse, - LibraryServiceGetLibraryGithubOAuthURLResponseTypedDict, - ) - from .libraryservice_getlibraryhistoryfilediffop import ( - LibraryServiceGetLibraryHistoryFileDiffRequest, - LibraryServiceGetLibraryHistoryFileDiffRequestTypedDict, - LibraryServiceGetLibraryHistoryFileDiffResponse, - LibraryServiceGetLibraryHistoryFileDiffResponseTypedDict, - ) - from .libraryservice_getlibrarymigrationstatusop import ( - LibraryServiceGetLibraryMigrationStatusRequest, - LibraryServiceGetLibraryMigrationStatusRequestTypedDict, - LibraryServiceGetLibraryMigrationStatusResponse, - LibraryServiceGetLibraryMigrationStatusResponseTypedDict, - ) - from .libraryservice_getlibraryownersop import ( - LibraryServiceGetLibraryOwnersRequest, - LibraryServiceGetLibraryOwnersRequestTypedDict, - LibraryServiceGetLibraryOwnersResponse, - LibraryServiceGetLibraryOwnersResponseTypedDict, - ) - from .libraryservice_getlibraryremoteop import ( - LibraryServiceGetLibraryRemoteRequest, - LibraryServiceGetLibraryRemoteRequestTypedDict, - LibraryServiceGetLibraryRemoteResponse, - LibraryServiceGetLibraryRemoteResponseTypedDict, - ) - from .libraryservice_getlibrarysizetimelineop import ( - LibraryServiceGetLibrarySizeTimelineRequest, - LibraryServiceGetLibrarySizeTimelineRequestTypedDict, - LibraryServiceGetLibrarySizeTimelineResponse, - LibraryServiceGetLibrarySizeTimelineResponseTypedDict, - ) - from .libraryservice_getlibrarysyncconflictsop import ( - LibraryServiceGetLibrarySyncConflictsRequest, - LibraryServiceGetLibrarySyncConflictsRequestTypedDict, - LibraryServiceGetLibrarySyncConflictsResponse, - LibraryServiceGetLibrarySyncConflictsResponseTypedDict, - ) - from .libraryservice_getontologyusagesummaryop import ( - LibraryServiceGetOntologyUsageSummaryRequest, - LibraryServiceGetOntologyUsageSummaryRequestTypedDict, - LibraryServiceGetOntologyUsageSummaryResponse, - LibraryServiceGetOntologyUsageSummaryResponseTypedDict, - ) - from .libraryservice_getpatchbynumberop import ( - LibraryServiceGetPatchByNumberRequest, - LibraryServiceGetPatchByNumberRequestTypedDict, - LibraryServiceGetPatchByNumberResponse, - LibraryServiceGetPatchByNumberResponseTypedDict, - ) - from .libraryservice_getpatchcapabilitiesop import ( - LibraryServiceGetPatchCapabilitiesRequest, - LibraryServiceGetPatchCapabilitiesRequestTypedDict, - LibraryServiceGetPatchCapabilitiesResponse, - LibraryServiceGetPatchCapabilitiesResponseTypedDict, - ) - from .libraryservice_getpatchop import ( - LibraryServiceGetPatchRequest, - LibraryServiceGetPatchRequestTypedDict, - LibraryServiceGetPatchResponse, - LibraryServiceGetPatchResponseTypedDict, - ) - from .libraryservice_getrawpatchop import ( - LibraryServiceGetRawPatchRequest, - LibraryServiceGetRawPatchRequestTypedDict, - LibraryServiceGetRawPatchResponse, - LibraryServiceGetRawPatchResponseTypedDict, - ) - from .libraryservice_getusagedetailsforfileop import ( - LibraryServiceGetUsageDetailsForFileRequest, - LibraryServiceGetUsageDetailsForFileRequestTypedDict, - LibraryServiceGetUsageDetailsForFileResponse, - LibraryServiceGetUsageDetailsForFileResponseTypedDict, - ) - from .libraryservice_listapprovalrulesop import ( - LibraryServiceListApprovalRulesRequest, - LibraryServiceListApprovalRulesRequestTypedDict, - LibraryServiceListApprovalRulesResponse, - LibraryServiceListApprovalRulesResponseTypedDict, - ) - from .libraryservice_listchatsforfileop import ( - LibraryServiceListChatsForFileRequest, - LibraryServiceListChatsForFileRequestTypedDict, - LibraryServiceListChatsForFileResponse, - LibraryServiceListChatsForFileResponseTypedDict, - ) - from .libraryservice_listcontextpatchautoapproverulesop import ( - LibraryServiceListContextPatchAutoApproveRulesRequest, - LibraryServiceListContextPatchAutoApproveRulesRequestTypedDict, - LibraryServiceListContextPatchAutoApproveRulesResponse, - LibraryServiceListContextPatchAutoApproveRulesResponseTypedDict, - ) - from .libraryservice_listgoldenfilesop import ( - LibraryServiceListGoldenFilesRequest, - LibraryServiceListGoldenFilesRequestTypedDict, - LibraryServiceListGoldenFilesResponse, - LibraryServiceListGoldenFilesResponseTypedDict, - ) - from .libraryservice_listlibraryentriesop import ( - LibraryServiceListLibraryEntriesRequest, - LibraryServiceListLibraryEntriesRequestTypedDict, - LibraryServiceListLibraryEntriesResponse, - LibraryServiceListLibraryEntriesResponseTypedDict, - ) - from .libraryservice_listlibraryhistoryop import ( - LibraryServiceListLibraryHistoryRequest, - LibraryServiceListLibraryHistoryRequestTypedDict, - LibraryServiceListLibraryHistoryResponse, - LibraryServiceListLibraryHistoryResponseTypedDict, - ) - from .libraryservice_listlibraryimportsop import ( - LibraryServiceListLibraryImportsRequest, - LibraryServiceListLibraryImportsRequestTypedDict, - LibraryServiceListLibraryImportsResponse, - LibraryServiceListLibraryImportsResponseTypedDict, - ) - from .libraryservice_listlibrarysubmodulesop import ( - LibraryServiceListLibrarySubmodulesRequest, - LibraryServiceListLibrarySubmodulesRequestTypedDict, - LibraryServiceListLibrarySubmodulesResponse, - LibraryServiceListLibrarySubmodulesResponseTypedDict, - ) - from .libraryservice_listlibrarysyncrunsop import ( - LibraryServiceListLibrarySyncRunsRequest, - LibraryServiceListLibrarySyncRunsRequestTypedDict, - LibraryServiceListLibrarySyncRunsResponse, - LibraryServiceListLibrarySyncRunsResponseTypedDict, - ) - from .libraryservice_listpatchesop import ( - LibraryServiceListPatchesRequest, - LibraryServiceListPatchesRequestTypedDict, - LibraryServiceListPatchesResponse, - LibraryServiceListPatchesResponseTypedDict, - ) - from .libraryservice_listpatchreviewersop import ( - LibraryServiceListPatchReviewersRequest, - LibraryServiceListPatchReviewersRequestTypedDict, - LibraryServiceListPatchReviewersResponse, - LibraryServiceListPatchReviewersResponseTypedDict, - ) - from .libraryservice_listskillsop import ( - LibraryServiceListSkillsRequest, - LibraryServiceListSkillsRequestTypedDict, - LibraryServiceListSkillsResponse, - LibraryServiceListSkillsResponseTypedDict, - ) - from .libraryservice_migratelegacycontexttolibraryop import ( - LibraryServiceMigrateLegacyContextToLibraryRequest, - LibraryServiceMigrateLegacyContextToLibraryRequestTypedDict, - LibraryServiceMigrateLegacyContextToLibraryResponse, - LibraryServiceMigrateLegacyContextToLibraryResponseTypedDict, - ) - from .libraryservice_migrateontologytolibraryop import ( - LibraryServiceMigrateOntologyToLibraryRequest, - LibraryServiceMigrateOntologyToLibraryRequestTypedDict, - LibraryServiceMigrateOntologyToLibraryResponse, - LibraryServiceMigrateOntologyToLibraryResponseTypedDict, - ) - from .libraryservice_planlibrarymergeop import ( - LibraryServicePlanLibraryMergeRequest, - LibraryServicePlanLibraryMergeRequestTypedDict, - LibraryServicePlanLibraryMergeResponse, - LibraryServicePlanLibraryMergeResponseTypedDict, - ) - from .libraryservice_previewlibrarypullfromremoteop import ( - LibraryServicePreviewLibraryPullFromRemoteRequest, - LibraryServicePreviewLibraryPullFromRemoteRequestTypedDict, - LibraryServicePreviewLibraryPullFromRemoteResponse, - LibraryServicePreviewLibraryPullFromRemoteResponseTypedDict, - ) - from .libraryservice_pulllibraryfromremoteop import ( - LibraryServicePullLibraryFromRemoteRequest, - LibraryServicePullLibraryFromRemoteRequestTypedDict, - LibraryServicePullLibraryFromRemoteResponse, - LibraryServicePullLibraryFromRemoteResponseTypedDict, - ) - from .libraryservice_pushlibrarytoremoteop import ( - LibraryServicePushLibraryToRemoteRequest, - LibraryServicePushLibraryToRemoteRequestTypedDict, - LibraryServicePushLibraryToRemoteResponse, - LibraryServicePushLibraryToRemoteResponseTypedDict, - ) - from .libraryservice_recoverlibraryop import ( - LibraryServiceRecoverLibraryRequest, - LibraryServiceRecoverLibraryRequestTypedDict, - LibraryServiceRecoverLibraryResponse, - LibraryServiceRecoverLibraryResponseTypedDict, - ) - from .libraryservice_removelibraryremoteop import ( - LibraryServiceRemoveLibraryRemoteRequest, - LibraryServiceRemoveLibraryRemoteRequestTypedDict, - LibraryServiceRemoveLibraryRemoteResponse, - LibraryServiceRemoveLibraryRemoteResponseTypedDict, - ) - from .libraryservice_removelibrarysubmoduleop import ( - LibraryServiceRemoveLibrarySubmoduleRequest, - LibraryServiceRemoveLibrarySubmoduleRequestTypedDict, - LibraryServiceRemoveLibrarySubmoduleResponse, - LibraryServiceRemoveLibrarySubmoduleResponseTypedDict, - ) - from .libraryservice_renamelibraryfileop import ( - LibraryServiceRenameLibraryFileRequest, - LibraryServiceRenameLibraryFileRequestTypedDict, - LibraryServiceRenameLibraryFileResponse, - LibraryServiceRenameLibraryFileResponseTypedDict, - ) - from .libraryservice_requestpatchreviewop import ( - LibraryServiceRequestPatchReviewRequest, - LibraryServiceRequestPatchReviewRequestTypedDict, - LibraryServiceRequestPatchReviewResponse, - LibraryServiceRequestPatchReviewResponseTypedDict, - ) - from .libraryservice_resolvelibrarysyncconflictop import ( - LibraryServiceResolveLibrarySyncConflictRequest, - LibraryServiceResolveLibrarySyncConflictRequestTypedDict, - LibraryServiceResolveLibrarySyncConflictResponse, - LibraryServiceResolveLibrarySyncConflictResponseTypedDict, - ) - from .libraryservice_restorepatchop import ( - LibraryServiceRestorePatchRequest, - LibraryServiceRestorePatchRequestTypedDict, - LibraryServiceRestorePatchResponse, - LibraryServiceRestorePatchResponseTypedDict, - ) - from .libraryservice_revertpatchop import ( - LibraryServiceRevertPatchRequest, - LibraryServiceRevertPatchRequestTypedDict, - LibraryServiceRevertPatchResponse, - LibraryServiceRevertPatchResponseTypedDict, - ) - from .libraryservice_saveallobjectsasconfigop import ( - LibraryServiceSaveAllObjectsAsConfigRequest, - LibraryServiceSaveAllObjectsAsConfigRequestTypedDict, - LibraryServiceSaveAllObjectsAsConfigResponse, - LibraryServiceSaveAllObjectsAsConfigResponseTypedDict, - ) - from .libraryservice_saveobjectasconfigop import ( - LibraryServiceSaveObjectAsConfigRequest, - LibraryServiceSaveObjectAsConfigRequestTypedDict, - LibraryServiceSaveObjectAsConfigResponse, - LibraryServiceSaveObjectAsConfigResponseTypedDict, - ) - from .libraryservice_setlibraryfilegoldenop import ( - LibraryServiceSetLibraryFileGoldenRequest, - LibraryServiceSetLibraryFileGoldenRequestTypedDict, - LibraryServiceSetLibraryFileGoldenResponse, - LibraryServiceSetLibraryFileGoldenResponseTypedDict, - ) - from .libraryservice_triggerconfigdriftreconcileop import ( - LibraryServiceTriggerConfigDriftReconcileRequest, - LibraryServiceTriggerConfigDriftReconcileRequestTypedDict, - LibraryServiceTriggerConfigDriftReconcileResponse, - LibraryServiceTriggerConfigDriftReconcileResponseTypedDict, - ) - from .libraryservice_updateapprovalruleop import ( - LibraryServiceUpdateApprovalRuleRequest, - LibraryServiceUpdateApprovalRuleRequestTypedDict, - LibraryServiceUpdateApprovalRuleResponse, - LibraryServiceUpdateApprovalRuleResponseTypedDict, - ) - from .libraryservice_updatecontextpatchautoapproveruleop import ( - LibraryServiceUpdateContextPatchAutoApproveRuleRequest, - LibraryServiceUpdateContextPatchAutoApproveRuleRequestTypedDict, - LibraryServiceUpdateContextPatchAutoApproveRuleResponse, - LibraryServiceUpdateContextPatchAutoApproveRuleResponseTypedDict, - ) - from .libraryservice_updatelibrarysyncconfigop import ( - LibraryServiceUpdateLibrarySyncConfigRequest, - LibraryServiceUpdateLibrarySyncConfigRequestTypedDict, - LibraryServiceUpdateLibrarySyncConfigResponse, - LibraryServiceUpdateLibrarySyncConfigResponseTypedDict, - ) - from .libraryservice_upsertlibraryanaconfigop import ( - LibraryServiceUpsertLibraryAnaConfigRequest, - LibraryServiceUpsertLibraryAnaConfigRequestTypedDict, - LibraryServiceUpsertLibraryAnaConfigResponse, - LibraryServiceUpsertLibraryAnaConfigResponseTypedDict, - ) - from .libraryservice_upsertlibraryfileop import ( - LibraryServiceUpsertLibraryFileRequest, - LibraryServiceUpsertLibraryFileRequestTypedDict, - LibraryServiceUpsertLibraryFileResponse, - LibraryServiceUpsertLibraryFileResponseTypedDict, - ) - from .libraryservice_upsertlibraryownersop import ( - LibraryServiceUpsertLibraryOwnersRequest, - LibraryServiceUpsertLibraryOwnersRequestTypedDict, - LibraryServiceUpsertLibraryOwnersResponse, - LibraryServiceUpsertLibraryOwnersResponseTypedDict, - ) - from .libraryservice_validateconfigop import ( - LibraryServiceValidateConfigRequest, - LibraryServiceValidateConfigRequestTypedDict, - LibraryServiceValidateConfigResponse, - LibraryServiceValidateConfigResponseTypedDict, - ) from .mcpservice_clearoauthtokenop import ( MCPServiceClearOAuthTokenRequest, MCPServiceClearOAuthTokenRequestTypedDict, @@ -1502,6 +1106,420 @@ ObservabilityServiceUpdateCustomTopicResponse, ObservabilityServiceUpdateCustomTopicResponseTypedDict, ) + from .ontologymanagementservice_addontologysubmoduleop import ( + OntologyManagementServiceAddOntologySubmoduleRequest, + OntologyManagementServiceAddOntologySubmoduleRequestTypedDict, + OntologyManagementServiceAddOntologySubmoduleResponse, + OntologyManagementServiceAddOntologySubmoduleResponseTypedDict, + ) + from .ontologymanagementservice_approvepatchop import ( + OntologyManagementServiceApprovePatchRequest, + OntologyManagementServiceApprovePatchRequestTypedDict, + OntologyManagementServiceApprovePatchResponse, + OntologyManagementServiceApprovePatchResponseTypedDict, + ) + from .ontologymanagementservice_configureontologyremoteop import ( + OntologyManagementServiceConfigureOntologyRemoteRequest, + OntologyManagementServiceConfigureOntologyRemoteRequestTypedDict, + OntologyManagementServiceConfigureOntologyRemoteResponse, + OntologyManagementServiceConfigureOntologyRemoteResponseTypedDict, + ) + from .ontologymanagementservice_createapprovalruleop import ( + OntologyManagementServiceCreateApprovalRuleRequest, + OntologyManagementServiceCreateApprovalRuleRequestTypedDict, + OntologyManagementServiceCreateApprovalRuleResponse, + OntologyManagementServiceCreateApprovalRuleResponseTypedDict, + ) + from .ontologymanagementservice_createcontextpatchautoapproveruleop import ( + OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest, + OntologyManagementServiceCreateContextPatchAutoApproveRuleRequestTypedDict, + OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse, + OntologyManagementServiceCreateContextPatchAutoApproveRuleResponseTypedDict, + ) + from .ontologymanagementservice_createontologydirectoryop import ( + OntologyManagementServiceCreateOntologyDirectoryRequest, + OntologyManagementServiceCreateOntologyDirectoryRequestTypedDict, + OntologyManagementServiceCreateOntologyDirectoryResponse, + OntologyManagementServiceCreateOntologyDirectoryResponseTypedDict, + ) + from .ontologymanagementservice_createontologyfileuploadurlop import ( + OntologyManagementServiceCreateOntologyFileUploadURLRequest, + OntologyManagementServiceCreateOntologyFileUploadURLRequestTypedDict, + OntologyManagementServiceCreateOntologyFileUploadURLResponse, + OntologyManagementServiceCreateOntologyFileUploadURLResponseTypedDict, + ) + from .ontologymanagementservice_deleteapprovalruleop import ( + OntologyManagementServiceDeleteApprovalRuleRequest, + OntologyManagementServiceDeleteApprovalRuleRequestTypedDict, + OntologyManagementServiceDeleteApprovalRuleResponse, + OntologyManagementServiceDeleteApprovalRuleResponseTypedDict, + ) + from .ontologymanagementservice_deletecontextpatchautoapproveruleop import ( + OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest, + OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequestTypedDict, + OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse, + OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponseTypedDict, + ) + from .ontologymanagementservice_deleteontologydirectoryop import ( + OntologyManagementServiceDeleteOntologyDirectoryRequest, + OntologyManagementServiceDeleteOntologyDirectoryRequestTypedDict, + OntologyManagementServiceDeleteOntologyDirectoryResponse, + OntologyManagementServiceDeleteOntologyDirectoryResponseTypedDict, + ) + from .ontologymanagementservice_deleteontologyfileop import ( + OntologyManagementServiceDeleteOntologyFileRequest, + OntologyManagementServiceDeleteOntologyFileRequestTypedDict, + OntologyManagementServiceDeleteOntologyFileResponse, + OntologyManagementServiceDeleteOntologyFileResponseTypedDict, + ) + from .ontologymanagementservice_deleteontologyownersop import ( + OntologyManagementServiceDeleteOntologyOwnersRequest, + OntologyManagementServiceDeleteOntologyOwnersRequestTypedDict, + OntologyManagementServiceDeleteOntologyOwnersResponse, + OntologyManagementServiceDeleteOntologyOwnersResponseTypedDict, + ) + from .ontologymanagementservice_denypatchop import ( + OntologyManagementServiceDenyPatchRequest, + OntologyManagementServiceDenyPatchRequestTypedDict, + OntologyManagementServiceDenyPatchResponse, + OntologyManagementServiceDenyPatchResponseTypedDict, + ) + from .ontologymanagementservice_exchangeontologygithubcodeop import ( + OntologyManagementServiceExchangeOntologyGithubCodeRequest, + OntologyManagementServiceExchangeOntologyGithubCodeRequestTypedDict, + OntologyManagementServiceExchangeOntologyGithubCodeResponse, + OntologyManagementServiceExchangeOntologyGithubCodeResponseTypedDict, + ) + from .ontologymanagementservice_finalizeontologyfileuploadop import ( + OntologyManagementServiceFinalizeOntologyFileUploadRequest, + OntologyManagementServiceFinalizeOntologyFileUploadRequestTypedDict, + OntologyManagementServiceFinalizeOntologyFileUploadResponse, + OntologyManagementServiceFinalizeOntologyFileUploadResponseTypedDict, + ) + from .ontologymanagementservice_getcodeownercoverageop import ( + OntologyManagementServiceGetCodeownerCoverageRequest, + OntologyManagementServiceGetCodeownerCoverageRequestTypedDict, + OntologyManagementServiceGetCodeownerCoverageResponse, + OntologyManagementServiceGetCodeownerCoverageResponseTypedDict, + ) + from .ontologymanagementservice_getconfigexportcapabilitiesop import ( + OntologyManagementServiceGetConfigExportCapabilitiesRequest, + OntologyManagementServiceGetConfigExportCapabilitiesRequestTypedDict, + OntologyManagementServiceGetConfigExportCapabilitiesResponse, + OntologyManagementServiceGetConfigExportCapabilitiesResponseTypedDict, + ) + from .ontologymanagementservice_geteffectiveontologyownersop import ( + OntologyManagementServiceGetEffectiveOntologyOwnersRequest, + OntologyManagementServiceGetEffectiveOntologyOwnersRequestTypedDict, + OntologyManagementServiceGetEffectiveOntologyOwnersResponse, + OntologyManagementServiceGetEffectiveOntologyOwnersResponseTypedDict, + ) + from .ontologymanagementservice_getfileusageop import ( + OntologyManagementServiceGetFileUsageRequest, + OntologyManagementServiceGetFileUsageRequestTypedDict, + OntologyManagementServiceGetFileUsageResponse, + OntologyManagementServiceGetFileUsageResponseTypedDict, + ) + from .ontologymanagementservice_getfileusagetimelineop import ( + OntologyManagementServiceGetFileUsageTimelineRequest, + OntologyManagementServiceGetFileUsageTimelineRequestTypedDict, + OntologyManagementServiceGetFileUsageTimelineResponse, + OntologyManagementServiceGetFileUsageTimelineResponseTypedDict, + ) + from .ontologymanagementservice_getontologyanaconfigop import ( + OntologyManagementServiceGetOntologyAnaConfigRequest, + OntologyManagementServiceGetOntologyAnaConfigRequestTypedDict, + OntologyManagementServiceGetOntologyAnaConfigResponse, + OntologyManagementServiceGetOntologyAnaConfigResponseTypedDict, + ) + from .ontologymanagementservice_getontologyfileop import ( + OntologyManagementServiceGetOntologyFileRequest, + OntologyManagementServiceGetOntologyFileRequestTypedDict, + OntologyManagementServiceGetOntologyFileResponse, + OntologyManagementServiceGetOntologyFileResponseTypedDict, + ) + from .ontologymanagementservice_getontologygithuboauthurlop import ( + OntologyManagementServiceGetOntologyGithubOAuthURLRequest, + OntologyManagementServiceGetOntologyGithubOAuthURLRequestTypedDict, + OntologyManagementServiceGetOntologyGithubOAuthURLResponse, + OntologyManagementServiceGetOntologyGithubOAuthURLResponseTypedDict, + ) + from .ontologymanagementservice_getontologyhistoryfilediffop import ( + OntologyManagementServiceGetOntologyHistoryFileDiffRequest, + OntologyManagementServiceGetOntologyHistoryFileDiffRequestTypedDict, + OntologyManagementServiceGetOntologyHistoryFileDiffResponse, + OntologyManagementServiceGetOntologyHistoryFileDiffResponseTypedDict, + ) + from .ontologymanagementservice_getontologyownersop import ( + OntologyManagementServiceGetOntologyOwnersRequest, + OntologyManagementServiceGetOntologyOwnersRequestTypedDict, + OntologyManagementServiceGetOntologyOwnersResponse, + OntologyManagementServiceGetOntologyOwnersResponseTypedDict, + ) + from .ontologymanagementservice_getontologyremoteop import ( + OntologyManagementServiceGetOntologyRemoteRequest, + OntologyManagementServiceGetOntologyRemoteRequestTypedDict, + OntologyManagementServiceGetOntologyRemoteResponse, + OntologyManagementServiceGetOntologyRemoteResponseTypedDict, + ) + from .ontologymanagementservice_getontologysizetimelineop import ( + OntologyManagementServiceGetOntologySizeTimelineRequest, + OntologyManagementServiceGetOntologySizeTimelineRequestTypedDict, + OntologyManagementServiceGetOntologySizeTimelineResponse, + OntologyManagementServiceGetOntologySizeTimelineResponseTypedDict, + ) + from .ontologymanagementservice_getontologysyncconflictsop import ( + OntologyManagementServiceGetOntologySyncConflictsRequest, + OntologyManagementServiceGetOntologySyncConflictsRequestTypedDict, + OntologyManagementServiceGetOntologySyncConflictsResponse, + OntologyManagementServiceGetOntologySyncConflictsResponseTypedDict, + ) + from .ontologymanagementservice_getontologyusagesummaryop import ( + OntologyManagementServiceGetOntologyUsageSummaryRequest, + OntologyManagementServiceGetOntologyUsageSummaryRequestTypedDict, + OntologyManagementServiceGetOntologyUsageSummaryResponse, + OntologyManagementServiceGetOntologyUsageSummaryResponseTypedDict, + ) + from .ontologymanagementservice_getpatchbynumberop import ( + OntologyManagementServiceGetPatchByNumberRequest, + OntologyManagementServiceGetPatchByNumberRequestTypedDict, + OntologyManagementServiceGetPatchByNumberResponse, + OntologyManagementServiceGetPatchByNumberResponseTypedDict, + ) + from .ontologymanagementservice_getpatchcapabilitiesop import ( + OntologyManagementServiceGetPatchCapabilitiesRequest, + OntologyManagementServiceGetPatchCapabilitiesRequestTypedDict, + OntologyManagementServiceGetPatchCapabilitiesResponse, + OntologyManagementServiceGetPatchCapabilitiesResponseTypedDict, + ) + from .ontologymanagementservice_getpatchop import ( + OntologyManagementServiceGetPatchRequest, + OntologyManagementServiceGetPatchRequestTypedDict, + OntologyManagementServiceGetPatchResponse, + OntologyManagementServiceGetPatchResponseTypedDict, + ) + from .ontologymanagementservice_getrawpatchop import ( + OntologyManagementServiceGetRawPatchRequest, + OntologyManagementServiceGetRawPatchRequestTypedDict, + OntologyManagementServiceGetRawPatchResponse, + OntologyManagementServiceGetRawPatchResponseTypedDict, + ) + from .ontologymanagementservice_getusagedetailsforfileop import ( + OntologyManagementServiceGetUsageDetailsForFileRequest, + OntologyManagementServiceGetUsageDetailsForFileRequestTypedDict, + OntologyManagementServiceGetUsageDetailsForFileResponse, + OntologyManagementServiceGetUsageDetailsForFileResponseTypedDict, + ) + from .ontologymanagementservice_listapprovalrulesop import ( + OntologyManagementServiceListApprovalRulesRequest, + OntologyManagementServiceListApprovalRulesRequestTypedDict, + OntologyManagementServiceListApprovalRulesResponse, + OntologyManagementServiceListApprovalRulesResponseTypedDict, + ) + from .ontologymanagementservice_listchatsforfileop import ( + OntologyManagementServiceListChatsForFileRequest, + OntologyManagementServiceListChatsForFileRequestTypedDict, + OntologyManagementServiceListChatsForFileResponse, + OntologyManagementServiceListChatsForFileResponseTypedDict, + ) + from .ontologymanagementservice_listcontextpatchautoapproverulesop import ( + OntologyManagementServiceListContextPatchAutoApproveRulesRequest, + OntologyManagementServiceListContextPatchAutoApproveRulesRequestTypedDict, + OntologyManagementServiceListContextPatchAutoApproveRulesResponse, + OntologyManagementServiceListContextPatchAutoApproveRulesResponseTypedDict, + ) + from .ontologymanagementservice_listgoldenfilesop import ( + OntologyManagementServiceListGoldenFilesRequest, + OntologyManagementServiceListGoldenFilesRequestTypedDict, + OntologyManagementServiceListGoldenFilesResponse, + OntologyManagementServiceListGoldenFilesResponseTypedDict, + ) + from .ontologymanagementservice_listontologyentriesop import ( + OntologyManagementServiceListOntologyEntriesRequest, + OntologyManagementServiceListOntologyEntriesRequestTypedDict, + OntologyManagementServiceListOntologyEntriesResponse, + OntologyManagementServiceListOntologyEntriesResponseTypedDict, + ) + from .ontologymanagementservice_listontologyhistoryop import ( + OntologyManagementServiceListOntologyHistoryRequest, + OntologyManagementServiceListOntologyHistoryRequestTypedDict, + OntologyManagementServiceListOntologyHistoryResponse, + OntologyManagementServiceListOntologyHistoryResponseTypedDict, + ) + from .ontologymanagementservice_listontologyimportsop import ( + OntologyManagementServiceListOntologyImportsRequest, + OntologyManagementServiceListOntologyImportsRequestTypedDict, + OntologyManagementServiceListOntologyImportsResponse, + OntologyManagementServiceListOntologyImportsResponseTypedDict, + ) + from .ontologymanagementservice_listontologysubmodulesop import ( + OntologyManagementServiceListOntologySubmodulesRequest, + OntologyManagementServiceListOntologySubmodulesRequestTypedDict, + OntologyManagementServiceListOntologySubmodulesResponse, + OntologyManagementServiceListOntologySubmodulesResponseTypedDict, + ) + from .ontologymanagementservice_listontologysyncrunsop import ( + OntologyManagementServiceListOntologySyncRunsRequest, + OntologyManagementServiceListOntologySyncRunsRequestTypedDict, + OntologyManagementServiceListOntologySyncRunsResponse, + OntologyManagementServiceListOntologySyncRunsResponseTypedDict, + ) + from .ontologymanagementservice_listpatchesop import ( + OntologyManagementServiceListPatchesRequest, + OntologyManagementServiceListPatchesRequestTypedDict, + OntologyManagementServiceListPatchesResponse, + OntologyManagementServiceListPatchesResponseTypedDict, + ) + from .ontologymanagementservice_listpatchreviewersop import ( + OntologyManagementServiceListPatchReviewersRequest, + OntologyManagementServiceListPatchReviewersRequestTypedDict, + OntologyManagementServiceListPatchReviewersResponse, + OntologyManagementServiceListPatchReviewersResponseTypedDict, + ) + from .ontologymanagementservice_listskillsop import ( + OntologyManagementServiceListSkillsRequest, + OntologyManagementServiceListSkillsRequestTypedDict, + OntologyManagementServiceListSkillsResponse, + OntologyManagementServiceListSkillsResponseTypedDict, + ) + from .ontologymanagementservice_planontologymergeop import ( + OntologyManagementServicePlanOntologyMergeRequest, + OntologyManagementServicePlanOntologyMergeRequestTypedDict, + OntologyManagementServicePlanOntologyMergeResponse, + OntologyManagementServicePlanOntologyMergeResponseTypedDict, + ) + from .ontologymanagementservice_previewontologypullfromremoteop import ( + OntologyManagementServicePreviewOntologyPullFromRemoteRequest, + OntologyManagementServicePreviewOntologyPullFromRemoteRequestTypedDict, + OntologyManagementServicePreviewOntologyPullFromRemoteResponse, + OntologyManagementServicePreviewOntologyPullFromRemoteResponseTypedDict, + ) + from .ontologymanagementservice_pullontologyfromremoteop import ( + OntologyManagementServicePullOntologyFromRemoteRequest, + OntologyManagementServicePullOntologyFromRemoteRequestTypedDict, + OntologyManagementServicePullOntologyFromRemoteResponse, + OntologyManagementServicePullOntologyFromRemoteResponseTypedDict, + ) + from .ontologymanagementservice_pushontologytoremoteop import ( + OntologyManagementServicePushOntologyToRemoteRequest, + OntologyManagementServicePushOntologyToRemoteRequestTypedDict, + OntologyManagementServicePushOntologyToRemoteResponse, + OntologyManagementServicePushOntologyToRemoteResponseTypedDict, + ) + from .ontologymanagementservice_recoverontologyop import ( + OntologyManagementServiceRecoverOntologyRequest, + OntologyManagementServiceRecoverOntologyRequestTypedDict, + OntologyManagementServiceRecoverOntologyResponse, + OntologyManagementServiceRecoverOntologyResponseTypedDict, + ) + from .ontologymanagementservice_removeontologyremoteop import ( + OntologyManagementServiceRemoveOntologyRemoteRequest, + OntologyManagementServiceRemoveOntologyRemoteRequestTypedDict, + OntologyManagementServiceRemoveOntologyRemoteResponse, + OntologyManagementServiceRemoveOntologyRemoteResponseTypedDict, + ) + from .ontologymanagementservice_removeontologysubmoduleop import ( + OntologyManagementServiceRemoveOntologySubmoduleRequest, + OntologyManagementServiceRemoveOntologySubmoduleRequestTypedDict, + OntologyManagementServiceRemoveOntologySubmoduleResponse, + OntologyManagementServiceRemoveOntologySubmoduleResponseTypedDict, + ) + from .ontologymanagementservice_renameontologyfileop import ( + OntologyManagementServiceRenameOntologyFileRequest, + OntologyManagementServiceRenameOntologyFileRequestTypedDict, + OntologyManagementServiceRenameOntologyFileResponse, + OntologyManagementServiceRenameOntologyFileResponseTypedDict, + ) + from .ontologymanagementservice_requestpatchreviewop import ( + OntologyManagementServiceRequestPatchReviewRequest, + OntologyManagementServiceRequestPatchReviewRequestTypedDict, + OntologyManagementServiceRequestPatchReviewResponse, + OntologyManagementServiceRequestPatchReviewResponseTypedDict, + ) + from .ontologymanagementservice_resolveontologysyncconflictop import ( + OntologyManagementServiceResolveOntologySyncConflictRequest, + OntologyManagementServiceResolveOntologySyncConflictRequestTypedDict, + OntologyManagementServiceResolveOntologySyncConflictResponse, + OntologyManagementServiceResolveOntologySyncConflictResponseTypedDict, + ) + from .ontologymanagementservice_restorepatchop import ( + OntologyManagementServiceRestorePatchRequest, + OntologyManagementServiceRestorePatchRequestTypedDict, + OntologyManagementServiceRestorePatchResponse, + OntologyManagementServiceRestorePatchResponseTypedDict, + ) + from .ontologymanagementservice_revertpatchop import ( + OntologyManagementServiceRevertPatchRequest, + OntologyManagementServiceRevertPatchRequestTypedDict, + OntologyManagementServiceRevertPatchResponse, + OntologyManagementServiceRevertPatchResponseTypedDict, + ) + from .ontologymanagementservice_saveallobjectsasconfigop import ( + OntologyManagementServiceSaveAllObjectsAsConfigRequest, + OntologyManagementServiceSaveAllObjectsAsConfigRequestTypedDict, + OntologyManagementServiceSaveAllObjectsAsConfigResponse, + OntologyManagementServiceSaveAllObjectsAsConfigResponseTypedDict, + ) + from .ontologymanagementservice_saveobjectasconfigop import ( + OntologyManagementServiceSaveObjectAsConfigRequest, + OntologyManagementServiceSaveObjectAsConfigRequestTypedDict, + OntologyManagementServiceSaveObjectAsConfigResponse, + OntologyManagementServiceSaveObjectAsConfigResponseTypedDict, + ) + from .ontologymanagementservice_setontologyfilegoldenop import ( + OntologyManagementServiceSetOntologyFileGoldenRequest, + OntologyManagementServiceSetOntologyFileGoldenRequestTypedDict, + OntologyManagementServiceSetOntologyFileGoldenResponse, + OntologyManagementServiceSetOntologyFileGoldenResponseTypedDict, + ) + from .ontologymanagementservice_triggerconfigdriftreconcileop import ( + OntologyManagementServiceTriggerConfigDriftReconcileRequest, + OntologyManagementServiceTriggerConfigDriftReconcileRequestTypedDict, + OntologyManagementServiceTriggerConfigDriftReconcileResponse, + OntologyManagementServiceTriggerConfigDriftReconcileResponseTypedDict, + ) + from .ontologymanagementservice_updateapprovalruleop import ( + OntologyManagementServiceUpdateApprovalRuleRequest, + OntologyManagementServiceUpdateApprovalRuleRequestTypedDict, + OntologyManagementServiceUpdateApprovalRuleResponse, + OntologyManagementServiceUpdateApprovalRuleResponseTypedDict, + ) + from .ontologymanagementservice_updatecontextpatchautoapproveruleop import ( + OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest, + OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequestTypedDict, + OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse, + OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponseTypedDict, + ) + from .ontologymanagementservice_updateontologysyncconfigop import ( + OntologyManagementServiceUpdateOntologySyncConfigRequest, + OntologyManagementServiceUpdateOntologySyncConfigRequestTypedDict, + OntologyManagementServiceUpdateOntologySyncConfigResponse, + OntologyManagementServiceUpdateOntologySyncConfigResponseTypedDict, + ) + from .ontologymanagementservice_upsertontologyanaconfigop import ( + OntologyManagementServiceUpsertOntologyAnaConfigRequest, + OntologyManagementServiceUpsertOntologyAnaConfigRequestTypedDict, + OntologyManagementServiceUpsertOntologyAnaConfigResponse, + OntologyManagementServiceUpsertOntologyAnaConfigResponseTypedDict, + ) + from .ontologymanagementservice_upsertontologyfileop import ( + OntologyManagementServiceUpsertOntologyFileRequest, + OntologyManagementServiceUpsertOntologyFileRequestTypedDict, + OntologyManagementServiceUpsertOntologyFileResponse, + OntologyManagementServiceUpsertOntologyFileResponseTypedDict, + ) + from .ontologymanagementservice_upsertontologyownersop import ( + OntologyManagementServiceUpsertOntologyOwnersRequest, + OntologyManagementServiceUpsertOntologyOwnersRequestTypedDict, + OntologyManagementServiceUpsertOntologyOwnersResponse, + OntologyManagementServiceUpsertOntologyOwnersResponseTypedDict, + ) + from .ontologymanagementservice_validateconfigop import ( + OntologyManagementServiceValidateConfigRequest, + OntologyManagementServiceValidateConfigRequestTypedDict, + OntologyManagementServiceValidateConfigResponse, + OntologyManagementServiceValidateConfigResponseTypedDict, + ) from .playbookservice_attachdashboardop import ( PlaybookServiceAttachDashboardRequest, PlaybookServiceAttachDashboardRequestTypedDict, @@ -2042,6 +2060,12 @@ RBACServiceRotateAPIKeyResponse, RBACServiceRotateAPIKeyResponseTypedDict, ) + from .rbacservice_setrolepermissionsop import ( + RBACServiceSetRolePermissionsRequest, + RBACServiceSetRolePermissionsRequestTypedDict, + RBACServiceSetRolePermissionsResponse, + RBACServiceSetRolePermissionsResponseTypedDict, + ) from .rbacservice_shareobjectop import ( RBACServiceShareObjectRequest, RBACServiceShareObjectRequestTypedDict, @@ -2138,6 +2162,30 @@ SandboxAdminServiceStopSandboxResponse, SandboxAdminServiceStopSandboxResponseTypedDict, ) + from .sandboxcapabilityservice_executewriteop import ( + SandboxCapabilityServiceExecuteWriteRequest, + SandboxCapabilityServiceExecuteWriteRequestTypedDict, + SandboxCapabilityServiceExecuteWriteResponse, + SandboxCapabilityServiceExecuteWriteResponseTypedDict, + ) + from .sandboxcapabilityservice_putassetop import ( + SandboxCapabilityServicePutAssetRequest, + SandboxCapabilityServicePutAssetRequestTypedDict, + SandboxCapabilityServicePutAssetResponse, + SandboxCapabilityServicePutAssetResponseTypedDict, + ) + from .sandboxcapabilityservice_sendnotifyop import ( + SandboxCapabilityServiceSendNotifyRequest, + SandboxCapabilityServiceSendNotifyRequestTypedDict, + SandboxCapabilityServiceSendNotifyResponse, + SandboxCapabilityServiceSendNotifyResponseTypedDict, + ) + from .sandboxcapabilityservice_stateopop import ( + SandboxCapabilityServiceStateOpRequest, + SandboxCapabilityServiceStateOpRequestTypedDict, + SandboxCapabilityServiceStateOpResponse, + SandboxCapabilityServiceStateOpResponseTypedDict, + ) from .sandboxqueryservice_executequeryop import ( SandboxQueryServiceExecuteQueryRequest, SandboxQueryServiceExecuteQueryRequestTypedDict, @@ -2180,90 +2228,36 @@ ScimServiceRevokeScimTokenResponse, ScimServiceRevokeScimTokenResponseTypedDict, ) - from .secretservice_createapirevisionop import ( - SecretServiceCreateAPIRevisionRequest, - SecretServiceCreateAPIRevisionRequestTypedDict, - SecretServiceCreateAPIRevisionResponse, - SecretServiceCreateAPIRevisionResponseTypedDict, - ) - from .secretservice_deleteapiaccesskeyop import ( - SecretServiceDeleteAPIAccessKeyRequest, - SecretServiceDeleteAPIAccessKeyRequestTypedDict, - SecretServiceDeleteAPIAccessKeyResponse, - SecretServiceDeleteAPIAccessKeyResponseTypedDict, - ) - from .secretservice_deleteapirevisionop import ( - SecretServiceDeleteAPIRevisionRequest, - SecretServiceDeleteAPIRevisionRequestTypedDict, - SecretServiceDeleteAPIRevisionResponse, - SecretServiceDeleteAPIRevisionResponseTypedDict, - ) from .secretservice_deletesecretop import ( SecretServiceDeleteSecretRequest, SecretServiceDeleteSecretRequestTypedDict, SecretServiceDeleteSecretResponse, SecretServiceDeleteSecretResponseTypedDict, ) - from .secretservice_getapiaccesskeyop import ( - SecretServiceGetAPIAccessKeyRequest, - SecretServiceGetAPIAccessKeyRequestTypedDict, - SecretServiceGetAPIAccessKeyResponse, - SecretServiceGetAPIAccessKeyResponseTypedDict, - ) from .secretservice_getmemberswithsecretsop import ( SecretServiceGetMembersWithSecretsRequest, SecretServiceGetMembersWithSecretsRequestTypedDict, SecretServiceGetMembersWithSecretsResponse, SecretServiceGetMembersWithSecretsResponseTypedDict, ) - from .secretservice_listapiaccesskeysop import ( - SecretServiceListAPIAccessKeysRequest, - SecretServiceListAPIAccessKeysRequestTypedDict, - SecretServiceListAPIAccessKeysResponse, - SecretServiceListAPIAccessKeysResponseTypedDict, - ) - from .secretservice_listapiprovidersop import ( - SecretServiceListAPIProvidersRequest, - SecretServiceListAPIProvidersRequestTypedDict, - SecretServiceListAPIProvidersResponse, - SecretServiceListAPIProvidersResponseTypedDict, - ) from .secretservice_listsecretsop import ( SecretServiceListSecretsRequest, SecretServiceListSecretsRequestTypedDict, SecretServiceListSecretsResponse, SecretServiceListSecretsResponseTypedDict, ) - from .secretservice_migratesecrettoapiconnectorop import ( - SecretServiceMigrateSecretToAPIConnectorRequest, - SecretServiceMigrateSecretToAPIConnectorRequestTypedDict, - SecretServiceMigrateSecretToAPIConnectorResponse, - SecretServiceMigrateSecretToAPIConnectorResponseTypedDict, - ) from .secretservice_putsecretop import ( SecretServicePutSecretRequest, SecretServicePutSecretRequestTypedDict, SecretServicePutSecretResponse, SecretServicePutSecretResponseTypedDict, ) - from .secretservice_testapiaccesskeyop import ( - SecretServiceTestAPIAccessKeyRequest, - SecretServiceTestAPIAccessKeyRequestTypedDict, - SecretServiceTestAPIAccessKeyResponse, - SecretServiceTestAPIAccessKeyResponseTypedDict, - ) from .secretservice_updatesecretop import ( SecretServiceUpdateSecretRequest, SecretServiceUpdateSecretRequestTypedDict, SecretServiceUpdateSecretResponse, SecretServiceUpdateSecretResponseTypedDict, ) - from .secretservice_upsertapiaccesskeyop import ( - SecretServiceUpsertAPIAccessKeyRequest, - SecretServiceUpsertAPIAccessKeyRequestTypedDict, - SecretServiceUpsertAPIAccessKeyResponse, - SecretServiceUpsertAPIAccessKeyResponseTypedDict, - ) from .security import Security, SecurityTypedDict from .slackservice_createslackuuidop import ( SlackServiceCreateSlackUUIDRequest, @@ -2580,6 +2574,12 @@ TextqlRPCPublicAppApp, TextqlRPCPublicAppAppTypedDict, ) + from .textql_rpc_public_app_appactivityrecord import ( + TextqlRPCPublicAppAppActivityRecord, + TextqlRPCPublicAppAppActivityRecordSeq, + TextqlRPCPublicAppAppActivityRecordSeqTypedDict, + TextqlRPCPublicAppAppActivityRecordTypedDict, + ) from .textql_rpc_public_app_appfile import ( TextqlRPCPublicAppAppFile, TextqlRPCPublicAppAppFileTypedDict, @@ -2588,6 +2588,12 @@ TextqlRPCPublicAppAppHeartbeatRequest, TextqlRPCPublicAppAppHeartbeatRequestTypedDict, ) + from .textql_rpc_public_app_appmemberactivityrow import ( + TextqlRPCPublicAppAppMemberActivityRow, + TextqlRPCPublicAppAppMemberActivityRowSeq, + TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict, + TextqlRPCPublicAppAppMemberActivityRowTypedDict, + ) from .textql_rpc_public_app_appversion import ( TextqlRPCPublicAppAppVersion, TextqlRPCPublicAppAppVersionTypedDict, @@ -2596,6 +2602,14 @@ TextqlRPCPublicAppAppViewerInfo, TextqlRPCPublicAppAppViewerInfoTypedDict, ) + from .textql_rpc_public_app_capability import ( + TextqlRPCPublicAppCapability, + TextqlRPCPublicAppCapabilityTypedDict, + ) + from .textql_rpc_public_app_capabilityparam import ( + TextqlRPCPublicAppCapabilityParam, + TextqlRPCPublicAppCapabilityParamTypedDict, + ) from .textql_rpc_public_app_computefunction import ( TextqlRPCPublicAppComputeFunction, TextqlRPCPublicAppComputeFunctionTypedDict, @@ -2624,6 +2638,14 @@ TextqlRPCPublicAppDuplicateAppResponse, TextqlRPCPublicAppDuplicateAppResponseTypedDict, ) + from .textql_rpc_public_app_getappmemberstaterequest import ( + TextqlRPCPublicAppGetAppMemberStateRequest, + TextqlRPCPublicAppGetAppMemberStateRequestTypedDict, + ) + from .textql_rpc_public_app_getappmemberstateresponse import ( + TextqlRPCPublicAppGetAppMemberStateResponse, + TextqlRPCPublicAppGetAppMemberStateResponseTypedDict, + ) from .textql_rpc_public_app_getapprequest import ( TextqlRPCPublicAppGetAppRequest, TextqlRPCPublicAppGetAppRequestTypedDict, @@ -2664,6 +2686,16 @@ TextqlRPCPublicAppInvokeAppComputeFunctionResponse, TextqlRPCPublicAppInvokeAppComputeFunctionResponseTypedDict, ) + from .textql_rpc_public_app_listappactivitysincerequest import ( + AfterSeq, + AfterSeqTypedDict, + TextqlRPCPublicAppListAppActivitySinceRequest, + TextqlRPCPublicAppListAppActivitySinceRequestTypedDict, + ) + from .textql_rpc_public_app_listappactivitysinceresponse import ( + TextqlRPCPublicAppListAppActivitySinceResponse, + TextqlRPCPublicAppListAppActivitySinceResponseTypedDict, + ) from .textql_rpc_public_app_listappsrequest import ( TextqlRPCPublicAppListAppsRequest, TextqlRPCPublicAppListAppsRequestTypedDict, @@ -2680,6 +2712,14 @@ TextqlRPCPublicAppListAppVersionsResponse, TextqlRPCPublicAppListAppVersionsResponseTypedDict, ) + from .textql_rpc_public_app_listmyappmemberactivityrequest import ( + TextqlRPCPublicAppListMyAppMemberActivityRequest, + TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict, + ) + from .textql_rpc_public_app_listmyappmemberactivityresponse import ( + TextqlRPCPublicAppListMyAppMemberActivityResponse, + TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict, + ) from .textql_rpc_public_app_moveapptofolderrequest import ( TextqlRPCPublicAppMoveAppToFolderRequest, TextqlRPCPublicAppMoveAppToFolderRequestTypedDict, @@ -2688,6 +2728,20 @@ TextqlRPCPublicAppMoveAppToFolderResponse, TextqlRPCPublicAppMoveAppToFolderResponseTypedDict, ) + from .textql_rpc_public_app_presenceheartbeatrequest import ( + TextqlRPCPublicAppPresenceHeartbeatRequest, + TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict, + ) + from .textql_rpc_public_app_recordappmemberactivityrequest import ( + TextqlRPCPublicAppRecordAppMemberActivityRequest, + TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict, + ) + from .textql_rpc_public_app_recordappmemberactivityresponse import ( + TextqlRPCPublicAppRecordAppMemberActivityResponse, + TextqlRPCPublicAppRecordAppMemberActivityResponseSeq, + TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict, + TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict, + ) from .textql_rpc_public_app_refreshapprequest import ( TextqlRPCPublicAppRefreshAppRequest, TextqlRPCPublicAppRefreshAppRequestTypedDict, @@ -2704,6 +2758,14 @@ TextqlRPCPublicAppRestoreAppVersionResponse, TextqlRPCPublicAppRestoreAppVersionResponseTypedDict, ) + from .textql_rpc_public_app_setappmemberstaterequest import ( + TextqlRPCPublicAppSetAppMemberStateRequest, + TextqlRPCPublicAppSetAppMemberStateRequestTypedDict, + ) + from .textql_rpc_public_app_setappmemberstateresponse import ( + TextqlRPCPublicAppSetAppMemberStateResponse, + TextqlRPCPublicAppSetAppMemberStateResponseTypedDict, + ) from .textql_rpc_public_app_setfavoriterequest import ( TextqlRPCPublicAppSetFavoriteRequest, TextqlRPCPublicAppSetFavoriteRequestTypedDict, @@ -3246,6 +3308,10 @@ TextqlRPCPublicCellsTextCellSizeBytesTypedDict, TextqlRPCPublicCellsTextCellTypedDict, ) + from .textql_rpc_public_cells_thinkingcell import ( + TextqlRPCPublicCellsThinkingCell, + TextqlRPCPublicCellsThinkingCellTypedDict, + ) from .textql_rpc_public_cells_useskillcell import ( TextqlRPCPublicCellsUseSkillCell, TextqlRPCPublicCellsUseSkillCellTypedDict, @@ -3539,6 +3605,8 @@ TextqlRPCPublicChatCellDurationMs56TypedDict, TextqlRPCPublicChatCellDurationMs57, TextqlRPCPublicChatCellDurationMs57TypedDict, + TextqlRPCPublicChatCellDurationMs58, + TextqlRPCPublicChatCellDurationMs58TypedDict, TextqlRPCPublicChatCellDurationMs5TypedDict, TextqlRPCPublicChatCellDurationMs6, TextqlRPCPublicChatCellDurationMs6TypedDict, @@ -3549,6 +3617,8 @@ TextqlRPCPublicChatCellDurationMs9, TextqlRPCPublicChatCellDurationMs9TypedDict, TextqlRPCPublicChatCellTypedDict, + ThinkingCell, + ThinkingCellTypedDict, UseSkillCell, UseSkillCellTypedDict, WsCell, @@ -4645,6 +4715,10 @@ TextqlRPCPublicDashboardGetMembersWithDashboardsResponse, TextqlRPCPublicDashboardGetMembersWithDashboardsResponseTypedDict, ) + from .textql_rpc_public_dashboard_grant import ( + TextqlRPCPublicDashboardGrant, + TextqlRPCPublicDashboardGrantTypedDict, + ) from .textql_rpc_public_dashboard_librarytqlsource import ( TextqlRPCPublicDashboardLibraryTQLSource, TextqlRPCPublicDashboardLibraryTQLSourceTypedDict, @@ -5603,13 +5677,13 @@ TextqlRPCPublicParadigmUniversalOptions, TextqlRPCPublicParadigmUniversalOptionsTypedDict, ) - from .textql_rpc_public_patches_addlibrarysubmodulerequest import ( - TextqlRPCPublicPatchesAddLibrarySubmoduleRequest, - TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict, + from .textql_rpc_public_patches_addontologysubmodulerequest import ( + TextqlRPCPublicPatchesAddOntologySubmoduleRequest, + TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict, ) - from .textql_rpc_public_patches_addlibrarysubmoduleresponse import ( - TextqlRPCPublicPatchesAddLibrarySubmoduleResponse, - TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict, + from .textql_rpc_public_patches_addontologysubmoduleresponse import ( + TextqlRPCPublicPatchesAddOntologySubmoduleResponse, + TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict, ) from .textql_rpc_public_patches_approvalrule import ( TextqlRPCPublicPatchesApprovalRule, @@ -5642,13 +5716,13 @@ from .textql_rpc_public_patches_configdiagnosticclass import ( TextqlRPCPublicPatchesConfigDiagnosticClass, ) - from .textql_rpc_public_patches_configurelibraryremoterequest import ( - TextqlRPCPublicPatchesConfigureLibraryRemoteRequest, - TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict, + from .textql_rpc_public_patches_configureontologyremoterequest import ( + TextqlRPCPublicPatchesConfigureOntologyRemoteRequest, + TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_configurelibraryremoteresponse import ( - TextqlRPCPublicPatchesConfigureLibraryRemoteResponse, - TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict, + from .textql_rpc_public_patches_configureontologyremoteresponse import ( + TextqlRPCPublicPatchesConfigureOntologyRemoteResponse, + TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict, ) from .textql_rpc_public_patches_contextpatchautoapproverule import ( TextqlRPCPublicPatchesContextPatchAutoApproveRule, @@ -5674,23 +5748,23 @@ TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict, ) - from .textql_rpc_public_patches_createlibrarydirectoryrequest import ( - TextqlRPCPublicPatchesCreateLibraryDirectoryRequest, - TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict, + from .textql_rpc_public_patches_createontologydirectoryrequest import ( + TextqlRPCPublicPatchesCreateOntologyDirectoryRequest, + TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict, ) - from .textql_rpc_public_patches_createlibrarydirectoryresponse import ( - TextqlRPCPublicPatchesCreateLibraryDirectoryResponse, - TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict, + from .textql_rpc_public_patches_createontologydirectoryresponse import ( + TextqlRPCPublicPatchesCreateOntologyDirectoryResponse, + TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict, ) - from .textql_rpc_public_patches_createlibraryfileuploadurlrequest import ( - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict, + from .textql_rpc_public_patches_createontologyfileuploadurlrequest import ( + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict, ) - from .textql_rpc_public_patches_createlibraryfileuploadurlresponse import ( - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict, + from .textql_rpc_public_patches_createontologyfileuploadurlresponse import ( + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict, ) from .textql_rpc_public_patches_dailyfileusage import ( TextqlRPCPublicPatchesDailyFileUsage, @@ -5708,29 +5782,29 @@ TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict, ) - from .textql_rpc_public_patches_deletelibrarydirectoryrequest import ( - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest, - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict, + from .textql_rpc_public_patches_deleteontologydirectoryrequest import ( + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest, + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict, ) - from .textql_rpc_public_patches_deletelibraryfilerequest import ( - TextqlRPCPublicPatchesDeleteLibraryFileRequest, - TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict, + from .textql_rpc_public_patches_deleteontologyfilerequest import ( + TextqlRPCPublicPatchesDeleteOntologyFileRequest, + TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict, ) - from .textql_rpc_public_patches_deletelibraryownersrequest import ( - TextqlRPCPublicPatchesDeleteLibraryOwnersRequest, - TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict, + from .textql_rpc_public_patches_deleteontologyownersrequest import ( + TextqlRPCPublicPatchesDeleteOntologyOwnersRequest, + TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict, ) from .textql_rpc_public_patches_denypatchrequest import ( TextqlRPCPublicPatchesDenyPatchRequest, TextqlRPCPublicPatchesDenyPatchRequestTypedDict, ) - from .textql_rpc_public_patches_exchangelibrarygithubcoderequest import ( - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest, - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict, + from .textql_rpc_public_patches_exchangeontologygithubcoderequest import ( + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest, + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict, ) - from .textql_rpc_public_patches_exchangelibrarygithubcoderesponse import ( - TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse, - TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict, + from .textql_rpc_public_patches_exchangeontologygithubcoderesponse import ( + TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse, + TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict, ) from .textql_rpc_public_patches_filechatusage import ( TextqlRPCPublicPatchesFileChatUsage, @@ -5740,13 +5814,13 @@ TextqlRPCPublicPatchesFileUsage, TextqlRPCPublicPatchesFileUsageTypedDict, ) - from .textql_rpc_public_patches_finalizelibraryfileuploadrequest import ( - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest, - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict, + from .textql_rpc_public_patches_finalizeontologyfileuploadrequest import ( + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest, + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict, ) - from .textql_rpc_public_patches_finalizelibraryfileuploadresponse import ( - TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse, - TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict, + from .textql_rpc_public_patches_finalizeontologyfileuploadresponse import ( + TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse, + TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict, ) from .textql_rpc_public_patches_getcodeownercoveragerequest import ( TextqlRPCPublicPatchesGetCodeownerCoverageRequest, @@ -5764,13 +5838,13 @@ TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict, ) - from .textql_rpc_public_patches_geteffectivelibraryownersrequest import ( - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest, - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict, + from .textql_rpc_public_patches_geteffectiveontologyownersrequest import ( + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest, + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict, ) - from .textql_rpc_public_patches_geteffectivelibraryownersresponse import ( - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse, - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict, + from .textql_rpc_public_patches_geteffectiveontologyownersresponse import ( + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse, + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict, ) from .textql_rpc_public_patches_getfileusagerequest import ( TextqlRPCPublicPatchesGetFileUsageRequest, @@ -5788,77 +5862,69 @@ TextqlRPCPublicPatchesGetFileUsageTimelineResponse, TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict, ) - from .textql_rpc_public_patches_getlibraryanaconfigrequest import ( - TextqlRPCPublicPatchesGetLibraryAnaConfigRequest, - TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict, - ) - from .textql_rpc_public_patches_getlibraryanaconfigresponse import ( - TextqlRPCPublicPatchesGetLibraryAnaConfigResponse, - TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict, + from .textql_rpc_public_patches_getontologyanaconfigrequest import ( + TextqlRPCPublicPatchesGetOntologyAnaConfigRequest, + TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict, ) - from .textql_rpc_public_patches_getlibraryfilerequest import ( - TextqlRPCPublicPatchesGetLibraryFileRequest, - TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict, + from .textql_rpc_public_patches_getontologyanaconfigresponse import ( + TextqlRPCPublicPatchesGetOntologyAnaConfigResponse, + TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict, ) - from .textql_rpc_public_patches_getlibraryfileresponse import ( - TextqlRPCPublicPatchesGetLibraryFileResponse, - TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict, + from .textql_rpc_public_patches_getontologyfilerequest import ( + TextqlRPCPublicPatchesGetOntologyFileRequest, + TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict, ) - from .textql_rpc_public_patches_getlibrarygithuboauthurlrequest import ( - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest, - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict, + from .textql_rpc_public_patches_getontologyfileresponse import ( + TextqlRPCPublicPatchesGetOntologyFileResponse, + TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict, ) - from .textql_rpc_public_patches_getlibrarygithuboauthurlresponse import ( - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse, - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict, + from .textql_rpc_public_patches_getontologygithuboauthurlrequest import ( + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest, + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict, ) - from .textql_rpc_public_patches_getlibraryhistoryfilediffrequest import ( - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest, - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict, + from .textql_rpc_public_patches_getontologygithuboauthurlresponse import ( + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse, + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict, ) - from .textql_rpc_public_patches_getlibraryhistoryfilediffresponse import ( - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse, - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict, + from .textql_rpc_public_patches_getontologyhistoryfilediffrequest import ( + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest, + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict, ) - from .textql_rpc_public_patches_getlibrarymigrationstatusrequest import ( - TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict, + from .textql_rpc_public_patches_getontologyhistoryfilediffresponse import ( + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse, + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict, ) - from .textql_rpc_public_patches_getlibrarymigrationstatusresponse import ( - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse, - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict, + from .textql_rpc_public_patches_getontologyownersrequest import ( + TextqlRPCPublicPatchesGetOntologyOwnersRequest, + TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict, ) - from .textql_rpc_public_patches_getlibraryownersrequest import ( - TextqlRPCPublicPatchesGetLibraryOwnersRequest, - TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict, + from .textql_rpc_public_patches_getontologyownersresponse import ( + TextqlRPCPublicPatchesGetOntologyOwnersResponse, + TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict, ) - from .textql_rpc_public_patches_getlibraryownersresponse import ( - TextqlRPCPublicPatchesGetLibraryOwnersResponse, - TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict, + from .textql_rpc_public_patches_getontologyremoterequest import ( + TextqlRPCPublicPatchesGetOntologyRemoteRequest, + TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_getlibraryremoterequest import ( - TextqlRPCPublicPatchesGetLibraryRemoteRequest, - TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict, + from .textql_rpc_public_patches_getontologyremoteresponse import ( + TextqlRPCPublicPatchesGetOntologyRemoteResponse, + TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict, ) - from .textql_rpc_public_patches_getlibraryremoteresponse import ( - TextqlRPCPublicPatchesGetLibraryRemoteResponse, - TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict, + from .textql_rpc_public_patches_getontologysizetimelinerequest import ( + TextqlRPCPublicPatchesGetOntologySizeTimelineRequest, + TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict, ) - from .textql_rpc_public_patches_getlibrarysizetimelinerequest import ( - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest, - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict, + from .textql_rpc_public_patches_getontologysizetimelineresponse import ( + TextqlRPCPublicPatchesGetOntologySizeTimelineResponse, + TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict, ) - from .textql_rpc_public_patches_getlibrarysizetimelineresponse import ( - TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse, - TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict, + from .textql_rpc_public_patches_getontologysyncconflictsrequest import ( + TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict, ) - from .textql_rpc_public_patches_getlibrarysyncconflictsrequest import ( - TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict, - ) - from .textql_rpc_public_patches_getlibrarysyncconflictsresponse import ( - TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse, - TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict, + from .textql_rpc_public_patches_getontologysyncconflictsresponse import ( + TextqlRPCPublicPatchesGetOntologySyncConflictsResponse, + TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict, ) from .textql_rpc_public_patches_getontologyusagesummaryrequest import ( TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, @@ -5914,79 +5980,6 @@ TextqlRPCPublicPatchesGoldenEntry, TextqlRPCPublicPatchesGoldenEntryTypedDict, ) - from .textql_rpc_public_patches_libraryanaconfig import ( - TextqlRPCPublicPatchesLibraryAnaConfig, - TextqlRPCPublicPatchesLibraryAnaConfigTypedDict, - ) - from .textql_rpc_public_patches_libraryentry import ( - TextqlRPCPublicPatchesLibraryEntry, - TextqlRPCPublicPatchesLibraryEntrySizeBytes, - TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict, - TextqlRPCPublicPatchesLibraryEntryTypedDict, - ) - from .textql_rpc_public_patches_libraryfile import ( - TextqlRPCPublicPatchesLibraryFile, - TextqlRPCPublicPatchesLibraryFileSizeBytes, - TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict, - TextqlRPCPublicPatchesLibraryFileTypedDict, - ) - from .textql_rpc_public_patches_libraryfilekind import ( - TextqlRPCPublicPatchesLibraryFileKind, - ) - from .textql_rpc_public_patches_libraryhistorychangedfile import ( - TextqlRPCPublicPatchesLibraryHistoryChangedFile, - TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict, - ) - from .textql_rpc_public_patches_libraryhistorychangetype import ( - TextqlRPCPublicPatchesLibraryHistoryChangeType, - ) - from .textql_rpc_public_patches_libraryhistoryentry import ( - TextqlRPCPublicPatchesLibraryHistoryEntry, - TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict, - ) - from .textql_rpc_public_patches_libraryimportedge import ( - TextqlRPCPublicPatchesLibraryImportEdge, - TextqlRPCPublicPatchesLibraryImportEdgeTypedDict, - ) - from .textql_rpc_public_patches_librarymergeoutcome import ( - TextqlRPCPublicPatchesLibraryMergeOutcome, - ) - from .textql_rpc_public_patches_libraryownerentry import ( - TextqlRPCPublicPatchesLibraryOwnerEntry, - TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict, - ) - from .textql_rpc_public_patches_libraryowners import ( - TextqlRPCPublicPatchesLibraryOwners, - TextqlRPCPublicPatchesLibraryOwnersTypedDict, - ) - from .textql_rpc_public_patches_librarypermission import ( - TextqlRPCPublicPatchesLibraryPermission, - ) - from .textql_rpc_public_patches_libraryremote import ( - TextqlRPCPublicPatchesLibraryRemote, - TextqlRPCPublicPatchesLibraryRemoteTypedDict, - ) - from .textql_rpc_public_patches_librarysizeday import ( - TextqlRPCPublicPatchesLibrarySizeDay, - TextqlRPCPublicPatchesLibrarySizeDayTypedDict, - TotalBytes, - TotalBytesTypedDict, - ) - from .textql_rpc_public_patches_librarysubmodule import ( - TextqlRPCPublicPatchesLibrarySubmodule, - TextqlRPCPublicPatchesLibrarySubmoduleTypedDict, - ) - from .textql_rpc_public_patches_librarysyncconflict import ( - TextqlRPCPublicPatchesLibrarySyncConflict, - TextqlRPCPublicPatchesLibrarySyncConflictTypedDict, - ) - from .textql_rpc_public_patches_librarysyncrun import ( - TextqlRPCPublicPatchesLibrarySyncRun, - TextqlRPCPublicPatchesLibrarySyncRunTypedDict, - ) - from .textql_rpc_public_patches_librarysyncrunstatus import ( - TextqlRPCPublicPatchesLibrarySyncRunStatus, - ) from .textql_rpc_public_patches_listapprovalrulesrequest import ( TextqlRPCPublicPatchesListApprovalRulesRequest, TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, @@ -6019,45 +6012,45 @@ TextqlRPCPublicPatchesListGoldenFilesResponse, TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict, ) - from .textql_rpc_public_patches_listlibraryentriesrequest import ( - TextqlRPCPublicPatchesListLibraryEntriesRequest, - TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict, + from .textql_rpc_public_patches_listontologyentriesrequest import ( + TextqlRPCPublicPatchesListOntologyEntriesRequest, + TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict, ) - from .textql_rpc_public_patches_listlibraryentriesresponse import ( - TextqlRPCPublicPatchesListLibraryEntriesResponse, - TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict, + from .textql_rpc_public_patches_listontologyentriesresponse import ( + TextqlRPCPublicPatchesListOntologyEntriesResponse, + TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict, ) - from .textql_rpc_public_patches_listlibraryhistoryrequest import ( - TextqlRPCPublicPatchesListLibraryHistoryRequest, - TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict, + from .textql_rpc_public_patches_listontologyhistoryrequest import ( + TextqlRPCPublicPatchesListOntologyHistoryRequest, + TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict, ) - from .textql_rpc_public_patches_listlibraryhistoryresponse import ( - TextqlRPCPublicPatchesListLibraryHistoryResponse, - TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict, + from .textql_rpc_public_patches_listontologyhistoryresponse import ( + TextqlRPCPublicPatchesListOntologyHistoryResponse, + TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict, ) - from .textql_rpc_public_patches_listlibraryimportsrequest import ( - TextqlRPCPublicPatchesListLibraryImportsRequest, - TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict, + from .textql_rpc_public_patches_listontologyimportsrequest import ( + TextqlRPCPublicPatchesListOntologyImportsRequest, + TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict, ) - from .textql_rpc_public_patches_listlibraryimportsresponse import ( - TextqlRPCPublicPatchesListLibraryImportsResponse, - TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict, + from .textql_rpc_public_patches_listontologyimportsresponse import ( + TextqlRPCPublicPatchesListOntologyImportsResponse, + TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict, ) - from .textql_rpc_public_patches_listlibrarysubmodulesrequest import ( - TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict, + from .textql_rpc_public_patches_listontologysubmodulesrequest import ( + TextqlRPCPublicPatchesListOntologySubmodulesRequest, + TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict, ) - from .textql_rpc_public_patches_listlibrarysubmodulesresponse import ( - TextqlRPCPublicPatchesListLibrarySubmodulesResponse, - TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict, + from .textql_rpc_public_patches_listontologysubmodulesresponse import ( + TextqlRPCPublicPatchesListOntologySubmodulesResponse, + TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict, ) - from .textql_rpc_public_patches_listlibrarysyncrunsrequest import ( - TextqlRPCPublicPatchesListLibrarySyncRunsRequest, - TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict, + from .textql_rpc_public_patches_listontologysyncrunsrequest import ( + TextqlRPCPublicPatchesListOntologySyncRunsRequest, + TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict, ) - from .textql_rpc_public_patches_listlibrarysyncrunsresponse import ( - TextqlRPCPublicPatchesListLibrarySyncRunsResponse, - TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict, + from .textql_rpc_public_patches_listontologysyncrunsresponse import ( + TextqlRPCPublicPatchesListOntologySyncRunsResponse, + TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict, ) from .textql_rpc_public_patches_listpatchesrequest import ( TextqlRPCPublicPatchesListPatchesRequest, @@ -6083,33 +6076,78 @@ TextqlRPCPublicPatchesListSkillsResponse, TextqlRPCPublicPatchesListSkillsResponseTypedDict, ) - from .textql_rpc_public_patches_migratedlegacycontextprompt import ( - TextqlRPCPublicPatchesMigratedLegacyContextPrompt, - TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict, + from .textql_rpc_public_patches_ontologyanaconfig import ( + TextqlRPCPublicPatchesOntologyAnaConfig, + TextqlRPCPublicPatchesOntologyAnaConfigTypedDict, + ) + from .textql_rpc_public_patches_ontologyentry import ( + TextqlRPCPublicPatchesOntologyEntry, + TextqlRPCPublicPatchesOntologyEntrySizeBytes, + TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict, + TextqlRPCPublicPatchesOntologyEntryTypedDict, + ) + from .textql_rpc_public_patches_ontologyfile import ( + TextqlRPCPublicPatchesOntologyFile, + TextqlRPCPublicPatchesOntologyFileSizeBytes, + TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict, + TextqlRPCPublicPatchesOntologyFileTypedDict, ) - from .textql_rpc_public_patches_migratedontologynoun import ( - TextqlRPCPublicPatchesMigratedOntologyNoun, - TextqlRPCPublicPatchesMigratedOntologyNounTypedDict, + from .textql_rpc_public_patches_ontologyfilekind import ( + TextqlRPCPublicPatchesOntologyFileKind, ) - from .textql_rpc_public_patches_migratelegacycontexttolibraryrequest import ( - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest, - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict, + from .textql_rpc_public_patches_ontologyhistorychangedfile import ( + TextqlRPCPublicPatchesOntologyHistoryChangedFile, + TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict, ) - from .textql_rpc_public_patches_migratelegacycontexttolibraryresponse import ( - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse, - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict, + from .textql_rpc_public_patches_ontologyhistorychangetype import ( + TextqlRPCPublicPatchesOntologyHistoryChangeType, ) - from .textql_rpc_public_patches_migrateontologytolibraryrequest import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest, - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict, + from .textql_rpc_public_patches_ontologyhistoryentry import ( + TextqlRPCPublicPatchesOntologyHistoryEntry, + TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict, ) - from .textql_rpc_public_patches_migrateontologytolibraryresponse import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse, - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict, + from .textql_rpc_public_patches_ontologyimportedge import ( + TextqlRPCPublicPatchesOntologyImportEdge, + TextqlRPCPublicPatchesOntologyImportEdgeTypedDict, ) - from .textql_rpc_public_patches_migrateontologytolibraryresult import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryResult, - TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict, + from .textql_rpc_public_patches_ontologymergeoutcome import ( + TextqlRPCPublicPatchesOntologyMergeOutcome, + ) + from .textql_rpc_public_patches_ontologyownerentry import ( + TextqlRPCPublicPatchesOntologyOwnerEntry, + TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict, + ) + from .textql_rpc_public_patches_ontologyowners import ( + TextqlRPCPublicPatchesOntologyOwners, + TextqlRPCPublicPatchesOntologyOwnersTypedDict, + ) + from .textql_rpc_public_patches_ontologypermission import ( + TextqlRPCPublicPatchesOntologyPermission, + ) + from .textql_rpc_public_patches_ontologyremote import ( + TextqlRPCPublicPatchesOntologyRemote, + TextqlRPCPublicPatchesOntologyRemoteTypedDict, + ) + from .textql_rpc_public_patches_ontologysizeday import ( + TextqlRPCPublicPatchesOntologySizeDay, + TextqlRPCPublicPatchesOntologySizeDayTypedDict, + TotalBytes, + TotalBytesTypedDict, + ) + from .textql_rpc_public_patches_ontologysubmodule import ( + TextqlRPCPublicPatchesOntologySubmodule, + TextqlRPCPublicPatchesOntologySubmoduleTypedDict, + ) + from .textql_rpc_public_patches_ontologysyncconflict import ( + TextqlRPCPublicPatchesOntologySyncConflict, + TextqlRPCPublicPatchesOntologySyncConflictTypedDict, + ) + from .textql_rpc_public_patches_ontologysyncrun import ( + TextqlRPCPublicPatchesOntologySyncRun, + TextqlRPCPublicPatchesOntologySyncRunTypedDict, + ) + from .textql_rpc_public_patches_ontologysyncrunstatus import ( + TextqlRPCPublicPatchesOntologySyncRunStatus, ) from .textql_rpc_public_patches_patch import ( TextqlRPCPublicPatchesPatch, @@ -6165,56 +6203,56 @@ TextqlRPCPublicPatchesPatchStatusCounts, TextqlRPCPublicPatchesPatchStatusCountsTypedDict, ) - from .textql_rpc_public_patches_planlibrarymergerequest import ( - TextqlRPCPublicPatchesPlanLibraryMergeRequest, - TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict, + from .textql_rpc_public_patches_planontologymergerequest import ( + TextqlRPCPublicPatchesPlanOntologyMergeRequest, + TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict, ) - from .textql_rpc_public_patches_planlibrarymergeresponse import ( - TextqlRPCPublicPatchesPlanLibraryMergeResponse, - TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict, + from .textql_rpc_public_patches_planontologymergeresponse import ( + TextqlRPCPublicPatchesPlanOntologyMergeResponse, + TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict, ) - from .textql_rpc_public_patches_previewlibrarypullfolderrow import ( - TextqlRPCPublicPatchesPreviewLibraryPullFolderRow, - TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict, + from .textql_rpc_public_patches_previewontologypullfolderrow import ( + TextqlRPCPublicPatchesPreviewOntologyPullFolderRow, + TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict, ) - from .textql_rpc_public_patches_previewlibrarypullfromremoterequest import ( - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict, + from .textql_rpc_public_patches_previewontologypullfromremoterequest import ( + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_previewlibrarypullfromremoteresponse import ( - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse, - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict, + from .textql_rpc_public_patches_previewontologypullfromremoteresponse import ( + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse, + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict, ) - from .textql_rpc_public_patches_pulllibraryfromremoterequest import ( - TextqlRPCPublicPatchesPullLibraryFromRemoteRequest, - TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict, + from .textql_rpc_public_patches_pullontologyfromremoterequest import ( + TextqlRPCPublicPatchesPullOntologyFromRemoteRequest, + TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_pushlibrarytoremoterequest import ( - TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict, + from .textql_rpc_public_patches_pushontologytoremoterequest import ( + TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_recoverlibrarylevel import ( - TextqlRPCPublicPatchesRecoverLibraryLevel, + from .textql_rpc_public_patches_recoverontologylevel import ( + TextqlRPCPublicPatchesRecoverOntologyLevel, ) - from .textql_rpc_public_patches_recoverlibraryrequest import ( - TextqlRPCPublicPatchesRecoverLibraryRequest, - TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict, + from .textql_rpc_public_patches_recoverontologyrequest import ( + TextqlRPCPublicPatchesRecoverOntologyRequest, + TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict, ) - from .textql_rpc_public_patches_removelibraryremoterequest import ( - TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict, + from .textql_rpc_public_patches_removeontologyremoterequest import ( + TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict, ) - from .textql_rpc_public_patches_removelibrarysubmodulerequest import ( - TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest, - TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict, + from .textql_rpc_public_patches_removeontologysubmodulerequest import ( + TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest, + TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict, ) - from .textql_rpc_public_patches_renamelibraryfilerequest import ( - TextqlRPCPublicPatchesRenameLibraryFileRequest, - TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict, + from .textql_rpc_public_patches_renameontologyfilerequest import ( + TextqlRPCPublicPatchesRenameOntologyFileRequest, + TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict, ) - from .textql_rpc_public_patches_renamelibraryfileresponse import ( - TextqlRPCPublicPatchesRenameLibraryFileResponse, - TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict, + from .textql_rpc_public_patches_renameontologyfileresponse import ( + TextqlRPCPublicPatchesRenameOntologyFileResponse, + TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict, ) from .textql_rpc_public_patches_requestpatchreviewrequest import ( TextqlRPCPublicPatchesRequestPatchReviewRequest, @@ -6224,9 +6262,9 @@ TextqlRPCPublicPatchesRequestPatchReviewResponse, TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict, ) - from .textql_rpc_public_patches_resolvelibrarysyncconflictrequest import ( - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest, - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict, + from .textql_rpc_public_patches_resolveontologysyncconflictrequest import ( + TextqlRPCPublicPatchesResolveOntologySyncConflictRequest, + TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict, ) from .textql_rpc_public_patches_restorepatchrequest import ( TextqlRPCPublicPatchesRestorePatchRequest, @@ -6256,13 +6294,13 @@ TextqlRPCPublicPatchesSaveObjectAsConfigResponse, TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict, ) - from .textql_rpc_public_patches_setlibraryfilegoldenrequest import ( - TextqlRPCPublicPatchesSetLibraryFileGoldenRequest, - TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict, + from .textql_rpc_public_patches_setontologyfilegoldenrequest import ( + TextqlRPCPublicPatchesSetOntologyFileGoldenRequest, + TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict, ) - from .textql_rpc_public_patches_setlibraryfilegoldenresponse import ( - TextqlRPCPublicPatchesSetLibraryFileGoldenResponse, - TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict, + from .textql_rpc_public_patches_setontologyfilegoldenresponse import ( + TextqlRPCPublicPatchesSetOntologyFileGoldenResponse, + TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict, ) from .textql_rpc_public_patches_skill import ( TextqlRPCPublicPatchesSkill, @@ -6296,37 +6334,37 @@ TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict, ) - from .textql_rpc_public_patches_updatelibrarysyncconfigrequest import ( - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest, - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict, + from .textql_rpc_public_patches_updateontologysyncconfigrequest import ( + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest, + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict, ) - from .textql_rpc_public_patches_updatelibrarysyncconfigresponse import ( - TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse, - TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict, + from .textql_rpc_public_patches_updateontologysyncconfigresponse import ( + TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse, + TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryanaconfigrequest import ( - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest, - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict, + from .textql_rpc_public_patches_upsertontologyanaconfigrequest import ( + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest, + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryanaconfigresponse import ( - TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse, - TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict, + from .textql_rpc_public_patches_upsertontologyanaconfigresponse import ( + TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse, + TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryfilerequest import ( - TextqlRPCPublicPatchesUpsertLibraryFileRequest, - TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict, + from .textql_rpc_public_patches_upsertontologyfilerequest import ( + TextqlRPCPublicPatchesUpsertOntologyFileRequest, + TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryfileresponse import ( - TextqlRPCPublicPatchesUpsertLibraryFileResponse, - TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict, + from .textql_rpc_public_patches_upsertontologyfileresponse import ( + TextqlRPCPublicPatchesUpsertOntologyFileResponse, + TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryownersrequest import ( - TextqlRPCPublicPatchesUpsertLibraryOwnersRequest, - TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict, + from .textql_rpc_public_patches_upsertontologyownersrequest import ( + TextqlRPCPublicPatchesUpsertOntologyOwnersRequest, + TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict, ) - from .textql_rpc_public_patches_upsertlibraryownersresponse import ( - TextqlRPCPublicPatchesUpsertLibraryOwnersResponse, - TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict, + from .textql_rpc_public_patches_upsertontologyownersresponse import ( + TextqlRPCPublicPatchesUpsertOntologyOwnersResponse, + TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict, ) from .textql_rpc_public_patches_usageorderby import ( TextqlRPCPublicPatchesUsageOrderBy, @@ -7209,6 +7247,14 @@ TextqlRPCPublicRbacServiceAccount, TextqlRPCPublicRbacServiceAccountTypedDict, ) + from .textql_rpc_public_rbac_setrolepermissionsrequest import ( + TextqlRPCPublicRbacSetRolePermissionsRequest, + TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict, + ) + from .textql_rpc_public_rbac_setrolepermissionsresponse import ( + TextqlRPCPublicRbacSetRolePermissionsResponse, + TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict, + ) from .textql_rpc_public_rbac_shareobjectrequest import ( TextqlRPCPublicRbacShareObjectRequest, TextqlRPCPublicRbacShareObjectRequestTypedDict, @@ -7414,18 +7460,62 @@ TextqlRPCPublicSandboxAdminStopSandboxResponse, TextqlRPCPublicSandboxAdminStopSandboxResponseTypedDict, ) + from .textql_rpc_public_sandbox_capability_sandboxexecutewriterequest import ( + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxputassetrequest import ( + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest, + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxputassetresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse, + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest import ( + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest, + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse, + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxstateoprequest import ( + TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest, + TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict, + ) + from .textql_rpc_public_sandbox_capability_sandboxstateopresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse, + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict, + ) + from .textql_rpc_public_sandbox_query_appdbtemplate import ( + TextqlRPCPublicSandboxQueryAppDBTemplate, + TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict, + ) from .textql_rpc_public_sandbox_query_librarytqltemplate import ( TextqlRPCPublicSandboxQueryLibraryTQLTemplate, TextqlRPCPublicSandboxQueryLibraryTQLTemplateTypedDict, ) from .textql_rpc_public_sandbox_query_sandboxexecutequeryrequest import ( - MaxRows1, - MaxRows1TypedDict, - MaxRows2, - MaxRows2TypedDict, + AppDb, + AppDbTypedDict, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequest, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3, + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestTypedDict, @@ -7500,47 +7590,6 @@ TextqlRPCPublicScimScimToken, TextqlRPCPublicScimScimTokenTypedDict, ) - from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, - ) - from .textql_rpc_public_secret_apiaccessref import ( - Revision, - RevisionTypedDict, - TextqlRPCPublicSecretAPIAccessRef, - TextqlRPCPublicSecretAPIAccessRefTypedDict, - ) - from .textql_rpc_public_secret_apiprovider import ( - TextqlRPCPublicSecretAPIProvider, - TextqlRPCPublicSecretAPIProviderTypedDict, - ) - from .textql_rpc_public_secret_bodycontenttype import ( - TextqlRPCPublicSecretBodyContentType, - ) - from .textql_rpc_public_secret_createapirevisionrequest import ( - TextqlRPCPublicSecretCreateAPIRevisionRequest, - TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict, - ) - from .textql_rpc_public_secret_createapirevisionresponse import ( - TextqlRPCPublicSecretCreateAPIRevisionResponse, - TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict, - ) - from .textql_rpc_public_secret_deleteapiaccesskeyrequest import ( - TextqlRPCPublicSecretDeleteAPIAccessKeyRequest, - TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict, - ) - from .textql_rpc_public_secret_deleteapiaccesskeyresponse import ( - TextqlRPCPublicSecretDeleteAPIAccessKeyResponse, - TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict, - ) - from .textql_rpc_public_secret_deleteapirevisionrequest import ( - TextqlRPCPublicSecretDeleteAPIRevisionRequest, - TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict, - ) - from .textql_rpc_public_secret_deleteapirevisionresponse import ( - TextqlRPCPublicSecretDeleteAPIRevisionResponse, - TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict, - ) from .textql_rpc_public_secret_deletesecretrequest import ( TextqlRPCPublicSecretDeleteSecretRequest, TextqlRPCPublicSecretDeleteSecretRequestTypedDict, @@ -7549,18 +7598,6 @@ TextqlRPCPublicSecretDeleteSecretResponse, TextqlRPCPublicSecretDeleteSecretResponseTypedDict, ) - from .textql_rpc_public_secret_envvarfield import ( - TextqlRPCPublicSecretEnvVarField, - TextqlRPCPublicSecretEnvVarFieldTypedDict, - ) - from .textql_rpc_public_secret_getapiaccesskeyrequest import ( - TextqlRPCPublicSecretGetAPIAccessKeyRequest, - TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict, - ) - from .textql_rpc_public_secret_getapiaccesskeyresponse import ( - TextqlRPCPublicSecretGetAPIAccessKeyResponse, - TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict, - ) from .textql_rpc_public_secret_getmemberswithsecretsrequest import ( TextqlRPCPublicSecretGetMembersWithSecretsRequest, TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict, @@ -7569,26 +7606,6 @@ TextqlRPCPublicSecretGetMembersWithSecretsResponse, TextqlRPCPublicSecretGetMembersWithSecretsResponseTypedDict, ) - from .textql_rpc_public_secret_httpbasicauth import ( - TextqlRPCPublicSecretHTTPBasicAuth, - TextqlRPCPublicSecretHTTPBasicAuthTypedDict, - ) - from .textql_rpc_public_secret_listapiaccesskeysrequest import ( - TextqlRPCPublicSecretListAPIAccessKeysRequest, - TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict, - ) - from .textql_rpc_public_secret_listapiaccesskeysresponse import ( - TextqlRPCPublicSecretListAPIAccessKeysResponse, - TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict, - ) - from .textql_rpc_public_secret_listapiprovidersrequest import ( - TextqlRPCPublicSecretListAPIProvidersRequest, - TextqlRPCPublicSecretListAPIProvidersRequestTypedDict, - ) - from .textql_rpc_public_secret_listapiprovidersresponse import ( - TextqlRPCPublicSecretListAPIProvidersResponse, - TextqlRPCPublicSecretListAPIProvidersResponseTypedDict, - ) from .textql_rpc_public_secret_listsecretsrequest import ( TextqlRPCPublicSecretListSecretsRequest, TextqlRPCPublicSecretListSecretsRequestTypedDict, @@ -7597,14 +7614,6 @@ TextqlRPCPublicSecretListSecretsResponse, TextqlRPCPublicSecretListSecretsResponseTypedDict, ) - from .textql_rpc_public_secret_migratesecrettoapiconnectorrequest import ( - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest, - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict, - ) - from .textql_rpc_public_secret_migratesecrettoapiconnectorresponse import ( - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse, - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict, - ) from .textql_rpc_public_secret_putsecretrequest import ( TextqlRPCPublicSecretPutSecretRequest, TextqlRPCPublicSecretPutSecretRequestTypedDict, @@ -7617,14 +7626,6 @@ TextqlRPCPublicSecretSecret, TextqlRPCPublicSecretSecretTypedDict, ) - from .textql_rpc_public_secret_testapiaccesskeyrequest import ( - TextqlRPCPublicSecretTestAPIAccessKeyRequest, - TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict, - ) - from .textql_rpc_public_secret_testapiaccesskeyresponse import ( - TextqlRPCPublicSecretTestAPIAccessKeyResponse, - TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict, - ) from .textql_rpc_public_secret_updatesecretrequest import ( TextqlRPCPublicSecretUpdateSecretRequest, TextqlRPCPublicSecretUpdateSecretRequestTypedDict, @@ -7633,14 +7634,6 @@ TextqlRPCPublicSecretUpdateSecretResponse, TextqlRPCPublicSecretUpdateSecretResponseTypedDict, ) - from .textql_rpc_public_secret_upsertapiaccesskeyrequest import ( - TextqlRPCPublicSecretUpsertAPIAccessKeyRequest, - TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict, - ) - from .textql_rpc_public_secret_upsertapiaccesskeyresponse import ( - TextqlRPCPublicSecretUpsertAPIAccessKeyResponse, - TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict, - ) from .textql_rpc_public_slack_createslackuuidresponse import ( TextqlRPCPublicSlackCreateSlackUUIDResponse, TextqlRPCPublicSlackCreateSlackUUIDResponseTypedDict, @@ -7877,6 +7870,8 @@ "AccessKeyTypedDict", "Additions", "AdditionsTypedDict", + "AfterSeq", + "AfterSeqTypedDict", "AgentServiceCreateAgentRequest", "AgentServiceCreateAgentRequestTypedDict", "AgentServiceCreateAgentResponse", @@ -7925,6 +7920,8 @@ "AnsCellTypedDict", "AppCell", "AppCellTypedDict", + "AppDb", + "AppDbTypedDict", "AppServiceAppHeartbeatRequest", "AppServiceAppHeartbeatRequestTypedDict", "AppServiceAppHeartbeatResponse", @@ -7941,6 +7938,10 @@ "AppServiceDuplicateAppRequestTypedDict", "AppServiceDuplicateAppResponse", "AppServiceDuplicateAppResponseTypedDict", + "AppServiceGetAppMemberStateRequest", + "AppServiceGetAppMemberStateRequestTypedDict", + "AppServiceGetAppMemberStateResponse", + "AppServiceGetAppMemberStateResponseTypedDict", "AppServiceGetAppRequest", "AppServiceGetAppRequestTypedDict", "AppServiceGetAppResponse", @@ -7961,6 +7962,10 @@ "AppServiceInvokeAppComputeFunctionRequestTypedDict", "AppServiceInvokeAppComputeFunctionResponse", "AppServiceInvokeAppComputeFunctionResponseTypedDict", + "AppServiceListAppActivitySinceRequest", + "AppServiceListAppActivitySinceRequestTypedDict", + "AppServiceListAppActivitySinceResponse", + "AppServiceListAppActivitySinceResponseTypedDict", "AppServiceListAppVersionsRequest", "AppServiceListAppVersionsRequestTypedDict", "AppServiceListAppVersionsResponse", @@ -7969,10 +7974,22 @@ "AppServiceListAppsRequestTypedDict", "AppServiceListAppsResponse", "AppServiceListAppsResponseTypedDict", + "AppServiceListMyAppMemberActivityRequest", + "AppServiceListMyAppMemberActivityRequestTypedDict", + "AppServiceListMyAppMemberActivityResponse", + "AppServiceListMyAppMemberActivityResponseTypedDict", "AppServiceMoveAppToFolderRequest", "AppServiceMoveAppToFolderRequestTypedDict", "AppServiceMoveAppToFolderResponse", "AppServiceMoveAppToFolderResponseTypedDict", + "AppServicePresenceHeartbeatRequest", + "AppServicePresenceHeartbeatRequestTypedDict", + "AppServicePresenceHeartbeatResponse", + "AppServicePresenceHeartbeatResponseTypedDict", + "AppServiceRecordAppMemberActivityRequest", + "AppServiceRecordAppMemberActivityRequestTypedDict", + "AppServiceRecordAppMemberActivityResponse", + "AppServiceRecordAppMemberActivityResponseTypedDict", "AppServiceRefreshAppRequest", "AppServiceRefreshAppRequestTypedDict", "AppServiceRefreshAppResponse", @@ -7981,6 +7998,10 @@ "AppServiceRestoreAppVersionRequestTypedDict", "AppServiceRestoreAppVersionResponse", "AppServiceRestoreAppVersionResponseTypedDict", + "AppServiceSetAppMemberStateRequest", + "AppServiceSetAppMemberStateRequestTypedDict", + "AppServiceSetAppMemberStateResponse", + "AppServiceSetAppMemberStateResponseTypedDict", "AppServiceSetFavoriteRequest", "AppServiceSetFavoriteRequestTypedDict", "AppServiceSetFavoriteResponse", @@ -8598,294 +8619,6 @@ "KdbTypedDict", "LeadingContext", "LeadingContextTypedDict", - "LibraryServiceAddLibrarySubmoduleRequest", - "LibraryServiceAddLibrarySubmoduleRequestTypedDict", - "LibraryServiceAddLibrarySubmoduleResponse", - "LibraryServiceAddLibrarySubmoduleResponseTypedDict", - "LibraryServiceApprovePatchRequest", - "LibraryServiceApprovePatchRequestTypedDict", - "LibraryServiceApprovePatchResponse", - "LibraryServiceApprovePatchResponseTypedDict", - "LibraryServiceConfigureLibraryRemoteRequest", - "LibraryServiceConfigureLibraryRemoteRequestTypedDict", - "LibraryServiceConfigureLibraryRemoteResponse", - "LibraryServiceConfigureLibraryRemoteResponseTypedDict", - "LibraryServiceCreateApprovalRuleRequest", - "LibraryServiceCreateApprovalRuleRequestTypedDict", - "LibraryServiceCreateApprovalRuleResponse", - "LibraryServiceCreateApprovalRuleResponseTypedDict", - "LibraryServiceCreateContextPatchAutoApproveRuleRequest", - "LibraryServiceCreateContextPatchAutoApproveRuleRequestTypedDict", - "LibraryServiceCreateContextPatchAutoApproveRuleResponse", - "LibraryServiceCreateContextPatchAutoApproveRuleResponseTypedDict", - "LibraryServiceCreateLibraryDirectoryRequest", - "LibraryServiceCreateLibraryDirectoryRequestTypedDict", - "LibraryServiceCreateLibraryDirectoryResponse", - "LibraryServiceCreateLibraryDirectoryResponseTypedDict", - "LibraryServiceCreateLibraryFileUploadURLRequest", - "LibraryServiceCreateLibraryFileUploadURLRequestTypedDict", - "LibraryServiceCreateLibraryFileUploadURLResponse", - "LibraryServiceCreateLibraryFileUploadURLResponseTypedDict", - "LibraryServiceDeleteApprovalRuleRequest", - "LibraryServiceDeleteApprovalRuleRequestTypedDict", - "LibraryServiceDeleteApprovalRuleResponse", - "LibraryServiceDeleteApprovalRuleResponseTypedDict", - "LibraryServiceDeleteContextPatchAutoApproveRuleRequest", - "LibraryServiceDeleteContextPatchAutoApproveRuleRequestTypedDict", - "LibraryServiceDeleteContextPatchAutoApproveRuleResponse", - "LibraryServiceDeleteContextPatchAutoApproveRuleResponseTypedDict", - "LibraryServiceDeleteLibraryDirectoryRequest", - "LibraryServiceDeleteLibraryDirectoryRequestTypedDict", - "LibraryServiceDeleteLibraryDirectoryResponse", - "LibraryServiceDeleteLibraryDirectoryResponseTypedDict", - "LibraryServiceDeleteLibraryFileRequest", - "LibraryServiceDeleteLibraryFileRequestTypedDict", - "LibraryServiceDeleteLibraryFileResponse", - "LibraryServiceDeleteLibraryFileResponseTypedDict", - "LibraryServiceDeleteLibraryOwnersRequest", - "LibraryServiceDeleteLibraryOwnersRequestTypedDict", - "LibraryServiceDeleteLibraryOwnersResponse", - "LibraryServiceDeleteLibraryOwnersResponseTypedDict", - "LibraryServiceDenyPatchRequest", - "LibraryServiceDenyPatchRequestTypedDict", - "LibraryServiceDenyPatchResponse", - "LibraryServiceDenyPatchResponseTypedDict", - "LibraryServiceExchangeLibraryGithubCodeRequest", - "LibraryServiceExchangeLibraryGithubCodeRequestTypedDict", - "LibraryServiceExchangeLibraryGithubCodeResponse", - "LibraryServiceExchangeLibraryGithubCodeResponseTypedDict", - "LibraryServiceFinalizeLibraryFileUploadRequest", - "LibraryServiceFinalizeLibraryFileUploadRequestTypedDict", - "LibraryServiceFinalizeLibraryFileUploadResponse", - "LibraryServiceFinalizeLibraryFileUploadResponseTypedDict", - "LibraryServiceGetCodeownerCoverageRequest", - "LibraryServiceGetCodeownerCoverageRequestTypedDict", - "LibraryServiceGetCodeownerCoverageResponse", - "LibraryServiceGetCodeownerCoverageResponseTypedDict", - "LibraryServiceGetConfigExportCapabilitiesRequest", - "LibraryServiceGetConfigExportCapabilitiesRequestTypedDict", - "LibraryServiceGetConfigExportCapabilitiesResponse", - "LibraryServiceGetConfigExportCapabilitiesResponseTypedDict", - "LibraryServiceGetEffectiveLibraryOwnersRequest", - "LibraryServiceGetEffectiveLibraryOwnersRequestTypedDict", - "LibraryServiceGetEffectiveLibraryOwnersResponse", - "LibraryServiceGetEffectiveLibraryOwnersResponseTypedDict", - "LibraryServiceGetFileUsageRequest", - "LibraryServiceGetFileUsageRequestTypedDict", - "LibraryServiceGetFileUsageResponse", - "LibraryServiceGetFileUsageResponseTypedDict", - "LibraryServiceGetFileUsageTimelineRequest", - "LibraryServiceGetFileUsageTimelineRequestTypedDict", - "LibraryServiceGetFileUsageTimelineResponse", - "LibraryServiceGetFileUsageTimelineResponseTypedDict", - "LibraryServiceGetLibraryAnaConfigRequest", - "LibraryServiceGetLibraryAnaConfigRequestTypedDict", - "LibraryServiceGetLibraryAnaConfigResponse", - "LibraryServiceGetLibraryAnaConfigResponseTypedDict", - "LibraryServiceGetLibraryFileRequest", - "LibraryServiceGetLibraryFileRequestTypedDict", - "LibraryServiceGetLibraryFileResponse", - "LibraryServiceGetLibraryFileResponseTypedDict", - "LibraryServiceGetLibraryGithubOAuthURLRequest", - "LibraryServiceGetLibraryGithubOAuthURLRequestTypedDict", - "LibraryServiceGetLibraryGithubOAuthURLResponse", - "LibraryServiceGetLibraryGithubOAuthURLResponseTypedDict", - "LibraryServiceGetLibraryHistoryFileDiffRequest", - "LibraryServiceGetLibraryHistoryFileDiffRequestTypedDict", - "LibraryServiceGetLibraryHistoryFileDiffResponse", - "LibraryServiceGetLibraryHistoryFileDiffResponseTypedDict", - "LibraryServiceGetLibraryMigrationStatusRequest", - "LibraryServiceGetLibraryMigrationStatusRequestTypedDict", - "LibraryServiceGetLibraryMigrationStatusResponse", - "LibraryServiceGetLibraryMigrationStatusResponseTypedDict", - "LibraryServiceGetLibraryOwnersRequest", - "LibraryServiceGetLibraryOwnersRequestTypedDict", - "LibraryServiceGetLibraryOwnersResponse", - "LibraryServiceGetLibraryOwnersResponseTypedDict", - "LibraryServiceGetLibraryRemoteRequest", - "LibraryServiceGetLibraryRemoteRequestTypedDict", - "LibraryServiceGetLibraryRemoteResponse", - "LibraryServiceGetLibraryRemoteResponseTypedDict", - "LibraryServiceGetLibrarySizeTimelineRequest", - "LibraryServiceGetLibrarySizeTimelineRequestTypedDict", - "LibraryServiceGetLibrarySizeTimelineResponse", - "LibraryServiceGetLibrarySizeTimelineResponseTypedDict", - "LibraryServiceGetLibrarySyncConflictsRequest", - "LibraryServiceGetLibrarySyncConflictsRequestTypedDict", - "LibraryServiceGetLibrarySyncConflictsResponse", - "LibraryServiceGetLibrarySyncConflictsResponseTypedDict", - "LibraryServiceGetOntologyUsageSummaryRequest", - "LibraryServiceGetOntologyUsageSummaryRequestTypedDict", - "LibraryServiceGetOntologyUsageSummaryResponse", - "LibraryServiceGetOntologyUsageSummaryResponseTypedDict", - "LibraryServiceGetPatchByNumberRequest", - "LibraryServiceGetPatchByNumberRequestTypedDict", - "LibraryServiceGetPatchByNumberResponse", - "LibraryServiceGetPatchByNumberResponseTypedDict", - "LibraryServiceGetPatchCapabilitiesRequest", - "LibraryServiceGetPatchCapabilitiesRequestTypedDict", - "LibraryServiceGetPatchCapabilitiesResponse", - "LibraryServiceGetPatchCapabilitiesResponseTypedDict", - "LibraryServiceGetPatchRequest", - "LibraryServiceGetPatchRequestTypedDict", - "LibraryServiceGetPatchResponse", - "LibraryServiceGetPatchResponseTypedDict", - "LibraryServiceGetRawPatchRequest", - "LibraryServiceGetRawPatchRequestTypedDict", - "LibraryServiceGetRawPatchResponse", - "LibraryServiceGetRawPatchResponseTypedDict", - "LibraryServiceGetUsageDetailsForFileRequest", - "LibraryServiceGetUsageDetailsForFileRequestTypedDict", - "LibraryServiceGetUsageDetailsForFileResponse", - "LibraryServiceGetUsageDetailsForFileResponseTypedDict", - "LibraryServiceListApprovalRulesRequest", - "LibraryServiceListApprovalRulesRequestTypedDict", - "LibraryServiceListApprovalRulesResponse", - "LibraryServiceListApprovalRulesResponseTypedDict", - "LibraryServiceListChatsForFileRequest", - "LibraryServiceListChatsForFileRequestTypedDict", - "LibraryServiceListChatsForFileResponse", - "LibraryServiceListChatsForFileResponseTypedDict", - "LibraryServiceListContextPatchAutoApproveRulesRequest", - "LibraryServiceListContextPatchAutoApproveRulesRequestTypedDict", - "LibraryServiceListContextPatchAutoApproveRulesResponse", - "LibraryServiceListContextPatchAutoApproveRulesResponseTypedDict", - "LibraryServiceListGoldenFilesRequest", - "LibraryServiceListGoldenFilesRequestTypedDict", - "LibraryServiceListGoldenFilesResponse", - "LibraryServiceListGoldenFilesResponseTypedDict", - "LibraryServiceListLibraryEntriesRequest", - "LibraryServiceListLibraryEntriesRequestTypedDict", - "LibraryServiceListLibraryEntriesResponse", - "LibraryServiceListLibraryEntriesResponseTypedDict", - "LibraryServiceListLibraryHistoryRequest", - "LibraryServiceListLibraryHistoryRequestTypedDict", - "LibraryServiceListLibraryHistoryResponse", - "LibraryServiceListLibraryHistoryResponseTypedDict", - "LibraryServiceListLibraryImportsRequest", - "LibraryServiceListLibraryImportsRequestTypedDict", - "LibraryServiceListLibraryImportsResponse", - "LibraryServiceListLibraryImportsResponseTypedDict", - "LibraryServiceListLibrarySubmodulesRequest", - "LibraryServiceListLibrarySubmodulesRequestTypedDict", - "LibraryServiceListLibrarySubmodulesResponse", - "LibraryServiceListLibrarySubmodulesResponseTypedDict", - "LibraryServiceListLibrarySyncRunsRequest", - "LibraryServiceListLibrarySyncRunsRequestTypedDict", - "LibraryServiceListLibrarySyncRunsResponse", - "LibraryServiceListLibrarySyncRunsResponseTypedDict", - "LibraryServiceListPatchReviewersRequest", - "LibraryServiceListPatchReviewersRequestTypedDict", - "LibraryServiceListPatchReviewersResponse", - "LibraryServiceListPatchReviewersResponseTypedDict", - "LibraryServiceListPatchesRequest", - "LibraryServiceListPatchesRequestTypedDict", - "LibraryServiceListPatchesResponse", - "LibraryServiceListPatchesResponseTypedDict", - "LibraryServiceListSkillsRequest", - "LibraryServiceListSkillsRequestTypedDict", - "LibraryServiceListSkillsResponse", - "LibraryServiceListSkillsResponseTypedDict", - "LibraryServiceMigrateLegacyContextToLibraryRequest", - "LibraryServiceMigrateLegacyContextToLibraryRequestTypedDict", - "LibraryServiceMigrateLegacyContextToLibraryResponse", - "LibraryServiceMigrateLegacyContextToLibraryResponseTypedDict", - "LibraryServiceMigrateOntologyToLibraryRequest", - "LibraryServiceMigrateOntologyToLibraryRequestTypedDict", - "LibraryServiceMigrateOntologyToLibraryResponse", - "LibraryServiceMigrateOntologyToLibraryResponseTypedDict", - "LibraryServicePlanLibraryMergeRequest", - "LibraryServicePlanLibraryMergeRequestTypedDict", - "LibraryServicePlanLibraryMergeResponse", - "LibraryServicePlanLibraryMergeResponseTypedDict", - "LibraryServicePreviewLibraryPullFromRemoteRequest", - "LibraryServicePreviewLibraryPullFromRemoteRequestTypedDict", - "LibraryServicePreviewLibraryPullFromRemoteResponse", - "LibraryServicePreviewLibraryPullFromRemoteResponseTypedDict", - "LibraryServicePullLibraryFromRemoteRequest", - "LibraryServicePullLibraryFromRemoteRequestTypedDict", - "LibraryServicePullLibraryFromRemoteResponse", - "LibraryServicePullLibraryFromRemoteResponseTypedDict", - "LibraryServicePushLibraryToRemoteRequest", - "LibraryServicePushLibraryToRemoteRequestTypedDict", - "LibraryServicePushLibraryToRemoteResponse", - "LibraryServicePushLibraryToRemoteResponseTypedDict", - "LibraryServiceRecoverLibraryRequest", - "LibraryServiceRecoverLibraryRequestTypedDict", - "LibraryServiceRecoverLibraryResponse", - "LibraryServiceRecoverLibraryResponseTypedDict", - "LibraryServiceRemoveLibraryRemoteRequest", - "LibraryServiceRemoveLibraryRemoteRequestTypedDict", - "LibraryServiceRemoveLibraryRemoteResponse", - "LibraryServiceRemoveLibraryRemoteResponseTypedDict", - "LibraryServiceRemoveLibrarySubmoduleRequest", - "LibraryServiceRemoveLibrarySubmoduleRequestTypedDict", - "LibraryServiceRemoveLibrarySubmoduleResponse", - "LibraryServiceRemoveLibrarySubmoduleResponseTypedDict", - "LibraryServiceRenameLibraryFileRequest", - "LibraryServiceRenameLibraryFileRequestTypedDict", - "LibraryServiceRenameLibraryFileResponse", - "LibraryServiceRenameLibraryFileResponseTypedDict", - "LibraryServiceRequestPatchReviewRequest", - "LibraryServiceRequestPatchReviewRequestTypedDict", - "LibraryServiceRequestPatchReviewResponse", - "LibraryServiceRequestPatchReviewResponseTypedDict", - "LibraryServiceResolveLibrarySyncConflictRequest", - "LibraryServiceResolveLibrarySyncConflictRequestTypedDict", - "LibraryServiceResolveLibrarySyncConflictResponse", - "LibraryServiceResolveLibrarySyncConflictResponseTypedDict", - "LibraryServiceRestorePatchRequest", - "LibraryServiceRestorePatchRequestTypedDict", - "LibraryServiceRestorePatchResponse", - "LibraryServiceRestorePatchResponseTypedDict", - "LibraryServiceRevertPatchRequest", - "LibraryServiceRevertPatchRequestTypedDict", - "LibraryServiceRevertPatchResponse", - "LibraryServiceRevertPatchResponseTypedDict", - "LibraryServiceSaveAllObjectsAsConfigRequest", - "LibraryServiceSaveAllObjectsAsConfigRequestTypedDict", - "LibraryServiceSaveAllObjectsAsConfigResponse", - "LibraryServiceSaveAllObjectsAsConfigResponseTypedDict", - "LibraryServiceSaveObjectAsConfigRequest", - "LibraryServiceSaveObjectAsConfigRequestTypedDict", - "LibraryServiceSaveObjectAsConfigResponse", - "LibraryServiceSaveObjectAsConfigResponseTypedDict", - "LibraryServiceSetLibraryFileGoldenRequest", - "LibraryServiceSetLibraryFileGoldenRequestTypedDict", - "LibraryServiceSetLibraryFileGoldenResponse", - "LibraryServiceSetLibraryFileGoldenResponseTypedDict", - "LibraryServiceTriggerConfigDriftReconcileRequest", - "LibraryServiceTriggerConfigDriftReconcileRequestTypedDict", - "LibraryServiceTriggerConfigDriftReconcileResponse", - "LibraryServiceTriggerConfigDriftReconcileResponseTypedDict", - "LibraryServiceUpdateApprovalRuleRequest", - "LibraryServiceUpdateApprovalRuleRequestTypedDict", - "LibraryServiceUpdateApprovalRuleResponse", - "LibraryServiceUpdateApprovalRuleResponseTypedDict", - "LibraryServiceUpdateContextPatchAutoApproveRuleRequest", - "LibraryServiceUpdateContextPatchAutoApproveRuleRequestTypedDict", - "LibraryServiceUpdateContextPatchAutoApproveRuleResponse", - "LibraryServiceUpdateContextPatchAutoApproveRuleResponseTypedDict", - "LibraryServiceUpdateLibrarySyncConfigRequest", - "LibraryServiceUpdateLibrarySyncConfigRequestTypedDict", - "LibraryServiceUpdateLibrarySyncConfigResponse", - "LibraryServiceUpdateLibrarySyncConfigResponseTypedDict", - "LibraryServiceUpsertLibraryAnaConfigRequest", - "LibraryServiceUpsertLibraryAnaConfigRequestTypedDict", - "LibraryServiceUpsertLibraryAnaConfigResponse", - "LibraryServiceUpsertLibraryAnaConfigResponseTypedDict", - "LibraryServiceUpsertLibraryFileRequest", - "LibraryServiceUpsertLibraryFileRequestTypedDict", - "LibraryServiceUpsertLibraryFileResponse", - "LibraryServiceUpsertLibraryFileResponseTypedDict", - "LibraryServiceUpsertLibraryOwnersRequest", - "LibraryServiceUpsertLibraryOwnersRequestTypedDict", - "LibraryServiceUpsertLibraryOwnersResponse", - "LibraryServiceUpsertLibraryOwnersResponseTypedDict", - "LibraryServiceValidateConfigRequest", - "LibraryServiceValidateConfigRequestTypedDict", - "LibraryServiceValidateConfigResponse", - "LibraryServiceValidateConfigResponseTypedDict", "LinesAdded", "LinesAddedTypedDict", "LinesDeleted", @@ -8930,10 +8663,6 @@ "MCPServiceUpsertMCPServersRequestTypedDict", "MCPServiceUpsertMCPServersResponse", "MCPServiceUpsertMCPServersResponseTypedDict", - "MaxRows1", - "MaxRows1TypedDict", - "MaxRows2", - "MaxRows2TypedDict", "MaxTokens", "MaxTokensTypedDict", "McpToolCell", @@ -9117,6 +8846,282 @@ "Ontology", "OntologyEditorCell", "OntologyEditorCellTypedDict", + "OntologyManagementServiceAddOntologySubmoduleRequest", + "OntologyManagementServiceAddOntologySubmoduleRequestTypedDict", + "OntologyManagementServiceAddOntologySubmoduleResponse", + "OntologyManagementServiceAddOntologySubmoduleResponseTypedDict", + "OntologyManagementServiceApprovePatchRequest", + "OntologyManagementServiceApprovePatchRequestTypedDict", + "OntologyManagementServiceApprovePatchResponse", + "OntologyManagementServiceApprovePatchResponseTypedDict", + "OntologyManagementServiceConfigureOntologyRemoteRequest", + "OntologyManagementServiceConfigureOntologyRemoteRequestTypedDict", + "OntologyManagementServiceConfigureOntologyRemoteResponse", + "OntologyManagementServiceConfigureOntologyRemoteResponseTypedDict", + "OntologyManagementServiceCreateApprovalRuleRequest", + "OntologyManagementServiceCreateApprovalRuleRequestTypedDict", + "OntologyManagementServiceCreateApprovalRuleResponse", + "OntologyManagementServiceCreateApprovalRuleResponseTypedDict", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleRequestTypedDict", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponseTypedDict", + "OntologyManagementServiceCreateOntologyDirectoryRequest", + "OntologyManagementServiceCreateOntologyDirectoryRequestTypedDict", + "OntologyManagementServiceCreateOntologyDirectoryResponse", + "OntologyManagementServiceCreateOntologyDirectoryResponseTypedDict", + "OntologyManagementServiceCreateOntologyFileUploadURLRequest", + "OntologyManagementServiceCreateOntologyFileUploadURLRequestTypedDict", + "OntologyManagementServiceCreateOntologyFileUploadURLResponse", + "OntologyManagementServiceCreateOntologyFileUploadURLResponseTypedDict", + "OntologyManagementServiceDeleteApprovalRuleRequest", + "OntologyManagementServiceDeleteApprovalRuleRequestTypedDict", + "OntologyManagementServiceDeleteApprovalRuleResponse", + "OntologyManagementServiceDeleteApprovalRuleResponseTypedDict", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequestTypedDict", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponseTypedDict", + "OntologyManagementServiceDeleteOntologyDirectoryRequest", + "OntologyManagementServiceDeleteOntologyDirectoryRequestTypedDict", + "OntologyManagementServiceDeleteOntologyDirectoryResponse", + "OntologyManagementServiceDeleteOntologyDirectoryResponseTypedDict", + "OntologyManagementServiceDeleteOntologyFileRequest", + "OntologyManagementServiceDeleteOntologyFileRequestTypedDict", + "OntologyManagementServiceDeleteOntologyFileResponse", + "OntologyManagementServiceDeleteOntologyFileResponseTypedDict", + "OntologyManagementServiceDeleteOntologyOwnersRequest", + "OntologyManagementServiceDeleteOntologyOwnersRequestTypedDict", + "OntologyManagementServiceDeleteOntologyOwnersResponse", + "OntologyManagementServiceDeleteOntologyOwnersResponseTypedDict", + "OntologyManagementServiceDenyPatchRequest", + "OntologyManagementServiceDenyPatchRequestTypedDict", + "OntologyManagementServiceDenyPatchResponse", + "OntologyManagementServiceDenyPatchResponseTypedDict", + "OntologyManagementServiceExchangeOntologyGithubCodeRequest", + "OntologyManagementServiceExchangeOntologyGithubCodeRequestTypedDict", + "OntologyManagementServiceExchangeOntologyGithubCodeResponse", + "OntologyManagementServiceExchangeOntologyGithubCodeResponseTypedDict", + "OntologyManagementServiceFinalizeOntologyFileUploadRequest", + "OntologyManagementServiceFinalizeOntologyFileUploadRequestTypedDict", + "OntologyManagementServiceFinalizeOntologyFileUploadResponse", + "OntologyManagementServiceFinalizeOntologyFileUploadResponseTypedDict", + "OntologyManagementServiceGetCodeownerCoverageRequest", + "OntologyManagementServiceGetCodeownerCoverageRequestTypedDict", + "OntologyManagementServiceGetCodeownerCoverageResponse", + "OntologyManagementServiceGetCodeownerCoverageResponseTypedDict", + "OntologyManagementServiceGetConfigExportCapabilitiesRequest", + "OntologyManagementServiceGetConfigExportCapabilitiesRequestTypedDict", + "OntologyManagementServiceGetConfigExportCapabilitiesResponse", + "OntologyManagementServiceGetConfigExportCapabilitiesResponseTypedDict", + "OntologyManagementServiceGetEffectiveOntologyOwnersRequest", + "OntologyManagementServiceGetEffectiveOntologyOwnersRequestTypedDict", + "OntologyManagementServiceGetEffectiveOntologyOwnersResponse", + "OntologyManagementServiceGetEffectiveOntologyOwnersResponseTypedDict", + "OntologyManagementServiceGetFileUsageRequest", + "OntologyManagementServiceGetFileUsageRequestTypedDict", + "OntologyManagementServiceGetFileUsageResponse", + "OntologyManagementServiceGetFileUsageResponseTypedDict", + "OntologyManagementServiceGetFileUsageTimelineRequest", + "OntologyManagementServiceGetFileUsageTimelineRequestTypedDict", + "OntologyManagementServiceGetFileUsageTimelineResponse", + "OntologyManagementServiceGetFileUsageTimelineResponseTypedDict", + "OntologyManagementServiceGetOntologyAnaConfigRequest", + "OntologyManagementServiceGetOntologyAnaConfigRequestTypedDict", + "OntologyManagementServiceGetOntologyAnaConfigResponse", + "OntologyManagementServiceGetOntologyAnaConfigResponseTypedDict", + "OntologyManagementServiceGetOntologyFileRequest", + "OntologyManagementServiceGetOntologyFileRequestTypedDict", + "OntologyManagementServiceGetOntologyFileResponse", + "OntologyManagementServiceGetOntologyFileResponseTypedDict", + "OntologyManagementServiceGetOntologyGithubOAuthURLRequest", + "OntologyManagementServiceGetOntologyGithubOAuthURLRequestTypedDict", + "OntologyManagementServiceGetOntologyGithubOAuthURLResponse", + "OntologyManagementServiceGetOntologyGithubOAuthURLResponseTypedDict", + "OntologyManagementServiceGetOntologyHistoryFileDiffRequest", + "OntologyManagementServiceGetOntologyHistoryFileDiffRequestTypedDict", + "OntologyManagementServiceGetOntologyHistoryFileDiffResponse", + "OntologyManagementServiceGetOntologyHistoryFileDiffResponseTypedDict", + "OntologyManagementServiceGetOntologyOwnersRequest", + "OntologyManagementServiceGetOntologyOwnersRequestTypedDict", + "OntologyManagementServiceGetOntologyOwnersResponse", + "OntologyManagementServiceGetOntologyOwnersResponseTypedDict", + "OntologyManagementServiceGetOntologyRemoteRequest", + "OntologyManagementServiceGetOntologyRemoteRequestTypedDict", + "OntologyManagementServiceGetOntologyRemoteResponse", + "OntologyManagementServiceGetOntologyRemoteResponseTypedDict", + "OntologyManagementServiceGetOntologySizeTimelineRequest", + "OntologyManagementServiceGetOntologySizeTimelineRequestTypedDict", + "OntologyManagementServiceGetOntologySizeTimelineResponse", + "OntologyManagementServiceGetOntologySizeTimelineResponseTypedDict", + "OntologyManagementServiceGetOntologySyncConflictsRequest", + "OntologyManagementServiceGetOntologySyncConflictsRequestTypedDict", + "OntologyManagementServiceGetOntologySyncConflictsResponse", + "OntologyManagementServiceGetOntologySyncConflictsResponseTypedDict", + "OntologyManagementServiceGetOntologyUsageSummaryRequest", + "OntologyManagementServiceGetOntologyUsageSummaryRequestTypedDict", + "OntologyManagementServiceGetOntologyUsageSummaryResponse", + "OntologyManagementServiceGetOntologyUsageSummaryResponseTypedDict", + "OntologyManagementServiceGetPatchByNumberRequest", + "OntologyManagementServiceGetPatchByNumberRequestTypedDict", + "OntologyManagementServiceGetPatchByNumberResponse", + "OntologyManagementServiceGetPatchByNumberResponseTypedDict", + "OntologyManagementServiceGetPatchCapabilitiesRequest", + "OntologyManagementServiceGetPatchCapabilitiesRequestTypedDict", + "OntologyManagementServiceGetPatchCapabilitiesResponse", + "OntologyManagementServiceGetPatchCapabilitiesResponseTypedDict", + "OntologyManagementServiceGetPatchRequest", + "OntologyManagementServiceGetPatchRequestTypedDict", + "OntologyManagementServiceGetPatchResponse", + "OntologyManagementServiceGetPatchResponseTypedDict", + "OntologyManagementServiceGetRawPatchRequest", + "OntologyManagementServiceGetRawPatchRequestTypedDict", + "OntologyManagementServiceGetRawPatchResponse", + "OntologyManagementServiceGetRawPatchResponseTypedDict", + "OntologyManagementServiceGetUsageDetailsForFileRequest", + "OntologyManagementServiceGetUsageDetailsForFileRequestTypedDict", + "OntologyManagementServiceGetUsageDetailsForFileResponse", + "OntologyManagementServiceGetUsageDetailsForFileResponseTypedDict", + "OntologyManagementServiceListApprovalRulesRequest", + "OntologyManagementServiceListApprovalRulesRequestTypedDict", + "OntologyManagementServiceListApprovalRulesResponse", + "OntologyManagementServiceListApprovalRulesResponseTypedDict", + "OntologyManagementServiceListChatsForFileRequest", + "OntologyManagementServiceListChatsForFileRequestTypedDict", + "OntologyManagementServiceListChatsForFileResponse", + "OntologyManagementServiceListChatsForFileResponseTypedDict", + "OntologyManagementServiceListContextPatchAutoApproveRulesRequest", + "OntologyManagementServiceListContextPatchAutoApproveRulesRequestTypedDict", + "OntologyManagementServiceListContextPatchAutoApproveRulesResponse", + "OntologyManagementServiceListContextPatchAutoApproveRulesResponseTypedDict", + "OntologyManagementServiceListGoldenFilesRequest", + "OntologyManagementServiceListGoldenFilesRequestTypedDict", + "OntologyManagementServiceListGoldenFilesResponse", + "OntologyManagementServiceListGoldenFilesResponseTypedDict", + "OntologyManagementServiceListOntologyEntriesRequest", + "OntologyManagementServiceListOntologyEntriesRequestTypedDict", + "OntologyManagementServiceListOntologyEntriesResponse", + "OntologyManagementServiceListOntologyEntriesResponseTypedDict", + "OntologyManagementServiceListOntologyHistoryRequest", + "OntologyManagementServiceListOntologyHistoryRequestTypedDict", + "OntologyManagementServiceListOntologyHistoryResponse", + "OntologyManagementServiceListOntologyHistoryResponseTypedDict", + "OntologyManagementServiceListOntologyImportsRequest", + "OntologyManagementServiceListOntologyImportsRequestTypedDict", + "OntologyManagementServiceListOntologyImportsResponse", + "OntologyManagementServiceListOntologyImportsResponseTypedDict", + "OntologyManagementServiceListOntologySubmodulesRequest", + "OntologyManagementServiceListOntologySubmodulesRequestTypedDict", + "OntologyManagementServiceListOntologySubmodulesResponse", + "OntologyManagementServiceListOntologySubmodulesResponseTypedDict", + "OntologyManagementServiceListOntologySyncRunsRequest", + "OntologyManagementServiceListOntologySyncRunsRequestTypedDict", + "OntologyManagementServiceListOntologySyncRunsResponse", + "OntologyManagementServiceListOntologySyncRunsResponseTypedDict", + "OntologyManagementServiceListPatchReviewersRequest", + "OntologyManagementServiceListPatchReviewersRequestTypedDict", + "OntologyManagementServiceListPatchReviewersResponse", + "OntologyManagementServiceListPatchReviewersResponseTypedDict", + "OntologyManagementServiceListPatchesRequest", + "OntologyManagementServiceListPatchesRequestTypedDict", + "OntologyManagementServiceListPatchesResponse", + "OntologyManagementServiceListPatchesResponseTypedDict", + "OntologyManagementServiceListSkillsRequest", + "OntologyManagementServiceListSkillsRequestTypedDict", + "OntologyManagementServiceListSkillsResponse", + "OntologyManagementServiceListSkillsResponseTypedDict", + "OntologyManagementServicePlanOntologyMergeRequest", + "OntologyManagementServicePlanOntologyMergeRequestTypedDict", + "OntologyManagementServicePlanOntologyMergeResponse", + "OntologyManagementServicePlanOntologyMergeResponseTypedDict", + "OntologyManagementServicePreviewOntologyPullFromRemoteRequest", + "OntologyManagementServicePreviewOntologyPullFromRemoteRequestTypedDict", + "OntologyManagementServicePreviewOntologyPullFromRemoteResponse", + "OntologyManagementServicePreviewOntologyPullFromRemoteResponseTypedDict", + "OntologyManagementServicePullOntologyFromRemoteRequest", + "OntologyManagementServicePullOntologyFromRemoteRequestTypedDict", + "OntologyManagementServicePullOntologyFromRemoteResponse", + "OntologyManagementServicePullOntologyFromRemoteResponseTypedDict", + "OntologyManagementServicePushOntologyToRemoteRequest", + "OntologyManagementServicePushOntologyToRemoteRequestTypedDict", + "OntologyManagementServicePushOntologyToRemoteResponse", + "OntologyManagementServicePushOntologyToRemoteResponseTypedDict", + "OntologyManagementServiceRecoverOntologyRequest", + "OntologyManagementServiceRecoverOntologyRequestTypedDict", + "OntologyManagementServiceRecoverOntologyResponse", + "OntologyManagementServiceRecoverOntologyResponseTypedDict", + "OntologyManagementServiceRemoveOntologyRemoteRequest", + "OntologyManagementServiceRemoveOntologyRemoteRequestTypedDict", + "OntologyManagementServiceRemoveOntologyRemoteResponse", + "OntologyManagementServiceRemoveOntologyRemoteResponseTypedDict", + "OntologyManagementServiceRemoveOntologySubmoduleRequest", + "OntologyManagementServiceRemoveOntologySubmoduleRequestTypedDict", + "OntologyManagementServiceRemoveOntologySubmoduleResponse", + "OntologyManagementServiceRemoveOntologySubmoduleResponseTypedDict", + "OntologyManagementServiceRenameOntologyFileRequest", + "OntologyManagementServiceRenameOntologyFileRequestTypedDict", + "OntologyManagementServiceRenameOntologyFileResponse", + "OntologyManagementServiceRenameOntologyFileResponseTypedDict", + "OntologyManagementServiceRequestPatchReviewRequest", + "OntologyManagementServiceRequestPatchReviewRequestTypedDict", + "OntologyManagementServiceRequestPatchReviewResponse", + "OntologyManagementServiceRequestPatchReviewResponseTypedDict", + "OntologyManagementServiceResolveOntologySyncConflictRequest", + "OntologyManagementServiceResolveOntologySyncConflictRequestTypedDict", + "OntologyManagementServiceResolveOntologySyncConflictResponse", + "OntologyManagementServiceResolveOntologySyncConflictResponseTypedDict", + "OntologyManagementServiceRestorePatchRequest", + "OntologyManagementServiceRestorePatchRequestTypedDict", + "OntologyManagementServiceRestorePatchResponse", + "OntologyManagementServiceRestorePatchResponseTypedDict", + "OntologyManagementServiceRevertPatchRequest", + "OntologyManagementServiceRevertPatchRequestTypedDict", + "OntologyManagementServiceRevertPatchResponse", + "OntologyManagementServiceRevertPatchResponseTypedDict", + "OntologyManagementServiceSaveAllObjectsAsConfigRequest", + "OntologyManagementServiceSaveAllObjectsAsConfigRequestTypedDict", + "OntologyManagementServiceSaveAllObjectsAsConfigResponse", + "OntologyManagementServiceSaveAllObjectsAsConfigResponseTypedDict", + "OntologyManagementServiceSaveObjectAsConfigRequest", + "OntologyManagementServiceSaveObjectAsConfigRequestTypedDict", + "OntologyManagementServiceSaveObjectAsConfigResponse", + "OntologyManagementServiceSaveObjectAsConfigResponseTypedDict", + "OntologyManagementServiceSetOntologyFileGoldenRequest", + "OntologyManagementServiceSetOntologyFileGoldenRequestTypedDict", + "OntologyManagementServiceSetOntologyFileGoldenResponse", + "OntologyManagementServiceSetOntologyFileGoldenResponseTypedDict", + "OntologyManagementServiceTriggerConfigDriftReconcileRequest", + "OntologyManagementServiceTriggerConfigDriftReconcileRequestTypedDict", + "OntologyManagementServiceTriggerConfigDriftReconcileResponse", + "OntologyManagementServiceTriggerConfigDriftReconcileResponseTypedDict", + "OntologyManagementServiceUpdateApprovalRuleRequest", + "OntologyManagementServiceUpdateApprovalRuleRequestTypedDict", + "OntologyManagementServiceUpdateApprovalRuleResponse", + "OntologyManagementServiceUpdateApprovalRuleResponseTypedDict", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequestTypedDict", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponseTypedDict", + "OntologyManagementServiceUpdateOntologySyncConfigRequest", + "OntologyManagementServiceUpdateOntologySyncConfigRequestTypedDict", + "OntologyManagementServiceUpdateOntologySyncConfigResponse", + "OntologyManagementServiceUpdateOntologySyncConfigResponseTypedDict", + "OntologyManagementServiceUpsertOntologyAnaConfigRequest", + "OntologyManagementServiceUpsertOntologyAnaConfigRequestTypedDict", + "OntologyManagementServiceUpsertOntologyAnaConfigResponse", + "OntologyManagementServiceUpsertOntologyAnaConfigResponseTypedDict", + "OntologyManagementServiceUpsertOntologyFileRequest", + "OntologyManagementServiceUpsertOntologyFileRequestTypedDict", + "OntologyManagementServiceUpsertOntologyFileResponse", + "OntologyManagementServiceUpsertOntologyFileResponseTypedDict", + "OntologyManagementServiceUpsertOntologyOwnersRequest", + "OntologyManagementServiceUpsertOntologyOwnersRequestTypedDict", + "OntologyManagementServiceUpsertOntologyOwnersResponse", + "OntologyManagementServiceUpsertOntologyOwnersResponseTypedDict", + "OntologyManagementServiceValidateConfigRequest", + "OntologyManagementServiceValidateConfigRequestTypedDict", + "OntologyManagementServiceValidateConfigResponse", + "OntologyManagementServiceValidateConfigResponseTypedDict", "OntologyOpenObjectCell", "OntologyOpenObjectCellTypedDict", "OntologyQueryCell", @@ -9528,6 +9533,10 @@ "RBACServiceRotateAPIKeyRequestTypedDict", "RBACServiceRotateAPIKeyResponse", "RBACServiceRotateAPIKeyResponseTypedDict", + "RBACServiceSetRolePermissionsRequest", + "RBACServiceSetRolePermissionsRequestTypedDict", + "RBACServiceSetRolePermissionsResponse", + "RBACServiceSetRolePermissionsResponseTypedDict", "RBACServiceShareObjectRequest", "RBACServiceShareObjectRequestTypedDict", "RBACServiceShareObjectResponse", @@ -9568,8 +9577,6 @@ "ReportHistoryCellTypedDict", "Research", "ResearchTypedDict", - "Revision", - "RevisionTypedDict", "RowCount", "RowCountTypedDict", "RunComplete", @@ -9622,6 +9629,22 @@ "SandboxAdminServiceStopSandboxRequestTypedDict", "SandboxAdminServiceStopSandboxResponse", "SandboxAdminServiceStopSandboxResponseTypedDict", + "SandboxCapabilityServiceExecuteWriteRequest", + "SandboxCapabilityServiceExecuteWriteRequestTypedDict", + "SandboxCapabilityServiceExecuteWriteResponse", + "SandboxCapabilityServiceExecuteWriteResponseTypedDict", + "SandboxCapabilityServicePutAssetRequest", + "SandboxCapabilityServicePutAssetRequestTypedDict", + "SandboxCapabilityServicePutAssetResponse", + "SandboxCapabilityServicePutAssetResponseTypedDict", + "SandboxCapabilityServiceSendNotifyRequest", + "SandboxCapabilityServiceSendNotifyRequestTypedDict", + "SandboxCapabilityServiceSendNotifyResponse", + "SandboxCapabilityServiceSendNotifyResponseTypedDict", + "SandboxCapabilityServiceStateOpRequest", + "SandboxCapabilityServiceStateOpRequestTypedDict", + "SandboxCapabilityServiceStateOpResponse", + "SandboxCapabilityServiceStateOpResponseTypedDict", "SandboxQueryServiceExecuteQueryRequest", "SandboxQueryServiceExecuteQueryRequestTypedDict", "SandboxQueryServiceExecuteQueryResponse", @@ -9654,62 +9677,26 @@ "ScimServiceRevokeScimTokenRequestTypedDict", "ScimServiceRevokeScimTokenResponse", "ScimServiceRevokeScimTokenResponseTypedDict", - "SecretServiceCreateAPIRevisionRequest", - "SecretServiceCreateAPIRevisionRequestTypedDict", - "SecretServiceCreateAPIRevisionResponse", - "SecretServiceCreateAPIRevisionResponseTypedDict", - "SecretServiceDeleteAPIAccessKeyRequest", - "SecretServiceDeleteAPIAccessKeyRequestTypedDict", - "SecretServiceDeleteAPIAccessKeyResponse", - "SecretServiceDeleteAPIAccessKeyResponseTypedDict", - "SecretServiceDeleteAPIRevisionRequest", - "SecretServiceDeleteAPIRevisionRequestTypedDict", - "SecretServiceDeleteAPIRevisionResponse", - "SecretServiceDeleteAPIRevisionResponseTypedDict", "SecretServiceDeleteSecretRequest", "SecretServiceDeleteSecretRequestTypedDict", "SecretServiceDeleteSecretResponse", "SecretServiceDeleteSecretResponseTypedDict", - "SecretServiceGetAPIAccessKeyRequest", - "SecretServiceGetAPIAccessKeyRequestTypedDict", - "SecretServiceGetAPIAccessKeyResponse", - "SecretServiceGetAPIAccessKeyResponseTypedDict", "SecretServiceGetMembersWithSecretsRequest", "SecretServiceGetMembersWithSecretsRequestTypedDict", "SecretServiceGetMembersWithSecretsResponse", "SecretServiceGetMembersWithSecretsResponseTypedDict", - "SecretServiceListAPIAccessKeysRequest", - "SecretServiceListAPIAccessKeysRequestTypedDict", - "SecretServiceListAPIAccessKeysResponse", - "SecretServiceListAPIAccessKeysResponseTypedDict", - "SecretServiceListAPIProvidersRequest", - "SecretServiceListAPIProvidersRequestTypedDict", - "SecretServiceListAPIProvidersResponse", - "SecretServiceListAPIProvidersResponseTypedDict", "SecretServiceListSecretsRequest", "SecretServiceListSecretsRequestTypedDict", "SecretServiceListSecretsResponse", "SecretServiceListSecretsResponseTypedDict", - "SecretServiceMigrateSecretToAPIConnectorRequest", - "SecretServiceMigrateSecretToAPIConnectorRequestTypedDict", - "SecretServiceMigrateSecretToAPIConnectorResponse", - "SecretServiceMigrateSecretToAPIConnectorResponseTypedDict", "SecretServicePutSecretRequest", "SecretServicePutSecretRequestTypedDict", "SecretServicePutSecretResponse", "SecretServicePutSecretResponseTypedDict", - "SecretServiceTestAPIAccessKeyRequest", - "SecretServiceTestAPIAccessKeyRequestTypedDict", - "SecretServiceTestAPIAccessKeyResponse", - "SecretServiceTestAPIAccessKeyResponseTypedDict", "SecretServiceUpdateSecretRequest", "SecretServiceUpdateSecretRequestTypedDict", "SecretServiceUpdateSecretResponse", "SecretServiceUpdateSecretResponseTypedDict", - "SecretServiceUpsertAPIAccessKeyRequest", - "SecretServiceUpsertAPIAccessKeyRequestTypedDict", - "SecretServiceUpsertAPIAccessKeyResponse", - "SecretServiceUpsertAPIAccessKeyResponseTypedDict", "Security", "SecurityTypedDict", "Size", @@ -9946,15 +9933,27 @@ "TextqlRPCPublicAgentUploadAgentAvatarResponse", "TextqlRPCPublicAgentUploadAgentAvatarResponseTypedDict", "TextqlRPCPublicAppApp", + "TextqlRPCPublicAppAppActivityRecord", + "TextqlRPCPublicAppAppActivityRecordSeq", + "TextqlRPCPublicAppAppActivityRecordSeqTypedDict", + "TextqlRPCPublicAppAppActivityRecordTypedDict", "TextqlRPCPublicAppAppFile", "TextqlRPCPublicAppAppFileTypedDict", "TextqlRPCPublicAppAppHeartbeatRequest", "TextqlRPCPublicAppAppHeartbeatRequestTypedDict", + "TextqlRPCPublicAppAppMemberActivityRow", + "TextqlRPCPublicAppAppMemberActivityRowSeq", + "TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict", + "TextqlRPCPublicAppAppMemberActivityRowTypedDict", "TextqlRPCPublicAppAppTypedDict", "TextqlRPCPublicAppAppVersion", "TextqlRPCPublicAppAppVersionTypedDict", "TextqlRPCPublicAppAppViewerInfo", "TextqlRPCPublicAppAppViewerInfoTypedDict", + "TextqlRPCPublicAppCapability", + "TextqlRPCPublicAppCapabilityParam", + "TextqlRPCPublicAppCapabilityParamTypedDict", + "TextqlRPCPublicAppCapabilityTypedDict", "TextqlRPCPublicAppComputeFunction", "TextqlRPCPublicAppComputeFunctionParam", "TextqlRPCPublicAppComputeFunctionParamTypedDict", @@ -9969,6 +9968,10 @@ "TextqlRPCPublicAppDuplicateAppRequestTypedDict", "TextqlRPCPublicAppDuplicateAppResponse", "TextqlRPCPublicAppDuplicateAppResponseTypedDict", + "TextqlRPCPublicAppGetAppMemberStateRequest", + "TextqlRPCPublicAppGetAppMemberStateRequestTypedDict", + "TextqlRPCPublicAppGetAppMemberStateResponse", + "TextqlRPCPublicAppGetAppMemberStateResponseTypedDict", "TextqlRPCPublicAppGetAppRequest", "TextqlRPCPublicAppGetAppRequestTypedDict", "TextqlRPCPublicAppGetAppResponse", @@ -9989,6 +9992,10 @@ "TextqlRPCPublicAppInvokeAppComputeFunctionRequestTypedDict", "TextqlRPCPublicAppInvokeAppComputeFunctionResponse", "TextqlRPCPublicAppInvokeAppComputeFunctionResponseTypedDict", + "TextqlRPCPublicAppListAppActivitySinceRequest", + "TextqlRPCPublicAppListAppActivitySinceRequestTypedDict", + "TextqlRPCPublicAppListAppActivitySinceResponse", + "TextqlRPCPublicAppListAppActivitySinceResponseTypedDict", "TextqlRPCPublicAppListAppVersionsRequest", "TextqlRPCPublicAppListAppVersionsRequestTypedDict", "TextqlRPCPublicAppListAppVersionsResponse", @@ -9997,10 +10004,22 @@ "TextqlRPCPublicAppListAppsRequestTypedDict", "TextqlRPCPublicAppListAppsResponse", "TextqlRPCPublicAppListAppsResponseTypedDict", + "TextqlRPCPublicAppListMyAppMemberActivityRequest", + "TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict", + "TextqlRPCPublicAppListMyAppMemberActivityResponse", + "TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict", "TextqlRPCPublicAppMoveAppToFolderRequest", "TextqlRPCPublicAppMoveAppToFolderRequestTypedDict", "TextqlRPCPublicAppMoveAppToFolderResponse", "TextqlRPCPublicAppMoveAppToFolderResponseTypedDict", + "TextqlRPCPublicAppPresenceHeartbeatRequest", + "TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict", + "TextqlRPCPublicAppRecordAppMemberActivityRequest", + "TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict", + "TextqlRPCPublicAppRecordAppMemberActivityResponse", + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeq", + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict", + "TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict", "TextqlRPCPublicAppRefreshAppRequest", "TextqlRPCPublicAppRefreshAppRequestTypedDict", "TextqlRPCPublicAppRefreshAppResponse", @@ -10009,6 +10028,10 @@ "TextqlRPCPublicAppRestoreAppVersionRequestTypedDict", "TextqlRPCPublicAppRestoreAppVersionResponse", "TextqlRPCPublicAppRestoreAppVersionResponseTypedDict", + "TextqlRPCPublicAppSetAppMemberStateRequest", + "TextqlRPCPublicAppSetAppMemberStateRequestTypedDict", + "TextqlRPCPublicAppSetAppMemberStateResponse", + "TextqlRPCPublicAppSetAppMemberStateResponseTypedDict", "TextqlRPCPublicAppSetFavoriteRequest", "TextqlRPCPublicAppSetFavoriteRequestTypedDict", "TextqlRPCPublicAppSetFavoriteResponse", @@ -10279,6 +10302,8 @@ "TextqlRPCPublicCellsTextCellSizeBytes", "TextqlRPCPublicCellsTextCellSizeBytesTypedDict", "TextqlRPCPublicCellsTextCellTypedDict", + "TextqlRPCPublicCellsThinkingCell", + "TextqlRPCPublicCellsThinkingCellTypedDict", "TextqlRPCPublicCellsUseSkillCell", "TextqlRPCPublicCellsUseSkillCellTypedDict", "TextqlRPCPublicCellsWebSearchCell", @@ -10425,6 +10450,8 @@ "TextqlRPCPublicChatCellDurationMs56TypedDict", "TextqlRPCPublicChatCellDurationMs57", "TextqlRPCPublicChatCellDurationMs57TypedDict", + "TextqlRPCPublicChatCellDurationMs58", + "TextqlRPCPublicChatCellDurationMs58TypedDict", "TextqlRPCPublicChatCellDurationMs5TypedDict", "TextqlRPCPublicChatCellDurationMs6", "TextqlRPCPublicChatCellDurationMs6TypedDict", @@ -10908,6 +10935,8 @@ "TextqlRPCPublicDashboardGetMembersWithDashboardsRequestTypedDict", "TextqlRPCPublicDashboardGetMembersWithDashboardsResponse", "TextqlRPCPublicDashboardGetMembersWithDashboardsResponseTypedDict", + "TextqlRPCPublicDashboardGrant", + "TextqlRPCPublicDashboardGrantTypedDict", "TextqlRPCPublicDashboardLibraryTQLSource", "TextqlRPCPublicDashboardLibraryTQLSourceTypedDict", "TextqlRPCPublicDashboardListDashboardFoldersRequest", @@ -11356,10 +11385,10 @@ "TextqlRPCPublicParadigmTemplateOptionsTypedDict", "TextqlRPCPublicParadigmUniversalOptions", "TextqlRPCPublicParadigmUniversalOptionsTypedDict", - "TextqlRPCPublicPatchesAddLibrarySubmoduleRequest", - "TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict", - "TextqlRPCPublicPatchesAddLibrarySubmoduleResponse", - "TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict", + "TextqlRPCPublicPatchesAddOntologySubmoduleRequest", + "TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict", + "TextqlRPCPublicPatchesAddOntologySubmoduleResponse", + "TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict", "TextqlRPCPublicPatchesApprovalRule", "TextqlRPCPublicPatchesApprovalRuleInput", "TextqlRPCPublicPatchesApprovalRuleInputTypedDict", @@ -11375,10 +11404,10 @@ "TextqlRPCPublicPatchesConfigDiagnostic", "TextqlRPCPublicPatchesConfigDiagnosticClass", "TextqlRPCPublicPatchesConfigDiagnosticTypedDict", - "TextqlRPCPublicPatchesConfigureLibraryRemoteRequest", - "TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict", - "TextqlRPCPublicPatchesConfigureLibraryRemoteResponse", - "TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict", + "TextqlRPCPublicPatchesConfigureOntologyRemoteRequest", + "TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict", + "TextqlRPCPublicPatchesConfigureOntologyRemoteResponse", + "TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict", "TextqlRPCPublicPatchesContextPatchAutoApproveRule", "TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput", "TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict", @@ -11391,16 +11420,16 @@ "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict", "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse", "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict", - "TextqlRPCPublicPatchesCreateLibraryDirectoryRequest", - "TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict", - "TextqlRPCPublicPatchesCreateLibraryDirectoryResponse", - "TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict", + "TextqlRPCPublicPatchesCreateOntologyDirectoryRequest", + "TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict", + "TextqlRPCPublicPatchesCreateOntologyDirectoryResponse", + "TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict", "TextqlRPCPublicPatchesDailyFileUsage", "TextqlRPCPublicPatchesDailyFileUsageTypedDict", "TextqlRPCPublicPatchesDate", @@ -11409,26 +11438,26 @@ "TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict", "TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest", "TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict", - "TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest", - "TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict", - "TextqlRPCPublicPatchesDeleteLibraryFileRequest", - "TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict", - "TextqlRPCPublicPatchesDeleteLibraryOwnersRequest", - "TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict", + "TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest", + "TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict", + "TextqlRPCPublicPatchesDeleteOntologyFileRequest", + "TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict", + "TextqlRPCPublicPatchesDeleteOntologyOwnersRequest", + "TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict", "TextqlRPCPublicPatchesDenyPatchRequest", "TextqlRPCPublicPatchesDenyPatchRequestTypedDict", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict", "TextqlRPCPublicPatchesFileChatUsage", "TextqlRPCPublicPatchesFileChatUsageTypedDict", "TextqlRPCPublicPatchesFileUsage", "TextqlRPCPublicPatchesFileUsageTypedDict", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict", "TextqlRPCPublicPatchesGetCodeownerCoverageRequest", "TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict", "TextqlRPCPublicPatchesGetCodeownerCoverageResponse", @@ -11437,10 +11466,10 @@ "TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict", "TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse", "TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict", "TextqlRPCPublicPatchesGetFileUsageRequest", "TextqlRPCPublicPatchesGetFileUsageRequestTypedDict", "TextqlRPCPublicPatchesGetFileUsageResponse", @@ -11449,42 +11478,38 @@ "TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict", "TextqlRPCPublicPatchesGetFileUsageTimelineResponse", "TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryAnaConfigRequest", - "TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryAnaConfigResponse", - "TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryFileRequest", - "TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryFileResponse", - "TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryOwnersRequest", - "TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryOwnersResponse", - "TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict", - "TextqlRPCPublicPatchesGetLibraryRemoteRequest", - "TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict", - "TextqlRPCPublicPatchesGetLibraryRemoteResponse", - "TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyAnaConfigRequest", + "TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyAnaConfigResponse", + "TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyFileRequest", + "TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyFileResponse", + "TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyOwnersRequest", + "TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyOwnersResponse", + "TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologyRemoteRequest", + "TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologyRemoteResponse", + "TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologySizeTimelineRequest", + "TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologySizeTimelineResponse", + "TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict", + "TextqlRPCPublicPatchesGetOntologySyncConflictsRequest", + "TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict", + "TextqlRPCPublicPatchesGetOntologySyncConflictsResponse", + "TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict", "TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest", "TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict", "TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse", @@ -11511,41 +11536,6 @@ "TextqlRPCPublicPatchesGithubInstallationTypedDict", "TextqlRPCPublicPatchesGoldenEntry", "TextqlRPCPublicPatchesGoldenEntryTypedDict", - "TextqlRPCPublicPatchesLibraryAnaConfig", - "TextqlRPCPublicPatchesLibraryAnaConfigTypedDict", - "TextqlRPCPublicPatchesLibraryEntry", - "TextqlRPCPublicPatchesLibraryEntrySizeBytes", - "TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict", - "TextqlRPCPublicPatchesLibraryEntryTypedDict", - "TextqlRPCPublicPatchesLibraryFile", - "TextqlRPCPublicPatchesLibraryFileKind", - "TextqlRPCPublicPatchesLibraryFileSizeBytes", - "TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict", - "TextqlRPCPublicPatchesLibraryFileTypedDict", - "TextqlRPCPublicPatchesLibraryHistoryChangeType", - "TextqlRPCPublicPatchesLibraryHistoryChangedFile", - "TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict", - "TextqlRPCPublicPatchesLibraryHistoryEntry", - "TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict", - "TextqlRPCPublicPatchesLibraryImportEdge", - "TextqlRPCPublicPatchesLibraryImportEdgeTypedDict", - "TextqlRPCPublicPatchesLibraryMergeOutcome", - "TextqlRPCPublicPatchesLibraryOwnerEntry", - "TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict", - "TextqlRPCPublicPatchesLibraryOwners", - "TextqlRPCPublicPatchesLibraryOwnersTypedDict", - "TextqlRPCPublicPatchesLibraryPermission", - "TextqlRPCPublicPatchesLibraryRemote", - "TextqlRPCPublicPatchesLibraryRemoteTypedDict", - "TextqlRPCPublicPatchesLibrarySizeDay", - "TextqlRPCPublicPatchesLibrarySizeDayTypedDict", - "TextqlRPCPublicPatchesLibrarySubmodule", - "TextqlRPCPublicPatchesLibrarySubmoduleTypedDict", - "TextqlRPCPublicPatchesLibrarySyncConflict", - "TextqlRPCPublicPatchesLibrarySyncConflictTypedDict", - "TextqlRPCPublicPatchesLibrarySyncRun", - "TextqlRPCPublicPatchesLibrarySyncRunStatus", - "TextqlRPCPublicPatchesLibrarySyncRunTypedDict", "TextqlRPCPublicPatchesListApprovalRulesRequest", "TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict", "TextqlRPCPublicPatchesListApprovalRulesResponse", @@ -11562,26 +11552,26 @@ "TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict", "TextqlRPCPublicPatchesListGoldenFilesResponse", "TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict", - "TextqlRPCPublicPatchesListLibraryEntriesRequest", - "TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict", - "TextqlRPCPublicPatchesListLibraryEntriesResponse", - "TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict", - "TextqlRPCPublicPatchesListLibraryHistoryRequest", - "TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict", - "TextqlRPCPublicPatchesListLibraryHistoryResponse", - "TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict", - "TextqlRPCPublicPatchesListLibraryImportsRequest", - "TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict", - "TextqlRPCPublicPatchesListLibraryImportsResponse", - "TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict", - "TextqlRPCPublicPatchesListLibrarySubmodulesRequest", - "TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict", - "TextqlRPCPublicPatchesListLibrarySubmodulesResponse", - "TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict", - "TextqlRPCPublicPatchesListLibrarySyncRunsRequest", - "TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict", - "TextqlRPCPublicPatchesListLibrarySyncRunsResponse", - "TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict", + "TextqlRPCPublicPatchesListOntologyEntriesRequest", + "TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict", + "TextqlRPCPublicPatchesListOntologyEntriesResponse", + "TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict", + "TextqlRPCPublicPatchesListOntologyHistoryRequest", + "TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict", + "TextqlRPCPublicPatchesListOntologyHistoryResponse", + "TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict", + "TextqlRPCPublicPatchesListOntologyImportsRequest", + "TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict", + "TextqlRPCPublicPatchesListOntologyImportsResponse", + "TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict", + "TextqlRPCPublicPatchesListOntologySubmodulesRequest", + "TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict", + "TextqlRPCPublicPatchesListOntologySubmodulesResponse", + "TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict", + "TextqlRPCPublicPatchesListOntologySyncRunsRequest", + "TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict", + "TextqlRPCPublicPatchesListOntologySyncRunsResponse", + "TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict", "TextqlRPCPublicPatchesListPatchReviewersRequest", "TextqlRPCPublicPatchesListPatchReviewersRequestTypedDict", "TextqlRPCPublicPatchesListPatchReviewersResponse", @@ -11594,20 +11584,41 @@ "TextqlRPCPublicPatchesListSkillsRequestTypedDict", "TextqlRPCPublicPatchesListSkillsResponse", "TextqlRPCPublicPatchesListSkillsResponseTypedDict", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResult", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict", - "TextqlRPCPublicPatchesMigratedLegacyContextPrompt", - "TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict", - "TextqlRPCPublicPatchesMigratedOntologyNoun", - "TextqlRPCPublicPatchesMigratedOntologyNounTypedDict", + "TextqlRPCPublicPatchesOntologyAnaConfig", + "TextqlRPCPublicPatchesOntologyAnaConfigTypedDict", + "TextqlRPCPublicPatchesOntologyEntry", + "TextqlRPCPublicPatchesOntologyEntrySizeBytes", + "TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict", + "TextqlRPCPublicPatchesOntologyEntryTypedDict", + "TextqlRPCPublicPatchesOntologyFile", + "TextqlRPCPublicPatchesOntologyFileKind", + "TextqlRPCPublicPatchesOntologyFileSizeBytes", + "TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict", + "TextqlRPCPublicPatchesOntologyFileTypedDict", + "TextqlRPCPublicPatchesOntologyHistoryChangeType", + "TextqlRPCPublicPatchesOntologyHistoryChangedFile", + "TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict", + "TextqlRPCPublicPatchesOntologyHistoryEntry", + "TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict", + "TextqlRPCPublicPatchesOntologyImportEdge", + "TextqlRPCPublicPatchesOntologyImportEdgeTypedDict", + "TextqlRPCPublicPatchesOntologyMergeOutcome", + "TextqlRPCPublicPatchesOntologyOwnerEntry", + "TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict", + "TextqlRPCPublicPatchesOntologyOwners", + "TextqlRPCPublicPatchesOntologyOwnersTypedDict", + "TextqlRPCPublicPatchesOntologyPermission", + "TextqlRPCPublicPatchesOntologyRemote", + "TextqlRPCPublicPatchesOntologyRemoteTypedDict", + "TextqlRPCPublicPatchesOntologySizeDay", + "TextqlRPCPublicPatchesOntologySizeDayTypedDict", + "TextqlRPCPublicPatchesOntologySubmodule", + "TextqlRPCPublicPatchesOntologySubmoduleTypedDict", + "TextqlRPCPublicPatchesOntologySyncConflict", + "TextqlRPCPublicPatchesOntologySyncConflictTypedDict", + "TextqlRPCPublicPatchesOntologySyncRun", + "TextqlRPCPublicPatchesOntologySyncRunStatus", + "TextqlRPCPublicPatchesOntologySyncRunTypedDict", "TextqlRPCPublicPatchesPatch", "TextqlRPCPublicPatchesPatchCapabilities", "TextqlRPCPublicPatchesPatchCapabilitiesTypedDict", @@ -11626,37 +11637,37 @@ "TextqlRPCPublicPatchesPatchStatusCounts", "TextqlRPCPublicPatchesPatchStatusCountsTypedDict", "TextqlRPCPublicPatchesPatchTypedDict", - "TextqlRPCPublicPatchesPlanLibraryMergeRequest", - "TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict", - "TextqlRPCPublicPatchesPlanLibraryMergeResponse", - "TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict", - "TextqlRPCPublicPatchesPreviewLibraryPullFolderRow", - "TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict", - "TextqlRPCPublicPatchesPullLibraryFromRemoteRequest", - "TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict", - "TextqlRPCPublicPatchesPushLibraryToRemoteRequest", - "TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict", - "TextqlRPCPublicPatchesRecoverLibraryLevel", - "TextqlRPCPublicPatchesRecoverLibraryRequest", - "TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict", - "TextqlRPCPublicPatchesRemoveLibraryRemoteRequest", - "TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict", - "TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest", - "TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict", - "TextqlRPCPublicPatchesRenameLibraryFileRequest", - "TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict", - "TextqlRPCPublicPatchesRenameLibraryFileResponse", - "TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict", + "TextqlRPCPublicPatchesPlanOntologyMergeRequest", + "TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict", + "TextqlRPCPublicPatchesPlanOntologyMergeResponse", + "TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict", + "TextqlRPCPublicPatchesPreviewOntologyPullFolderRow", + "TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict", + "TextqlRPCPublicPatchesPullOntologyFromRemoteRequest", + "TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict", + "TextqlRPCPublicPatchesPushOntologyToRemoteRequest", + "TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict", + "TextqlRPCPublicPatchesRecoverOntologyLevel", + "TextqlRPCPublicPatchesRecoverOntologyRequest", + "TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict", + "TextqlRPCPublicPatchesRemoveOntologyRemoteRequest", + "TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict", + "TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest", + "TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict", + "TextqlRPCPublicPatchesRenameOntologyFileRequest", + "TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict", + "TextqlRPCPublicPatchesRenameOntologyFileResponse", + "TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict", "TextqlRPCPublicPatchesRequestPatchReviewRequest", "TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict", "TextqlRPCPublicPatchesRequestPatchReviewResponse", "TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict", - "TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest", - "TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict", + "TextqlRPCPublicPatchesResolveOntologySyncConflictRequest", + "TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict", "TextqlRPCPublicPatchesRestorePatchRequest", "TextqlRPCPublicPatchesRestorePatchRequestTypedDict", "TextqlRPCPublicPatchesRevertPatchRequest", @@ -11671,10 +11682,10 @@ "TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict", "TextqlRPCPublicPatchesSaveObjectAsConfigResponse", "TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict", - "TextqlRPCPublicPatchesSetLibraryFileGoldenRequest", - "TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict", - "TextqlRPCPublicPatchesSetLibraryFileGoldenResponse", - "TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict", + "TextqlRPCPublicPatchesSetOntologyFileGoldenRequest", + "TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict", + "TextqlRPCPublicPatchesSetOntologyFileGoldenResponse", + "TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict", "TextqlRPCPublicPatchesSkill", "TextqlRPCPublicPatchesSkillTypedDict", "TextqlRPCPublicPatchesSkippedConfigExport", @@ -11691,22 +11702,22 @@ "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict", "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse", "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryFileRequest", - "TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryFileResponse", - "TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryOwnersRequest", - "TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict", - "TextqlRPCPublicPatchesUpsertLibraryOwnersResponse", - "TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyFileRequest", + "TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyFileResponse", + "TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyOwnersRequest", + "TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict", + "TextqlRPCPublicPatchesUpsertOntologyOwnersResponse", + "TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict", "TextqlRPCPublicPatchesUsageOrderBy", "TextqlRPCPublicPatchesValidateConfigRequest", "TextqlRPCPublicPatchesValidateConfigRequestTypedDict", @@ -12146,6 +12157,10 @@ "TextqlRPCPublicRbacScimGroupMappingSummaryTypedDict", "TextqlRPCPublicRbacServiceAccount", "TextqlRPCPublicRbacServiceAccountTypedDict", + "TextqlRPCPublicRbacSetRolePermissionsRequest", + "TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict", + "TextqlRPCPublicRbacSetRolePermissionsResponse", + "TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict", "TextqlRPCPublicRbacShareObjectRequest", "TextqlRPCPublicRbacShareObjectRequestTypedDict", "TextqlRPCPublicRbacShareObjectResponse", @@ -12263,6 +12278,28 @@ "TextqlRPCPublicSandboxAdminStopSandboxRequestTypedDict", "TextqlRPCPublicSandboxAdminStopSandboxResponse", "TextqlRPCPublicSandboxAdminStopSandboxResponseTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict", + "TextqlRPCPublicSandboxQueryAppDBTemplate", + "TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict", "TextqlRPCPublicSandboxQueryLibraryTQLTemplate", "TextqlRPCPublicSandboxQueryLibraryTQLTemplateTypedDict", "TextqlRPCPublicSandboxQuerySQLQueryTemplate", @@ -12270,6 +12307,12 @@ "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestTypedDict", @@ -12307,75 +12350,28 @@ "TextqlRPCPublicScimScimOAuthClientTypedDict", "TextqlRPCPublicScimScimToken", "TextqlRPCPublicScimScimTokenTypedDict", - "TextqlRPCPublicSecretAPIAccessKey", - "TextqlRPCPublicSecretAPIAccessKeyTypedDict", - "TextqlRPCPublicSecretAPIAccessRef", - "TextqlRPCPublicSecretAPIAccessRefTypedDict", - "TextqlRPCPublicSecretAPIProvider", - "TextqlRPCPublicSecretAPIProviderTypedDict", - "TextqlRPCPublicSecretBodyContentType", - "TextqlRPCPublicSecretCreateAPIRevisionRequest", - "TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict", - "TextqlRPCPublicSecretCreateAPIRevisionResponse", - "TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict", - "TextqlRPCPublicSecretDeleteAPIAccessKeyRequest", - "TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict", - "TextqlRPCPublicSecretDeleteAPIAccessKeyResponse", - "TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict", - "TextqlRPCPublicSecretDeleteAPIRevisionRequest", - "TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict", - "TextqlRPCPublicSecretDeleteAPIRevisionResponse", - "TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict", "TextqlRPCPublicSecretDeleteSecretRequest", "TextqlRPCPublicSecretDeleteSecretRequestTypedDict", "TextqlRPCPublicSecretDeleteSecretResponse", "TextqlRPCPublicSecretDeleteSecretResponseTypedDict", - "TextqlRPCPublicSecretEnvVarField", - "TextqlRPCPublicSecretEnvVarFieldTypedDict", - "TextqlRPCPublicSecretGetAPIAccessKeyRequest", - "TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict", - "TextqlRPCPublicSecretGetAPIAccessKeyResponse", - "TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict", "TextqlRPCPublicSecretGetMembersWithSecretsRequest", "TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict", "TextqlRPCPublicSecretGetMembersWithSecretsResponse", "TextqlRPCPublicSecretGetMembersWithSecretsResponseTypedDict", - "TextqlRPCPublicSecretHTTPBasicAuth", - "TextqlRPCPublicSecretHTTPBasicAuthTypedDict", - "TextqlRPCPublicSecretListAPIAccessKeysRequest", - "TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict", - "TextqlRPCPublicSecretListAPIAccessKeysResponse", - "TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict", - "TextqlRPCPublicSecretListAPIProvidersRequest", - "TextqlRPCPublicSecretListAPIProvidersRequestTypedDict", - "TextqlRPCPublicSecretListAPIProvidersResponse", - "TextqlRPCPublicSecretListAPIProvidersResponseTypedDict", "TextqlRPCPublicSecretListSecretsRequest", "TextqlRPCPublicSecretListSecretsRequestTypedDict", "TextqlRPCPublicSecretListSecretsResponse", "TextqlRPCPublicSecretListSecretsResponseTypedDict", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict", "TextqlRPCPublicSecretPutSecretRequest", "TextqlRPCPublicSecretPutSecretRequestTypedDict", "TextqlRPCPublicSecretPutSecretResponse", "TextqlRPCPublicSecretPutSecretResponseTypedDict", "TextqlRPCPublicSecretSecret", "TextqlRPCPublicSecretSecretTypedDict", - "TextqlRPCPublicSecretTestAPIAccessKeyRequest", - "TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict", - "TextqlRPCPublicSecretTestAPIAccessKeyResponse", - "TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict", "TextqlRPCPublicSecretUpdateSecretRequest", "TextqlRPCPublicSecretUpdateSecretRequestTypedDict", "TextqlRPCPublicSecretUpdateSecretResponse", "TextqlRPCPublicSecretUpdateSecretResponseTypedDict", - "TextqlRPCPublicSecretUpsertAPIAccessKeyRequest", - "TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict", - "TextqlRPCPublicSecretUpsertAPIAccessKeyResponse", - "TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict", "TextqlRPCPublicSlackCreateSlackUUIDResponse", "TextqlRPCPublicSlackCreateSlackUUIDResponseTypedDict", "TextqlRPCPublicSlackDeleteInstallationRequest", @@ -12487,6 +12483,8 @@ "TextqlRPCPublicTeamsTeamsSyncWorkspaceResponseTypedDict", "TextqlRPCPublicTeamsTeamsUser", "TextqlRPCPublicTeamsTeamsUserTypedDict", + "ThinkingCell", + "ThinkingCellTypedDict", "ThreadCount", "ThreadCountTypedDict", "Timestamps", @@ -12592,6 +12590,10 @@ "AppServiceDuplicateAppRequestTypedDict": ".appservice_duplicateappop", "AppServiceDuplicateAppResponse": ".appservice_duplicateappop", "AppServiceDuplicateAppResponseTypedDict": ".appservice_duplicateappop", + "AppServiceGetAppMemberStateRequest": ".appservice_getappmemberstateop", + "AppServiceGetAppMemberStateRequestTypedDict": ".appservice_getappmemberstateop", + "AppServiceGetAppMemberStateResponse": ".appservice_getappmemberstateop", + "AppServiceGetAppMemberStateResponseTypedDict": ".appservice_getappmemberstateop", "AppServiceGetAppRequest": ".appservice_getappop", "AppServiceGetAppRequestTypedDict": ".appservice_getappop", "AppServiceGetAppResponse": ".appservice_getappop", @@ -12612,6 +12614,10 @@ "AppServiceInvokeAppComputeFunctionRequestTypedDict": ".appservice_invokeappcomputefunctionop", "AppServiceInvokeAppComputeFunctionResponse": ".appservice_invokeappcomputefunctionop", "AppServiceInvokeAppComputeFunctionResponseTypedDict": ".appservice_invokeappcomputefunctionop", + "AppServiceListAppActivitySinceRequest": ".appservice_listappactivitysinceop", + "AppServiceListAppActivitySinceRequestTypedDict": ".appservice_listappactivitysinceop", + "AppServiceListAppActivitySinceResponse": ".appservice_listappactivitysinceop", + "AppServiceListAppActivitySinceResponseTypedDict": ".appservice_listappactivitysinceop", "AppServiceListAppsRequest": ".appservice_listappsop", "AppServiceListAppsRequestTypedDict": ".appservice_listappsop", "AppServiceListAppsResponse": ".appservice_listappsop", @@ -12620,10 +12626,22 @@ "AppServiceListAppVersionsRequestTypedDict": ".appservice_listappversionsop", "AppServiceListAppVersionsResponse": ".appservice_listappversionsop", "AppServiceListAppVersionsResponseTypedDict": ".appservice_listappversionsop", + "AppServiceListMyAppMemberActivityRequest": ".appservice_listmyappmemberactivityop", + "AppServiceListMyAppMemberActivityRequestTypedDict": ".appservice_listmyappmemberactivityop", + "AppServiceListMyAppMemberActivityResponse": ".appservice_listmyappmemberactivityop", + "AppServiceListMyAppMemberActivityResponseTypedDict": ".appservice_listmyappmemberactivityop", "AppServiceMoveAppToFolderRequest": ".appservice_moveapptofolderop", "AppServiceMoveAppToFolderRequestTypedDict": ".appservice_moveapptofolderop", "AppServiceMoveAppToFolderResponse": ".appservice_moveapptofolderop", "AppServiceMoveAppToFolderResponseTypedDict": ".appservice_moveapptofolderop", + "AppServicePresenceHeartbeatRequest": ".appservice_presenceheartbeatop", + "AppServicePresenceHeartbeatRequestTypedDict": ".appservice_presenceheartbeatop", + "AppServicePresenceHeartbeatResponse": ".appservice_presenceheartbeatop", + "AppServicePresenceHeartbeatResponseTypedDict": ".appservice_presenceheartbeatop", + "AppServiceRecordAppMemberActivityRequest": ".appservice_recordappmemberactivityop", + "AppServiceRecordAppMemberActivityRequestTypedDict": ".appservice_recordappmemberactivityop", + "AppServiceRecordAppMemberActivityResponse": ".appservice_recordappmemberactivityop", + "AppServiceRecordAppMemberActivityResponseTypedDict": ".appservice_recordappmemberactivityop", "AppServiceRefreshAppRequest": ".appservice_refreshappop", "AppServiceRefreshAppRequestTypedDict": ".appservice_refreshappop", "AppServiceRefreshAppResponse": ".appservice_refreshappop", @@ -12632,6 +12650,10 @@ "AppServiceRestoreAppVersionRequestTypedDict": ".appservice_restoreappversionop", "AppServiceRestoreAppVersionResponse": ".appservice_restoreappversionop", "AppServiceRestoreAppVersionResponseTypedDict": ".appservice_restoreappversionop", + "AppServiceSetAppMemberStateRequest": ".appservice_setappmemberstateop", + "AppServiceSetAppMemberStateRequestTypedDict": ".appservice_setappmemberstateop", + "AppServiceSetAppMemberStateResponse": ".appservice_setappmemberstateop", + "AppServiceSetAppMemberStateResponseTypedDict": ".appservice_setappmemberstateop", "AppServiceSetFavoriteRequest": ".appservice_setfavoriteop", "AppServiceSetFavoriteRequestTypedDict": ".appservice_setfavoriteop", "AppServiceSetFavoriteResponse": ".appservice_setfavoriteop", @@ -13067,294 +13089,6 @@ "GoogleProtobufEmptyTypedDict": ".google_protobuf_empty", "GoogleProtobufValue": ".google_protobuf_value", "GoogleProtobufValueTypedDict": ".google_protobuf_value", - "LibraryServiceAddLibrarySubmoduleRequest": ".libraryservice_addlibrarysubmoduleop", - "LibraryServiceAddLibrarySubmoduleRequestTypedDict": ".libraryservice_addlibrarysubmoduleop", - "LibraryServiceAddLibrarySubmoduleResponse": ".libraryservice_addlibrarysubmoduleop", - "LibraryServiceAddLibrarySubmoduleResponseTypedDict": ".libraryservice_addlibrarysubmoduleop", - "LibraryServiceApprovePatchRequest": ".libraryservice_approvepatchop", - "LibraryServiceApprovePatchRequestTypedDict": ".libraryservice_approvepatchop", - "LibraryServiceApprovePatchResponse": ".libraryservice_approvepatchop", - "LibraryServiceApprovePatchResponseTypedDict": ".libraryservice_approvepatchop", - "LibraryServiceConfigureLibraryRemoteRequest": ".libraryservice_configurelibraryremoteop", - "LibraryServiceConfigureLibraryRemoteRequestTypedDict": ".libraryservice_configurelibraryremoteop", - "LibraryServiceConfigureLibraryRemoteResponse": ".libraryservice_configurelibraryremoteop", - "LibraryServiceConfigureLibraryRemoteResponseTypedDict": ".libraryservice_configurelibraryremoteop", - "LibraryServiceCreateApprovalRuleRequest": ".libraryservice_createapprovalruleop", - "LibraryServiceCreateApprovalRuleRequestTypedDict": ".libraryservice_createapprovalruleop", - "LibraryServiceCreateApprovalRuleResponse": ".libraryservice_createapprovalruleop", - "LibraryServiceCreateApprovalRuleResponseTypedDict": ".libraryservice_createapprovalruleop", - "LibraryServiceCreateContextPatchAutoApproveRuleRequest": ".libraryservice_createcontextpatchautoapproveruleop", - "LibraryServiceCreateContextPatchAutoApproveRuleRequestTypedDict": ".libraryservice_createcontextpatchautoapproveruleop", - "LibraryServiceCreateContextPatchAutoApproveRuleResponse": ".libraryservice_createcontextpatchautoapproveruleop", - "LibraryServiceCreateContextPatchAutoApproveRuleResponseTypedDict": ".libraryservice_createcontextpatchautoapproveruleop", - "LibraryServiceCreateLibraryDirectoryRequest": ".libraryservice_createlibrarydirectoryop", - "LibraryServiceCreateLibraryDirectoryRequestTypedDict": ".libraryservice_createlibrarydirectoryop", - "LibraryServiceCreateLibraryDirectoryResponse": ".libraryservice_createlibrarydirectoryop", - "LibraryServiceCreateLibraryDirectoryResponseTypedDict": ".libraryservice_createlibrarydirectoryop", - "LibraryServiceCreateLibraryFileUploadURLRequest": ".libraryservice_createlibraryfileuploadurlop", - "LibraryServiceCreateLibraryFileUploadURLRequestTypedDict": ".libraryservice_createlibraryfileuploadurlop", - "LibraryServiceCreateLibraryFileUploadURLResponse": ".libraryservice_createlibraryfileuploadurlop", - "LibraryServiceCreateLibraryFileUploadURLResponseTypedDict": ".libraryservice_createlibraryfileuploadurlop", - "LibraryServiceDeleteApprovalRuleRequest": ".libraryservice_deleteapprovalruleop", - "LibraryServiceDeleteApprovalRuleRequestTypedDict": ".libraryservice_deleteapprovalruleop", - "LibraryServiceDeleteApprovalRuleResponse": ".libraryservice_deleteapprovalruleop", - "LibraryServiceDeleteApprovalRuleResponseTypedDict": ".libraryservice_deleteapprovalruleop", - "LibraryServiceDeleteContextPatchAutoApproveRuleRequest": ".libraryservice_deletecontextpatchautoapproveruleop", - "LibraryServiceDeleteContextPatchAutoApproveRuleRequestTypedDict": ".libraryservice_deletecontextpatchautoapproveruleop", - "LibraryServiceDeleteContextPatchAutoApproveRuleResponse": ".libraryservice_deletecontextpatchautoapproveruleop", - "LibraryServiceDeleteContextPatchAutoApproveRuleResponseTypedDict": ".libraryservice_deletecontextpatchautoapproveruleop", - "LibraryServiceDeleteLibraryDirectoryRequest": ".libraryservice_deletelibrarydirectoryop", - "LibraryServiceDeleteLibraryDirectoryRequestTypedDict": ".libraryservice_deletelibrarydirectoryop", - "LibraryServiceDeleteLibraryDirectoryResponse": ".libraryservice_deletelibrarydirectoryop", - "LibraryServiceDeleteLibraryDirectoryResponseTypedDict": ".libraryservice_deletelibrarydirectoryop", - "LibraryServiceDeleteLibraryFileRequest": ".libraryservice_deletelibraryfileop", - "LibraryServiceDeleteLibraryFileRequestTypedDict": ".libraryservice_deletelibraryfileop", - "LibraryServiceDeleteLibraryFileResponse": ".libraryservice_deletelibraryfileop", - "LibraryServiceDeleteLibraryFileResponseTypedDict": ".libraryservice_deletelibraryfileop", - "LibraryServiceDeleteLibraryOwnersRequest": ".libraryservice_deletelibraryownersop", - "LibraryServiceDeleteLibraryOwnersRequestTypedDict": ".libraryservice_deletelibraryownersop", - "LibraryServiceDeleteLibraryOwnersResponse": ".libraryservice_deletelibraryownersop", - "LibraryServiceDeleteLibraryOwnersResponseTypedDict": ".libraryservice_deletelibraryownersop", - "LibraryServiceDenyPatchRequest": ".libraryservice_denypatchop", - "LibraryServiceDenyPatchRequestTypedDict": ".libraryservice_denypatchop", - "LibraryServiceDenyPatchResponse": ".libraryservice_denypatchop", - "LibraryServiceDenyPatchResponseTypedDict": ".libraryservice_denypatchop", - "LibraryServiceExchangeLibraryGithubCodeRequest": ".libraryservice_exchangelibrarygithubcodeop", - "LibraryServiceExchangeLibraryGithubCodeRequestTypedDict": ".libraryservice_exchangelibrarygithubcodeop", - "LibraryServiceExchangeLibraryGithubCodeResponse": ".libraryservice_exchangelibrarygithubcodeop", - "LibraryServiceExchangeLibraryGithubCodeResponseTypedDict": ".libraryservice_exchangelibrarygithubcodeop", - "LibraryServiceFinalizeLibraryFileUploadRequest": ".libraryservice_finalizelibraryfileuploadop", - "LibraryServiceFinalizeLibraryFileUploadRequestTypedDict": ".libraryservice_finalizelibraryfileuploadop", - "LibraryServiceFinalizeLibraryFileUploadResponse": ".libraryservice_finalizelibraryfileuploadop", - "LibraryServiceFinalizeLibraryFileUploadResponseTypedDict": ".libraryservice_finalizelibraryfileuploadop", - "LibraryServiceGetCodeownerCoverageRequest": ".libraryservice_getcodeownercoverageop", - "LibraryServiceGetCodeownerCoverageRequestTypedDict": ".libraryservice_getcodeownercoverageop", - "LibraryServiceGetCodeownerCoverageResponse": ".libraryservice_getcodeownercoverageop", - "LibraryServiceGetCodeownerCoverageResponseTypedDict": ".libraryservice_getcodeownercoverageop", - "LibraryServiceGetConfigExportCapabilitiesRequest": ".libraryservice_getconfigexportcapabilitiesop", - "LibraryServiceGetConfigExportCapabilitiesRequestTypedDict": ".libraryservice_getconfigexportcapabilitiesop", - "LibraryServiceGetConfigExportCapabilitiesResponse": ".libraryservice_getconfigexportcapabilitiesop", - "LibraryServiceGetConfigExportCapabilitiesResponseTypedDict": ".libraryservice_getconfigexportcapabilitiesop", - "LibraryServiceGetEffectiveLibraryOwnersRequest": ".libraryservice_geteffectivelibraryownersop", - "LibraryServiceGetEffectiveLibraryOwnersRequestTypedDict": ".libraryservice_geteffectivelibraryownersop", - "LibraryServiceGetEffectiveLibraryOwnersResponse": ".libraryservice_geteffectivelibraryownersop", - "LibraryServiceGetEffectiveLibraryOwnersResponseTypedDict": ".libraryservice_geteffectivelibraryownersop", - "LibraryServiceGetFileUsageRequest": ".libraryservice_getfileusageop", - "LibraryServiceGetFileUsageRequestTypedDict": ".libraryservice_getfileusageop", - "LibraryServiceGetFileUsageResponse": ".libraryservice_getfileusageop", - "LibraryServiceGetFileUsageResponseTypedDict": ".libraryservice_getfileusageop", - "LibraryServiceGetFileUsageTimelineRequest": ".libraryservice_getfileusagetimelineop", - "LibraryServiceGetFileUsageTimelineRequestTypedDict": ".libraryservice_getfileusagetimelineop", - "LibraryServiceGetFileUsageTimelineResponse": ".libraryservice_getfileusagetimelineop", - "LibraryServiceGetFileUsageTimelineResponseTypedDict": ".libraryservice_getfileusagetimelineop", - "LibraryServiceGetLibraryAnaConfigRequest": ".libraryservice_getlibraryanaconfigop", - "LibraryServiceGetLibraryAnaConfigRequestTypedDict": ".libraryservice_getlibraryanaconfigop", - "LibraryServiceGetLibraryAnaConfigResponse": ".libraryservice_getlibraryanaconfigop", - "LibraryServiceGetLibraryAnaConfigResponseTypedDict": ".libraryservice_getlibraryanaconfigop", - "LibraryServiceGetLibraryFileRequest": ".libraryservice_getlibraryfileop", - "LibraryServiceGetLibraryFileRequestTypedDict": ".libraryservice_getlibraryfileop", - "LibraryServiceGetLibraryFileResponse": ".libraryservice_getlibraryfileop", - "LibraryServiceGetLibraryFileResponseTypedDict": ".libraryservice_getlibraryfileop", - "LibraryServiceGetLibraryGithubOAuthURLRequest": ".libraryservice_getlibrarygithuboauthurlop", - "LibraryServiceGetLibraryGithubOAuthURLRequestTypedDict": ".libraryservice_getlibrarygithuboauthurlop", - "LibraryServiceGetLibraryGithubOAuthURLResponse": ".libraryservice_getlibrarygithuboauthurlop", - "LibraryServiceGetLibraryGithubOAuthURLResponseTypedDict": ".libraryservice_getlibrarygithuboauthurlop", - "LibraryServiceGetLibraryHistoryFileDiffRequest": ".libraryservice_getlibraryhistoryfilediffop", - "LibraryServiceGetLibraryHistoryFileDiffRequestTypedDict": ".libraryservice_getlibraryhistoryfilediffop", - "LibraryServiceGetLibraryHistoryFileDiffResponse": ".libraryservice_getlibraryhistoryfilediffop", - "LibraryServiceGetLibraryHistoryFileDiffResponseTypedDict": ".libraryservice_getlibraryhistoryfilediffop", - "LibraryServiceGetLibraryMigrationStatusRequest": ".libraryservice_getlibrarymigrationstatusop", - "LibraryServiceGetLibraryMigrationStatusRequestTypedDict": ".libraryservice_getlibrarymigrationstatusop", - "LibraryServiceGetLibraryMigrationStatusResponse": ".libraryservice_getlibrarymigrationstatusop", - "LibraryServiceGetLibraryMigrationStatusResponseTypedDict": ".libraryservice_getlibrarymigrationstatusop", - "LibraryServiceGetLibraryOwnersRequest": ".libraryservice_getlibraryownersop", - "LibraryServiceGetLibraryOwnersRequestTypedDict": ".libraryservice_getlibraryownersop", - "LibraryServiceGetLibraryOwnersResponse": ".libraryservice_getlibraryownersop", - "LibraryServiceGetLibraryOwnersResponseTypedDict": ".libraryservice_getlibraryownersop", - "LibraryServiceGetLibraryRemoteRequest": ".libraryservice_getlibraryremoteop", - "LibraryServiceGetLibraryRemoteRequestTypedDict": ".libraryservice_getlibraryremoteop", - "LibraryServiceGetLibraryRemoteResponse": ".libraryservice_getlibraryremoteop", - "LibraryServiceGetLibraryRemoteResponseTypedDict": ".libraryservice_getlibraryremoteop", - "LibraryServiceGetLibrarySizeTimelineRequest": ".libraryservice_getlibrarysizetimelineop", - "LibraryServiceGetLibrarySizeTimelineRequestTypedDict": ".libraryservice_getlibrarysizetimelineop", - "LibraryServiceGetLibrarySizeTimelineResponse": ".libraryservice_getlibrarysizetimelineop", - "LibraryServiceGetLibrarySizeTimelineResponseTypedDict": ".libraryservice_getlibrarysizetimelineop", - "LibraryServiceGetLibrarySyncConflictsRequest": ".libraryservice_getlibrarysyncconflictsop", - "LibraryServiceGetLibrarySyncConflictsRequestTypedDict": ".libraryservice_getlibrarysyncconflictsop", - "LibraryServiceGetLibrarySyncConflictsResponse": ".libraryservice_getlibrarysyncconflictsop", - "LibraryServiceGetLibrarySyncConflictsResponseTypedDict": ".libraryservice_getlibrarysyncconflictsop", - "LibraryServiceGetOntologyUsageSummaryRequest": ".libraryservice_getontologyusagesummaryop", - "LibraryServiceGetOntologyUsageSummaryRequestTypedDict": ".libraryservice_getontologyusagesummaryop", - "LibraryServiceGetOntologyUsageSummaryResponse": ".libraryservice_getontologyusagesummaryop", - "LibraryServiceGetOntologyUsageSummaryResponseTypedDict": ".libraryservice_getontologyusagesummaryop", - "LibraryServiceGetPatchByNumberRequest": ".libraryservice_getpatchbynumberop", - "LibraryServiceGetPatchByNumberRequestTypedDict": ".libraryservice_getpatchbynumberop", - "LibraryServiceGetPatchByNumberResponse": ".libraryservice_getpatchbynumberop", - "LibraryServiceGetPatchByNumberResponseTypedDict": ".libraryservice_getpatchbynumberop", - "LibraryServiceGetPatchCapabilitiesRequest": ".libraryservice_getpatchcapabilitiesop", - "LibraryServiceGetPatchCapabilitiesRequestTypedDict": ".libraryservice_getpatchcapabilitiesop", - "LibraryServiceGetPatchCapabilitiesResponse": ".libraryservice_getpatchcapabilitiesop", - "LibraryServiceGetPatchCapabilitiesResponseTypedDict": ".libraryservice_getpatchcapabilitiesop", - "LibraryServiceGetPatchRequest": ".libraryservice_getpatchop", - "LibraryServiceGetPatchRequestTypedDict": ".libraryservice_getpatchop", - "LibraryServiceGetPatchResponse": ".libraryservice_getpatchop", - "LibraryServiceGetPatchResponseTypedDict": ".libraryservice_getpatchop", - "LibraryServiceGetRawPatchRequest": ".libraryservice_getrawpatchop", - "LibraryServiceGetRawPatchRequestTypedDict": ".libraryservice_getrawpatchop", - "LibraryServiceGetRawPatchResponse": ".libraryservice_getrawpatchop", - "LibraryServiceGetRawPatchResponseTypedDict": ".libraryservice_getrawpatchop", - "LibraryServiceGetUsageDetailsForFileRequest": ".libraryservice_getusagedetailsforfileop", - "LibraryServiceGetUsageDetailsForFileRequestTypedDict": ".libraryservice_getusagedetailsforfileop", - "LibraryServiceGetUsageDetailsForFileResponse": ".libraryservice_getusagedetailsforfileop", - "LibraryServiceGetUsageDetailsForFileResponseTypedDict": ".libraryservice_getusagedetailsforfileop", - "LibraryServiceListApprovalRulesRequest": ".libraryservice_listapprovalrulesop", - "LibraryServiceListApprovalRulesRequestTypedDict": ".libraryservice_listapprovalrulesop", - "LibraryServiceListApprovalRulesResponse": ".libraryservice_listapprovalrulesop", - "LibraryServiceListApprovalRulesResponseTypedDict": ".libraryservice_listapprovalrulesop", - "LibraryServiceListChatsForFileRequest": ".libraryservice_listchatsforfileop", - "LibraryServiceListChatsForFileRequestTypedDict": ".libraryservice_listchatsforfileop", - "LibraryServiceListChatsForFileResponse": ".libraryservice_listchatsforfileop", - "LibraryServiceListChatsForFileResponseTypedDict": ".libraryservice_listchatsforfileop", - "LibraryServiceListContextPatchAutoApproveRulesRequest": ".libraryservice_listcontextpatchautoapproverulesop", - "LibraryServiceListContextPatchAutoApproveRulesRequestTypedDict": ".libraryservice_listcontextpatchautoapproverulesop", - "LibraryServiceListContextPatchAutoApproveRulesResponse": ".libraryservice_listcontextpatchautoapproverulesop", - "LibraryServiceListContextPatchAutoApproveRulesResponseTypedDict": ".libraryservice_listcontextpatchautoapproverulesop", - "LibraryServiceListGoldenFilesRequest": ".libraryservice_listgoldenfilesop", - "LibraryServiceListGoldenFilesRequestTypedDict": ".libraryservice_listgoldenfilesop", - "LibraryServiceListGoldenFilesResponse": ".libraryservice_listgoldenfilesop", - "LibraryServiceListGoldenFilesResponseTypedDict": ".libraryservice_listgoldenfilesop", - "LibraryServiceListLibraryEntriesRequest": ".libraryservice_listlibraryentriesop", - "LibraryServiceListLibraryEntriesRequestTypedDict": ".libraryservice_listlibraryentriesop", - "LibraryServiceListLibraryEntriesResponse": ".libraryservice_listlibraryentriesop", - "LibraryServiceListLibraryEntriesResponseTypedDict": ".libraryservice_listlibraryentriesop", - "LibraryServiceListLibraryHistoryRequest": ".libraryservice_listlibraryhistoryop", - "LibraryServiceListLibraryHistoryRequestTypedDict": ".libraryservice_listlibraryhistoryop", - "LibraryServiceListLibraryHistoryResponse": ".libraryservice_listlibraryhistoryop", - "LibraryServiceListLibraryHistoryResponseTypedDict": ".libraryservice_listlibraryhistoryop", - "LibraryServiceListLibraryImportsRequest": ".libraryservice_listlibraryimportsop", - "LibraryServiceListLibraryImportsRequestTypedDict": ".libraryservice_listlibraryimportsop", - "LibraryServiceListLibraryImportsResponse": ".libraryservice_listlibraryimportsop", - "LibraryServiceListLibraryImportsResponseTypedDict": ".libraryservice_listlibraryimportsop", - "LibraryServiceListLibrarySubmodulesRequest": ".libraryservice_listlibrarysubmodulesop", - "LibraryServiceListLibrarySubmodulesRequestTypedDict": ".libraryservice_listlibrarysubmodulesop", - "LibraryServiceListLibrarySubmodulesResponse": ".libraryservice_listlibrarysubmodulesop", - "LibraryServiceListLibrarySubmodulesResponseTypedDict": ".libraryservice_listlibrarysubmodulesop", - "LibraryServiceListLibrarySyncRunsRequest": ".libraryservice_listlibrarysyncrunsop", - "LibraryServiceListLibrarySyncRunsRequestTypedDict": ".libraryservice_listlibrarysyncrunsop", - "LibraryServiceListLibrarySyncRunsResponse": ".libraryservice_listlibrarysyncrunsop", - "LibraryServiceListLibrarySyncRunsResponseTypedDict": ".libraryservice_listlibrarysyncrunsop", - "LibraryServiceListPatchesRequest": ".libraryservice_listpatchesop", - "LibraryServiceListPatchesRequestTypedDict": ".libraryservice_listpatchesop", - "LibraryServiceListPatchesResponse": ".libraryservice_listpatchesop", - "LibraryServiceListPatchesResponseTypedDict": ".libraryservice_listpatchesop", - "LibraryServiceListPatchReviewersRequest": ".libraryservice_listpatchreviewersop", - "LibraryServiceListPatchReviewersRequestTypedDict": ".libraryservice_listpatchreviewersop", - "LibraryServiceListPatchReviewersResponse": ".libraryservice_listpatchreviewersop", - "LibraryServiceListPatchReviewersResponseTypedDict": ".libraryservice_listpatchreviewersop", - "LibraryServiceListSkillsRequest": ".libraryservice_listskillsop", - "LibraryServiceListSkillsRequestTypedDict": ".libraryservice_listskillsop", - "LibraryServiceListSkillsResponse": ".libraryservice_listskillsop", - "LibraryServiceListSkillsResponseTypedDict": ".libraryservice_listskillsop", - "LibraryServiceMigrateLegacyContextToLibraryRequest": ".libraryservice_migratelegacycontexttolibraryop", - "LibraryServiceMigrateLegacyContextToLibraryRequestTypedDict": ".libraryservice_migratelegacycontexttolibraryop", - "LibraryServiceMigrateLegacyContextToLibraryResponse": ".libraryservice_migratelegacycontexttolibraryop", - "LibraryServiceMigrateLegacyContextToLibraryResponseTypedDict": ".libraryservice_migratelegacycontexttolibraryop", - "LibraryServiceMigrateOntologyToLibraryRequest": ".libraryservice_migrateontologytolibraryop", - "LibraryServiceMigrateOntologyToLibraryRequestTypedDict": ".libraryservice_migrateontologytolibraryop", - "LibraryServiceMigrateOntologyToLibraryResponse": ".libraryservice_migrateontologytolibraryop", - "LibraryServiceMigrateOntologyToLibraryResponseTypedDict": ".libraryservice_migrateontologytolibraryop", - "LibraryServicePlanLibraryMergeRequest": ".libraryservice_planlibrarymergeop", - "LibraryServicePlanLibraryMergeRequestTypedDict": ".libraryservice_planlibrarymergeop", - "LibraryServicePlanLibraryMergeResponse": ".libraryservice_planlibrarymergeop", - "LibraryServicePlanLibraryMergeResponseTypedDict": ".libraryservice_planlibrarymergeop", - "LibraryServicePreviewLibraryPullFromRemoteRequest": ".libraryservice_previewlibrarypullfromremoteop", - "LibraryServicePreviewLibraryPullFromRemoteRequestTypedDict": ".libraryservice_previewlibrarypullfromremoteop", - "LibraryServicePreviewLibraryPullFromRemoteResponse": ".libraryservice_previewlibrarypullfromremoteop", - "LibraryServicePreviewLibraryPullFromRemoteResponseTypedDict": ".libraryservice_previewlibrarypullfromremoteop", - "LibraryServicePullLibraryFromRemoteRequest": ".libraryservice_pulllibraryfromremoteop", - "LibraryServicePullLibraryFromRemoteRequestTypedDict": ".libraryservice_pulllibraryfromremoteop", - "LibraryServicePullLibraryFromRemoteResponse": ".libraryservice_pulllibraryfromremoteop", - "LibraryServicePullLibraryFromRemoteResponseTypedDict": ".libraryservice_pulllibraryfromremoteop", - "LibraryServicePushLibraryToRemoteRequest": ".libraryservice_pushlibrarytoremoteop", - "LibraryServicePushLibraryToRemoteRequestTypedDict": ".libraryservice_pushlibrarytoremoteop", - "LibraryServicePushLibraryToRemoteResponse": ".libraryservice_pushlibrarytoremoteop", - "LibraryServicePushLibraryToRemoteResponseTypedDict": ".libraryservice_pushlibrarytoremoteop", - "LibraryServiceRecoverLibraryRequest": ".libraryservice_recoverlibraryop", - "LibraryServiceRecoverLibraryRequestTypedDict": ".libraryservice_recoverlibraryop", - "LibraryServiceRecoverLibraryResponse": ".libraryservice_recoverlibraryop", - "LibraryServiceRecoverLibraryResponseTypedDict": ".libraryservice_recoverlibraryop", - "LibraryServiceRemoveLibraryRemoteRequest": ".libraryservice_removelibraryremoteop", - "LibraryServiceRemoveLibraryRemoteRequestTypedDict": ".libraryservice_removelibraryremoteop", - "LibraryServiceRemoveLibraryRemoteResponse": ".libraryservice_removelibraryremoteop", - "LibraryServiceRemoveLibraryRemoteResponseTypedDict": ".libraryservice_removelibraryremoteop", - "LibraryServiceRemoveLibrarySubmoduleRequest": ".libraryservice_removelibrarysubmoduleop", - "LibraryServiceRemoveLibrarySubmoduleRequestTypedDict": ".libraryservice_removelibrarysubmoduleop", - "LibraryServiceRemoveLibrarySubmoduleResponse": ".libraryservice_removelibrarysubmoduleop", - "LibraryServiceRemoveLibrarySubmoduleResponseTypedDict": ".libraryservice_removelibrarysubmoduleop", - "LibraryServiceRenameLibraryFileRequest": ".libraryservice_renamelibraryfileop", - "LibraryServiceRenameLibraryFileRequestTypedDict": ".libraryservice_renamelibraryfileop", - "LibraryServiceRenameLibraryFileResponse": ".libraryservice_renamelibraryfileop", - "LibraryServiceRenameLibraryFileResponseTypedDict": ".libraryservice_renamelibraryfileop", - "LibraryServiceRequestPatchReviewRequest": ".libraryservice_requestpatchreviewop", - "LibraryServiceRequestPatchReviewRequestTypedDict": ".libraryservice_requestpatchreviewop", - "LibraryServiceRequestPatchReviewResponse": ".libraryservice_requestpatchreviewop", - "LibraryServiceRequestPatchReviewResponseTypedDict": ".libraryservice_requestpatchreviewop", - "LibraryServiceResolveLibrarySyncConflictRequest": ".libraryservice_resolvelibrarysyncconflictop", - "LibraryServiceResolveLibrarySyncConflictRequestTypedDict": ".libraryservice_resolvelibrarysyncconflictop", - "LibraryServiceResolveLibrarySyncConflictResponse": ".libraryservice_resolvelibrarysyncconflictop", - "LibraryServiceResolveLibrarySyncConflictResponseTypedDict": ".libraryservice_resolvelibrarysyncconflictop", - "LibraryServiceRestorePatchRequest": ".libraryservice_restorepatchop", - "LibraryServiceRestorePatchRequestTypedDict": ".libraryservice_restorepatchop", - "LibraryServiceRestorePatchResponse": ".libraryservice_restorepatchop", - "LibraryServiceRestorePatchResponseTypedDict": ".libraryservice_restorepatchop", - "LibraryServiceRevertPatchRequest": ".libraryservice_revertpatchop", - "LibraryServiceRevertPatchRequestTypedDict": ".libraryservice_revertpatchop", - "LibraryServiceRevertPatchResponse": ".libraryservice_revertpatchop", - "LibraryServiceRevertPatchResponseTypedDict": ".libraryservice_revertpatchop", - "LibraryServiceSaveAllObjectsAsConfigRequest": ".libraryservice_saveallobjectsasconfigop", - "LibraryServiceSaveAllObjectsAsConfigRequestTypedDict": ".libraryservice_saveallobjectsasconfigop", - "LibraryServiceSaveAllObjectsAsConfigResponse": ".libraryservice_saveallobjectsasconfigop", - "LibraryServiceSaveAllObjectsAsConfigResponseTypedDict": ".libraryservice_saveallobjectsasconfigop", - "LibraryServiceSaveObjectAsConfigRequest": ".libraryservice_saveobjectasconfigop", - "LibraryServiceSaveObjectAsConfigRequestTypedDict": ".libraryservice_saveobjectasconfigop", - "LibraryServiceSaveObjectAsConfigResponse": ".libraryservice_saveobjectasconfigop", - "LibraryServiceSaveObjectAsConfigResponseTypedDict": ".libraryservice_saveobjectasconfigop", - "LibraryServiceSetLibraryFileGoldenRequest": ".libraryservice_setlibraryfilegoldenop", - "LibraryServiceSetLibraryFileGoldenRequestTypedDict": ".libraryservice_setlibraryfilegoldenop", - "LibraryServiceSetLibraryFileGoldenResponse": ".libraryservice_setlibraryfilegoldenop", - "LibraryServiceSetLibraryFileGoldenResponseTypedDict": ".libraryservice_setlibraryfilegoldenop", - "LibraryServiceTriggerConfigDriftReconcileRequest": ".libraryservice_triggerconfigdriftreconcileop", - "LibraryServiceTriggerConfigDriftReconcileRequestTypedDict": ".libraryservice_triggerconfigdriftreconcileop", - "LibraryServiceTriggerConfigDriftReconcileResponse": ".libraryservice_triggerconfigdriftreconcileop", - "LibraryServiceTriggerConfigDriftReconcileResponseTypedDict": ".libraryservice_triggerconfigdriftreconcileop", - "LibraryServiceUpdateApprovalRuleRequest": ".libraryservice_updateapprovalruleop", - "LibraryServiceUpdateApprovalRuleRequestTypedDict": ".libraryservice_updateapprovalruleop", - "LibraryServiceUpdateApprovalRuleResponse": ".libraryservice_updateapprovalruleop", - "LibraryServiceUpdateApprovalRuleResponseTypedDict": ".libraryservice_updateapprovalruleop", - "LibraryServiceUpdateContextPatchAutoApproveRuleRequest": ".libraryservice_updatecontextpatchautoapproveruleop", - "LibraryServiceUpdateContextPatchAutoApproveRuleRequestTypedDict": ".libraryservice_updatecontextpatchautoapproveruleop", - "LibraryServiceUpdateContextPatchAutoApproveRuleResponse": ".libraryservice_updatecontextpatchautoapproveruleop", - "LibraryServiceUpdateContextPatchAutoApproveRuleResponseTypedDict": ".libraryservice_updatecontextpatchautoapproveruleop", - "LibraryServiceUpdateLibrarySyncConfigRequest": ".libraryservice_updatelibrarysyncconfigop", - "LibraryServiceUpdateLibrarySyncConfigRequestTypedDict": ".libraryservice_updatelibrarysyncconfigop", - "LibraryServiceUpdateLibrarySyncConfigResponse": ".libraryservice_updatelibrarysyncconfigop", - "LibraryServiceUpdateLibrarySyncConfigResponseTypedDict": ".libraryservice_updatelibrarysyncconfigop", - "LibraryServiceUpsertLibraryAnaConfigRequest": ".libraryservice_upsertlibraryanaconfigop", - "LibraryServiceUpsertLibraryAnaConfigRequestTypedDict": ".libraryservice_upsertlibraryanaconfigop", - "LibraryServiceUpsertLibraryAnaConfigResponse": ".libraryservice_upsertlibraryanaconfigop", - "LibraryServiceUpsertLibraryAnaConfigResponseTypedDict": ".libraryservice_upsertlibraryanaconfigop", - "LibraryServiceUpsertLibraryFileRequest": ".libraryservice_upsertlibraryfileop", - "LibraryServiceUpsertLibraryFileRequestTypedDict": ".libraryservice_upsertlibraryfileop", - "LibraryServiceUpsertLibraryFileResponse": ".libraryservice_upsertlibraryfileop", - "LibraryServiceUpsertLibraryFileResponseTypedDict": ".libraryservice_upsertlibraryfileop", - "LibraryServiceUpsertLibraryOwnersRequest": ".libraryservice_upsertlibraryownersop", - "LibraryServiceUpsertLibraryOwnersRequestTypedDict": ".libraryservice_upsertlibraryownersop", - "LibraryServiceUpsertLibraryOwnersResponse": ".libraryservice_upsertlibraryownersop", - "LibraryServiceUpsertLibraryOwnersResponseTypedDict": ".libraryservice_upsertlibraryownersop", - "LibraryServiceValidateConfigRequest": ".libraryservice_validateconfigop", - "LibraryServiceValidateConfigRequestTypedDict": ".libraryservice_validateconfigop", - "LibraryServiceValidateConfigResponse": ".libraryservice_validateconfigop", - "LibraryServiceValidateConfigResponseTypedDict": ".libraryservice_validateconfigop", "MCPServiceClearOAuthTokenRequest": ".mcpservice_clearoauthtokenop", "MCPServiceClearOAuthTokenRequestTypedDict": ".mcpservice_clearoauthtokenop", "MCPServiceClearOAuthTokenResponse": ".mcpservice_clearoauthtokenop", @@ -13519,6 +13253,282 @@ "ObservabilityServiceUpdateCustomTopicRequestTypedDict": ".observabilityservice_updatecustomtopicop", "ObservabilityServiceUpdateCustomTopicResponse": ".observabilityservice_updatecustomtopicop", "ObservabilityServiceUpdateCustomTopicResponseTypedDict": ".observabilityservice_updatecustomtopicop", + "OntologyManagementServiceAddOntologySubmoduleRequest": ".ontologymanagementservice_addontologysubmoduleop", + "OntologyManagementServiceAddOntologySubmoduleRequestTypedDict": ".ontologymanagementservice_addontologysubmoduleop", + "OntologyManagementServiceAddOntologySubmoduleResponse": ".ontologymanagementservice_addontologysubmoduleop", + "OntologyManagementServiceAddOntologySubmoduleResponseTypedDict": ".ontologymanagementservice_addontologysubmoduleop", + "OntologyManagementServiceApprovePatchRequest": ".ontologymanagementservice_approvepatchop", + "OntologyManagementServiceApprovePatchRequestTypedDict": ".ontologymanagementservice_approvepatchop", + "OntologyManagementServiceApprovePatchResponse": ".ontologymanagementservice_approvepatchop", + "OntologyManagementServiceApprovePatchResponseTypedDict": ".ontologymanagementservice_approvepatchop", + "OntologyManagementServiceConfigureOntologyRemoteRequest": ".ontologymanagementservice_configureontologyremoteop", + "OntologyManagementServiceConfigureOntologyRemoteRequestTypedDict": ".ontologymanagementservice_configureontologyremoteop", + "OntologyManagementServiceConfigureOntologyRemoteResponse": ".ontologymanagementservice_configureontologyremoteop", + "OntologyManagementServiceConfigureOntologyRemoteResponseTypedDict": ".ontologymanagementservice_configureontologyremoteop", + "OntologyManagementServiceCreateApprovalRuleRequest": ".ontologymanagementservice_createapprovalruleop", + "OntologyManagementServiceCreateApprovalRuleRequestTypedDict": ".ontologymanagementservice_createapprovalruleop", + "OntologyManagementServiceCreateApprovalRuleResponse": ".ontologymanagementservice_createapprovalruleop", + "OntologyManagementServiceCreateApprovalRuleResponseTypedDict": ".ontologymanagementservice_createapprovalruleop", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest": ".ontologymanagementservice_createcontextpatchautoapproveruleop", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleRequestTypedDict": ".ontologymanagementservice_createcontextpatchautoapproveruleop", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse": ".ontologymanagementservice_createcontextpatchautoapproveruleop", + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponseTypedDict": ".ontologymanagementservice_createcontextpatchautoapproveruleop", + "OntologyManagementServiceCreateOntologyDirectoryRequest": ".ontologymanagementservice_createontologydirectoryop", + "OntologyManagementServiceCreateOntologyDirectoryRequestTypedDict": ".ontologymanagementservice_createontologydirectoryop", + "OntologyManagementServiceCreateOntologyDirectoryResponse": ".ontologymanagementservice_createontologydirectoryop", + "OntologyManagementServiceCreateOntologyDirectoryResponseTypedDict": ".ontologymanagementservice_createontologydirectoryop", + "OntologyManagementServiceCreateOntologyFileUploadURLRequest": ".ontologymanagementservice_createontologyfileuploadurlop", + "OntologyManagementServiceCreateOntologyFileUploadURLRequestTypedDict": ".ontologymanagementservice_createontologyfileuploadurlop", + "OntologyManagementServiceCreateOntologyFileUploadURLResponse": ".ontologymanagementservice_createontologyfileuploadurlop", + "OntologyManagementServiceCreateOntologyFileUploadURLResponseTypedDict": ".ontologymanagementservice_createontologyfileuploadurlop", + "OntologyManagementServiceDeleteApprovalRuleRequest": ".ontologymanagementservice_deleteapprovalruleop", + "OntologyManagementServiceDeleteApprovalRuleRequestTypedDict": ".ontologymanagementservice_deleteapprovalruleop", + "OntologyManagementServiceDeleteApprovalRuleResponse": ".ontologymanagementservice_deleteapprovalruleop", + "OntologyManagementServiceDeleteApprovalRuleResponseTypedDict": ".ontologymanagementservice_deleteapprovalruleop", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest": ".ontologymanagementservice_deletecontextpatchautoapproveruleop", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequestTypedDict": ".ontologymanagementservice_deletecontextpatchautoapproveruleop", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse": ".ontologymanagementservice_deletecontextpatchautoapproveruleop", + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponseTypedDict": ".ontologymanagementservice_deletecontextpatchautoapproveruleop", + "OntologyManagementServiceDeleteOntologyDirectoryRequest": ".ontologymanagementservice_deleteontologydirectoryop", + "OntologyManagementServiceDeleteOntologyDirectoryRequestTypedDict": ".ontologymanagementservice_deleteontologydirectoryop", + "OntologyManagementServiceDeleteOntologyDirectoryResponse": ".ontologymanagementservice_deleteontologydirectoryop", + "OntologyManagementServiceDeleteOntologyDirectoryResponseTypedDict": ".ontologymanagementservice_deleteontologydirectoryop", + "OntologyManagementServiceDeleteOntologyFileRequest": ".ontologymanagementservice_deleteontologyfileop", + "OntologyManagementServiceDeleteOntologyFileRequestTypedDict": ".ontologymanagementservice_deleteontologyfileop", + "OntologyManagementServiceDeleteOntologyFileResponse": ".ontologymanagementservice_deleteontologyfileop", + "OntologyManagementServiceDeleteOntologyFileResponseTypedDict": ".ontologymanagementservice_deleteontologyfileop", + "OntologyManagementServiceDeleteOntologyOwnersRequest": ".ontologymanagementservice_deleteontologyownersop", + "OntologyManagementServiceDeleteOntologyOwnersRequestTypedDict": ".ontologymanagementservice_deleteontologyownersop", + "OntologyManagementServiceDeleteOntologyOwnersResponse": ".ontologymanagementservice_deleteontologyownersop", + "OntologyManagementServiceDeleteOntologyOwnersResponseTypedDict": ".ontologymanagementservice_deleteontologyownersop", + "OntologyManagementServiceDenyPatchRequest": ".ontologymanagementservice_denypatchop", + "OntologyManagementServiceDenyPatchRequestTypedDict": ".ontologymanagementservice_denypatchop", + "OntologyManagementServiceDenyPatchResponse": ".ontologymanagementservice_denypatchop", + "OntologyManagementServiceDenyPatchResponseTypedDict": ".ontologymanagementservice_denypatchop", + "OntologyManagementServiceExchangeOntologyGithubCodeRequest": ".ontologymanagementservice_exchangeontologygithubcodeop", + "OntologyManagementServiceExchangeOntologyGithubCodeRequestTypedDict": ".ontologymanagementservice_exchangeontologygithubcodeop", + "OntologyManagementServiceExchangeOntologyGithubCodeResponse": ".ontologymanagementservice_exchangeontologygithubcodeop", + "OntologyManagementServiceExchangeOntologyGithubCodeResponseTypedDict": ".ontologymanagementservice_exchangeontologygithubcodeop", + "OntologyManagementServiceFinalizeOntologyFileUploadRequest": ".ontologymanagementservice_finalizeontologyfileuploadop", + "OntologyManagementServiceFinalizeOntologyFileUploadRequestTypedDict": ".ontologymanagementservice_finalizeontologyfileuploadop", + "OntologyManagementServiceFinalizeOntologyFileUploadResponse": ".ontologymanagementservice_finalizeontologyfileuploadop", + "OntologyManagementServiceFinalizeOntologyFileUploadResponseTypedDict": ".ontologymanagementservice_finalizeontologyfileuploadop", + "OntologyManagementServiceGetCodeownerCoverageRequest": ".ontologymanagementservice_getcodeownercoverageop", + "OntologyManagementServiceGetCodeownerCoverageRequestTypedDict": ".ontologymanagementservice_getcodeownercoverageop", + "OntologyManagementServiceGetCodeownerCoverageResponse": ".ontologymanagementservice_getcodeownercoverageop", + "OntologyManagementServiceGetCodeownerCoverageResponseTypedDict": ".ontologymanagementservice_getcodeownercoverageop", + "OntologyManagementServiceGetConfigExportCapabilitiesRequest": ".ontologymanagementservice_getconfigexportcapabilitiesop", + "OntologyManagementServiceGetConfigExportCapabilitiesRequestTypedDict": ".ontologymanagementservice_getconfigexportcapabilitiesop", + "OntologyManagementServiceGetConfigExportCapabilitiesResponse": ".ontologymanagementservice_getconfigexportcapabilitiesop", + "OntologyManagementServiceGetConfigExportCapabilitiesResponseTypedDict": ".ontologymanagementservice_getconfigexportcapabilitiesop", + "OntologyManagementServiceGetEffectiveOntologyOwnersRequest": ".ontologymanagementservice_geteffectiveontologyownersop", + "OntologyManagementServiceGetEffectiveOntologyOwnersRequestTypedDict": ".ontologymanagementservice_geteffectiveontologyownersop", + "OntologyManagementServiceGetEffectiveOntologyOwnersResponse": ".ontologymanagementservice_geteffectiveontologyownersop", + "OntologyManagementServiceGetEffectiveOntologyOwnersResponseTypedDict": ".ontologymanagementservice_geteffectiveontologyownersop", + "OntologyManagementServiceGetFileUsageRequest": ".ontologymanagementservice_getfileusageop", + "OntologyManagementServiceGetFileUsageRequestTypedDict": ".ontologymanagementservice_getfileusageop", + "OntologyManagementServiceGetFileUsageResponse": ".ontologymanagementservice_getfileusageop", + "OntologyManagementServiceGetFileUsageResponseTypedDict": ".ontologymanagementservice_getfileusageop", + "OntologyManagementServiceGetFileUsageTimelineRequest": ".ontologymanagementservice_getfileusagetimelineop", + "OntologyManagementServiceGetFileUsageTimelineRequestTypedDict": ".ontologymanagementservice_getfileusagetimelineop", + "OntologyManagementServiceGetFileUsageTimelineResponse": ".ontologymanagementservice_getfileusagetimelineop", + "OntologyManagementServiceGetFileUsageTimelineResponseTypedDict": ".ontologymanagementservice_getfileusagetimelineop", + "OntologyManagementServiceGetOntologyAnaConfigRequest": ".ontologymanagementservice_getontologyanaconfigop", + "OntologyManagementServiceGetOntologyAnaConfigRequestTypedDict": ".ontologymanagementservice_getontologyanaconfigop", + "OntologyManagementServiceGetOntologyAnaConfigResponse": ".ontologymanagementservice_getontologyanaconfigop", + "OntologyManagementServiceGetOntologyAnaConfigResponseTypedDict": ".ontologymanagementservice_getontologyanaconfigop", + "OntologyManagementServiceGetOntologyFileRequest": ".ontologymanagementservice_getontologyfileop", + "OntologyManagementServiceGetOntologyFileRequestTypedDict": ".ontologymanagementservice_getontologyfileop", + "OntologyManagementServiceGetOntologyFileResponse": ".ontologymanagementservice_getontologyfileop", + "OntologyManagementServiceGetOntologyFileResponseTypedDict": ".ontologymanagementservice_getontologyfileop", + "OntologyManagementServiceGetOntologyGithubOAuthURLRequest": ".ontologymanagementservice_getontologygithuboauthurlop", + "OntologyManagementServiceGetOntologyGithubOAuthURLRequestTypedDict": ".ontologymanagementservice_getontologygithuboauthurlop", + "OntologyManagementServiceGetOntologyGithubOAuthURLResponse": ".ontologymanagementservice_getontologygithuboauthurlop", + "OntologyManagementServiceGetOntologyGithubOAuthURLResponseTypedDict": ".ontologymanagementservice_getontologygithuboauthurlop", + "OntologyManagementServiceGetOntologyHistoryFileDiffRequest": ".ontologymanagementservice_getontologyhistoryfilediffop", + "OntologyManagementServiceGetOntologyHistoryFileDiffRequestTypedDict": ".ontologymanagementservice_getontologyhistoryfilediffop", + "OntologyManagementServiceGetOntologyHistoryFileDiffResponse": ".ontologymanagementservice_getontologyhistoryfilediffop", + "OntologyManagementServiceGetOntologyHistoryFileDiffResponseTypedDict": ".ontologymanagementservice_getontologyhistoryfilediffop", + "OntologyManagementServiceGetOntologyOwnersRequest": ".ontologymanagementservice_getontologyownersop", + "OntologyManagementServiceGetOntologyOwnersRequestTypedDict": ".ontologymanagementservice_getontologyownersop", + "OntologyManagementServiceGetOntologyOwnersResponse": ".ontologymanagementservice_getontologyownersop", + "OntologyManagementServiceGetOntologyOwnersResponseTypedDict": ".ontologymanagementservice_getontologyownersop", + "OntologyManagementServiceGetOntologyRemoteRequest": ".ontologymanagementservice_getontologyremoteop", + "OntologyManagementServiceGetOntologyRemoteRequestTypedDict": ".ontologymanagementservice_getontologyremoteop", + "OntologyManagementServiceGetOntologyRemoteResponse": ".ontologymanagementservice_getontologyremoteop", + "OntologyManagementServiceGetOntologyRemoteResponseTypedDict": ".ontologymanagementservice_getontologyremoteop", + "OntologyManagementServiceGetOntologySizeTimelineRequest": ".ontologymanagementservice_getontologysizetimelineop", + "OntologyManagementServiceGetOntologySizeTimelineRequestTypedDict": ".ontologymanagementservice_getontologysizetimelineop", + "OntologyManagementServiceGetOntologySizeTimelineResponse": ".ontologymanagementservice_getontologysizetimelineop", + "OntologyManagementServiceGetOntologySizeTimelineResponseTypedDict": ".ontologymanagementservice_getontologysizetimelineop", + "OntologyManagementServiceGetOntologySyncConflictsRequest": ".ontologymanagementservice_getontologysyncconflictsop", + "OntologyManagementServiceGetOntologySyncConflictsRequestTypedDict": ".ontologymanagementservice_getontologysyncconflictsop", + "OntologyManagementServiceGetOntologySyncConflictsResponse": ".ontologymanagementservice_getontologysyncconflictsop", + "OntologyManagementServiceGetOntologySyncConflictsResponseTypedDict": ".ontologymanagementservice_getontologysyncconflictsop", + "OntologyManagementServiceGetOntologyUsageSummaryRequest": ".ontologymanagementservice_getontologyusagesummaryop", + "OntologyManagementServiceGetOntologyUsageSummaryRequestTypedDict": ".ontologymanagementservice_getontologyusagesummaryop", + "OntologyManagementServiceGetOntologyUsageSummaryResponse": ".ontologymanagementservice_getontologyusagesummaryop", + "OntologyManagementServiceGetOntologyUsageSummaryResponseTypedDict": ".ontologymanagementservice_getontologyusagesummaryop", + "OntologyManagementServiceGetPatchByNumberRequest": ".ontologymanagementservice_getpatchbynumberop", + "OntologyManagementServiceGetPatchByNumberRequestTypedDict": ".ontologymanagementservice_getpatchbynumberop", + "OntologyManagementServiceGetPatchByNumberResponse": ".ontologymanagementservice_getpatchbynumberop", + "OntologyManagementServiceGetPatchByNumberResponseTypedDict": ".ontologymanagementservice_getpatchbynumberop", + "OntologyManagementServiceGetPatchCapabilitiesRequest": ".ontologymanagementservice_getpatchcapabilitiesop", + "OntologyManagementServiceGetPatchCapabilitiesRequestTypedDict": ".ontologymanagementservice_getpatchcapabilitiesop", + "OntologyManagementServiceGetPatchCapabilitiesResponse": ".ontologymanagementservice_getpatchcapabilitiesop", + "OntologyManagementServiceGetPatchCapabilitiesResponseTypedDict": ".ontologymanagementservice_getpatchcapabilitiesop", + "OntologyManagementServiceGetPatchRequest": ".ontologymanagementservice_getpatchop", + "OntologyManagementServiceGetPatchRequestTypedDict": ".ontologymanagementservice_getpatchop", + "OntologyManagementServiceGetPatchResponse": ".ontologymanagementservice_getpatchop", + "OntologyManagementServiceGetPatchResponseTypedDict": ".ontologymanagementservice_getpatchop", + "OntologyManagementServiceGetRawPatchRequest": ".ontologymanagementservice_getrawpatchop", + "OntologyManagementServiceGetRawPatchRequestTypedDict": ".ontologymanagementservice_getrawpatchop", + "OntologyManagementServiceGetRawPatchResponse": ".ontologymanagementservice_getrawpatchop", + "OntologyManagementServiceGetRawPatchResponseTypedDict": ".ontologymanagementservice_getrawpatchop", + "OntologyManagementServiceGetUsageDetailsForFileRequest": ".ontologymanagementservice_getusagedetailsforfileop", + "OntologyManagementServiceGetUsageDetailsForFileRequestTypedDict": ".ontologymanagementservice_getusagedetailsforfileop", + "OntologyManagementServiceGetUsageDetailsForFileResponse": ".ontologymanagementservice_getusagedetailsforfileop", + "OntologyManagementServiceGetUsageDetailsForFileResponseTypedDict": ".ontologymanagementservice_getusagedetailsforfileop", + "OntologyManagementServiceListApprovalRulesRequest": ".ontologymanagementservice_listapprovalrulesop", + "OntologyManagementServiceListApprovalRulesRequestTypedDict": ".ontologymanagementservice_listapprovalrulesop", + "OntologyManagementServiceListApprovalRulesResponse": ".ontologymanagementservice_listapprovalrulesop", + "OntologyManagementServiceListApprovalRulesResponseTypedDict": ".ontologymanagementservice_listapprovalrulesop", + "OntologyManagementServiceListChatsForFileRequest": ".ontologymanagementservice_listchatsforfileop", + "OntologyManagementServiceListChatsForFileRequestTypedDict": ".ontologymanagementservice_listchatsforfileop", + "OntologyManagementServiceListChatsForFileResponse": ".ontologymanagementservice_listchatsforfileop", + "OntologyManagementServiceListChatsForFileResponseTypedDict": ".ontologymanagementservice_listchatsforfileop", + "OntologyManagementServiceListContextPatchAutoApproveRulesRequest": ".ontologymanagementservice_listcontextpatchautoapproverulesop", + "OntologyManagementServiceListContextPatchAutoApproveRulesRequestTypedDict": ".ontologymanagementservice_listcontextpatchautoapproverulesop", + "OntologyManagementServiceListContextPatchAutoApproveRulesResponse": ".ontologymanagementservice_listcontextpatchautoapproverulesop", + "OntologyManagementServiceListContextPatchAutoApproveRulesResponseTypedDict": ".ontologymanagementservice_listcontextpatchautoapproverulesop", + "OntologyManagementServiceListGoldenFilesRequest": ".ontologymanagementservice_listgoldenfilesop", + "OntologyManagementServiceListGoldenFilesRequestTypedDict": ".ontologymanagementservice_listgoldenfilesop", + "OntologyManagementServiceListGoldenFilesResponse": ".ontologymanagementservice_listgoldenfilesop", + "OntologyManagementServiceListGoldenFilesResponseTypedDict": ".ontologymanagementservice_listgoldenfilesop", + "OntologyManagementServiceListOntologyEntriesRequest": ".ontologymanagementservice_listontologyentriesop", + "OntologyManagementServiceListOntologyEntriesRequestTypedDict": ".ontologymanagementservice_listontologyentriesop", + "OntologyManagementServiceListOntologyEntriesResponse": ".ontologymanagementservice_listontologyentriesop", + "OntologyManagementServiceListOntologyEntriesResponseTypedDict": ".ontologymanagementservice_listontologyentriesop", + "OntologyManagementServiceListOntologyHistoryRequest": ".ontologymanagementservice_listontologyhistoryop", + "OntologyManagementServiceListOntologyHistoryRequestTypedDict": ".ontologymanagementservice_listontologyhistoryop", + "OntologyManagementServiceListOntologyHistoryResponse": ".ontologymanagementservice_listontologyhistoryop", + "OntologyManagementServiceListOntologyHistoryResponseTypedDict": ".ontologymanagementservice_listontologyhistoryop", + "OntologyManagementServiceListOntologyImportsRequest": ".ontologymanagementservice_listontologyimportsop", + "OntologyManagementServiceListOntologyImportsRequestTypedDict": ".ontologymanagementservice_listontologyimportsop", + "OntologyManagementServiceListOntologyImportsResponse": ".ontologymanagementservice_listontologyimportsop", + "OntologyManagementServiceListOntologyImportsResponseTypedDict": ".ontologymanagementservice_listontologyimportsop", + "OntologyManagementServiceListOntologySubmodulesRequest": ".ontologymanagementservice_listontologysubmodulesop", + "OntologyManagementServiceListOntologySubmodulesRequestTypedDict": ".ontologymanagementservice_listontologysubmodulesop", + "OntologyManagementServiceListOntologySubmodulesResponse": ".ontologymanagementservice_listontologysubmodulesop", + "OntologyManagementServiceListOntologySubmodulesResponseTypedDict": ".ontologymanagementservice_listontologysubmodulesop", + "OntologyManagementServiceListOntologySyncRunsRequest": ".ontologymanagementservice_listontologysyncrunsop", + "OntologyManagementServiceListOntologySyncRunsRequestTypedDict": ".ontologymanagementservice_listontologysyncrunsop", + "OntologyManagementServiceListOntologySyncRunsResponse": ".ontologymanagementservice_listontologysyncrunsop", + "OntologyManagementServiceListOntologySyncRunsResponseTypedDict": ".ontologymanagementservice_listontologysyncrunsop", + "OntologyManagementServiceListPatchesRequest": ".ontologymanagementservice_listpatchesop", + "OntologyManagementServiceListPatchesRequestTypedDict": ".ontologymanagementservice_listpatchesop", + "OntologyManagementServiceListPatchesResponse": ".ontologymanagementservice_listpatchesop", + "OntologyManagementServiceListPatchesResponseTypedDict": ".ontologymanagementservice_listpatchesop", + "OntologyManagementServiceListPatchReviewersRequest": ".ontologymanagementservice_listpatchreviewersop", + "OntologyManagementServiceListPatchReviewersRequestTypedDict": ".ontologymanagementservice_listpatchreviewersop", + "OntologyManagementServiceListPatchReviewersResponse": ".ontologymanagementservice_listpatchreviewersop", + "OntologyManagementServiceListPatchReviewersResponseTypedDict": ".ontologymanagementservice_listpatchreviewersop", + "OntologyManagementServiceListSkillsRequest": ".ontologymanagementservice_listskillsop", + "OntologyManagementServiceListSkillsRequestTypedDict": ".ontologymanagementservice_listskillsop", + "OntologyManagementServiceListSkillsResponse": ".ontologymanagementservice_listskillsop", + "OntologyManagementServiceListSkillsResponseTypedDict": ".ontologymanagementservice_listskillsop", + "OntologyManagementServicePlanOntologyMergeRequest": ".ontologymanagementservice_planontologymergeop", + "OntologyManagementServicePlanOntologyMergeRequestTypedDict": ".ontologymanagementservice_planontologymergeop", + "OntologyManagementServicePlanOntologyMergeResponse": ".ontologymanagementservice_planontologymergeop", + "OntologyManagementServicePlanOntologyMergeResponseTypedDict": ".ontologymanagementservice_planontologymergeop", + "OntologyManagementServicePreviewOntologyPullFromRemoteRequest": ".ontologymanagementservice_previewontologypullfromremoteop", + "OntologyManagementServicePreviewOntologyPullFromRemoteRequestTypedDict": ".ontologymanagementservice_previewontologypullfromremoteop", + "OntologyManagementServicePreviewOntologyPullFromRemoteResponse": ".ontologymanagementservice_previewontologypullfromremoteop", + "OntologyManagementServicePreviewOntologyPullFromRemoteResponseTypedDict": ".ontologymanagementservice_previewontologypullfromremoteop", + "OntologyManagementServicePullOntologyFromRemoteRequest": ".ontologymanagementservice_pullontologyfromremoteop", + "OntologyManagementServicePullOntologyFromRemoteRequestTypedDict": ".ontologymanagementservice_pullontologyfromremoteop", + "OntologyManagementServicePullOntologyFromRemoteResponse": ".ontologymanagementservice_pullontologyfromremoteop", + "OntologyManagementServicePullOntologyFromRemoteResponseTypedDict": ".ontologymanagementservice_pullontologyfromremoteop", + "OntologyManagementServicePushOntologyToRemoteRequest": ".ontologymanagementservice_pushontologytoremoteop", + "OntologyManagementServicePushOntologyToRemoteRequestTypedDict": ".ontologymanagementservice_pushontologytoremoteop", + "OntologyManagementServicePushOntologyToRemoteResponse": ".ontologymanagementservice_pushontologytoremoteop", + "OntologyManagementServicePushOntologyToRemoteResponseTypedDict": ".ontologymanagementservice_pushontologytoremoteop", + "OntologyManagementServiceRecoverOntologyRequest": ".ontologymanagementservice_recoverontologyop", + "OntologyManagementServiceRecoverOntologyRequestTypedDict": ".ontologymanagementservice_recoverontologyop", + "OntologyManagementServiceRecoverOntologyResponse": ".ontologymanagementservice_recoverontologyop", + "OntologyManagementServiceRecoverOntologyResponseTypedDict": ".ontologymanagementservice_recoverontologyop", + "OntologyManagementServiceRemoveOntologyRemoteRequest": ".ontologymanagementservice_removeontologyremoteop", + "OntologyManagementServiceRemoveOntologyRemoteRequestTypedDict": ".ontologymanagementservice_removeontologyremoteop", + "OntologyManagementServiceRemoveOntologyRemoteResponse": ".ontologymanagementservice_removeontologyremoteop", + "OntologyManagementServiceRemoveOntologyRemoteResponseTypedDict": ".ontologymanagementservice_removeontologyremoteop", + "OntologyManagementServiceRemoveOntologySubmoduleRequest": ".ontologymanagementservice_removeontologysubmoduleop", + "OntologyManagementServiceRemoveOntologySubmoduleRequestTypedDict": ".ontologymanagementservice_removeontologysubmoduleop", + "OntologyManagementServiceRemoveOntologySubmoduleResponse": ".ontologymanagementservice_removeontologysubmoduleop", + "OntologyManagementServiceRemoveOntologySubmoduleResponseTypedDict": ".ontologymanagementservice_removeontologysubmoduleop", + "OntologyManagementServiceRenameOntologyFileRequest": ".ontologymanagementservice_renameontologyfileop", + "OntologyManagementServiceRenameOntologyFileRequestTypedDict": ".ontologymanagementservice_renameontologyfileop", + "OntologyManagementServiceRenameOntologyFileResponse": ".ontologymanagementservice_renameontologyfileop", + "OntologyManagementServiceRenameOntologyFileResponseTypedDict": ".ontologymanagementservice_renameontologyfileop", + "OntologyManagementServiceRequestPatchReviewRequest": ".ontologymanagementservice_requestpatchreviewop", + "OntologyManagementServiceRequestPatchReviewRequestTypedDict": ".ontologymanagementservice_requestpatchreviewop", + "OntologyManagementServiceRequestPatchReviewResponse": ".ontologymanagementservice_requestpatchreviewop", + "OntologyManagementServiceRequestPatchReviewResponseTypedDict": ".ontologymanagementservice_requestpatchreviewop", + "OntologyManagementServiceResolveOntologySyncConflictRequest": ".ontologymanagementservice_resolveontologysyncconflictop", + "OntologyManagementServiceResolveOntologySyncConflictRequestTypedDict": ".ontologymanagementservice_resolveontologysyncconflictop", + "OntologyManagementServiceResolveOntologySyncConflictResponse": ".ontologymanagementservice_resolveontologysyncconflictop", + "OntologyManagementServiceResolveOntologySyncConflictResponseTypedDict": ".ontologymanagementservice_resolveontologysyncconflictop", + "OntologyManagementServiceRestorePatchRequest": ".ontologymanagementservice_restorepatchop", + "OntologyManagementServiceRestorePatchRequestTypedDict": ".ontologymanagementservice_restorepatchop", + "OntologyManagementServiceRestorePatchResponse": ".ontologymanagementservice_restorepatchop", + "OntologyManagementServiceRestorePatchResponseTypedDict": ".ontologymanagementservice_restorepatchop", + "OntologyManagementServiceRevertPatchRequest": ".ontologymanagementservice_revertpatchop", + "OntologyManagementServiceRevertPatchRequestTypedDict": ".ontologymanagementservice_revertpatchop", + "OntologyManagementServiceRevertPatchResponse": ".ontologymanagementservice_revertpatchop", + "OntologyManagementServiceRevertPatchResponseTypedDict": ".ontologymanagementservice_revertpatchop", + "OntologyManagementServiceSaveAllObjectsAsConfigRequest": ".ontologymanagementservice_saveallobjectsasconfigop", + "OntologyManagementServiceSaveAllObjectsAsConfigRequestTypedDict": ".ontologymanagementservice_saveallobjectsasconfigop", + "OntologyManagementServiceSaveAllObjectsAsConfigResponse": ".ontologymanagementservice_saveallobjectsasconfigop", + "OntologyManagementServiceSaveAllObjectsAsConfigResponseTypedDict": ".ontologymanagementservice_saveallobjectsasconfigop", + "OntologyManagementServiceSaveObjectAsConfigRequest": ".ontologymanagementservice_saveobjectasconfigop", + "OntologyManagementServiceSaveObjectAsConfigRequestTypedDict": ".ontologymanagementservice_saveobjectasconfigop", + "OntologyManagementServiceSaveObjectAsConfigResponse": ".ontologymanagementservice_saveobjectasconfigop", + "OntologyManagementServiceSaveObjectAsConfigResponseTypedDict": ".ontologymanagementservice_saveobjectasconfigop", + "OntologyManagementServiceSetOntologyFileGoldenRequest": ".ontologymanagementservice_setontologyfilegoldenop", + "OntologyManagementServiceSetOntologyFileGoldenRequestTypedDict": ".ontologymanagementservice_setontologyfilegoldenop", + "OntologyManagementServiceSetOntologyFileGoldenResponse": ".ontologymanagementservice_setontologyfilegoldenop", + "OntologyManagementServiceSetOntologyFileGoldenResponseTypedDict": ".ontologymanagementservice_setontologyfilegoldenop", + "OntologyManagementServiceTriggerConfigDriftReconcileRequest": ".ontologymanagementservice_triggerconfigdriftreconcileop", + "OntologyManagementServiceTriggerConfigDriftReconcileRequestTypedDict": ".ontologymanagementservice_triggerconfigdriftreconcileop", + "OntologyManagementServiceTriggerConfigDriftReconcileResponse": ".ontologymanagementservice_triggerconfigdriftreconcileop", + "OntologyManagementServiceTriggerConfigDriftReconcileResponseTypedDict": ".ontologymanagementservice_triggerconfigdriftreconcileop", + "OntologyManagementServiceUpdateApprovalRuleRequest": ".ontologymanagementservice_updateapprovalruleop", + "OntologyManagementServiceUpdateApprovalRuleRequestTypedDict": ".ontologymanagementservice_updateapprovalruleop", + "OntologyManagementServiceUpdateApprovalRuleResponse": ".ontologymanagementservice_updateapprovalruleop", + "OntologyManagementServiceUpdateApprovalRuleResponseTypedDict": ".ontologymanagementservice_updateapprovalruleop", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest": ".ontologymanagementservice_updatecontextpatchautoapproveruleop", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequestTypedDict": ".ontologymanagementservice_updatecontextpatchautoapproveruleop", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse": ".ontologymanagementservice_updatecontextpatchautoapproveruleop", + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponseTypedDict": ".ontologymanagementservice_updatecontextpatchautoapproveruleop", + "OntologyManagementServiceUpdateOntologySyncConfigRequest": ".ontologymanagementservice_updateontologysyncconfigop", + "OntologyManagementServiceUpdateOntologySyncConfigRequestTypedDict": ".ontologymanagementservice_updateontologysyncconfigop", + "OntologyManagementServiceUpdateOntologySyncConfigResponse": ".ontologymanagementservice_updateontologysyncconfigop", + "OntologyManagementServiceUpdateOntologySyncConfigResponseTypedDict": ".ontologymanagementservice_updateontologysyncconfigop", + "OntologyManagementServiceUpsertOntologyAnaConfigRequest": ".ontologymanagementservice_upsertontologyanaconfigop", + "OntologyManagementServiceUpsertOntologyAnaConfigRequestTypedDict": ".ontologymanagementservice_upsertontologyanaconfigop", + "OntologyManagementServiceUpsertOntologyAnaConfigResponse": ".ontologymanagementservice_upsertontologyanaconfigop", + "OntologyManagementServiceUpsertOntologyAnaConfigResponseTypedDict": ".ontologymanagementservice_upsertontologyanaconfigop", + "OntologyManagementServiceUpsertOntologyFileRequest": ".ontologymanagementservice_upsertontologyfileop", + "OntologyManagementServiceUpsertOntologyFileRequestTypedDict": ".ontologymanagementservice_upsertontologyfileop", + "OntologyManagementServiceUpsertOntologyFileResponse": ".ontologymanagementservice_upsertontologyfileop", + "OntologyManagementServiceUpsertOntologyFileResponseTypedDict": ".ontologymanagementservice_upsertontologyfileop", + "OntologyManagementServiceUpsertOntologyOwnersRequest": ".ontologymanagementservice_upsertontologyownersop", + "OntologyManagementServiceUpsertOntologyOwnersRequestTypedDict": ".ontologymanagementservice_upsertontologyownersop", + "OntologyManagementServiceUpsertOntologyOwnersResponse": ".ontologymanagementservice_upsertontologyownersop", + "OntologyManagementServiceUpsertOntologyOwnersResponseTypedDict": ".ontologymanagementservice_upsertontologyownersop", + "OntologyManagementServiceValidateConfigRequest": ".ontologymanagementservice_validateconfigop", + "OntologyManagementServiceValidateConfigRequestTypedDict": ".ontologymanagementservice_validateconfigop", + "OntologyManagementServiceValidateConfigResponse": ".ontologymanagementservice_validateconfigop", + "OntologyManagementServiceValidateConfigResponseTypedDict": ".ontologymanagementservice_validateconfigop", "PlaybookServiceAttachDashboardRequest": ".playbookservice_attachdashboardop", "PlaybookServiceAttachDashboardRequestTypedDict": ".playbookservice_attachdashboardop", "PlaybookServiceAttachDashboardResponse": ".playbookservice_attachdashboardop", @@ -13879,6 +13889,10 @@ "RBACServiceRotateAPIKeyRequestTypedDict": ".rbacservice_rotateapikeyop", "RBACServiceRotateAPIKeyResponse": ".rbacservice_rotateapikeyop", "RBACServiceRotateAPIKeyResponseTypedDict": ".rbacservice_rotateapikeyop", + "RBACServiceSetRolePermissionsRequest": ".rbacservice_setrolepermissionsop", + "RBACServiceSetRolePermissionsRequestTypedDict": ".rbacservice_setrolepermissionsop", + "RBACServiceSetRolePermissionsResponse": ".rbacservice_setrolepermissionsop", + "RBACServiceSetRolePermissionsResponseTypedDict": ".rbacservice_setrolepermissionsop", "RBACServiceShareObjectRequest": ".rbacservice_shareobjectop", "RBACServiceShareObjectRequestTypedDict": ".rbacservice_shareobjectop", "RBACServiceShareObjectResponse": ".rbacservice_shareobjectop", @@ -13943,6 +13957,22 @@ "SandboxAdminServiceStopSandboxRequestTypedDict": ".sandboxadminservice_stopsandboxop", "SandboxAdminServiceStopSandboxResponse": ".sandboxadminservice_stopsandboxop", "SandboxAdminServiceStopSandboxResponseTypedDict": ".sandboxadminservice_stopsandboxop", + "SandboxCapabilityServiceExecuteWriteRequest": ".sandboxcapabilityservice_executewriteop", + "SandboxCapabilityServiceExecuteWriteRequestTypedDict": ".sandboxcapabilityservice_executewriteop", + "SandboxCapabilityServiceExecuteWriteResponse": ".sandboxcapabilityservice_executewriteop", + "SandboxCapabilityServiceExecuteWriteResponseTypedDict": ".sandboxcapabilityservice_executewriteop", + "SandboxCapabilityServicePutAssetRequest": ".sandboxcapabilityservice_putassetop", + "SandboxCapabilityServicePutAssetRequestTypedDict": ".sandboxcapabilityservice_putassetop", + "SandboxCapabilityServicePutAssetResponse": ".sandboxcapabilityservice_putassetop", + "SandboxCapabilityServicePutAssetResponseTypedDict": ".sandboxcapabilityservice_putassetop", + "SandboxCapabilityServiceSendNotifyRequest": ".sandboxcapabilityservice_sendnotifyop", + "SandboxCapabilityServiceSendNotifyRequestTypedDict": ".sandboxcapabilityservice_sendnotifyop", + "SandboxCapabilityServiceSendNotifyResponse": ".sandboxcapabilityservice_sendnotifyop", + "SandboxCapabilityServiceSendNotifyResponseTypedDict": ".sandboxcapabilityservice_sendnotifyop", + "SandboxCapabilityServiceStateOpRequest": ".sandboxcapabilityservice_stateopop", + "SandboxCapabilityServiceStateOpRequestTypedDict": ".sandboxcapabilityservice_stateopop", + "SandboxCapabilityServiceStateOpResponse": ".sandboxcapabilityservice_stateopop", + "SandboxCapabilityServiceStateOpResponseTypedDict": ".sandboxcapabilityservice_stateopop", "SandboxQueryServiceExecuteQueryRequest": ".sandboxqueryservice_executequeryop", "SandboxQueryServiceExecuteQueryRequestTypedDict": ".sandboxqueryservice_executequeryop", "SandboxQueryServiceExecuteQueryResponse": ".sandboxqueryservice_executequeryop", @@ -13971,62 +14001,26 @@ "ScimServiceRevokeScimTokenRequestTypedDict": ".scimservice_revokescimtokenop", "ScimServiceRevokeScimTokenResponse": ".scimservice_revokescimtokenop", "ScimServiceRevokeScimTokenResponseTypedDict": ".scimservice_revokescimtokenop", - "SecretServiceCreateAPIRevisionRequest": ".secretservice_createapirevisionop", - "SecretServiceCreateAPIRevisionRequestTypedDict": ".secretservice_createapirevisionop", - "SecretServiceCreateAPIRevisionResponse": ".secretservice_createapirevisionop", - "SecretServiceCreateAPIRevisionResponseTypedDict": ".secretservice_createapirevisionop", - "SecretServiceDeleteAPIAccessKeyRequest": ".secretservice_deleteapiaccesskeyop", - "SecretServiceDeleteAPIAccessKeyRequestTypedDict": ".secretservice_deleteapiaccesskeyop", - "SecretServiceDeleteAPIAccessKeyResponse": ".secretservice_deleteapiaccesskeyop", - "SecretServiceDeleteAPIAccessKeyResponseTypedDict": ".secretservice_deleteapiaccesskeyop", - "SecretServiceDeleteAPIRevisionRequest": ".secretservice_deleteapirevisionop", - "SecretServiceDeleteAPIRevisionRequestTypedDict": ".secretservice_deleteapirevisionop", - "SecretServiceDeleteAPIRevisionResponse": ".secretservice_deleteapirevisionop", - "SecretServiceDeleteAPIRevisionResponseTypedDict": ".secretservice_deleteapirevisionop", "SecretServiceDeleteSecretRequest": ".secretservice_deletesecretop", "SecretServiceDeleteSecretRequestTypedDict": ".secretservice_deletesecretop", "SecretServiceDeleteSecretResponse": ".secretservice_deletesecretop", "SecretServiceDeleteSecretResponseTypedDict": ".secretservice_deletesecretop", - "SecretServiceGetAPIAccessKeyRequest": ".secretservice_getapiaccesskeyop", - "SecretServiceGetAPIAccessKeyRequestTypedDict": ".secretservice_getapiaccesskeyop", - "SecretServiceGetAPIAccessKeyResponse": ".secretservice_getapiaccesskeyop", - "SecretServiceGetAPIAccessKeyResponseTypedDict": ".secretservice_getapiaccesskeyop", "SecretServiceGetMembersWithSecretsRequest": ".secretservice_getmemberswithsecretsop", "SecretServiceGetMembersWithSecretsRequestTypedDict": ".secretservice_getmemberswithsecretsop", "SecretServiceGetMembersWithSecretsResponse": ".secretservice_getmemberswithsecretsop", "SecretServiceGetMembersWithSecretsResponseTypedDict": ".secretservice_getmemberswithsecretsop", - "SecretServiceListAPIAccessKeysRequest": ".secretservice_listapiaccesskeysop", - "SecretServiceListAPIAccessKeysRequestTypedDict": ".secretservice_listapiaccesskeysop", - "SecretServiceListAPIAccessKeysResponse": ".secretservice_listapiaccesskeysop", - "SecretServiceListAPIAccessKeysResponseTypedDict": ".secretservice_listapiaccesskeysop", - "SecretServiceListAPIProvidersRequest": ".secretservice_listapiprovidersop", - "SecretServiceListAPIProvidersRequestTypedDict": ".secretservice_listapiprovidersop", - "SecretServiceListAPIProvidersResponse": ".secretservice_listapiprovidersop", - "SecretServiceListAPIProvidersResponseTypedDict": ".secretservice_listapiprovidersop", "SecretServiceListSecretsRequest": ".secretservice_listsecretsop", "SecretServiceListSecretsRequestTypedDict": ".secretservice_listsecretsop", "SecretServiceListSecretsResponse": ".secretservice_listsecretsop", "SecretServiceListSecretsResponseTypedDict": ".secretservice_listsecretsop", - "SecretServiceMigrateSecretToAPIConnectorRequest": ".secretservice_migratesecrettoapiconnectorop", - "SecretServiceMigrateSecretToAPIConnectorRequestTypedDict": ".secretservice_migratesecrettoapiconnectorop", - "SecretServiceMigrateSecretToAPIConnectorResponse": ".secretservice_migratesecrettoapiconnectorop", - "SecretServiceMigrateSecretToAPIConnectorResponseTypedDict": ".secretservice_migratesecrettoapiconnectorop", "SecretServicePutSecretRequest": ".secretservice_putsecretop", "SecretServicePutSecretRequestTypedDict": ".secretservice_putsecretop", "SecretServicePutSecretResponse": ".secretservice_putsecretop", "SecretServicePutSecretResponseTypedDict": ".secretservice_putsecretop", - "SecretServiceTestAPIAccessKeyRequest": ".secretservice_testapiaccesskeyop", - "SecretServiceTestAPIAccessKeyRequestTypedDict": ".secretservice_testapiaccesskeyop", - "SecretServiceTestAPIAccessKeyResponse": ".secretservice_testapiaccesskeyop", - "SecretServiceTestAPIAccessKeyResponseTypedDict": ".secretservice_testapiaccesskeyop", "SecretServiceUpdateSecretRequest": ".secretservice_updatesecretop", "SecretServiceUpdateSecretRequestTypedDict": ".secretservice_updatesecretop", "SecretServiceUpdateSecretResponse": ".secretservice_updatesecretop", "SecretServiceUpdateSecretResponseTypedDict": ".secretservice_updatesecretop", - "SecretServiceUpsertAPIAccessKeyRequest": ".secretservice_upsertapiaccesskeyop", - "SecretServiceUpsertAPIAccessKeyRequestTypedDict": ".secretservice_upsertapiaccesskeyop", - "SecretServiceUpsertAPIAccessKeyResponse": ".secretservice_upsertapiaccesskeyop", - "SecretServiceUpsertAPIAccessKeyResponseTypedDict": ".secretservice_upsertapiaccesskeyop", "Security": ".security", "SecurityTypedDict": ".security", "SlackServiceCreateSlackUUIDRequest": ".slackservice_createslackuuidop", @@ -14218,14 +14212,26 @@ "TextqlRPCPublicAgentUploadAgentAvatarResponseTypedDict": ".textql_rpc_public_agent_uploadagentavatarresponse", "TextqlRPCPublicAppApp": ".textql_rpc_public_app_app", "TextqlRPCPublicAppAppTypedDict": ".textql_rpc_public_app_app", + "TextqlRPCPublicAppAppActivityRecord": ".textql_rpc_public_app_appactivityrecord", + "TextqlRPCPublicAppAppActivityRecordSeq": ".textql_rpc_public_app_appactivityrecord", + "TextqlRPCPublicAppAppActivityRecordSeqTypedDict": ".textql_rpc_public_app_appactivityrecord", + "TextqlRPCPublicAppAppActivityRecordTypedDict": ".textql_rpc_public_app_appactivityrecord", "TextqlRPCPublicAppAppFile": ".textql_rpc_public_app_appfile", "TextqlRPCPublicAppAppFileTypedDict": ".textql_rpc_public_app_appfile", "TextqlRPCPublicAppAppHeartbeatRequest": ".textql_rpc_public_app_appheartbeatrequest", "TextqlRPCPublicAppAppHeartbeatRequestTypedDict": ".textql_rpc_public_app_appheartbeatrequest", + "TextqlRPCPublicAppAppMemberActivityRow": ".textql_rpc_public_app_appmemberactivityrow", + "TextqlRPCPublicAppAppMemberActivityRowSeq": ".textql_rpc_public_app_appmemberactivityrow", + "TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict": ".textql_rpc_public_app_appmemberactivityrow", + "TextqlRPCPublicAppAppMemberActivityRowTypedDict": ".textql_rpc_public_app_appmemberactivityrow", "TextqlRPCPublicAppAppVersion": ".textql_rpc_public_app_appversion", "TextqlRPCPublicAppAppVersionTypedDict": ".textql_rpc_public_app_appversion", "TextqlRPCPublicAppAppViewerInfo": ".textql_rpc_public_app_appviewerinfo", "TextqlRPCPublicAppAppViewerInfoTypedDict": ".textql_rpc_public_app_appviewerinfo", + "TextqlRPCPublicAppCapability": ".textql_rpc_public_app_capability", + "TextqlRPCPublicAppCapabilityTypedDict": ".textql_rpc_public_app_capability", + "TextqlRPCPublicAppCapabilityParam": ".textql_rpc_public_app_capabilityparam", + "TextqlRPCPublicAppCapabilityParamTypedDict": ".textql_rpc_public_app_capabilityparam", "TextqlRPCPublicAppComputeFunction": ".textql_rpc_public_app_computefunction", "TextqlRPCPublicAppComputeFunctionTypedDict": ".textql_rpc_public_app_computefunction", "TextqlRPCPublicAppComputeFunctionParam": ".textql_rpc_public_app_computefunctionparam", @@ -14240,6 +14246,10 @@ "TextqlRPCPublicAppDuplicateAppRequestTypedDict": ".textql_rpc_public_app_duplicateapprequest", "TextqlRPCPublicAppDuplicateAppResponse": ".textql_rpc_public_app_duplicateappresponse", "TextqlRPCPublicAppDuplicateAppResponseTypedDict": ".textql_rpc_public_app_duplicateappresponse", + "TextqlRPCPublicAppGetAppMemberStateRequest": ".textql_rpc_public_app_getappmemberstaterequest", + "TextqlRPCPublicAppGetAppMemberStateRequestTypedDict": ".textql_rpc_public_app_getappmemberstaterequest", + "TextqlRPCPublicAppGetAppMemberStateResponse": ".textql_rpc_public_app_getappmemberstateresponse", + "TextqlRPCPublicAppGetAppMemberStateResponseTypedDict": ".textql_rpc_public_app_getappmemberstateresponse", "TextqlRPCPublicAppGetAppRequest": ".textql_rpc_public_app_getapprequest", "TextqlRPCPublicAppGetAppRequestTypedDict": ".textql_rpc_public_app_getapprequest", "TextqlRPCPublicAppGetAppResponse": ".textql_rpc_public_app_getappresponse", @@ -14260,6 +14270,12 @@ "TextqlRPCPublicAppInvokeAppComputeFunctionRequestTypedDict": ".textql_rpc_public_app_invokeappcomputefunctionrequest", "TextqlRPCPublicAppInvokeAppComputeFunctionResponse": ".textql_rpc_public_app_invokeappcomputefunctionresponse", "TextqlRPCPublicAppInvokeAppComputeFunctionResponseTypedDict": ".textql_rpc_public_app_invokeappcomputefunctionresponse", + "AfterSeq": ".textql_rpc_public_app_listappactivitysincerequest", + "AfterSeqTypedDict": ".textql_rpc_public_app_listappactivitysincerequest", + "TextqlRPCPublicAppListAppActivitySinceRequest": ".textql_rpc_public_app_listappactivitysincerequest", + "TextqlRPCPublicAppListAppActivitySinceRequestTypedDict": ".textql_rpc_public_app_listappactivitysincerequest", + "TextqlRPCPublicAppListAppActivitySinceResponse": ".textql_rpc_public_app_listappactivitysinceresponse", + "TextqlRPCPublicAppListAppActivitySinceResponseTypedDict": ".textql_rpc_public_app_listappactivitysinceresponse", "TextqlRPCPublicAppListAppsRequest": ".textql_rpc_public_app_listappsrequest", "TextqlRPCPublicAppListAppsRequestTypedDict": ".textql_rpc_public_app_listappsrequest", "TextqlRPCPublicAppListAppsResponse": ".textql_rpc_public_app_listappsresponse", @@ -14268,10 +14284,22 @@ "TextqlRPCPublicAppListAppVersionsRequestTypedDict": ".textql_rpc_public_app_listappversionsrequest", "TextqlRPCPublicAppListAppVersionsResponse": ".textql_rpc_public_app_listappversionsresponse", "TextqlRPCPublicAppListAppVersionsResponseTypedDict": ".textql_rpc_public_app_listappversionsresponse", + "TextqlRPCPublicAppListMyAppMemberActivityRequest": ".textql_rpc_public_app_listmyappmemberactivityrequest", + "TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict": ".textql_rpc_public_app_listmyappmemberactivityrequest", + "TextqlRPCPublicAppListMyAppMemberActivityResponse": ".textql_rpc_public_app_listmyappmemberactivityresponse", + "TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict": ".textql_rpc_public_app_listmyappmemberactivityresponse", "TextqlRPCPublicAppMoveAppToFolderRequest": ".textql_rpc_public_app_moveapptofolderrequest", "TextqlRPCPublicAppMoveAppToFolderRequestTypedDict": ".textql_rpc_public_app_moveapptofolderrequest", "TextqlRPCPublicAppMoveAppToFolderResponse": ".textql_rpc_public_app_moveapptofolderresponse", "TextqlRPCPublicAppMoveAppToFolderResponseTypedDict": ".textql_rpc_public_app_moveapptofolderresponse", + "TextqlRPCPublicAppPresenceHeartbeatRequest": ".textql_rpc_public_app_presenceheartbeatrequest", + "TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict": ".textql_rpc_public_app_presenceheartbeatrequest", + "TextqlRPCPublicAppRecordAppMemberActivityRequest": ".textql_rpc_public_app_recordappmemberactivityrequest", + "TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict": ".textql_rpc_public_app_recordappmemberactivityrequest", + "TextqlRPCPublicAppRecordAppMemberActivityResponse": ".textql_rpc_public_app_recordappmemberactivityresponse", + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeq": ".textql_rpc_public_app_recordappmemberactivityresponse", + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict": ".textql_rpc_public_app_recordappmemberactivityresponse", + "TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict": ".textql_rpc_public_app_recordappmemberactivityresponse", "TextqlRPCPublicAppRefreshAppRequest": ".textql_rpc_public_app_refreshapprequest", "TextqlRPCPublicAppRefreshAppRequestTypedDict": ".textql_rpc_public_app_refreshapprequest", "TextqlRPCPublicAppRefreshAppResponse": ".textql_rpc_public_app_refreshappresponse", @@ -14280,6 +14308,10 @@ "TextqlRPCPublicAppRestoreAppVersionRequestTypedDict": ".textql_rpc_public_app_restoreappversionrequest", "TextqlRPCPublicAppRestoreAppVersionResponse": ".textql_rpc_public_app_restoreappversionresponse", "TextqlRPCPublicAppRestoreAppVersionResponseTypedDict": ".textql_rpc_public_app_restoreappversionresponse", + "TextqlRPCPublicAppSetAppMemberStateRequest": ".textql_rpc_public_app_setappmemberstaterequest", + "TextqlRPCPublicAppSetAppMemberStateRequestTypedDict": ".textql_rpc_public_app_setappmemberstaterequest", + "TextqlRPCPublicAppSetAppMemberStateResponse": ".textql_rpc_public_app_setappmemberstateresponse", + "TextqlRPCPublicAppSetAppMemberStateResponseTypedDict": ".textql_rpc_public_app_setappmemberstateresponse", "TextqlRPCPublicAppSetFavoriteRequest": ".textql_rpc_public_app_setfavoriterequest", "TextqlRPCPublicAppSetFavoriteRequestTypedDict": ".textql_rpc_public_app_setfavoriterequest", "TextqlRPCPublicAppSetFavoriteResponse": ".textql_rpc_public_app_setfavoriteresponse", @@ -14552,6 +14584,8 @@ "TextqlRPCPublicCellsTextCellSizeBytes": ".textql_rpc_public_cells_textcell", "TextqlRPCPublicCellsTextCellSizeBytesTypedDict": ".textql_rpc_public_cells_textcell", "TextqlRPCPublicCellsTextCellTypedDict": ".textql_rpc_public_cells_textcell", + "TextqlRPCPublicCellsThinkingCell": ".textql_rpc_public_cells_thinkingcell", + "TextqlRPCPublicCellsThinkingCellTypedDict": ".textql_rpc_public_cells_thinkingcell", "TextqlRPCPublicCellsUseSkillCell": ".textql_rpc_public_cells_useskillcell", "TextqlRPCPublicCellsUseSkillCellTypedDict": ".textql_rpc_public_cells_useskillcell", "TextqlRPCPublicCellsWebSearchCell": ".textql_rpc_public_cells_websearchcell", @@ -14808,6 +14842,8 @@ "TextqlRPCPublicChatCellDurationMs56TypedDict": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs57": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs57TypedDict": ".textql_rpc_public_chat_cell", + "TextqlRPCPublicChatCellDurationMs58": ".textql_rpc_public_chat_cell", + "TextqlRPCPublicChatCellDurationMs58TypedDict": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs5TypedDict": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs6": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs6TypedDict": ".textql_rpc_public_chat_cell", @@ -14818,6 +14854,8 @@ "TextqlRPCPublicChatCellDurationMs9": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellDurationMs9TypedDict": ".textql_rpc_public_chat_cell", "TextqlRPCPublicChatCellTypedDict": ".textql_rpc_public_chat_cell", + "ThinkingCell": ".textql_rpc_public_chat_cell", + "ThinkingCellTypedDict": ".textql_rpc_public_chat_cell", "UseSkillCell": ".textql_rpc_public_chat_cell", "UseSkillCellTypedDict": ".textql_rpc_public_chat_cell", "WsCell": ".textql_rpc_public_chat_cell", @@ -15489,6 +15527,8 @@ "TextqlRPCPublicDashboardGetMembersWithDashboardsRequestTypedDict": ".textql_rpc_public_dashboard_getmemberswithdashboardsrequest", "TextqlRPCPublicDashboardGetMembersWithDashboardsResponse": ".textql_rpc_public_dashboard_getmemberswithdashboardsresponse", "TextqlRPCPublicDashboardGetMembersWithDashboardsResponseTypedDict": ".textql_rpc_public_dashboard_getmemberswithdashboardsresponse", + "TextqlRPCPublicDashboardGrant": ".textql_rpc_public_dashboard_grant", + "TextqlRPCPublicDashboardGrantTypedDict": ".textql_rpc_public_dashboard_grant", "TextqlRPCPublicDashboardLibraryTQLSource": ".textql_rpc_public_dashboard_librarytqlsource", "TextqlRPCPublicDashboardLibraryTQLSourceTypedDict": ".textql_rpc_public_dashboard_librarytqlsource", "TextqlRPCPublicDashboardListDashboardFoldersRequest": ".textql_rpc_public_dashboard_listdashboardfoldersrequest", @@ -16007,10 +16047,10 @@ "TextqlRPCPublicParadigmTemplateOptionsTypedDict": ".textql_rpc_public_paradigm_templateoptions", "TextqlRPCPublicParadigmUniversalOptions": ".textql_rpc_public_paradigm_universaloptions", "TextqlRPCPublicParadigmUniversalOptionsTypedDict": ".textql_rpc_public_paradigm_universaloptions", - "TextqlRPCPublicPatchesAddLibrarySubmoduleRequest": ".textql_rpc_public_patches_addlibrarysubmodulerequest", - "TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict": ".textql_rpc_public_patches_addlibrarysubmodulerequest", - "TextqlRPCPublicPatchesAddLibrarySubmoduleResponse": ".textql_rpc_public_patches_addlibrarysubmoduleresponse", - "TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict": ".textql_rpc_public_patches_addlibrarysubmoduleresponse", + "TextqlRPCPublicPatchesAddOntologySubmoduleRequest": ".textql_rpc_public_patches_addontologysubmodulerequest", + "TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict": ".textql_rpc_public_patches_addontologysubmodulerequest", + "TextqlRPCPublicPatchesAddOntologySubmoduleResponse": ".textql_rpc_public_patches_addontologysubmoduleresponse", + "TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict": ".textql_rpc_public_patches_addontologysubmoduleresponse", "TextqlRPCPublicPatchesApprovalRule": ".textql_rpc_public_patches_approvalrule", "TextqlRPCPublicPatchesApprovalRuleTypedDict": ".textql_rpc_public_patches_approvalrule", "TextqlRPCPublicPatchesApprovalRuleInput": ".textql_rpc_public_patches_approvalruleinput", @@ -16026,10 +16066,10 @@ "TextqlRPCPublicPatchesConfigDiagnostic": ".textql_rpc_public_patches_configdiagnostic", "TextqlRPCPublicPatchesConfigDiagnosticTypedDict": ".textql_rpc_public_patches_configdiagnostic", "TextqlRPCPublicPatchesConfigDiagnosticClass": ".textql_rpc_public_patches_configdiagnosticclass", - "TextqlRPCPublicPatchesConfigureLibraryRemoteRequest": ".textql_rpc_public_patches_configurelibraryremoterequest", - "TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict": ".textql_rpc_public_patches_configurelibraryremoterequest", - "TextqlRPCPublicPatchesConfigureLibraryRemoteResponse": ".textql_rpc_public_patches_configurelibraryremoteresponse", - "TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict": ".textql_rpc_public_patches_configurelibraryremoteresponse", + "TextqlRPCPublicPatchesConfigureOntologyRemoteRequest": ".textql_rpc_public_patches_configureontologyremoterequest", + "TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict": ".textql_rpc_public_patches_configureontologyremoterequest", + "TextqlRPCPublicPatchesConfigureOntologyRemoteResponse": ".textql_rpc_public_patches_configureontologyremoteresponse", + "TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict": ".textql_rpc_public_patches_configureontologyremoteresponse", "TextqlRPCPublicPatchesContextPatchAutoApproveRule": ".textql_rpc_public_patches_contextpatchautoapproverule", "TextqlRPCPublicPatchesContextPatchAutoApproveRuleTypedDict": ".textql_rpc_public_patches_contextpatchautoapproverule", "TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput": ".textql_rpc_public_patches_contextpatchautoapproveruleinput", @@ -16042,16 +16082,16 @@ "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict": ".textql_rpc_public_patches_createcontextpatchautoapproverulerequest", "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse": ".textql_rpc_public_patches_createcontextpatchautoapproveruleresponse", "TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict": ".textql_rpc_public_patches_createcontextpatchautoapproveruleresponse", - "TextqlRPCPublicPatchesCreateLibraryDirectoryRequest": ".textql_rpc_public_patches_createlibrarydirectoryrequest", - "TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict": ".textql_rpc_public_patches_createlibrarydirectoryrequest", - "TextqlRPCPublicPatchesCreateLibraryDirectoryResponse": ".textql_rpc_public_patches_createlibrarydirectoryresponse", - "TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict": ".textql_rpc_public_patches_createlibrarydirectoryresponse", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest": ".textql_rpc_public_patches_createlibraryfileuploadurlrequest", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes": ".textql_rpc_public_patches_createlibraryfileuploadurlrequest", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict": ".textql_rpc_public_patches_createlibraryfileuploadurlrequest", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict": ".textql_rpc_public_patches_createlibraryfileuploadurlrequest", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse": ".textql_rpc_public_patches_createlibraryfileuploadurlresponse", - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict": ".textql_rpc_public_patches_createlibraryfileuploadurlresponse", + "TextqlRPCPublicPatchesCreateOntologyDirectoryRequest": ".textql_rpc_public_patches_createontologydirectoryrequest", + "TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict": ".textql_rpc_public_patches_createontologydirectoryrequest", + "TextqlRPCPublicPatchesCreateOntologyDirectoryResponse": ".textql_rpc_public_patches_createontologydirectoryresponse", + "TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict": ".textql_rpc_public_patches_createontologydirectoryresponse", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest": ".textql_rpc_public_patches_createontologyfileuploadurlrequest", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes": ".textql_rpc_public_patches_createontologyfileuploadurlrequest", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict": ".textql_rpc_public_patches_createontologyfileuploadurlrequest", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict": ".textql_rpc_public_patches_createontologyfileuploadurlrequest", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse": ".textql_rpc_public_patches_createontologyfileuploadurlresponse", + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict": ".textql_rpc_public_patches_createontologyfileuploadurlresponse", "TextqlRPCPublicPatchesDailyFileUsage": ".textql_rpc_public_patches_dailyfileusage", "TextqlRPCPublicPatchesDailyFileUsageTypedDict": ".textql_rpc_public_patches_dailyfileusage", "TextqlRPCPublicPatchesDate": ".textql_rpc_public_patches_date", @@ -16060,26 +16100,26 @@ "TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict": ".textql_rpc_public_patches_deleteapprovalrulerequest", "TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest": ".textql_rpc_public_patches_deletecontextpatchautoapproverulerequest", "TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict": ".textql_rpc_public_patches_deletecontextpatchautoapproverulerequest", - "TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest": ".textql_rpc_public_patches_deletelibrarydirectoryrequest", - "TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict": ".textql_rpc_public_patches_deletelibrarydirectoryrequest", - "TextqlRPCPublicPatchesDeleteLibraryFileRequest": ".textql_rpc_public_patches_deletelibraryfilerequest", - "TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict": ".textql_rpc_public_patches_deletelibraryfilerequest", - "TextqlRPCPublicPatchesDeleteLibraryOwnersRequest": ".textql_rpc_public_patches_deletelibraryownersrequest", - "TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict": ".textql_rpc_public_patches_deletelibraryownersrequest", + "TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest": ".textql_rpc_public_patches_deleteontologydirectoryrequest", + "TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict": ".textql_rpc_public_patches_deleteontologydirectoryrequest", + "TextqlRPCPublicPatchesDeleteOntologyFileRequest": ".textql_rpc_public_patches_deleteontologyfilerequest", + "TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict": ".textql_rpc_public_patches_deleteontologyfilerequest", + "TextqlRPCPublicPatchesDeleteOntologyOwnersRequest": ".textql_rpc_public_patches_deleteontologyownersrequest", + "TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict": ".textql_rpc_public_patches_deleteontologyownersrequest", "TextqlRPCPublicPatchesDenyPatchRequest": ".textql_rpc_public_patches_denypatchrequest", "TextqlRPCPublicPatchesDenyPatchRequestTypedDict": ".textql_rpc_public_patches_denypatchrequest", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest": ".textql_rpc_public_patches_exchangelibrarygithubcoderequest", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict": ".textql_rpc_public_patches_exchangelibrarygithubcoderequest", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse": ".textql_rpc_public_patches_exchangelibrarygithubcoderesponse", - "TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict": ".textql_rpc_public_patches_exchangelibrarygithubcoderesponse", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest": ".textql_rpc_public_patches_exchangeontologygithubcoderequest", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict": ".textql_rpc_public_patches_exchangeontologygithubcoderequest", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse": ".textql_rpc_public_patches_exchangeontologygithubcoderesponse", + "TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict": ".textql_rpc_public_patches_exchangeontologygithubcoderesponse", "TextqlRPCPublicPatchesFileChatUsage": ".textql_rpc_public_patches_filechatusage", "TextqlRPCPublicPatchesFileChatUsageTypedDict": ".textql_rpc_public_patches_filechatusage", "TextqlRPCPublicPatchesFileUsage": ".textql_rpc_public_patches_fileusage", "TextqlRPCPublicPatchesFileUsageTypedDict": ".textql_rpc_public_patches_fileusage", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest": ".textql_rpc_public_patches_finalizelibraryfileuploadrequest", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict": ".textql_rpc_public_patches_finalizelibraryfileuploadrequest", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse": ".textql_rpc_public_patches_finalizelibraryfileuploadresponse", - "TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict": ".textql_rpc_public_patches_finalizelibraryfileuploadresponse", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest": ".textql_rpc_public_patches_finalizeontologyfileuploadrequest", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict": ".textql_rpc_public_patches_finalizeontologyfileuploadrequest", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse": ".textql_rpc_public_patches_finalizeontologyfileuploadresponse", + "TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict": ".textql_rpc_public_patches_finalizeontologyfileuploadresponse", "TextqlRPCPublicPatchesGetCodeownerCoverageRequest": ".textql_rpc_public_patches_getcodeownercoveragerequest", "TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict": ".textql_rpc_public_patches_getcodeownercoveragerequest", "TextqlRPCPublicPatchesGetCodeownerCoverageResponse": ".textql_rpc_public_patches_getcodeownercoverageresponse", @@ -16088,10 +16128,10 @@ "TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict": ".textql_rpc_public_patches_getconfigexportcapabilitiesrequest", "TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse": ".textql_rpc_public_patches_getconfigexportcapabilitiesresponse", "TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict": ".textql_rpc_public_patches_getconfigexportcapabilitiesresponse", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest": ".textql_rpc_public_patches_geteffectivelibraryownersrequest", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict": ".textql_rpc_public_patches_geteffectivelibraryownersrequest", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse": ".textql_rpc_public_patches_geteffectivelibraryownersresponse", - "TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict": ".textql_rpc_public_patches_geteffectivelibraryownersresponse", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest": ".textql_rpc_public_patches_geteffectiveontologyownersrequest", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict": ".textql_rpc_public_patches_geteffectiveontologyownersrequest", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse": ".textql_rpc_public_patches_geteffectiveontologyownersresponse", + "TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict": ".textql_rpc_public_patches_geteffectiveontologyownersresponse", "TextqlRPCPublicPatchesGetFileUsageRequest": ".textql_rpc_public_patches_getfileusagerequest", "TextqlRPCPublicPatchesGetFileUsageRequestTypedDict": ".textql_rpc_public_patches_getfileusagerequest", "TextqlRPCPublicPatchesGetFileUsageResponse": ".textql_rpc_public_patches_getfileusageresponse", @@ -16100,42 +16140,38 @@ "TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict": ".textql_rpc_public_patches_getfileusagetimelinerequest", "TextqlRPCPublicPatchesGetFileUsageTimelineResponse": ".textql_rpc_public_patches_getfileusagetimelineresponse", "TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict": ".textql_rpc_public_patches_getfileusagetimelineresponse", - "TextqlRPCPublicPatchesGetLibraryAnaConfigRequest": ".textql_rpc_public_patches_getlibraryanaconfigrequest", - "TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict": ".textql_rpc_public_patches_getlibraryanaconfigrequest", - "TextqlRPCPublicPatchesGetLibraryAnaConfigResponse": ".textql_rpc_public_patches_getlibraryanaconfigresponse", - "TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict": ".textql_rpc_public_patches_getlibraryanaconfigresponse", - "TextqlRPCPublicPatchesGetLibraryFileRequest": ".textql_rpc_public_patches_getlibraryfilerequest", - "TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict": ".textql_rpc_public_patches_getlibraryfilerequest", - "TextqlRPCPublicPatchesGetLibraryFileResponse": ".textql_rpc_public_patches_getlibraryfileresponse", - "TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict": ".textql_rpc_public_patches_getlibraryfileresponse", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest": ".textql_rpc_public_patches_getlibrarygithuboauthurlrequest", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict": ".textql_rpc_public_patches_getlibrarygithuboauthurlrequest", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse": ".textql_rpc_public_patches_getlibrarygithuboauthurlresponse", - "TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict": ".textql_rpc_public_patches_getlibrarygithuboauthurlresponse", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest": ".textql_rpc_public_patches_getlibraryhistoryfilediffrequest", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict": ".textql_rpc_public_patches_getlibraryhistoryfilediffrequest", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse": ".textql_rpc_public_patches_getlibraryhistoryfilediffresponse", - "TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict": ".textql_rpc_public_patches_getlibraryhistoryfilediffresponse", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest": ".textql_rpc_public_patches_getlibrarymigrationstatusrequest", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict": ".textql_rpc_public_patches_getlibrarymigrationstatusrequest", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse": ".textql_rpc_public_patches_getlibrarymigrationstatusresponse", - "TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict": ".textql_rpc_public_patches_getlibrarymigrationstatusresponse", - "TextqlRPCPublicPatchesGetLibraryOwnersRequest": ".textql_rpc_public_patches_getlibraryownersrequest", - "TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict": ".textql_rpc_public_patches_getlibraryownersrequest", - "TextqlRPCPublicPatchesGetLibraryOwnersResponse": ".textql_rpc_public_patches_getlibraryownersresponse", - "TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict": ".textql_rpc_public_patches_getlibraryownersresponse", - "TextqlRPCPublicPatchesGetLibraryRemoteRequest": ".textql_rpc_public_patches_getlibraryremoterequest", - "TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict": ".textql_rpc_public_patches_getlibraryremoterequest", - "TextqlRPCPublicPatchesGetLibraryRemoteResponse": ".textql_rpc_public_patches_getlibraryremoteresponse", - "TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict": ".textql_rpc_public_patches_getlibraryremoteresponse", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest": ".textql_rpc_public_patches_getlibrarysizetimelinerequest", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict": ".textql_rpc_public_patches_getlibrarysizetimelinerequest", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse": ".textql_rpc_public_patches_getlibrarysizetimelineresponse", - "TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict": ".textql_rpc_public_patches_getlibrarysizetimelineresponse", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest": ".textql_rpc_public_patches_getlibrarysyncconflictsrequest", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict": ".textql_rpc_public_patches_getlibrarysyncconflictsrequest", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse": ".textql_rpc_public_patches_getlibrarysyncconflictsresponse", - "TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict": ".textql_rpc_public_patches_getlibrarysyncconflictsresponse", + "TextqlRPCPublicPatchesGetOntologyAnaConfigRequest": ".textql_rpc_public_patches_getontologyanaconfigrequest", + "TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict": ".textql_rpc_public_patches_getontologyanaconfigrequest", + "TextqlRPCPublicPatchesGetOntologyAnaConfigResponse": ".textql_rpc_public_patches_getontologyanaconfigresponse", + "TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict": ".textql_rpc_public_patches_getontologyanaconfigresponse", + "TextqlRPCPublicPatchesGetOntologyFileRequest": ".textql_rpc_public_patches_getontologyfilerequest", + "TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict": ".textql_rpc_public_patches_getontologyfilerequest", + "TextqlRPCPublicPatchesGetOntologyFileResponse": ".textql_rpc_public_patches_getontologyfileresponse", + "TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict": ".textql_rpc_public_patches_getontologyfileresponse", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest": ".textql_rpc_public_patches_getontologygithuboauthurlrequest", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict": ".textql_rpc_public_patches_getontologygithuboauthurlrequest", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse": ".textql_rpc_public_patches_getontologygithuboauthurlresponse", + "TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict": ".textql_rpc_public_patches_getontologygithuboauthurlresponse", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest": ".textql_rpc_public_patches_getontologyhistoryfilediffrequest", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict": ".textql_rpc_public_patches_getontologyhistoryfilediffrequest", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse": ".textql_rpc_public_patches_getontologyhistoryfilediffresponse", + "TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict": ".textql_rpc_public_patches_getontologyhistoryfilediffresponse", + "TextqlRPCPublicPatchesGetOntologyOwnersRequest": ".textql_rpc_public_patches_getontologyownersrequest", + "TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict": ".textql_rpc_public_patches_getontologyownersrequest", + "TextqlRPCPublicPatchesGetOntologyOwnersResponse": ".textql_rpc_public_patches_getontologyownersresponse", + "TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict": ".textql_rpc_public_patches_getontologyownersresponse", + "TextqlRPCPublicPatchesGetOntologyRemoteRequest": ".textql_rpc_public_patches_getontologyremoterequest", + "TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict": ".textql_rpc_public_patches_getontologyremoterequest", + "TextqlRPCPublicPatchesGetOntologyRemoteResponse": ".textql_rpc_public_patches_getontologyremoteresponse", + "TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict": ".textql_rpc_public_patches_getontologyremoteresponse", + "TextqlRPCPublicPatchesGetOntologySizeTimelineRequest": ".textql_rpc_public_patches_getontologysizetimelinerequest", + "TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict": ".textql_rpc_public_patches_getontologysizetimelinerequest", + "TextqlRPCPublicPatchesGetOntologySizeTimelineResponse": ".textql_rpc_public_patches_getontologysizetimelineresponse", + "TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict": ".textql_rpc_public_patches_getontologysizetimelineresponse", + "TextqlRPCPublicPatchesGetOntologySyncConflictsRequest": ".textql_rpc_public_patches_getontologysyncconflictsrequest", + "TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict": ".textql_rpc_public_patches_getontologysyncconflictsrequest", + "TextqlRPCPublicPatchesGetOntologySyncConflictsResponse": ".textql_rpc_public_patches_getontologysyncconflictsresponse", + "TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict": ".textql_rpc_public_patches_getontologysyncconflictsresponse", "TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest": ".textql_rpc_public_patches_getontologyusagesummaryrequest", "TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict": ".textql_rpc_public_patches_getontologyusagesummaryrequest", "ReclaimableTokens": ".textql_rpc_public_patches_getontologyusagesummaryresponse", @@ -16164,43 +16200,6 @@ "TextqlRPCPublicPatchesGithubInstallationRepoTypedDict": ".textql_rpc_public_patches_githubinstallationrepo", "TextqlRPCPublicPatchesGoldenEntry": ".textql_rpc_public_patches_goldenentry", "TextqlRPCPublicPatchesGoldenEntryTypedDict": ".textql_rpc_public_patches_goldenentry", - "TextqlRPCPublicPatchesLibraryAnaConfig": ".textql_rpc_public_patches_libraryanaconfig", - "TextqlRPCPublicPatchesLibraryAnaConfigTypedDict": ".textql_rpc_public_patches_libraryanaconfig", - "TextqlRPCPublicPatchesLibraryEntry": ".textql_rpc_public_patches_libraryentry", - "TextqlRPCPublicPatchesLibraryEntrySizeBytes": ".textql_rpc_public_patches_libraryentry", - "TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict": ".textql_rpc_public_patches_libraryentry", - "TextqlRPCPublicPatchesLibraryEntryTypedDict": ".textql_rpc_public_patches_libraryentry", - "TextqlRPCPublicPatchesLibraryFile": ".textql_rpc_public_patches_libraryfile", - "TextqlRPCPublicPatchesLibraryFileSizeBytes": ".textql_rpc_public_patches_libraryfile", - "TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict": ".textql_rpc_public_patches_libraryfile", - "TextqlRPCPublicPatchesLibraryFileTypedDict": ".textql_rpc_public_patches_libraryfile", - "TextqlRPCPublicPatchesLibraryFileKind": ".textql_rpc_public_patches_libraryfilekind", - "TextqlRPCPublicPatchesLibraryHistoryChangedFile": ".textql_rpc_public_patches_libraryhistorychangedfile", - "TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict": ".textql_rpc_public_patches_libraryhistorychangedfile", - "TextqlRPCPublicPatchesLibraryHistoryChangeType": ".textql_rpc_public_patches_libraryhistorychangetype", - "TextqlRPCPublicPatchesLibraryHistoryEntry": ".textql_rpc_public_patches_libraryhistoryentry", - "TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict": ".textql_rpc_public_patches_libraryhistoryentry", - "TextqlRPCPublicPatchesLibraryImportEdge": ".textql_rpc_public_patches_libraryimportedge", - "TextqlRPCPublicPatchesLibraryImportEdgeTypedDict": ".textql_rpc_public_patches_libraryimportedge", - "TextqlRPCPublicPatchesLibraryMergeOutcome": ".textql_rpc_public_patches_librarymergeoutcome", - "TextqlRPCPublicPatchesLibraryOwnerEntry": ".textql_rpc_public_patches_libraryownerentry", - "TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict": ".textql_rpc_public_patches_libraryownerentry", - "TextqlRPCPublicPatchesLibraryOwners": ".textql_rpc_public_patches_libraryowners", - "TextqlRPCPublicPatchesLibraryOwnersTypedDict": ".textql_rpc_public_patches_libraryowners", - "TextqlRPCPublicPatchesLibraryPermission": ".textql_rpc_public_patches_librarypermission", - "TextqlRPCPublicPatchesLibraryRemote": ".textql_rpc_public_patches_libraryremote", - "TextqlRPCPublicPatchesLibraryRemoteTypedDict": ".textql_rpc_public_patches_libraryremote", - "TextqlRPCPublicPatchesLibrarySizeDay": ".textql_rpc_public_patches_librarysizeday", - "TextqlRPCPublicPatchesLibrarySizeDayTypedDict": ".textql_rpc_public_patches_librarysizeday", - "TotalBytes": ".textql_rpc_public_patches_librarysizeday", - "TotalBytesTypedDict": ".textql_rpc_public_patches_librarysizeday", - "TextqlRPCPublicPatchesLibrarySubmodule": ".textql_rpc_public_patches_librarysubmodule", - "TextqlRPCPublicPatchesLibrarySubmoduleTypedDict": ".textql_rpc_public_patches_librarysubmodule", - "TextqlRPCPublicPatchesLibrarySyncConflict": ".textql_rpc_public_patches_librarysyncconflict", - "TextqlRPCPublicPatchesLibrarySyncConflictTypedDict": ".textql_rpc_public_patches_librarysyncconflict", - "TextqlRPCPublicPatchesLibrarySyncRun": ".textql_rpc_public_patches_librarysyncrun", - "TextqlRPCPublicPatchesLibrarySyncRunTypedDict": ".textql_rpc_public_patches_librarysyncrun", - "TextqlRPCPublicPatchesLibrarySyncRunStatus": ".textql_rpc_public_patches_librarysyncrunstatus", "TextqlRPCPublicPatchesListApprovalRulesRequest": ".textql_rpc_public_patches_listapprovalrulesrequest", "TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict": ".textql_rpc_public_patches_listapprovalrulesrequest", "TextqlRPCPublicPatchesListApprovalRulesResponse": ".textql_rpc_public_patches_listapprovalrulesresponse", @@ -16217,26 +16216,26 @@ "TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict": ".textql_rpc_public_patches_listgoldenfilesrequest", "TextqlRPCPublicPatchesListGoldenFilesResponse": ".textql_rpc_public_patches_listgoldenfilesresponse", "TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict": ".textql_rpc_public_patches_listgoldenfilesresponse", - "TextqlRPCPublicPatchesListLibraryEntriesRequest": ".textql_rpc_public_patches_listlibraryentriesrequest", - "TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict": ".textql_rpc_public_patches_listlibraryentriesrequest", - "TextqlRPCPublicPatchesListLibraryEntriesResponse": ".textql_rpc_public_patches_listlibraryentriesresponse", - "TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict": ".textql_rpc_public_patches_listlibraryentriesresponse", - "TextqlRPCPublicPatchesListLibraryHistoryRequest": ".textql_rpc_public_patches_listlibraryhistoryrequest", - "TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict": ".textql_rpc_public_patches_listlibraryhistoryrequest", - "TextqlRPCPublicPatchesListLibraryHistoryResponse": ".textql_rpc_public_patches_listlibraryhistoryresponse", - "TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict": ".textql_rpc_public_patches_listlibraryhistoryresponse", - "TextqlRPCPublicPatchesListLibraryImportsRequest": ".textql_rpc_public_patches_listlibraryimportsrequest", - "TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict": ".textql_rpc_public_patches_listlibraryimportsrequest", - "TextqlRPCPublicPatchesListLibraryImportsResponse": ".textql_rpc_public_patches_listlibraryimportsresponse", - "TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict": ".textql_rpc_public_patches_listlibraryimportsresponse", - "TextqlRPCPublicPatchesListLibrarySubmodulesRequest": ".textql_rpc_public_patches_listlibrarysubmodulesrequest", - "TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict": ".textql_rpc_public_patches_listlibrarysubmodulesrequest", - "TextqlRPCPublicPatchesListLibrarySubmodulesResponse": ".textql_rpc_public_patches_listlibrarysubmodulesresponse", - "TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict": ".textql_rpc_public_patches_listlibrarysubmodulesresponse", - "TextqlRPCPublicPatchesListLibrarySyncRunsRequest": ".textql_rpc_public_patches_listlibrarysyncrunsrequest", - "TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict": ".textql_rpc_public_patches_listlibrarysyncrunsrequest", - "TextqlRPCPublicPatchesListLibrarySyncRunsResponse": ".textql_rpc_public_patches_listlibrarysyncrunsresponse", - "TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict": ".textql_rpc_public_patches_listlibrarysyncrunsresponse", + "TextqlRPCPublicPatchesListOntologyEntriesRequest": ".textql_rpc_public_patches_listontologyentriesrequest", + "TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict": ".textql_rpc_public_patches_listontologyentriesrequest", + "TextqlRPCPublicPatchesListOntologyEntriesResponse": ".textql_rpc_public_patches_listontologyentriesresponse", + "TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict": ".textql_rpc_public_patches_listontologyentriesresponse", + "TextqlRPCPublicPatchesListOntologyHistoryRequest": ".textql_rpc_public_patches_listontologyhistoryrequest", + "TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict": ".textql_rpc_public_patches_listontologyhistoryrequest", + "TextqlRPCPublicPatchesListOntologyHistoryResponse": ".textql_rpc_public_patches_listontologyhistoryresponse", + "TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict": ".textql_rpc_public_patches_listontologyhistoryresponse", + "TextqlRPCPublicPatchesListOntologyImportsRequest": ".textql_rpc_public_patches_listontologyimportsrequest", + "TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict": ".textql_rpc_public_patches_listontologyimportsrequest", + "TextqlRPCPublicPatchesListOntologyImportsResponse": ".textql_rpc_public_patches_listontologyimportsresponse", + "TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict": ".textql_rpc_public_patches_listontologyimportsresponse", + "TextqlRPCPublicPatchesListOntologySubmodulesRequest": ".textql_rpc_public_patches_listontologysubmodulesrequest", + "TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict": ".textql_rpc_public_patches_listontologysubmodulesrequest", + "TextqlRPCPublicPatchesListOntologySubmodulesResponse": ".textql_rpc_public_patches_listontologysubmodulesresponse", + "TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict": ".textql_rpc_public_patches_listontologysubmodulesresponse", + "TextqlRPCPublicPatchesListOntologySyncRunsRequest": ".textql_rpc_public_patches_listontologysyncrunsrequest", + "TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict": ".textql_rpc_public_patches_listontologysyncrunsrequest", + "TextqlRPCPublicPatchesListOntologySyncRunsResponse": ".textql_rpc_public_patches_listontologysyncrunsresponse", + "TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict": ".textql_rpc_public_patches_listontologysyncrunsresponse", "TextqlRPCPublicPatchesListPatchesRequest": ".textql_rpc_public_patches_listpatchesrequest", "TextqlRPCPublicPatchesListPatchesRequestTypedDict": ".textql_rpc_public_patches_listpatchesrequest", "TextqlRPCPublicPatchesListPatchesResponse": ".textql_rpc_public_patches_listpatchesresponse", @@ -16249,20 +16248,43 @@ "TextqlRPCPublicPatchesListSkillsRequestTypedDict": ".textql_rpc_public_patches_listskillsrequest", "TextqlRPCPublicPatchesListSkillsResponse": ".textql_rpc_public_patches_listskillsresponse", "TextqlRPCPublicPatchesListSkillsResponseTypedDict": ".textql_rpc_public_patches_listskillsresponse", - "TextqlRPCPublicPatchesMigratedLegacyContextPrompt": ".textql_rpc_public_patches_migratedlegacycontextprompt", - "TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict": ".textql_rpc_public_patches_migratedlegacycontextprompt", - "TextqlRPCPublicPatchesMigratedOntologyNoun": ".textql_rpc_public_patches_migratedontologynoun", - "TextqlRPCPublicPatchesMigratedOntologyNounTypedDict": ".textql_rpc_public_patches_migratedontologynoun", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest": ".textql_rpc_public_patches_migratelegacycontexttolibraryrequest", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict": ".textql_rpc_public_patches_migratelegacycontexttolibraryrequest", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse": ".textql_rpc_public_patches_migratelegacycontexttolibraryresponse", - "TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict": ".textql_rpc_public_patches_migratelegacycontexttolibraryresponse", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest": ".textql_rpc_public_patches_migrateontologytolibraryrequest", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict": ".textql_rpc_public_patches_migrateontologytolibraryrequest", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse": ".textql_rpc_public_patches_migrateontologytolibraryresponse", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict": ".textql_rpc_public_patches_migrateontologytolibraryresponse", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResult": ".textql_rpc_public_patches_migrateontologytolibraryresult", - "TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict": ".textql_rpc_public_patches_migrateontologytolibraryresult", + "TextqlRPCPublicPatchesOntologyAnaConfig": ".textql_rpc_public_patches_ontologyanaconfig", + "TextqlRPCPublicPatchesOntologyAnaConfigTypedDict": ".textql_rpc_public_patches_ontologyanaconfig", + "TextqlRPCPublicPatchesOntologyEntry": ".textql_rpc_public_patches_ontologyentry", + "TextqlRPCPublicPatchesOntologyEntrySizeBytes": ".textql_rpc_public_patches_ontologyentry", + "TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict": ".textql_rpc_public_patches_ontologyentry", + "TextqlRPCPublicPatchesOntologyEntryTypedDict": ".textql_rpc_public_patches_ontologyentry", + "TextqlRPCPublicPatchesOntologyFile": ".textql_rpc_public_patches_ontologyfile", + "TextqlRPCPublicPatchesOntologyFileSizeBytes": ".textql_rpc_public_patches_ontologyfile", + "TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict": ".textql_rpc_public_patches_ontologyfile", + "TextqlRPCPublicPatchesOntologyFileTypedDict": ".textql_rpc_public_patches_ontologyfile", + "TextqlRPCPublicPatchesOntologyFileKind": ".textql_rpc_public_patches_ontologyfilekind", + "TextqlRPCPublicPatchesOntologyHistoryChangedFile": ".textql_rpc_public_patches_ontologyhistorychangedfile", + "TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict": ".textql_rpc_public_patches_ontologyhistorychangedfile", + "TextqlRPCPublicPatchesOntologyHistoryChangeType": ".textql_rpc_public_patches_ontologyhistorychangetype", + "TextqlRPCPublicPatchesOntologyHistoryEntry": ".textql_rpc_public_patches_ontologyhistoryentry", + "TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict": ".textql_rpc_public_patches_ontologyhistoryentry", + "TextqlRPCPublicPatchesOntologyImportEdge": ".textql_rpc_public_patches_ontologyimportedge", + "TextqlRPCPublicPatchesOntologyImportEdgeTypedDict": ".textql_rpc_public_patches_ontologyimportedge", + "TextqlRPCPublicPatchesOntologyMergeOutcome": ".textql_rpc_public_patches_ontologymergeoutcome", + "TextqlRPCPublicPatchesOntologyOwnerEntry": ".textql_rpc_public_patches_ontologyownerentry", + "TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict": ".textql_rpc_public_patches_ontologyownerentry", + "TextqlRPCPublicPatchesOntologyOwners": ".textql_rpc_public_patches_ontologyowners", + "TextqlRPCPublicPatchesOntologyOwnersTypedDict": ".textql_rpc_public_patches_ontologyowners", + "TextqlRPCPublicPatchesOntologyPermission": ".textql_rpc_public_patches_ontologypermission", + "TextqlRPCPublicPatchesOntologyRemote": ".textql_rpc_public_patches_ontologyremote", + "TextqlRPCPublicPatchesOntologyRemoteTypedDict": ".textql_rpc_public_patches_ontologyremote", + "TextqlRPCPublicPatchesOntologySizeDay": ".textql_rpc_public_patches_ontologysizeday", + "TextqlRPCPublicPatchesOntologySizeDayTypedDict": ".textql_rpc_public_patches_ontologysizeday", + "TotalBytes": ".textql_rpc_public_patches_ontologysizeday", + "TotalBytesTypedDict": ".textql_rpc_public_patches_ontologysizeday", + "TextqlRPCPublicPatchesOntologySubmodule": ".textql_rpc_public_patches_ontologysubmodule", + "TextqlRPCPublicPatchesOntologySubmoduleTypedDict": ".textql_rpc_public_patches_ontologysubmodule", + "TextqlRPCPublicPatchesOntologySyncConflict": ".textql_rpc_public_patches_ontologysyncconflict", + "TextqlRPCPublicPatchesOntologySyncConflictTypedDict": ".textql_rpc_public_patches_ontologysyncconflict", + "TextqlRPCPublicPatchesOntologySyncRun": ".textql_rpc_public_patches_ontologysyncrun", + "TextqlRPCPublicPatchesOntologySyncRunTypedDict": ".textql_rpc_public_patches_ontologysyncrun", + "TextqlRPCPublicPatchesOntologySyncRunStatus": ".textql_rpc_public_patches_ontologysyncrunstatus", "TextqlRPCPublicPatchesPatch": ".textql_rpc_public_patches_patch", "TextqlRPCPublicPatchesPatchTypedDict": ".textql_rpc_public_patches_patch", "TextqlRPCPublicPatchesPatchCapabilities": ".textql_rpc_public_patches_patchcapabilities", @@ -16301,37 +16323,37 @@ "TextqlRPCPublicPatchesPatchStatus": ".textql_rpc_public_patches_patchstatus", "TextqlRPCPublicPatchesPatchStatusCounts": ".textql_rpc_public_patches_patchstatuscounts", "TextqlRPCPublicPatchesPatchStatusCountsTypedDict": ".textql_rpc_public_patches_patchstatuscounts", - "TextqlRPCPublicPatchesPlanLibraryMergeRequest": ".textql_rpc_public_patches_planlibrarymergerequest", - "TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict": ".textql_rpc_public_patches_planlibrarymergerequest", - "TextqlRPCPublicPatchesPlanLibraryMergeResponse": ".textql_rpc_public_patches_planlibrarymergeresponse", - "TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict": ".textql_rpc_public_patches_planlibrarymergeresponse", - "TextqlRPCPublicPatchesPreviewLibraryPullFolderRow": ".textql_rpc_public_patches_previewlibrarypullfolderrow", - "TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict": ".textql_rpc_public_patches_previewlibrarypullfolderrow", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest": ".textql_rpc_public_patches_previewlibrarypullfromremoterequest", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict": ".textql_rpc_public_patches_previewlibrarypullfromremoterequest", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse": ".textql_rpc_public_patches_previewlibrarypullfromremoteresponse", - "TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict": ".textql_rpc_public_patches_previewlibrarypullfromremoteresponse", - "TextqlRPCPublicPatchesPullLibraryFromRemoteRequest": ".textql_rpc_public_patches_pulllibraryfromremoterequest", - "TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict": ".textql_rpc_public_patches_pulllibraryfromremoterequest", - "TextqlRPCPublicPatchesPushLibraryToRemoteRequest": ".textql_rpc_public_patches_pushlibrarytoremoterequest", - "TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict": ".textql_rpc_public_patches_pushlibrarytoremoterequest", - "TextqlRPCPublicPatchesRecoverLibraryLevel": ".textql_rpc_public_patches_recoverlibrarylevel", - "TextqlRPCPublicPatchesRecoverLibraryRequest": ".textql_rpc_public_patches_recoverlibraryrequest", - "TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict": ".textql_rpc_public_patches_recoverlibraryrequest", - "TextqlRPCPublicPatchesRemoveLibraryRemoteRequest": ".textql_rpc_public_patches_removelibraryremoterequest", - "TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict": ".textql_rpc_public_patches_removelibraryremoterequest", - "TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest": ".textql_rpc_public_patches_removelibrarysubmodulerequest", - "TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict": ".textql_rpc_public_patches_removelibrarysubmodulerequest", - "TextqlRPCPublicPatchesRenameLibraryFileRequest": ".textql_rpc_public_patches_renamelibraryfilerequest", - "TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict": ".textql_rpc_public_patches_renamelibraryfilerequest", - "TextqlRPCPublicPatchesRenameLibraryFileResponse": ".textql_rpc_public_patches_renamelibraryfileresponse", - "TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict": ".textql_rpc_public_patches_renamelibraryfileresponse", + "TextqlRPCPublicPatchesPlanOntologyMergeRequest": ".textql_rpc_public_patches_planontologymergerequest", + "TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict": ".textql_rpc_public_patches_planontologymergerequest", + "TextqlRPCPublicPatchesPlanOntologyMergeResponse": ".textql_rpc_public_patches_planontologymergeresponse", + "TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict": ".textql_rpc_public_patches_planontologymergeresponse", + "TextqlRPCPublicPatchesPreviewOntologyPullFolderRow": ".textql_rpc_public_patches_previewontologypullfolderrow", + "TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict": ".textql_rpc_public_patches_previewontologypullfolderrow", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest": ".textql_rpc_public_patches_previewontologypullfromremoterequest", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict": ".textql_rpc_public_patches_previewontologypullfromremoterequest", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse": ".textql_rpc_public_patches_previewontologypullfromremoteresponse", + "TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict": ".textql_rpc_public_patches_previewontologypullfromremoteresponse", + "TextqlRPCPublicPatchesPullOntologyFromRemoteRequest": ".textql_rpc_public_patches_pullontologyfromremoterequest", + "TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict": ".textql_rpc_public_patches_pullontologyfromremoterequest", + "TextqlRPCPublicPatchesPushOntologyToRemoteRequest": ".textql_rpc_public_patches_pushontologytoremoterequest", + "TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict": ".textql_rpc_public_patches_pushontologytoremoterequest", + "TextqlRPCPublicPatchesRecoverOntologyLevel": ".textql_rpc_public_patches_recoverontologylevel", + "TextqlRPCPublicPatchesRecoverOntologyRequest": ".textql_rpc_public_patches_recoverontologyrequest", + "TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict": ".textql_rpc_public_patches_recoverontologyrequest", + "TextqlRPCPublicPatchesRemoveOntologyRemoteRequest": ".textql_rpc_public_patches_removeontologyremoterequest", + "TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict": ".textql_rpc_public_patches_removeontologyremoterequest", + "TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest": ".textql_rpc_public_patches_removeontologysubmodulerequest", + "TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict": ".textql_rpc_public_patches_removeontologysubmodulerequest", + "TextqlRPCPublicPatchesRenameOntologyFileRequest": ".textql_rpc_public_patches_renameontologyfilerequest", + "TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict": ".textql_rpc_public_patches_renameontologyfilerequest", + "TextqlRPCPublicPatchesRenameOntologyFileResponse": ".textql_rpc_public_patches_renameontologyfileresponse", + "TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict": ".textql_rpc_public_patches_renameontologyfileresponse", "TextqlRPCPublicPatchesRequestPatchReviewRequest": ".textql_rpc_public_patches_requestpatchreviewrequest", "TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict": ".textql_rpc_public_patches_requestpatchreviewrequest", "TextqlRPCPublicPatchesRequestPatchReviewResponse": ".textql_rpc_public_patches_requestpatchreviewresponse", "TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict": ".textql_rpc_public_patches_requestpatchreviewresponse", - "TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest": ".textql_rpc_public_patches_resolvelibrarysyncconflictrequest", - "TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict": ".textql_rpc_public_patches_resolvelibrarysyncconflictrequest", + "TextqlRPCPublicPatchesResolveOntologySyncConflictRequest": ".textql_rpc_public_patches_resolveontologysyncconflictrequest", + "TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict": ".textql_rpc_public_patches_resolveontologysyncconflictrequest", "TextqlRPCPublicPatchesRestorePatchRequest": ".textql_rpc_public_patches_restorepatchrequest", "TextqlRPCPublicPatchesRestorePatchRequestTypedDict": ".textql_rpc_public_patches_restorepatchrequest", "TextqlRPCPublicPatchesRevertPatchRequest": ".textql_rpc_public_patches_revertpatchrequest", @@ -16346,10 +16368,10 @@ "TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict": ".textql_rpc_public_patches_saveobjectasconfigrequest", "TextqlRPCPublicPatchesSaveObjectAsConfigResponse": ".textql_rpc_public_patches_saveobjectasconfigresponse", "TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict": ".textql_rpc_public_patches_saveobjectasconfigresponse", - "TextqlRPCPublicPatchesSetLibraryFileGoldenRequest": ".textql_rpc_public_patches_setlibraryfilegoldenrequest", - "TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict": ".textql_rpc_public_patches_setlibraryfilegoldenrequest", - "TextqlRPCPublicPatchesSetLibraryFileGoldenResponse": ".textql_rpc_public_patches_setlibraryfilegoldenresponse", - "TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict": ".textql_rpc_public_patches_setlibraryfilegoldenresponse", + "TextqlRPCPublicPatchesSetOntologyFileGoldenRequest": ".textql_rpc_public_patches_setontologyfilegoldenrequest", + "TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict": ".textql_rpc_public_patches_setontologyfilegoldenrequest", + "TextqlRPCPublicPatchesSetOntologyFileGoldenResponse": ".textql_rpc_public_patches_setontologyfilegoldenresponse", + "TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict": ".textql_rpc_public_patches_setontologyfilegoldenresponse", "TextqlRPCPublicPatchesSkill": ".textql_rpc_public_patches_skill", "TextqlRPCPublicPatchesSkillTypedDict": ".textql_rpc_public_patches_skill", "TextqlRPCPublicPatchesSkippedConfigExport": ".textql_rpc_public_patches_skippedconfigexport", @@ -16366,22 +16388,22 @@ "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict": ".textql_rpc_public_patches_updatecontextpatchautoapproverulerequest", "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse": ".textql_rpc_public_patches_updatecontextpatchautoapproveruleresponse", "TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict": ".textql_rpc_public_patches_updatecontextpatchautoapproveruleresponse", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest": ".textql_rpc_public_patches_updatelibrarysyncconfigrequest", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict": ".textql_rpc_public_patches_updatelibrarysyncconfigrequest", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse": ".textql_rpc_public_patches_updatelibrarysyncconfigresponse", - "TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict": ".textql_rpc_public_patches_updatelibrarysyncconfigresponse", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest": ".textql_rpc_public_patches_upsertlibraryanaconfigrequest", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict": ".textql_rpc_public_patches_upsertlibraryanaconfigrequest", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse": ".textql_rpc_public_patches_upsertlibraryanaconfigresponse", - "TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict": ".textql_rpc_public_patches_upsertlibraryanaconfigresponse", - "TextqlRPCPublicPatchesUpsertLibraryFileRequest": ".textql_rpc_public_patches_upsertlibraryfilerequest", - "TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict": ".textql_rpc_public_patches_upsertlibraryfilerequest", - "TextqlRPCPublicPatchesUpsertLibraryFileResponse": ".textql_rpc_public_patches_upsertlibraryfileresponse", - "TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict": ".textql_rpc_public_patches_upsertlibraryfileresponse", - "TextqlRPCPublicPatchesUpsertLibraryOwnersRequest": ".textql_rpc_public_patches_upsertlibraryownersrequest", - "TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict": ".textql_rpc_public_patches_upsertlibraryownersrequest", - "TextqlRPCPublicPatchesUpsertLibraryOwnersResponse": ".textql_rpc_public_patches_upsertlibraryownersresponse", - "TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict": ".textql_rpc_public_patches_upsertlibraryownersresponse", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest": ".textql_rpc_public_patches_updateontologysyncconfigrequest", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict": ".textql_rpc_public_patches_updateontologysyncconfigrequest", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse": ".textql_rpc_public_patches_updateontologysyncconfigresponse", + "TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict": ".textql_rpc_public_patches_updateontologysyncconfigresponse", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest": ".textql_rpc_public_patches_upsertontologyanaconfigrequest", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict": ".textql_rpc_public_patches_upsertontologyanaconfigrequest", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse": ".textql_rpc_public_patches_upsertontologyanaconfigresponse", + "TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict": ".textql_rpc_public_patches_upsertontologyanaconfigresponse", + "TextqlRPCPublicPatchesUpsertOntologyFileRequest": ".textql_rpc_public_patches_upsertontologyfilerequest", + "TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict": ".textql_rpc_public_patches_upsertontologyfilerequest", + "TextqlRPCPublicPatchesUpsertOntologyFileResponse": ".textql_rpc_public_patches_upsertontologyfileresponse", + "TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict": ".textql_rpc_public_patches_upsertontologyfileresponse", + "TextqlRPCPublicPatchesUpsertOntologyOwnersRequest": ".textql_rpc_public_patches_upsertontologyownersrequest", + "TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict": ".textql_rpc_public_patches_upsertontologyownersrequest", + "TextqlRPCPublicPatchesUpsertOntologyOwnersResponse": ".textql_rpc_public_patches_upsertontologyownersresponse", + "TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict": ".textql_rpc_public_patches_upsertontologyownersresponse", "TextqlRPCPublicPatchesUsageOrderBy": ".textql_rpc_public_patches_usageorderby", "TextqlRPCPublicPatchesValidateConfigRequest": ".textql_rpc_public_patches_validateconfigrequest", "TextqlRPCPublicPatchesValidateConfigRequestTypedDict": ".textql_rpc_public_patches_validateconfigrequest", @@ -16821,6 +16843,10 @@ "TextqlRPCPublicRbacScimGroupMappingSummaryTypedDict": ".textql_rpc_public_rbac_scimgroupmappingsummary", "TextqlRPCPublicRbacServiceAccount": ".textql_rpc_public_rbac_serviceaccount", "TextqlRPCPublicRbacServiceAccountTypedDict": ".textql_rpc_public_rbac_serviceaccount", + "TextqlRPCPublicRbacSetRolePermissionsRequest": ".textql_rpc_public_rbac_setrolepermissionsrequest", + "TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict": ".textql_rpc_public_rbac_setrolepermissionsrequest", + "TextqlRPCPublicRbacSetRolePermissionsResponse": ".textql_rpc_public_rbac_setrolepermissionsresponse", + "TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict": ".textql_rpc_public_rbac_setrolepermissionsresponse", "TextqlRPCPublicRbacShareObjectRequest": ".textql_rpc_public_rbac_shareobjectrequest", "TextqlRPCPublicRbacShareObjectRequestTypedDict": ".textql_rpc_public_rbac_shareobjectrequest", "TextqlRPCPublicRbacShareObjectResponse": ".textql_rpc_public_rbac_shareobjectresponse", @@ -16934,15 +16960,41 @@ "TextqlRPCPublicSandboxAdminStopSandboxRequestTypedDict": ".textql_rpc_public_sandbox_admin_stopsandboxrequest", "TextqlRPCPublicSandboxAdminStopSandboxResponse": ".textql_rpc_public_sandbox_admin_stopsandboxresponse", "TextqlRPCPublicSandboxAdminStopSandboxResponseTypedDict": ".textql_rpc_public_sandbox_admin_stopsandboxresponse", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest": ".textql_rpc_public_sandbox_capability_sandboxexecutewriterequest", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows": ".textql_rpc_public_sandbox_capability_sandboxexecutewriterequest", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict": ".textql_rpc_public_sandbox_capability_sandboxexecutewriterequest", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict": ".textql_rpc_public_sandbox_capability_sandboxexecutewriterequest", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse": ".textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows": ".textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict": ".textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse", + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict": ".textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest": ".textql_rpc_public_sandbox_capability_sandboxputassetrequest", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict": ".textql_rpc_public_sandbox_capability_sandboxputassetrequest", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse": ".textql_rpc_public_sandbox_capability_sandboxputassetresponse", + "TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict": ".textql_rpc_public_sandbox_capability_sandboxputassetresponse", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest": ".textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict": ".textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse": ".textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse", + "TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict": ".textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest": ".textql_rpc_public_sandbox_capability_sandboxstateoprequest", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict": ".textql_rpc_public_sandbox_capability_sandboxstateoprequest", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse": ".textql_rpc_public_sandbox_capability_sandboxstateopresponse", + "TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict": ".textql_rpc_public_sandbox_capability_sandboxstateopresponse", + "TextqlRPCPublicSandboxQueryAppDBTemplate": ".textql_rpc_public_sandbox_query_appdbtemplate", + "TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict": ".textql_rpc_public_sandbox_query_appdbtemplate", "TextqlRPCPublicSandboxQueryLibraryTQLTemplate": ".textql_rpc_public_sandbox_query_librarytqltemplate", "TextqlRPCPublicSandboxQueryLibraryTQLTemplateTypedDict": ".textql_rpc_public_sandbox_query_librarytqltemplate", - "MaxRows1": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", - "MaxRows1TypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", - "MaxRows2": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", - "MaxRows2TypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "AppDb": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "AppDbTypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequest": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestTypedDict": ".textql_rpc_public_sandbox_query_sandboxexecutequeryrequest", @@ -16982,77 +17034,28 @@ "TextqlRPCPublicScimScimOAuthClientTypedDict": ".textql_rpc_public_scim_scimoauthclient", "TextqlRPCPublicScimScimToken": ".textql_rpc_public_scim_scimtoken", "TextqlRPCPublicScimScimTokenTypedDict": ".textql_rpc_public_scim_scimtoken", - "TextqlRPCPublicSecretAPIAccessKey": ".textql_rpc_public_secret_apiaccesskey", - "TextqlRPCPublicSecretAPIAccessKeyTypedDict": ".textql_rpc_public_secret_apiaccesskey", - "Revision": ".textql_rpc_public_secret_apiaccessref", - "RevisionTypedDict": ".textql_rpc_public_secret_apiaccessref", - "TextqlRPCPublicSecretAPIAccessRef": ".textql_rpc_public_secret_apiaccessref", - "TextqlRPCPublicSecretAPIAccessRefTypedDict": ".textql_rpc_public_secret_apiaccessref", - "TextqlRPCPublicSecretAPIProvider": ".textql_rpc_public_secret_apiprovider", - "TextqlRPCPublicSecretAPIProviderTypedDict": ".textql_rpc_public_secret_apiprovider", - "TextqlRPCPublicSecretBodyContentType": ".textql_rpc_public_secret_bodycontenttype", - "TextqlRPCPublicSecretCreateAPIRevisionRequest": ".textql_rpc_public_secret_createapirevisionrequest", - "TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict": ".textql_rpc_public_secret_createapirevisionrequest", - "TextqlRPCPublicSecretCreateAPIRevisionResponse": ".textql_rpc_public_secret_createapirevisionresponse", - "TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict": ".textql_rpc_public_secret_createapirevisionresponse", - "TextqlRPCPublicSecretDeleteAPIAccessKeyRequest": ".textql_rpc_public_secret_deleteapiaccesskeyrequest", - "TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict": ".textql_rpc_public_secret_deleteapiaccesskeyrequest", - "TextqlRPCPublicSecretDeleteAPIAccessKeyResponse": ".textql_rpc_public_secret_deleteapiaccesskeyresponse", - "TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict": ".textql_rpc_public_secret_deleteapiaccesskeyresponse", - "TextqlRPCPublicSecretDeleteAPIRevisionRequest": ".textql_rpc_public_secret_deleteapirevisionrequest", - "TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict": ".textql_rpc_public_secret_deleteapirevisionrequest", - "TextqlRPCPublicSecretDeleteAPIRevisionResponse": ".textql_rpc_public_secret_deleteapirevisionresponse", - "TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict": ".textql_rpc_public_secret_deleteapirevisionresponse", "TextqlRPCPublicSecretDeleteSecretRequest": ".textql_rpc_public_secret_deletesecretrequest", "TextqlRPCPublicSecretDeleteSecretRequestTypedDict": ".textql_rpc_public_secret_deletesecretrequest", "TextqlRPCPublicSecretDeleteSecretResponse": ".textql_rpc_public_secret_deletesecretresponse", "TextqlRPCPublicSecretDeleteSecretResponseTypedDict": ".textql_rpc_public_secret_deletesecretresponse", - "TextqlRPCPublicSecretEnvVarField": ".textql_rpc_public_secret_envvarfield", - "TextqlRPCPublicSecretEnvVarFieldTypedDict": ".textql_rpc_public_secret_envvarfield", - "TextqlRPCPublicSecretGetAPIAccessKeyRequest": ".textql_rpc_public_secret_getapiaccesskeyrequest", - "TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict": ".textql_rpc_public_secret_getapiaccesskeyrequest", - "TextqlRPCPublicSecretGetAPIAccessKeyResponse": ".textql_rpc_public_secret_getapiaccesskeyresponse", - "TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict": ".textql_rpc_public_secret_getapiaccesskeyresponse", "TextqlRPCPublicSecretGetMembersWithSecretsRequest": ".textql_rpc_public_secret_getmemberswithsecretsrequest", "TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict": ".textql_rpc_public_secret_getmemberswithsecretsrequest", "TextqlRPCPublicSecretGetMembersWithSecretsResponse": ".textql_rpc_public_secret_getmemberswithsecretsresponse", "TextqlRPCPublicSecretGetMembersWithSecretsResponseTypedDict": ".textql_rpc_public_secret_getmemberswithsecretsresponse", - "TextqlRPCPublicSecretHTTPBasicAuth": ".textql_rpc_public_secret_httpbasicauth", - "TextqlRPCPublicSecretHTTPBasicAuthTypedDict": ".textql_rpc_public_secret_httpbasicauth", - "TextqlRPCPublicSecretListAPIAccessKeysRequest": ".textql_rpc_public_secret_listapiaccesskeysrequest", - "TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict": ".textql_rpc_public_secret_listapiaccesskeysrequest", - "TextqlRPCPublicSecretListAPIAccessKeysResponse": ".textql_rpc_public_secret_listapiaccesskeysresponse", - "TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict": ".textql_rpc_public_secret_listapiaccesskeysresponse", - "TextqlRPCPublicSecretListAPIProvidersRequest": ".textql_rpc_public_secret_listapiprovidersrequest", - "TextqlRPCPublicSecretListAPIProvidersRequestTypedDict": ".textql_rpc_public_secret_listapiprovidersrequest", - "TextqlRPCPublicSecretListAPIProvidersResponse": ".textql_rpc_public_secret_listapiprovidersresponse", - "TextqlRPCPublicSecretListAPIProvidersResponseTypedDict": ".textql_rpc_public_secret_listapiprovidersresponse", "TextqlRPCPublicSecretListSecretsRequest": ".textql_rpc_public_secret_listsecretsrequest", "TextqlRPCPublicSecretListSecretsRequestTypedDict": ".textql_rpc_public_secret_listsecretsrequest", "TextqlRPCPublicSecretListSecretsResponse": ".textql_rpc_public_secret_listsecretsresponse", "TextqlRPCPublicSecretListSecretsResponseTypedDict": ".textql_rpc_public_secret_listsecretsresponse", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest": ".textql_rpc_public_secret_migratesecrettoapiconnectorrequest", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict": ".textql_rpc_public_secret_migratesecrettoapiconnectorrequest", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse": ".textql_rpc_public_secret_migratesecrettoapiconnectorresponse", - "TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict": ".textql_rpc_public_secret_migratesecrettoapiconnectorresponse", "TextqlRPCPublicSecretPutSecretRequest": ".textql_rpc_public_secret_putsecretrequest", "TextqlRPCPublicSecretPutSecretRequestTypedDict": ".textql_rpc_public_secret_putsecretrequest", "TextqlRPCPublicSecretPutSecretResponse": ".textql_rpc_public_secret_putsecretresponse", "TextqlRPCPublicSecretPutSecretResponseTypedDict": ".textql_rpc_public_secret_putsecretresponse", "TextqlRPCPublicSecretSecret": ".textql_rpc_public_secret_secret", "TextqlRPCPublicSecretSecretTypedDict": ".textql_rpc_public_secret_secret", - "TextqlRPCPublicSecretTestAPIAccessKeyRequest": ".textql_rpc_public_secret_testapiaccesskeyrequest", - "TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict": ".textql_rpc_public_secret_testapiaccesskeyrequest", - "TextqlRPCPublicSecretTestAPIAccessKeyResponse": ".textql_rpc_public_secret_testapiaccesskeyresponse", - "TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict": ".textql_rpc_public_secret_testapiaccesskeyresponse", "TextqlRPCPublicSecretUpdateSecretRequest": ".textql_rpc_public_secret_updatesecretrequest", "TextqlRPCPublicSecretUpdateSecretRequestTypedDict": ".textql_rpc_public_secret_updatesecretrequest", "TextqlRPCPublicSecretUpdateSecretResponse": ".textql_rpc_public_secret_updatesecretresponse", "TextqlRPCPublicSecretUpdateSecretResponseTypedDict": ".textql_rpc_public_secret_updatesecretresponse", - "TextqlRPCPublicSecretUpsertAPIAccessKeyRequest": ".textql_rpc_public_secret_upsertapiaccesskeyrequest", - "TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict": ".textql_rpc_public_secret_upsertapiaccesskeyrequest", - "TextqlRPCPublicSecretUpsertAPIAccessKeyResponse": ".textql_rpc_public_secret_upsertapiaccesskeyresponse", - "TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict": ".textql_rpc_public_secret_upsertapiaccesskeyresponse", "TextqlRPCPublicSlackCreateSlackUUIDResponse": ".textql_rpc_public_slack_createslackuuidresponse", "TextqlRPCPublicSlackCreateSlackUUIDResponseTypedDict": ".textql_rpc_public_slack_createslackuuidresponse", "TextqlRPCPublicSlackDeleteInstallationRequest": ".textql_rpc_public_slack_deleteinstallationrequest", diff --git a/src/textql_sdk/models/appservice_getappmemberstateop.py b/src/textql_sdk/models/appservice_getappmemberstateop.py new file mode 100644 index 0000000..8fc99ae --- /dev/null +++ b/src/textql_sdk/models/appservice_getappmemberstateop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_app_getappmemberstaterequest import ( + TextqlRPCPublicAppGetAppMemberStateRequest, + TextqlRPCPublicAppGetAppMemberStateRequestTypedDict, +) +from .textql_rpc_public_app_getappmemberstateresponse import ( + TextqlRPCPublicAppGetAppMemberStateResponse, + TextqlRPCPublicAppGetAppMemberStateResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServiceGetAppMemberStateRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppGetAppMemberStateRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServiceGetAppMemberStateRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppGetAppMemberStateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServiceGetAppMemberStateResponseTypedDict = TypeAliasType( + "AppServiceGetAppMemberStateResponseTypedDict", + Union[TextqlRPCPublicAppGetAppMemberStateResponseTypedDict, ConnectErrorTypedDict], +) + + +AppServiceGetAppMemberStateResponse = TypeAliasType( + "AppServiceGetAppMemberStateResponse", + Union[TextqlRPCPublicAppGetAppMemberStateResponse, ConnectError], +) + + +try: + AppServiceGetAppMemberStateRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/appservice_listappactivitysinceop.py b/src/textql_sdk/models/appservice_listappactivitysinceop.py new file mode 100644 index 0000000..3240298 --- /dev/null +++ b/src/textql_sdk/models/appservice_listappactivitysinceop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_app_listappactivitysincerequest import ( + TextqlRPCPublicAppListAppActivitySinceRequest, + TextqlRPCPublicAppListAppActivitySinceRequestTypedDict, +) +from .textql_rpc_public_app_listappactivitysinceresponse import ( + TextqlRPCPublicAppListAppActivitySinceResponse, + TextqlRPCPublicAppListAppActivitySinceResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServiceListAppActivitySinceRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppListAppActivitySinceRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServiceListAppActivitySinceRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppListAppActivitySinceRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServiceListAppActivitySinceResponseTypedDict = TypeAliasType( + "AppServiceListAppActivitySinceResponseTypedDict", + Union[ + TextqlRPCPublicAppListAppActivitySinceResponseTypedDict, ConnectErrorTypedDict + ], +) + + +AppServiceListAppActivitySinceResponse = TypeAliasType( + "AppServiceListAppActivitySinceResponse", + Union[TextqlRPCPublicAppListAppActivitySinceResponse, ConnectError], +) + + +try: + AppServiceListAppActivitySinceRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/appservice_listmyappmemberactivityop.py b/src/textql_sdk/models/appservice_listmyappmemberactivityop.py new file mode 100644 index 0000000..1f16de2 --- /dev/null +++ b/src/textql_sdk/models/appservice_listmyappmemberactivityop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_app_listmyappmemberactivityrequest import ( + TextqlRPCPublicAppListMyAppMemberActivityRequest, + TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict, +) +from .textql_rpc_public_app_listmyappmemberactivityresponse import ( + TextqlRPCPublicAppListMyAppMemberActivityResponse, + TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServiceListMyAppMemberActivityRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServiceListMyAppMemberActivityRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppListMyAppMemberActivityRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServiceListMyAppMemberActivityResponseTypedDict = TypeAliasType( + "AppServiceListMyAppMemberActivityResponseTypedDict", + Union[ + TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +AppServiceListMyAppMemberActivityResponse = TypeAliasType( + "AppServiceListMyAppMemberActivityResponse", + Union[TextqlRPCPublicAppListMyAppMemberActivityResponse, ConnectError], +) + + +try: + AppServiceListMyAppMemberActivityRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/appservice_presenceheartbeatop.py b/src/textql_sdk/models/appservice_presenceheartbeatop.py new file mode 100644 index 0000000..94c16cc --- /dev/null +++ b/src/textql_sdk/models/appservice_presenceheartbeatop.py @@ -0,0 +1,79 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_app_presenceheartbeatrequest import ( + TextqlRPCPublicAppPresenceHeartbeatRequest, + TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServicePresenceHeartbeatRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServicePresenceHeartbeatRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppPresenceHeartbeatRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServicePresenceHeartbeatResponseTypedDict = TypeAliasType( + "AppServicePresenceHeartbeatResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +AppServicePresenceHeartbeatResponse = TypeAliasType( + "AppServicePresenceHeartbeatResponse", Union[GoogleProtobufEmpty, ConnectError] +) + + +try: + AppServicePresenceHeartbeatRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/appservice_recordappmemberactivityop.py b/src/textql_sdk/models/appservice_recordappmemberactivityop.py new file mode 100644 index 0000000..671940f --- /dev/null +++ b/src/textql_sdk/models/appservice_recordappmemberactivityop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_app_recordappmemberactivityrequest import ( + TextqlRPCPublicAppRecordAppMemberActivityRequest, + TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict, +) +from .textql_rpc_public_app_recordappmemberactivityresponse import ( + TextqlRPCPublicAppRecordAppMemberActivityResponse, + TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServiceRecordAppMemberActivityRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServiceRecordAppMemberActivityRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppRecordAppMemberActivityRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServiceRecordAppMemberActivityResponseTypedDict = TypeAliasType( + "AppServiceRecordAppMemberActivityResponseTypedDict", + Union[ + TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +AppServiceRecordAppMemberActivityResponse = TypeAliasType( + "AppServiceRecordAppMemberActivityResponse", + Union[TextqlRPCPublicAppRecordAppMemberActivityResponse, ConnectError], +) + + +try: + AppServiceRecordAppMemberActivityRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/appservice_setappmemberstateop.py b/src/textql_sdk/models/appservice_setappmemberstateop.py new file mode 100644 index 0000000..a6b04bd --- /dev/null +++ b/src/textql_sdk/models/appservice_setappmemberstateop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_app_setappmemberstaterequest import ( + TextqlRPCPublicAppSetAppMemberStateRequest, + TextqlRPCPublicAppSetAppMemberStateRequestTypedDict, +) +from .textql_rpc_public_app_setappmemberstateresponse import ( + TextqlRPCPublicAppSetAppMemberStateResponse, + TextqlRPCPublicAppSetAppMemberStateResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class AppServiceSetAppMemberStateRequestTypedDict(TypedDict): + body: TextqlRPCPublicAppSetAppMemberStateRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class AppServiceSetAppMemberStateRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicAppSetAppMemberStateRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +AppServiceSetAppMemberStateResponseTypedDict = TypeAliasType( + "AppServiceSetAppMemberStateResponseTypedDict", + Union[TextqlRPCPublicAppSetAppMemberStateResponseTypedDict, ConnectErrorTypedDict], +) + + +AppServiceSetAppMemberStateResponse = TypeAliasType( + "AppServiceSetAppMemberStateResponse", + Union[TextqlRPCPublicAppSetAppMemberStateResponse, ConnectError], +) + + +try: + AppServiceSetAppMemberStateRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/chatservice_getllmusageop.py b/src/textql_sdk/models/chatservice_getllmusageop.py index 9279082..2b7cbdb 100644 --- a/src/textql_sdk/models/chatservice_getllmusageop.py +++ b/src/textql_sdk/models/chatservice_getllmusageop.py @@ -67,13 +67,13 @@ def serialize_model(self, handler): ChatServiceGetLlmUsageResponseTypedDict = TypeAliasType( "ChatServiceGetLlmUsageResponseTypedDict", - Union[TextqlRPCPublicChatGetLlmUsageResponseTypedDict, ConnectErrorTypedDict], + Union[ConnectErrorTypedDict, TextqlRPCPublicChatGetLlmUsageResponseTypedDict], ) ChatServiceGetLlmUsageResponse = TypeAliasType( "ChatServiceGetLlmUsageResponse", - Union[TextqlRPCPublicChatGetLlmUsageResponse, ConnectError], + Union[ConnectError, TextqlRPCPublicChatGetLlmUsageResponse], ) diff --git a/src/textql_sdk/models/libraryservice_addlibrarysubmoduleop.py b/src/textql_sdk/models/libraryservice_addlibrarysubmoduleop.py deleted file mode 100644 index ad9ca4f..0000000 --- a/src/textql_sdk/models/libraryservice_addlibrarysubmoduleop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_addlibrarysubmodulerequest import ( - TextqlRPCPublicPatchesAddLibrarySubmoduleRequest, - TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict, -) -from .textql_rpc_public_patches_addlibrarysubmoduleresponse import ( - TextqlRPCPublicPatchesAddLibrarySubmoduleResponse, - TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceAddLibrarySubmoduleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceAddLibrarySubmoduleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesAddLibrarySubmoduleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceAddLibrarySubmoduleResponseTypedDict = TypeAliasType( - "LibraryServiceAddLibrarySubmoduleResponseTypedDict", - Union[ - TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceAddLibrarySubmoduleResponse = TypeAliasType( - "LibraryServiceAddLibrarySubmoduleResponse", - Union[TextqlRPCPublicPatchesAddLibrarySubmoduleResponse, ConnectError], -) - - -try: - LibraryServiceAddLibrarySubmoduleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_approvepatchop.py b/src/textql_sdk/models/libraryservice_approvepatchop.py deleted file mode 100644 index d5e9f59..0000000 --- a/src/textql_sdk/models/libraryservice_approvepatchop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_approvepatchrequest import ( - TextqlRPCPublicPatchesApprovePatchRequest, - TextqlRPCPublicPatchesApprovePatchRequestTypedDict, -) -from .textql_rpc_public_patches_approvepatchresponse import ( - TextqlRPCPublicPatchesApprovePatchResponse, - TextqlRPCPublicPatchesApprovePatchResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceApprovePatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesApprovePatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceApprovePatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesApprovePatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceApprovePatchResponseTypedDict = TypeAliasType( - "LibraryServiceApprovePatchResponseTypedDict", - Union[TextqlRPCPublicPatchesApprovePatchResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceApprovePatchResponse = TypeAliasType( - "LibraryServiceApprovePatchResponse", - Union[TextqlRPCPublicPatchesApprovePatchResponse, ConnectError], -) - - -try: - LibraryServiceApprovePatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_configurelibraryremoteop.py b/src/textql_sdk/models/libraryservice_configurelibraryremoteop.py deleted file mode 100644 index ef395ac..0000000 --- a/src/textql_sdk/models/libraryservice_configurelibraryremoteop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_configurelibraryremoterequest import ( - TextqlRPCPublicPatchesConfigureLibraryRemoteRequest, - TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict, -) -from .textql_rpc_public_patches_configurelibraryremoteresponse import ( - TextqlRPCPublicPatchesConfigureLibraryRemoteResponse, - TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceConfigureLibraryRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceConfigureLibraryRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesConfigureLibraryRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceConfigureLibraryRemoteResponseTypedDict = TypeAliasType( - "LibraryServiceConfigureLibraryRemoteResponseTypedDict", - Union[ - TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceConfigureLibraryRemoteResponse = TypeAliasType( - "LibraryServiceConfigureLibraryRemoteResponse", - Union[TextqlRPCPublicPatchesConfigureLibraryRemoteResponse, ConnectError], -) - - -try: - LibraryServiceConfigureLibraryRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_createapprovalruleop.py b/src/textql_sdk/models/libraryservice_createapprovalruleop.py deleted file mode 100644 index a0369f3..0000000 --- a/src/textql_sdk/models/libraryservice_createapprovalruleop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_createapprovalrulerequest import ( - TextqlRPCPublicPatchesCreateApprovalRuleRequest, - TextqlRPCPublicPatchesCreateApprovalRuleRequestTypedDict, -) -from .textql_rpc_public_patches_createapprovalruleresponse import ( - TextqlRPCPublicPatchesCreateApprovalRuleResponse, - TextqlRPCPublicPatchesCreateApprovalRuleResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceCreateApprovalRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesCreateApprovalRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceCreateApprovalRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesCreateApprovalRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceCreateApprovalRuleResponseTypedDict = TypeAliasType( - "LibraryServiceCreateApprovalRuleResponseTypedDict", - Union[ - TextqlRPCPublicPatchesCreateApprovalRuleResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceCreateApprovalRuleResponse = TypeAliasType( - "LibraryServiceCreateApprovalRuleResponse", - Union[TextqlRPCPublicPatchesCreateApprovalRuleResponse, ConnectError], -) - - -try: - LibraryServiceCreateApprovalRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_createcontextpatchautoapproveruleop.py b/src/textql_sdk/models/libraryservice_createcontextpatchautoapproveruleop.py deleted file mode 100644 index d39bade..0000000 --- a/src/textql_sdk/models/libraryservice_createcontextpatchautoapproveruleop.py +++ /dev/null @@ -1,88 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_createcontextpatchautoapproverulerequest import ( - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict, -) -from .textql_rpc_public_patches_createcontextpatchautoapproveruleresponse import ( - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceCreateContextPatchAutoApproveRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceCreateContextPatchAutoApproveRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceCreateContextPatchAutoApproveRuleResponseTypedDict = TypeAliasType( - "LibraryServiceCreateContextPatchAutoApproveRuleResponseTypedDict", - Union[ - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceCreateContextPatchAutoApproveRuleResponse = TypeAliasType( - "LibraryServiceCreateContextPatchAutoApproveRuleResponse", - Union[ - TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, ConnectError - ], -) - - -try: - LibraryServiceCreateContextPatchAutoApproveRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_createlibrarydirectoryop.py b/src/textql_sdk/models/libraryservice_createlibrarydirectoryop.py deleted file mode 100644 index f11456c..0000000 --- a/src/textql_sdk/models/libraryservice_createlibrarydirectoryop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_createlibrarydirectoryrequest import ( - TextqlRPCPublicPatchesCreateLibraryDirectoryRequest, - TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict, -) -from .textql_rpc_public_patches_createlibrarydirectoryresponse import ( - TextqlRPCPublicPatchesCreateLibraryDirectoryResponse, - TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceCreateLibraryDirectoryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceCreateLibraryDirectoryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesCreateLibraryDirectoryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceCreateLibraryDirectoryResponseTypedDict = TypeAliasType( - "LibraryServiceCreateLibraryDirectoryResponseTypedDict", - Union[ - TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceCreateLibraryDirectoryResponse = TypeAliasType( - "LibraryServiceCreateLibraryDirectoryResponse", - Union[TextqlRPCPublicPatchesCreateLibraryDirectoryResponse, ConnectError], -) - - -try: - LibraryServiceCreateLibraryDirectoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_createlibraryfileuploadurlop.py b/src/textql_sdk/models/libraryservice_createlibraryfileuploadurlop.py deleted file mode 100644 index 18368a2..0000000 --- a/src/textql_sdk/models/libraryservice_createlibraryfileuploadurlop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_createlibraryfileuploadurlrequest import ( - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict, -) -from .textql_rpc_public_patches_createlibraryfileuploadurlresponse import ( - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse, - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceCreateLibraryFileUploadURLRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceCreateLibraryFileUploadURLRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceCreateLibraryFileUploadURLResponseTypedDict = TypeAliasType( - "LibraryServiceCreateLibraryFileUploadURLResponseTypedDict", - Union[ - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceCreateLibraryFileUploadURLResponse = TypeAliasType( - "LibraryServiceCreateLibraryFileUploadURLResponse", - Union[TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse, ConnectError], -) - - -try: - LibraryServiceCreateLibraryFileUploadURLRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_deleteapprovalruleop.py b/src/textql_sdk/models/libraryservice_deleteapprovalruleop.py deleted file mode 100644 index 160c8a2..0000000 --- a/src/textql_sdk/models/libraryservice_deleteapprovalruleop.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_deleteapprovalrulerequest import ( - TextqlRPCPublicPatchesDeleteApprovalRuleRequest, - TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDeleteApprovalRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDeleteApprovalRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDeleteApprovalRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDeleteApprovalRuleResponseTypedDict = TypeAliasType( - "LibraryServiceDeleteApprovalRuleResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDeleteApprovalRuleResponse = TypeAliasType( - "LibraryServiceDeleteApprovalRuleResponse", Union[GoogleProtobufEmpty, ConnectError] -) - - -try: - LibraryServiceDeleteApprovalRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_deletecontextpatchautoapproveruleop.py b/src/textql_sdk/models/libraryservice_deletecontextpatchautoapproveruleop.py deleted file mode 100644 index f7bc7f9..0000000 --- a/src/textql_sdk/models/libraryservice_deletecontextpatchautoapproveruleop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_deletecontextpatchautoapproverulerequest import ( - TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, - TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDeleteContextPatchAutoApproveRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDeleteContextPatchAutoApproveRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDeleteContextPatchAutoApproveRuleResponseTypedDict = TypeAliasType( - "LibraryServiceDeleteContextPatchAutoApproveRuleResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDeleteContextPatchAutoApproveRuleResponse = TypeAliasType( - "LibraryServiceDeleteContextPatchAutoApproveRuleResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceDeleteContextPatchAutoApproveRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_deletelibrarydirectoryop.py b/src/textql_sdk/models/libraryservice_deletelibrarydirectoryop.py deleted file mode 100644 index 22d856d..0000000 --- a/src/textql_sdk/models/libraryservice_deletelibrarydirectoryop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_deletelibrarydirectoryrequest import ( - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest, - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDeleteLibraryDirectoryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDeleteLibraryDirectoryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDeleteLibraryDirectoryResponseTypedDict = TypeAliasType( - "LibraryServiceDeleteLibraryDirectoryResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDeleteLibraryDirectoryResponse = TypeAliasType( - "LibraryServiceDeleteLibraryDirectoryResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceDeleteLibraryDirectoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_deletelibraryfileop.py b/src/textql_sdk/models/libraryservice_deletelibraryfileop.py deleted file mode 100644 index 9b80520..0000000 --- a/src/textql_sdk/models/libraryservice_deletelibraryfileop.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_deletelibraryfilerequest import ( - TextqlRPCPublicPatchesDeleteLibraryFileRequest, - TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDeleteLibraryFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDeleteLibraryFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDeleteLibraryFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDeleteLibraryFileResponseTypedDict = TypeAliasType( - "LibraryServiceDeleteLibraryFileResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDeleteLibraryFileResponse = TypeAliasType( - "LibraryServiceDeleteLibraryFileResponse", Union[GoogleProtobufEmpty, ConnectError] -) - - -try: - LibraryServiceDeleteLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_deletelibraryownersop.py b/src/textql_sdk/models/libraryservice_deletelibraryownersop.py deleted file mode 100644 index 6f02e23..0000000 --- a/src/textql_sdk/models/libraryservice_deletelibraryownersop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_deletelibraryownersrequest import ( - TextqlRPCPublicPatchesDeleteLibraryOwnersRequest, - TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDeleteLibraryOwnersRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDeleteLibraryOwnersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDeleteLibraryOwnersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDeleteLibraryOwnersResponseTypedDict = TypeAliasType( - "LibraryServiceDeleteLibraryOwnersResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDeleteLibraryOwnersResponse = TypeAliasType( - "LibraryServiceDeleteLibraryOwnersResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceDeleteLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_denypatchop.py b/src/textql_sdk/models/libraryservice_denypatchop.py deleted file mode 100644 index b3a6dff..0000000 --- a/src/textql_sdk/models/libraryservice_denypatchop.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_denypatchrequest import ( - TextqlRPCPublicPatchesDenyPatchRequest, - TextqlRPCPublicPatchesDenyPatchRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceDenyPatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesDenyPatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceDenyPatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesDenyPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceDenyPatchResponseTypedDict = TypeAliasType( - "LibraryServiceDenyPatchResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceDenyPatchResponse = TypeAliasType( - "LibraryServiceDenyPatchResponse", Union[GoogleProtobufEmpty, ConnectError] -) - - -try: - LibraryServiceDenyPatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_exchangelibrarygithubcodeop.py b/src/textql_sdk/models/libraryservice_exchangelibrarygithubcodeop.py deleted file mode 100644 index 267ffcf..0000000 --- a/src/textql_sdk/models/libraryservice_exchangelibrarygithubcodeop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_exchangelibrarygithubcoderequest import ( - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest, - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict, -) -from .textql_rpc_public_patches_exchangelibrarygithubcoderesponse import ( - TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse, - TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceExchangeLibraryGithubCodeRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceExchangeLibraryGithubCodeRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceExchangeLibraryGithubCodeResponseTypedDict = TypeAliasType( - "LibraryServiceExchangeLibraryGithubCodeResponseTypedDict", - Union[ - TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceExchangeLibraryGithubCodeResponse = TypeAliasType( - "LibraryServiceExchangeLibraryGithubCodeResponse", - Union[TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse, ConnectError], -) - - -try: - LibraryServiceExchangeLibraryGithubCodeRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_finalizelibraryfileuploadop.py b/src/textql_sdk/models/libraryservice_finalizelibraryfileuploadop.py deleted file mode 100644 index ffc3736..0000000 --- a/src/textql_sdk/models/libraryservice_finalizelibraryfileuploadop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_finalizelibraryfileuploadrequest import ( - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest, - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict, -) -from .textql_rpc_public_patches_finalizelibraryfileuploadresponse import ( - TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse, - TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceFinalizeLibraryFileUploadRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceFinalizeLibraryFileUploadRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceFinalizeLibraryFileUploadResponseTypedDict = TypeAliasType( - "LibraryServiceFinalizeLibraryFileUploadResponseTypedDict", - Union[ - TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceFinalizeLibraryFileUploadResponse = TypeAliasType( - "LibraryServiceFinalizeLibraryFileUploadResponse", - Union[TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse, ConnectError], -) - - -try: - LibraryServiceFinalizeLibraryFileUploadRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getcodeownercoverageop.py b/src/textql_sdk/models/libraryservice_getcodeownercoverageop.py deleted file mode 100644 index 504ea84..0000000 --- a/src/textql_sdk/models/libraryservice_getcodeownercoverageop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getcodeownercoveragerequest import ( - TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, -) -from .textql_rpc_public_patches_getcodeownercoverageresponse import ( - TextqlRPCPublicPatchesGetCodeownerCoverageResponse, - TextqlRPCPublicPatchesGetCodeownerCoverageResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetCodeownerCoverageRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetCodeownerCoverageRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetCodeownerCoverageRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetCodeownerCoverageResponseTypedDict = TypeAliasType( - "LibraryServiceGetCodeownerCoverageResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetCodeownerCoverageResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetCodeownerCoverageResponse = TypeAliasType( - "LibraryServiceGetCodeownerCoverageResponse", - Union[TextqlRPCPublicPatchesGetCodeownerCoverageResponse, ConnectError], -) - - -try: - LibraryServiceGetCodeownerCoverageRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getconfigexportcapabilitiesop.py b/src/textql_sdk/models/libraryservice_getconfigexportcapabilitiesop.py deleted file mode 100644 index 3abfca6..0000000 --- a/src/textql_sdk/models/libraryservice_getconfigexportcapabilitiesop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getconfigexportcapabilitiesrequest import ( - TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, -) -from .textql_rpc_public_patches_getconfigexportcapabilitiesresponse import ( - TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, - TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetConfigExportCapabilitiesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetConfigExportCapabilitiesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetConfigExportCapabilitiesResponseTypedDict = TypeAliasType( - "LibraryServiceGetConfigExportCapabilitiesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetConfigExportCapabilitiesResponse = TypeAliasType( - "LibraryServiceGetConfigExportCapabilitiesResponse", - Union[TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, ConnectError], -) - - -try: - LibraryServiceGetConfigExportCapabilitiesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_geteffectivelibraryownersop.py b/src/textql_sdk/models/libraryservice_geteffectivelibraryownersop.py deleted file mode 100644 index ffee49c..0000000 --- a/src/textql_sdk/models/libraryservice_geteffectivelibraryownersop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_geteffectivelibraryownersrequest import ( - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest, - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict, -) -from .textql_rpc_public_patches_geteffectivelibraryownersresponse import ( - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse, - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetEffectiveLibraryOwnersRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetEffectiveLibraryOwnersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetEffectiveLibraryOwnersResponseTypedDict = TypeAliasType( - "LibraryServiceGetEffectiveLibraryOwnersResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetEffectiveLibraryOwnersResponse = TypeAliasType( - "LibraryServiceGetEffectiveLibraryOwnersResponse", - Union[TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse, ConnectError], -) - - -try: - LibraryServiceGetEffectiveLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getfileusageop.py b/src/textql_sdk/models/libraryservice_getfileusageop.py deleted file mode 100644 index 605694d..0000000 --- a/src/textql_sdk/models/libraryservice_getfileusageop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getfileusagerequest import ( - TextqlRPCPublicPatchesGetFileUsageRequest, - TextqlRPCPublicPatchesGetFileUsageRequestTypedDict, -) -from .textql_rpc_public_patches_getfileusageresponse import ( - TextqlRPCPublicPatchesGetFileUsageResponse, - TextqlRPCPublicPatchesGetFileUsageResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetFileUsageRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetFileUsageRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetFileUsageRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetFileUsageRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetFileUsageResponseTypedDict = TypeAliasType( - "LibraryServiceGetFileUsageResponseTypedDict", - Union[TextqlRPCPublicPatchesGetFileUsageResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceGetFileUsageResponse = TypeAliasType( - "LibraryServiceGetFileUsageResponse", - Union[TextqlRPCPublicPatchesGetFileUsageResponse, ConnectError], -) - - -try: - LibraryServiceGetFileUsageRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getfileusagetimelineop.py b/src/textql_sdk/models/libraryservice_getfileusagetimelineop.py deleted file mode 100644 index ca5b687..0000000 --- a/src/textql_sdk/models/libraryservice_getfileusagetimelineop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getfileusagetimelinerequest import ( - TextqlRPCPublicPatchesGetFileUsageTimelineRequest, - TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict, -) -from .textql_rpc_public_patches_getfileusagetimelineresponse import ( - TextqlRPCPublicPatchesGetFileUsageTimelineResponse, - TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetFileUsageTimelineRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetFileUsageTimelineRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetFileUsageTimelineRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetFileUsageTimelineResponseTypedDict = TypeAliasType( - "LibraryServiceGetFileUsageTimelineResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetFileUsageTimelineResponse = TypeAliasType( - "LibraryServiceGetFileUsageTimelineResponse", - Union[TextqlRPCPublicPatchesGetFileUsageTimelineResponse, ConnectError], -) - - -try: - LibraryServiceGetFileUsageTimelineRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibraryanaconfigop.py b/src/textql_sdk/models/libraryservice_getlibraryanaconfigop.py deleted file mode 100644 index 656d14a..0000000 --- a/src/textql_sdk/models/libraryservice_getlibraryanaconfigop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibraryanaconfigrequest import ( - TextqlRPCPublicPatchesGetLibraryAnaConfigRequest, - TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict, -) -from .textql_rpc_public_patches_getlibraryanaconfigresponse import ( - TextqlRPCPublicPatchesGetLibraryAnaConfigResponse, - TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryAnaConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryAnaConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryAnaConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryAnaConfigResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryAnaConfigResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetLibraryAnaConfigResponse = TypeAliasType( - "LibraryServiceGetLibraryAnaConfigResponse", - Union[TextqlRPCPublicPatchesGetLibraryAnaConfigResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryAnaConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibraryfileop.py b/src/textql_sdk/models/libraryservice_getlibraryfileop.py deleted file mode 100644 index d67bb4e..0000000 --- a/src/textql_sdk/models/libraryservice_getlibraryfileop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibraryfilerequest import ( - TextqlRPCPublicPatchesGetLibraryFileRequest, - TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict, -) -from .textql_rpc_public_patches_getlibraryfileresponse import ( - TextqlRPCPublicPatchesGetLibraryFileResponse, - TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryFileResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryFileResponseTypedDict", - Union[TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceGetLibraryFileResponse = TypeAliasType( - "LibraryServiceGetLibraryFileResponse", - Union[TextqlRPCPublicPatchesGetLibraryFileResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibrarygithuboauthurlop.py b/src/textql_sdk/models/libraryservice_getlibrarygithuboauthurlop.py deleted file mode 100644 index 8b5fdc6..0000000 --- a/src/textql_sdk/models/libraryservice_getlibrarygithuboauthurlop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibrarygithuboauthurlrequest import ( - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest, - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict, -) -from .textql_rpc_public_patches_getlibrarygithuboauthurlresponse import ( - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse, - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryGithubOAuthURLRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryGithubOAuthURLRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryGithubOAuthURLResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryGithubOAuthURLResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetLibraryGithubOAuthURLResponse = TypeAliasType( - "LibraryServiceGetLibraryGithubOAuthURLResponse", - Union[TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryGithubOAuthURLRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibraryhistoryfilediffop.py b/src/textql_sdk/models/libraryservice_getlibraryhistoryfilediffop.py deleted file mode 100644 index c8d34fb..0000000 --- a/src/textql_sdk/models/libraryservice_getlibraryhistoryfilediffop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibraryhistoryfilediffrequest import ( - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest, - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict, -) -from .textql_rpc_public_patches_getlibraryhistoryfilediffresponse import ( - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse, - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryHistoryFileDiffRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryHistoryFileDiffRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryHistoryFileDiffResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryHistoryFileDiffResponseTypedDict", - Union[ - ConnectErrorTypedDict, - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict, - ], -) - - -LibraryServiceGetLibraryHistoryFileDiffResponse = TypeAliasType( - "LibraryServiceGetLibraryHistoryFileDiffResponse", - Union[ConnectError, TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse], -) - - -try: - LibraryServiceGetLibraryHistoryFileDiffRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibrarymigrationstatusop.py b/src/textql_sdk/models/libraryservice_getlibrarymigrationstatusop.py deleted file mode 100644 index 4453339..0000000 --- a/src/textql_sdk/models/libraryservice_getlibrarymigrationstatusop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibrarymigrationstatusrequest import ( - TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict, -) -from .textql_rpc_public_patches_getlibrarymigrationstatusresponse import ( - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse, - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryMigrationStatusRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryMigrationStatusRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryMigrationStatusResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryMigrationStatusResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetLibraryMigrationStatusResponse = TypeAliasType( - "LibraryServiceGetLibraryMigrationStatusResponse", - Union[TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryMigrationStatusRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibraryownersop.py b/src/textql_sdk/models/libraryservice_getlibraryownersop.py deleted file mode 100644 index ad862cd..0000000 --- a/src/textql_sdk/models/libraryservice_getlibraryownersop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibraryownersrequest import ( - TextqlRPCPublicPatchesGetLibraryOwnersRequest, - TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict, -) -from .textql_rpc_public_patches_getlibraryownersresponse import ( - TextqlRPCPublicPatchesGetLibraryOwnersResponse, - TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryOwnersRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryOwnersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryOwnersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryOwnersResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryOwnersResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceGetLibraryOwnersResponse = TypeAliasType( - "LibraryServiceGetLibraryOwnersResponse", - Union[TextqlRPCPublicPatchesGetLibraryOwnersResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibraryremoteop.py b/src/textql_sdk/models/libraryservice_getlibraryremoteop.py deleted file mode 100644 index f58a13e..0000000 --- a/src/textql_sdk/models/libraryservice_getlibraryremoteop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibraryremoterequest import ( - TextqlRPCPublicPatchesGetLibraryRemoteRequest, - TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict, -) -from .textql_rpc_public_patches_getlibraryremoteresponse import ( - TextqlRPCPublicPatchesGetLibraryRemoteResponse, - TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibraryRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibraryRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibraryRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibraryRemoteResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibraryRemoteResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceGetLibraryRemoteResponse = TypeAliasType( - "LibraryServiceGetLibraryRemoteResponse", - Union[TextqlRPCPublicPatchesGetLibraryRemoteResponse, ConnectError], -) - - -try: - LibraryServiceGetLibraryRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibrarysizetimelineop.py b/src/textql_sdk/models/libraryservice_getlibrarysizetimelineop.py deleted file mode 100644 index 72d171e..0000000 --- a/src/textql_sdk/models/libraryservice_getlibrarysizetimelineop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibrarysizetimelinerequest import ( - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest, - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict, -) -from .textql_rpc_public_patches_getlibrarysizetimelineresponse import ( - TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse, - TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibrarySizeTimelineRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibrarySizeTimelineRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibrarySizeTimelineResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibrarySizeTimelineResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetLibrarySizeTimelineResponse = TypeAliasType( - "LibraryServiceGetLibrarySizeTimelineResponse", - Union[TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse, ConnectError], -) - - -try: - LibraryServiceGetLibrarySizeTimelineRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getlibrarysyncconflictsop.py b/src/textql_sdk/models/libraryservice_getlibrarysyncconflictsop.py deleted file mode 100644 index fa8a768..0000000 --- a/src/textql_sdk/models/libraryservice_getlibrarysyncconflictsop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getlibrarysyncconflictsrequest import ( - TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict, -) -from .textql_rpc_public_patches_getlibrarysyncconflictsresponse import ( - TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse, - TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetLibrarySyncConflictsRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetLibrarySyncConflictsRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetLibrarySyncConflictsResponseTypedDict = TypeAliasType( - "LibraryServiceGetLibrarySyncConflictsResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetLibrarySyncConflictsResponse = TypeAliasType( - "LibraryServiceGetLibrarySyncConflictsResponse", - Union[TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse, ConnectError], -) - - -try: - LibraryServiceGetLibrarySyncConflictsRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getontologyusagesummaryop.py b/src/textql_sdk/models/libraryservice_getontologyusagesummaryop.py deleted file mode 100644 index 54acb8d..0000000 --- a/src/textql_sdk/models/libraryservice_getontologyusagesummaryop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getontologyusagesummaryrequest import ( - TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, - TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict, -) -from .textql_rpc_public_patches_getontologyusagesummaryresponse import ( - TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, - TextqlRPCPublicPatchesGetOntologyUsageSummaryResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetOntologyUsageSummaryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetOntologyUsageSummaryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetOntologyUsageSummaryResponseTypedDict = TypeAliasType( - "LibraryServiceGetOntologyUsageSummaryResponseTypedDict", - Union[ - ConnectErrorTypedDict, - TextqlRPCPublicPatchesGetOntologyUsageSummaryResponseTypedDict, - ], -) - - -LibraryServiceGetOntologyUsageSummaryResponse = TypeAliasType( - "LibraryServiceGetOntologyUsageSummaryResponse", - Union[ConnectError, TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse], -) - - -try: - LibraryServiceGetOntologyUsageSummaryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getpatchbynumberop.py b/src/textql_sdk/models/libraryservice_getpatchbynumberop.py deleted file mode 100644 index 4be490d..0000000 --- a/src/textql_sdk/models/libraryservice_getpatchbynumberop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getpatchbynumberrequest import ( - TextqlRPCPublicPatchesGetPatchByNumberRequest, - TextqlRPCPublicPatchesGetPatchByNumberRequestTypedDict, -) -from .textql_rpc_public_patches_patch import ( - TextqlRPCPublicPatchesPatch, - TextqlRPCPublicPatchesPatchTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetPatchByNumberRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetPatchByNumberRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetPatchByNumberRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetPatchByNumberRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetPatchByNumberResponseTypedDict = TypeAliasType( - "LibraryServiceGetPatchByNumberResponseTypedDict", - Union[ConnectErrorTypedDict, TextqlRPCPublicPatchesPatchTypedDict], -) - - -LibraryServiceGetPatchByNumberResponse = TypeAliasType( - "LibraryServiceGetPatchByNumberResponse", - Union[ConnectError, TextqlRPCPublicPatchesPatch], -) - - -try: - LibraryServiceGetPatchByNumberRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getpatchcapabilitiesop.py b/src/textql_sdk/models/libraryservice_getpatchcapabilitiesop.py deleted file mode 100644 index cc4767d..0000000 --- a/src/textql_sdk/models/libraryservice_getpatchcapabilitiesop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getpatchcapabilitiesrequest import ( - TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, - TextqlRPCPublicPatchesGetPatchCapabilitiesRequestTypedDict, -) -from .textql_rpc_public_patches_getpatchcapabilitiesresponse import ( - TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, - TextqlRPCPublicPatchesGetPatchCapabilitiesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetPatchCapabilitiesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetPatchCapabilitiesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetPatchCapabilitiesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetPatchCapabilitiesResponseTypedDict = TypeAliasType( - "LibraryServiceGetPatchCapabilitiesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetPatchCapabilitiesResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetPatchCapabilitiesResponse = TypeAliasType( - "LibraryServiceGetPatchCapabilitiesResponse", - Union[TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, ConnectError], -) - - -try: - LibraryServiceGetPatchCapabilitiesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getpatchop.py b/src/textql_sdk/models/libraryservice_getpatchop.py deleted file mode 100644 index 9bda9c7..0000000 --- a/src/textql_sdk/models/libraryservice_getpatchop.py +++ /dev/null @@ -1,82 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getpatchrequest import ( - TextqlRPCPublicPatchesGetPatchRequest, - TextqlRPCPublicPatchesGetPatchRequestTypedDict, -) -from .textql_rpc_public_patches_patch import ( - TextqlRPCPublicPatchesPatch, - TextqlRPCPublicPatchesPatchTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetPatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetPatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetPatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetPatchResponseTypedDict = TypeAliasType( - "LibraryServiceGetPatchResponseTypedDict", - Union[ConnectErrorTypedDict, TextqlRPCPublicPatchesPatchTypedDict], -) - - -LibraryServiceGetPatchResponse = TypeAliasType( - "LibraryServiceGetPatchResponse", Union[ConnectError, TextqlRPCPublicPatchesPatch] -) - - -try: - LibraryServiceGetPatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getrawpatchop.py b/src/textql_sdk/models/libraryservice_getrawpatchop.py deleted file mode 100644 index b117c1f..0000000 --- a/src/textql_sdk/models/libraryservice_getrawpatchop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getrawpatchrequest import ( - TextqlRPCPublicPatchesGetRawPatchRequest, - TextqlRPCPublicPatchesGetRawPatchRequestTypedDict, -) -from .textql_rpc_public_patches_getrawpatchresponse import ( - TextqlRPCPublicPatchesGetRawPatchResponse, - TextqlRPCPublicPatchesGetRawPatchResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetRawPatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetRawPatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetRawPatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetRawPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetRawPatchResponseTypedDict = TypeAliasType( - "LibraryServiceGetRawPatchResponseTypedDict", - Union[TextqlRPCPublicPatchesGetRawPatchResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceGetRawPatchResponse = TypeAliasType( - "LibraryServiceGetRawPatchResponse", - Union[TextqlRPCPublicPatchesGetRawPatchResponse, ConnectError], -) - - -try: - LibraryServiceGetRawPatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_getusagedetailsforfileop.py b/src/textql_sdk/models/libraryservice_getusagedetailsforfileop.py deleted file mode 100644 index 9dfcde7..0000000 --- a/src/textql_sdk/models/libraryservice_getusagedetailsforfileop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_getusagedetailsforfilerequest import ( - TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, - TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict, -) -from .textql_rpc_public_patches_getusagedetailsforfileresponse import ( - TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, - TextqlRPCPublicPatchesGetUsageDetailsForFileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceGetUsageDetailsForFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceGetUsageDetailsForFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceGetUsageDetailsForFileResponseTypedDict = TypeAliasType( - "LibraryServiceGetUsageDetailsForFileResponseTypedDict", - Union[ - TextqlRPCPublicPatchesGetUsageDetailsForFileResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceGetUsageDetailsForFileResponse = TypeAliasType( - "LibraryServiceGetUsageDetailsForFileResponse", - Union[TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, ConnectError], -) - - -try: - LibraryServiceGetUsageDetailsForFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listapprovalrulesop.py b/src/textql_sdk/models/libraryservice_listapprovalrulesop.py deleted file mode 100644 index 0ef502a..0000000 --- a/src/textql_sdk/models/libraryservice_listapprovalrulesop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listapprovalrulesrequest import ( - TextqlRPCPublicPatchesListApprovalRulesRequest, - TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, -) -from .textql_rpc_public_patches_listapprovalrulesresponse import ( - TextqlRPCPublicPatchesListApprovalRulesResponse, - TextqlRPCPublicPatchesListApprovalRulesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListApprovalRulesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListApprovalRulesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListApprovalRulesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListApprovalRulesResponseTypedDict = TypeAliasType( - "LibraryServiceListApprovalRulesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListApprovalRulesResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListApprovalRulesResponse = TypeAliasType( - "LibraryServiceListApprovalRulesResponse", - Union[TextqlRPCPublicPatchesListApprovalRulesResponse, ConnectError], -) - - -try: - LibraryServiceListApprovalRulesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listchatsforfileop.py b/src/textql_sdk/models/libraryservice_listchatsforfileop.py deleted file mode 100644 index ee3f3ad..0000000 --- a/src/textql_sdk/models/libraryservice_listchatsforfileop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listchatsforfilerequest import ( - TextqlRPCPublicPatchesListChatsForFileRequest, - TextqlRPCPublicPatchesListChatsForFileRequestTypedDict, -) -from .textql_rpc_public_patches_listchatsforfileresponse import ( - TextqlRPCPublicPatchesListChatsForFileResponse, - TextqlRPCPublicPatchesListChatsForFileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListChatsForFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListChatsForFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListChatsForFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListChatsForFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListChatsForFileResponseTypedDict = TypeAliasType( - "LibraryServiceListChatsForFileResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListChatsForFileResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListChatsForFileResponse = TypeAliasType( - "LibraryServiceListChatsForFileResponse", - Union[TextqlRPCPublicPatchesListChatsForFileResponse, ConnectError], -) - - -try: - LibraryServiceListChatsForFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listcontextpatchautoapproverulesop.py b/src/textql_sdk/models/libraryservice_listcontextpatchautoapproverulesop.py deleted file mode 100644 index 5d1bb32..0000000 --- a/src/textql_sdk/models/libraryservice_listcontextpatchautoapproverulesop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listcontextpatchautoapproverulesrequest import ( - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, -) -from .textql_rpc_public_patches_listcontextpatchautoapproverulesresponse import ( - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListContextPatchAutoApproveRulesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListContextPatchAutoApproveRulesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListContextPatchAutoApproveRulesResponseTypedDict = TypeAliasType( - "LibraryServiceListContextPatchAutoApproveRulesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceListContextPatchAutoApproveRulesResponse = TypeAliasType( - "LibraryServiceListContextPatchAutoApproveRulesResponse", - Union[TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, ConnectError], -) - - -try: - LibraryServiceListContextPatchAutoApproveRulesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listgoldenfilesop.py b/src/textql_sdk/models/libraryservice_listgoldenfilesop.py deleted file mode 100644 index a999a86..0000000 --- a/src/textql_sdk/models/libraryservice_listgoldenfilesop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listgoldenfilesrequest import ( - TextqlRPCPublicPatchesListGoldenFilesRequest, - TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, -) -from .textql_rpc_public_patches_listgoldenfilesresponse import ( - TextqlRPCPublicPatchesListGoldenFilesResponse, - TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListGoldenFilesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListGoldenFilesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListGoldenFilesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListGoldenFilesResponseTypedDict = TypeAliasType( - "LibraryServiceListGoldenFilesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListGoldenFilesResponse = TypeAliasType( - "LibraryServiceListGoldenFilesResponse", - Union[TextqlRPCPublicPatchesListGoldenFilesResponse, ConnectError], -) - - -try: - LibraryServiceListGoldenFilesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listlibraryentriesop.py b/src/textql_sdk/models/libraryservice_listlibraryentriesop.py deleted file mode 100644 index 2862ed2..0000000 --- a/src/textql_sdk/models/libraryservice_listlibraryentriesop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listlibraryentriesrequest import ( - TextqlRPCPublicPatchesListLibraryEntriesRequest, - TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict, -) -from .textql_rpc_public_patches_listlibraryentriesresponse import ( - TextqlRPCPublicPatchesListLibraryEntriesResponse, - TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListLibraryEntriesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListLibraryEntriesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListLibraryEntriesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListLibraryEntriesResponseTypedDict = TypeAliasType( - "LibraryServiceListLibraryEntriesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListLibraryEntriesResponse = TypeAliasType( - "LibraryServiceListLibraryEntriesResponse", - Union[TextqlRPCPublicPatchesListLibraryEntriesResponse, ConnectError], -) - - -try: - LibraryServiceListLibraryEntriesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listlibraryhistoryop.py b/src/textql_sdk/models/libraryservice_listlibraryhistoryop.py deleted file mode 100644 index 3342be1..0000000 --- a/src/textql_sdk/models/libraryservice_listlibraryhistoryop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listlibraryhistoryrequest import ( - TextqlRPCPublicPatchesListLibraryHistoryRequest, - TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict, -) -from .textql_rpc_public_patches_listlibraryhistoryresponse import ( - TextqlRPCPublicPatchesListLibraryHistoryResponse, - TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListLibraryHistoryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListLibraryHistoryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListLibraryHistoryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListLibraryHistoryResponseTypedDict = TypeAliasType( - "LibraryServiceListLibraryHistoryResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListLibraryHistoryResponse = TypeAliasType( - "LibraryServiceListLibraryHistoryResponse", - Union[TextqlRPCPublicPatchesListLibraryHistoryResponse, ConnectError], -) - - -try: - LibraryServiceListLibraryHistoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listlibraryimportsop.py b/src/textql_sdk/models/libraryservice_listlibraryimportsop.py deleted file mode 100644 index 4b938b6..0000000 --- a/src/textql_sdk/models/libraryservice_listlibraryimportsop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listlibraryimportsrequest import ( - TextqlRPCPublicPatchesListLibraryImportsRequest, - TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict, -) -from .textql_rpc_public_patches_listlibraryimportsresponse import ( - TextqlRPCPublicPatchesListLibraryImportsResponse, - TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListLibraryImportsRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListLibraryImportsRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListLibraryImportsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListLibraryImportsResponseTypedDict = TypeAliasType( - "LibraryServiceListLibraryImportsResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListLibraryImportsResponse = TypeAliasType( - "LibraryServiceListLibraryImportsResponse", - Union[TextqlRPCPublicPatchesListLibraryImportsResponse, ConnectError], -) - - -try: - LibraryServiceListLibraryImportsRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listlibrarysubmodulesop.py b/src/textql_sdk/models/libraryservice_listlibrarysubmodulesop.py deleted file mode 100644 index fbb161a..0000000 --- a/src/textql_sdk/models/libraryservice_listlibrarysubmodulesop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listlibrarysubmodulesrequest import ( - TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict, -) -from .textql_rpc_public_patches_listlibrarysubmodulesresponse import ( - TextqlRPCPublicPatchesListLibrarySubmodulesResponse, - TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListLibrarySubmodulesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListLibrarySubmodulesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListLibrarySubmodulesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListLibrarySubmodulesResponseTypedDict = TypeAliasType( - "LibraryServiceListLibrarySubmodulesResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceListLibrarySubmodulesResponse = TypeAliasType( - "LibraryServiceListLibrarySubmodulesResponse", - Union[TextqlRPCPublicPatchesListLibrarySubmodulesResponse, ConnectError], -) - - -try: - LibraryServiceListLibrarySubmodulesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listlibrarysyncrunsop.py b/src/textql_sdk/models/libraryservice_listlibrarysyncrunsop.py deleted file mode 100644 index 0e55c3c..0000000 --- a/src/textql_sdk/models/libraryservice_listlibrarysyncrunsop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listlibrarysyncrunsrequest import ( - TextqlRPCPublicPatchesListLibrarySyncRunsRequest, - TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict, -) -from .textql_rpc_public_patches_listlibrarysyncrunsresponse import ( - TextqlRPCPublicPatchesListLibrarySyncRunsResponse, - TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListLibrarySyncRunsRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListLibrarySyncRunsRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListLibrarySyncRunsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListLibrarySyncRunsResponseTypedDict = TypeAliasType( - "LibraryServiceListLibrarySyncRunsResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceListLibrarySyncRunsResponse = TypeAliasType( - "LibraryServiceListLibrarySyncRunsResponse", - Union[TextqlRPCPublicPatchesListLibrarySyncRunsResponse, ConnectError], -) - - -try: - LibraryServiceListLibrarySyncRunsRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listpatchesop.py b/src/textql_sdk/models/libraryservice_listpatchesop.py deleted file mode 100644 index a44a8bf..0000000 --- a/src/textql_sdk/models/libraryservice_listpatchesop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listpatchesrequest import ( - TextqlRPCPublicPatchesListPatchesRequest, - TextqlRPCPublicPatchesListPatchesRequestTypedDict, -) -from .textql_rpc_public_patches_listpatchesresponse import ( - TextqlRPCPublicPatchesListPatchesResponse, - TextqlRPCPublicPatchesListPatchesResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListPatchesRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListPatchesRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListPatchesRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListPatchesRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListPatchesResponseTypedDict = TypeAliasType( - "LibraryServiceListPatchesResponseTypedDict", - Union[TextqlRPCPublicPatchesListPatchesResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceListPatchesResponse = TypeAliasType( - "LibraryServiceListPatchesResponse", - Union[TextqlRPCPublicPatchesListPatchesResponse, ConnectError], -) - - -try: - LibraryServiceListPatchesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listpatchreviewersop.py b/src/textql_sdk/models/libraryservice_listpatchreviewersop.py deleted file mode 100644 index d43c605..0000000 --- a/src/textql_sdk/models/libraryservice_listpatchreviewersop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listpatchreviewersrequest import ( - TextqlRPCPublicPatchesListPatchReviewersRequest, - TextqlRPCPublicPatchesListPatchReviewersRequestTypedDict, -) -from .textql_rpc_public_patches_listpatchreviewersresponse import ( - TextqlRPCPublicPatchesListPatchReviewersResponse, - TextqlRPCPublicPatchesListPatchReviewersResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListPatchReviewersRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListPatchReviewersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListPatchReviewersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListPatchReviewersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListPatchReviewersResponseTypedDict = TypeAliasType( - "LibraryServiceListPatchReviewersResponseTypedDict", - Union[ - TextqlRPCPublicPatchesListPatchReviewersResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceListPatchReviewersResponse = TypeAliasType( - "LibraryServiceListPatchReviewersResponse", - Union[TextqlRPCPublicPatchesListPatchReviewersResponse, ConnectError], -) - - -try: - LibraryServiceListPatchReviewersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_listskillsop.py b/src/textql_sdk/models/libraryservice_listskillsop.py deleted file mode 100644 index dc6992d..0000000 --- a/src/textql_sdk/models/libraryservice_listskillsop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_listskillsrequest import ( - TextqlRPCPublicPatchesListSkillsRequest, - TextqlRPCPublicPatchesListSkillsRequestTypedDict, -) -from .textql_rpc_public_patches_listskillsresponse import ( - TextqlRPCPublicPatchesListSkillsResponse, - TextqlRPCPublicPatchesListSkillsResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceListSkillsRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesListSkillsRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceListSkillsRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesListSkillsRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceListSkillsResponseTypedDict = TypeAliasType( - "LibraryServiceListSkillsResponseTypedDict", - Union[TextqlRPCPublicPatchesListSkillsResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceListSkillsResponse = TypeAliasType( - "LibraryServiceListSkillsResponse", - Union[TextqlRPCPublicPatchesListSkillsResponse, ConnectError], -) - - -try: - LibraryServiceListSkillsRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_migratelegacycontexttolibraryop.py b/src/textql_sdk/models/libraryservice_migratelegacycontexttolibraryop.py deleted file mode 100644 index f1d6cb9..0000000 --- a/src/textql_sdk/models/libraryservice_migratelegacycontexttolibraryop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_migratelegacycontexttolibraryrequest import ( - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest, - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict, -) -from .textql_rpc_public_patches_migratelegacycontexttolibraryresponse import ( - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse, - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceMigrateLegacyContextToLibraryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceMigrateLegacyContextToLibraryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceMigrateLegacyContextToLibraryResponseTypedDict = TypeAliasType( - "LibraryServiceMigrateLegacyContextToLibraryResponseTypedDict", - Union[ - ConnectErrorTypedDict, - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict, - ], -) - - -LibraryServiceMigrateLegacyContextToLibraryResponse = TypeAliasType( - "LibraryServiceMigrateLegacyContextToLibraryResponse", - Union[ConnectError, TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse], -) - - -try: - LibraryServiceMigrateLegacyContextToLibraryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_migrateontologytolibraryop.py b/src/textql_sdk/models/libraryservice_migrateontologytolibraryop.py deleted file mode 100644 index 313416f..0000000 --- a/src/textql_sdk/models/libraryservice_migrateontologytolibraryop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_migrateontologytolibraryrequest import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest, - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict, -) -from .textql_rpc_public_patches_migrateontologytolibraryresponse import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse, - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceMigrateOntologyToLibraryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceMigrateOntologyToLibraryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceMigrateOntologyToLibraryResponseTypedDict = TypeAliasType( - "LibraryServiceMigrateOntologyToLibraryResponseTypedDict", - Union[ - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceMigrateOntologyToLibraryResponse = TypeAliasType( - "LibraryServiceMigrateOntologyToLibraryResponse", - Union[TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse, ConnectError], -) - - -try: - LibraryServiceMigrateOntologyToLibraryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_planlibrarymergeop.py b/src/textql_sdk/models/libraryservice_planlibrarymergeop.py deleted file mode 100644 index ed9bba2..0000000 --- a/src/textql_sdk/models/libraryservice_planlibrarymergeop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_planlibrarymergerequest import ( - TextqlRPCPublicPatchesPlanLibraryMergeRequest, - TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict, -) -from .textql_rpc_public_patches_planlibrarymergeresponse import ( - TextqlRPCPublicPatchesPlanLibraryMergeResponse, - TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServicePlanLibraryMergeRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServicePlanLibraryMergeRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesPlanLibraryMergeRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServicePlanLibraryMergeResponseTypedDict = TypeAliasType( - "LibraryServicePlanLibraryMergeResponseTypedDict", - Union[ - ConnectErrorTypedDict, TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict - ], -) - - -LibraryServicePlanLibraryMergeResponse = TypeAliasType( - "LibraryServicePlanLibraryMergeResponse", - Union[ConnectError, TextqlRPCPublicPatchesPlanLibraryMergeResponse], -) - - -try: - LibraryServicePlanLibraryMergeRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_previewlibrarypullfromremoteop.py b/src/textql_sdk/models/libraryservice_previewlibrarypullfromremoteop.py deleted file mode 100644 index 32ff356..0000000 --- a/src/textql_sdk/models/libraryservice_previewlibrarypullfromremoteop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_previewlibrarypullfromremoterequest import ( - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict, -) -from .textql_rpc_public_patches_previewlibrarypullfromremoteresponse import ( - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse, - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServicePreviewLibraryPullFromRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServicePreviewLibraryPullFromRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServicePreviewLibraryPullFromRemoteResponseTypedDict = TypeAliasType( - "LibraryServicePreviewLibraryPullFromRemoteResponseTypedDict", - Union[ - ConnectErrorTypedDict, - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict, - ], -) - - -LibraryServicePreviewLibraryPullFromRemoteResponse = TypeAliasType( - "LibraryServicePreviewLibraryPullFromRemoteResponse", - Union[ConnectError, TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse], -) - - -try: - LibraryServicePreviewLibraryPullFromRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_pulllibraryfromremoteop.py b/src/textql_sdk/models/libraryservice_pulllibraryfromremoteop.py deleted file mode 100644 index 043057b..0000000 --- a/src/textql_sdk/models/libraryservice_pulllibraryfromremoteop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_pulllibraryfromremoterequest import ( - TextqlRPCPublicPatchesPullLibraryFromRemoteRequest, - TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServicePullLibraryFromRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServicePullLibraryFromRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesPullLibraryFromRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServicePullLibraryFromRemoteResponseTypedDict = TypeAliasType( - "LibraryServicePullLibraryFromRemoteResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServicePullLibraryFromRemoteResponse = TypeAliasType( - "LibraryServicePullLibraryFromRemoteResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServicePullLibraryFromRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_pushlibrarytoremoteop.py b/src/textql_sdk/models/libraryservice_pushlibrarytoremoteop.py deleted file mode 100644 index c4b25cb..0000000 --- a/src/textql_sdk/models/libraryservice_pushlibrarytoremoteop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_pushlibrarytoremoterequest import ( - TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServicePushLibraryToRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServicePushLibraryToRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesPushLibraryToRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServicePushLibraryToRemoteResponseTypedDict = TypeAliasType( - "LibraryServicePushLibraryToRemoteResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServicePushLibraryToRemoteResponse = TypeAliasType( - "LibraryServicePushLibraryToRemoteResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServicePushLibraryToRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_recoverlibraryop.py b/src/textql_sdk/models/libraryservice_recoverlibraryop.py deleted file mode 100644 index 84777af..0000000 --- a/src/textql_sdk/models/libraryservice_recoverlibraryop.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_recoverlibraryrequest import ( - TextqlRPCPublicPatchesRecoverLibraryRequest, - TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRecoverLibraryRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRecoverLibraryRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRecoverLibraryRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRecoverLibraryResponseTypedDict = TypeAliasType( - "LibraryServiceRecoverLibraryResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceRecoverLibraryResponse = TypeAliasType( - "LibraryServiceRecoverLibraryResponse", Union[GoogleProtobufEmpty, ConnectError] -) - - -try: - LibraryServiceRecoverLibraryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_removelibraryremoteop.py b/src/textql_sdk/models/libraryservice_removelibraryremoteop.py deleted file mode 100644 index fd62549..0000000 --- a/src/textql_sdk/models/libraryservice_removelibraryremoteop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_removelibraryremoterequest import ( - TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRemoveLibraryRemoteRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRemoveLibraryRemoteRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRemoveLibraryRemoteRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRemoveLibraryRemoteResponseTypedDict = TypeAliasType( - "LibraryServiceRemoveLibraryRemoteResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceRemoveLibraryRemoteResponse = TypeAliasType( - "LibraryServiceRemoveLibraryRemoteResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceRemoveLibraryRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_removelibrarysubmoduleop.py b/src/textql_sdk/models/libraryservice_removelibrarysubmoduleop.py deleted file mode 100644 index 3379966..0000000 --- a/src/textql_sdk/models/libraryservice_removelibrarysubmoduleop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_removelibrarysubmodulerequest import ( - TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest, - TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRemoveLibrarySubmoduleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRemoveLibrarySubmoduleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRemoveLibrarySubmoduleResponseTypedDict = TypeAliasType( - "LibraryServiceRemoveLibrarySubmoduleResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceRemoveLibrarySubmoduleResponse = TypeAliasType( - "LibraryServiceRemoveLibrarySubmoduleResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceRemoveLibrarySubmoduleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_renamelibraryfileop.py b/src/textql_sdk/models/libraryservice_renamelibraryfileop.py deleted file mode 100644 index e996277..0000000 --- a/src/textql_sdk/models/libraryservice_renamelibraryfileop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_renamelibraryfilerequest import ( - TextqlRPCPublicPatchesRenameLibraryFileRequest, - TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict, -) -from .textql_rpc_public_patches_renamelibraryfileresponse import ( - TextqlRPCPublicPatchesRenameLibraryFileResponse, - TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRenameLibraryFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRenameLibraryFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRenameLibraryFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRenameLibraryFileResponseTypedDict = TypeAliasType( - "LibraryServiceRenameLibraryFileResponseTypedDict", - Union[ - TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceRenameLibraryFileResponse = TypeAliasType( - "LibraryServiceRenameLibraryFileResponse", - Union[TextqlRPCPublicPatchesRenameLibraryFileResponse, ConnectError], -) - - -try: - LibraryServiceRenameLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_requestpatchreviewop.py b/src/textql_sdk/models/libraryservice_requestpatchreviewop.py deleted file mode 100644 index cc0e586..0000000 --- a/src/textql_sdk/models/libraryservice_requestpatchreviewop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_requestpatchreviewrequest import ( - TextqlRPCPublicPatchesRequestPatchReviewRequest, - TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict, -) -from .textql_rpc_public_patches_requestpatchreviewresponse import ( - TextqlRPCPublicPatchesRequestPatchReviewResponse, - TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRequestPatchReviewRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRequestPatchReviewRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRequestPatchReviewRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRequestPatchReviewResponseTypedDict = TypeAliasType( - "LibraryServiceRequestPatchReviewResponseTypedDict", - Union[ - TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceRequestPatchReviewResponse = TypeAliasType( - "LibraryServiceRequestPatchReviewResponse", - Union[TextqlRPCPublicPatchesRequestPatchReviewResponse, ConnectError], -) - - -try: - LibraryServiceRequestPatchReviewRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_resolvelibrarysyncconflictop.py b/src/textql_sdk/models/libraryservice_resolvelibrarysyncconflictop.py deleted file mode 100644 index 263deb5..0000000 --- a/src/textql_sdk/models/libraryservice_resolvelibrarysyncconflictop.py +++ /dev/null @@ -1,80 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_resolvelibrarysyncconflictrequest import ( - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest, - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceResolveLibrarySyncConflictRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceResolveLibrarySyncConflictRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceResolveLibrarySyncConflictResponseTypedDict = TypeAliasType( - "LibraryServiceResolveLibrarySyncConflictResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceResolveLibrarySyncConflictResponse = TypeAliasType( - "LibraryServiceResolveLibrarySyncConflictResponse", - Union[GoogleProtobufEmpty, ConnectError], -) - - -try: - LibraryServiceResolveLibrarySyncConflictRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_restorepatchop.py b/src/textql_sdk/models/libraryservice_restorepatchop.py deleted file mode 100644 index 29d1748..0000000 --- a/src/textql_sdk/models/libraryservice_restorepatchop.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict -from .textql_rpc_public_patches_restorepatchrequest import ( - TextqlRPCPublicPatchesRestorePatchRequest, - TextqlRPCPublicPatchesRestorePatchRequestTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRestorePatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRestorePatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRestorePatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRestorePatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRestorePatchResponseTypedDict = TypeAliasType( - "LibraryServiceRestorePatchResponseTypedDict", - Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceRestorePatchResponse = TypeAliasType( - "LibraryServiceRestorePatchResponse", Union[GoogleProtobufEmpty, ConnectError] -) - - -try: - LibraryServiceRestorePatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_revertpatchop.py b/src/textql_sdk/models/libraryservice_revertpatchop.py deleted file mode 100644 index 6449f02..0000000 --- a/src/textql_sdk/models/libraryservice_revertpatchop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_revertpatchrequest import ( - TextqlRPCPublicPatchesRevertPatchRequest, - TextqlRPCPublicPatchesRevertPatchRequestTypedDict, -) -from .textql_rpc_public_patches_revertpatchresponse import ( - TextqlRPCPublicPatchesRevertPatchResponse, - TextqlRPCPublicPatchesRevertPatchResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceRevertPatchRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesRevertPatchRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceRevertPatchRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesRevertPatchRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceRevertPatchResponseTypedDict = TypeAliasType( - "LibraryServiceRevertPatchResponseTypedDict", - Union[TextqlRPCPublicPatchesRevertPatchResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceRevertPatchResponse = TypeAliasType( - "LibraryServiceRevertPatchResponse", - Union[TextqlRPCPublicPatchesRevertPatchResponse, ConnectError], -) - - -try: - LibraryServiceRevertPatchRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_saveallobjectsasconfigop.py b/src/textql_sdk/models/libraryservice_saveallobjectsasconfigop.py deleted file mode 100644 index ed4c8a0..0000000 --- a/src/textql_sdk/models/libraryservice_saveallobjectsasconfigop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_saveallobjectsasconfigrequest import ( - TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, - TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequestTypedDict, -) -from .textql_rpc_public_patches_saveallobjectsasconfigresponse import ( - TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, - TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceSaveAllObjectsAsConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceSaveAllObjectsAsConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceSaveAllObjectsAsConfigResponseTypedDict = TypeAliasType( - "LibraryServiceSaveAllObjectsAsConfigResponseTypedDict", - Union[ - TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceSaveAllObjectsAsConfigResponse = TypeAliasType( - "LibraryServiceSaveAllObjectsAsConfigResponse", - Union[TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, ConnectError], -) - - -try: - LibraryServiceSaveAllObjectsAsConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_saveobjectasconfigop.py b/src/textql_sdk/models/libraryservice_saveobjectasconfigop.py deleted file mode 100644 index 23aa608..0000000 --- a/src/textql_sdk/models/libraryservice_saveobjectasconfigop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_saveobjectasconfigrequest import ( - TextqlRPCPublicPatchesSaveObjectAsConfigRequest, - TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict, -) -from .textql_rpc_public_patches_saveobjectasconfigresponse import ( - TextqlRPCPublicPatchesSaveObjectAsConfigResponse, - TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceSaveObjectAsConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceSaveObjectAsConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesSaveObjectAsConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceSaveObjectAsConfigResponseTypedDict = TypeAliasType( - "LibraryServiceSaveObjectAsConfigResponseTypedDict", - Union[ - TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceSaveObjectAsConfigResponse = TypeAliasType( - "LibraryServiceSaveObjectAsConfigResponse", - Union[TextqlRPCPublicPatchesSaveObjectAsConfigResponse, ConnectError], -) - - -try: - LibraryServiceSaveObjectAsConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_setlibraryfilegoldenop.py b/src/textql_sdk/models/libraryservice_setlibraryfilegoldenop.py deleted file mode 100644 index 4792506..0000000 --- a/src/textql_sdk/models/libraryservice_setlibraryfilegoldenop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_setlibraryfilegoldenrequest import ( - TextqlRPCPublicPatchesSetLibraryFileGoldenRequest, - TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict, -) -from .textql_rpc_public_patches_setlibraryfilegoldenresponse import ( - TextqlRPCPublicPatchesSetLibraryFileGoldenResponse, - TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceSetLibraryFileGoldenRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceSetLibraryFileGoldenRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesSetLibraryFileGoldenRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceSetLibraryFileGoldenResponseTypedDict = TypeAliasType( - "LibraryServiceSetLibraryFileGoldenResponseTypedDict", - Union[ - TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceSetLibraryFileGoldenResponse = TypeAliasType( - "LibraryServiceSetLibraryFileGoldenResponse", - Union[TextqlRPCPublicPatchesSetLibraryFileGoldenResponse, ConnectError], -) - - -try: - LibraryServiceSetLibraryFileGoldenRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_triggerconfigdriftreconcileop.py b/src/textql_sdk/models/libraryservice_triggerconfigdriftreconcileop.py deleted file mode 100644 index 453e47a..0000000 --- a/src/textql_sdk/models/libraryservice_triggerconfigdriftreconcileop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_triggerconfigdriftreconcilerequest import ( - TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, -) -from .textql_rpc_public_patches_triggerconfigdriftreconcileresponse import ( - TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, - TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceTriggerConfigDriftReconcileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceTriggerConfigDriftReconcileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceTriggerConfigDriftReconcileResponseTypedDict = TypeAliasType( - "LibraryServiceTriggerConfigDriftReconcileResponseTypedDict", - Union[ - TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceTriggerConfigDriftReconcileResponse = TypeAliasType( - "LibraryServiceTriggerConfigDriftReconcileResponse", - Union[TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, ConnectError], -) - - -try: - LibraryServiceTriggerConfigDriftReconcileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_updateapprovalruleop.py b/src/textql_sdk/models/libraryservice_updateapprovalruleop.py deleted file mode 100644 index ce91b5d..0000000 --- a/src/textql_sdk/models/libraryservice_updateapprovalruleop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_updateapprovalrulerequest import ( - TextqlRPCPublicPatchesUpdateApprovalRuleRequest, - TextqlRPCPublicPatchesUpdateApprovalRuleRequestTypedDict, -) -from .textql_rpc_public_patches_updateapprovalruleresponse import ( - TextqlRPCPublicPatchesUpdateApprovalRuleResponse, - TextqlRPCPublicPatchesUpdateApprovalRuleResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpdateApprovalRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpdateApprovalRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpdateApprovalRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpdateApprovalRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpdateApprovalRuleResponseTypedDict = TypeAliasType( - "LibraryServiceUpdateApprovalRuleResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpdateApprovalRuleResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceUpdateApprovalRuleResponse = TypeAliasType( - "LibraryServiceUpdateApprovalRuleResponse", - Union[TextqlRPCPublicPatchesUpdateApprovalRuleResponse, ConnectError], -) - - -try: - LibraryServiceUpdateApprovalRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_updatecontextpatchautoapproveruleop.py b/src/textql_sdk/models/libraryservice_updatecontextpatchautoapproveruleop.py deleted file mode 100644 index 3cce533..0000000 --- a/src/textql_sdk/models/libraryservice_updatecontextpatchautoapproveruleop.py +++ /dev/null @@ -1,88 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_updatecontextpatchautoapproverulerequest import ( - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict, -) -from .textql_rpc_public_patches_updatecontextpatchautoapproveruleresponse import ( - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpdateContextPatchAutoApproveRuleRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpdateContextPatchAutoApproveRuleRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpdateContextPatchAutoApproveRuleResponseTypedDict = TypeAliasType( - "LibraryServiceUpdateContextPatchAutoApproveRuleResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceUpdateContextPatchAutoApproveRuleResponse = TypeAliasType( - "LibraryServiceUpdateContextPatchAutoApproveRuleResponse", - Union[ - TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, ConnectError - ], -) - - -try: - LibraryServiceUpdateContextPatchAutoApproveRuleRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_updatelibrarysyncconfigop.py b/src/textql_sdk/models/libraryservice_updatelibrarysyncconfigop.py deleted file mode 100644 index 91afa55..0000000 --- a/src/textql_sdk/models/libraryservice_updatelibrarysyncconfigop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_updatelibrarysyncconfigrequest import ( - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest, - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict, -) -from .textql_rpc_public_patches_updatelibrarysyncconfigresponse import ( - TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse, - TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpdateLibrarySyncConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpdateLibrarySyncConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpdateLibrarySyncConfigResponseTypedDict = TypeAliasType( - "LibraryServiceUpdateLibrarySyncConfigResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceUpdateLibrarySyncConfigResponse = TypeAliasType( - "LibraryServiceUpdateLibrarySyncConfigResponse", - Union[TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse, ConnectError], -) - - -try: - LibraryServiceUpdateLibrarySyncConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_upsertlibraryanaconfigop.py b/src/textql_sdk/models/libraryservice_upsertlibraryanaconfigop.py deleted file mode 100644 index 553be40..0000000 --- a/src/textql_sdk/models/libraryservice_upsertlibraryanaconfigop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_upsertlibraryanaconfigrequest import ( - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest, - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict, -) -from .textql_rpc_public_patches_upsertlibraryanaconfigresponse import ( - TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse, - TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpsertLibraryAnaConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpsertLibraryAnaConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpsertLibraryAnaConfigResponseTypedDict = TypeAliasType( - "LibraryServiceUpsertLibraryAnaConfigResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceUpsertLibraryAnaConfigResponse = TypeAliasType( - "LibraryServiceUpsertLibraryAnaConfigResponse", - Union[TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse, ConnectError], -) - - -try: - LibraryServiceUpsertLibraryAnaConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_upsertlibraryfileop.py b/src/textql_sdk/models/libraryservice_upsertlibraryfileop.py deleted file mode 100644 index 63dfb8f..0000000 --- a/src/textql_sdk/models/libraryservice_upsertlibraryfileop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_upsertlibraryfilerequest import ( - TextqlRPCPublicPatchesUpsertLibraryFileRequest, - TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict, -) -from .textql_rpc_public_patches_upsertlibraryfileresponse import ( - TextqlRPCPublicPatchesUpsertLibraryFileResponse, - TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpsertLibraryFileRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpsertLibraryFileRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpsertLibraryFileRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpsertLibraryFileResponseTypedDict = TypeAliasType( - "LibraryServiceUpsertLibraryFileResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict, ConnectErrorTypedDict - ], -) - - -LibraryServiceUpsertLibraryFileResponse = TypeAliasType( - "LibraryServiceUpsertLibraryFileResponse", - Union[TextqlRPCPublicPatchesUpsertLibraryFileResponse, ConnectError], -) - - -try: - LibraryServiceUpsertLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_upsertlibraryownersop.py b/src/textql_sdk/models/libraryservice_upsertlibraryownersop.py deleted file mode 100644 index 8ee53e7..0000000 --- a/src/textql_sdk/models/libraryservice_upsertlibraryownersop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_upsertlibraryownersrequest import ( - TextqlRPCPublicPatchesUpsertLibraryOwnersRequest, - TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict, -) -from .textql_rpc_public_patches_upsertlibraryownersresponse import ( - TextqlRPCPublicPatchesUpsertLibraryOwnersResponse, - TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceUpsertLibraryOwnersRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceUpsertLibraryOwnersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesUpsertLibraryOwnersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceUpsertLibraryOwnersResponseTypedDict = TypeAliasType( - "LibraryServiceUpsertLibraryOwnersResponseTypedDict", - Union[ - TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -LibraryServiceUpsertLibraryOwnersResponse = TypeAliasType( - "LibraryServiceUpsertLibraryOwnersResponse", - Union[TextqlRPCPublicPatchesUpsertLibraryOwnersResponse, ConnectError], -) - - -try: - LibraryServiceUpsertLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/libraryservice_validateconfigop.py b/src/textql_sdk/models/libraryservice_validateconfigop.py deleted file mode 100644 index e93dd32..0000000 --- a/src/textql_sdk/models/libraryservice_validateconfigop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_patches_validateconfigrequest import ( - TextqlRPCPublicPatchesValidateConfigRequest, - TextqlRPCPublicPatchesValidateConfigRequestTypedDict, -) -from .textql_rpc_public_patches_validateconfigresponse import ( - TextqlRPCPublicPatchesValidateConfigResponse, - TextqlRPCPublicPatchesValidateConfigResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class LibraryServiceValidateConfigRequestTypedDict(TypedDict): - body: TextqlRPCPublicPatchesValidateConfigRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class LibraryServiceValidateConfigRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicPatchesValidateConfigRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -LibraryServiceValidateConfigResponseTypedDict = TypeAliasType( - "LibraryServiceValidateConfigResponseTypedDict", - Union[TextqlRPCPublicPatchesValidateConfigResponseTypedDict, ConnectErrorTypedDict], -) - - -LibraryServiceValidateConfigResponse = TypeAliasType( - "LibraryServiceValidateConfigResponse", - Union[TextqlRPCPublicPatchesValidateConfigResponse, ConnectError], -) - - -try: - LibraryServiceValidateConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/ontologymanagementservice_addontologysubmoduleop.py b/src/textql_sdk/models/ontologymanagementservice_addontologysubmoduleop.py new file mode 100644 index 0000000..515bfde --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_addontologysubmoduleop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_addontologysubmodulerequest import ( + TextqlRPCPublicPatchesAddOntologySubmoduleRequest, + TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict, +) +from .textql_rpc_public_patches_addontologysubmoduleresponse import ( + TextqlRPCPublicPatchesAddOntologySubmoduleResponse, + TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceAddOntologySubmoduleRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceAddOntologySubmoduleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesAddOntologySubmoduleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceAddOntologySubmoduleResponseTypedDict = TypeAliasType( + "OntologyManagementServiceAddOntologySubmoduleResponseTypedDict", + Union[ + TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceAddOntologySubmoduleResponse = TypeAliasType( + "OntologyManagementServiceAddOntologySubmoduleResponse", + Union[TextqlRPCPublicPatchesAddOntologySubmoduleResponse, ConnectError], +) + + +try: + OntologyManagementServiceAddOntologySubmoduleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_approvepatchop.py b/src/textql_sdk/models/ontologymanagementservice_approvepatchop.py new file mode 100644 index 0000000..a8cee42 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_approvepatchop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_approvepatchrequest import ( + TextqlRPCPublicPatchesApprovePatchRequest, + TextqlRPCPublicPatchesApprovePatchRequestTypedDict, +) +from .textql_rpc_public_patches_approvepatchresponse import ( + TextqlRPCPublicPatchesApprovePatchResponse, + TextqlRPCPublicPatchesApprovePatchResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceApprovePatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesApprovePatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceApprovePatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesApprovePatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceApprovePatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceApprovePatchResponseTypedDict", + Union[TextqlRPCPublicPatchesApprovePatchResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceApprovePatchResponse = TypeAliasType( + "OntologyManagementServiceApprovePatchResponse", + Union[TextqlRPCPublicPatchesApprovePatchResponse, ConnectError], +) + + +try: + OntologyManagementServiceApprovePatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_configureontologyremoteop.py b/src/textql_sdk/models/ontologymanagementservice_configureontologyremoteop.py new file mode 100644 index 0000000..a13ecb6 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_configureontologyremoteop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_configureontologyremoterequest import ( + TextqlRPCPublicPatchesConfigureOntologyRemoteRequest, + TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict, +) +from .textql_rpc_public_patches_configureontologyremoteresponse import ( + TextqlRPCPublicPatchesConfigureOntologyRemoteResponse, + TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceConfigureOntologyRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceConfigureOntologyRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesConfigureOntologyRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceConfigureOntologyRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServiceConfigureOntologyRemoteResponseTypedDict", + Union[ + TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceConfigureOntologyRemoteResponse = TypeAliasType( + "OntologyManagementServiceConfigureOntologyRemoteResponse", + Union[TextqlRPCPublicPatchesConfigureOntologyRemoteResponse, ConnectError], +) + + +try: + OntologyManagementServiceConfigureOntologyRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_createapprovalruleop.py b/src/textql_sdk/models/ontologymanagementservice_createapprovalruleop.py new file mode 100644 index 0000000..aa9d678 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_createapprovalruleop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_createapprovalrulerequest import ( + TextqlRPCPublicPatchesCreateApprovalRuleRequest, + TextqlRPCPublicPatchesCreateApprovalRuleRequestTypedDict, +) +from .textql_rpc_public_patches_createapprovalruleresponse import ( + TextqlRPCPublicPatchesCreateApprovalRuleResponse, + TextqlRPCPublicPatchesCreateApprovalRuleResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceCreateApprovalRuleRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesCreateApprovalRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceCreateApprovalRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesCreateApprovalRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceCreateApprovalRuleResponseTypedDict = TypeAliasType( + "OntologyManagementServiceCreateApprovalRuleResponseTypedDict", + Union[ + TextqlRPCPublicPatchesCreateApprovalRuleResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceCreateApprovalRuleResponse = TypeAliasType( + "OntologyManagementServiceCreateApprovalRuleResponse", + Union[TextqlRPCPublicPatchesCreateApprovalRuleResponse, ConnectError], +) + + +try: + OntologyManagementServiceCreateApprovalRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_createcontextpatchautoapproveruleop.py b/src/textql_sdk/models/ontologymanagementservice_createcontextpatchautoapproveruleop.py new file mode 100644 index 0000000..8744808 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_createcontextpatchautoapproveruleop.py @@ -0,0 +1,92 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_createcontextpatchautoapproverulerequest import ( + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict, +) +from .textql_rpc_public_patches_createcontextpatchautoapproveruleresponse import ( + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceCreateContextPatchAutoApproveRuleRequestTypedDict( + TypedDict +): + body: TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceCreateContextPatchAutoApproveRuleResponseTypedDict = ( + TypeAliasType( + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponseTypedDict", + Union[ + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponseTypedDict, + ConnectErrorTypedDict, + ], + ) +) + + +OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse = TypeAliasType( + "OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse", + Union[ + TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, ConnectError + ], +) + + +try: + OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_createontologydirectoryop.py b/src/textql_sdk/models/ontologymanagementservice_createontologydirectoryop.py new file mode 100644 index 0000000..beabcd9 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_createontologydirectoryop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_createontologydirectoryrequest import ( + TextqlRPCPublicPatchesCreateOntologyDirectoryRequest, + TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict, +) +from .textql_rpc_public_patches_createontologydirectoryresponse import ( + TextqlRPCPublicPatchesCreateOntologyDirectoryResponse, + TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceCreateOntologyDirectoryRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceCreateOntologyDirectoryRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesCreateOntologyDirectoryRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceCreateOntologyDirectoryResponseTypedDict = TypeAliasType( + "OntologyManagementServiceCreateOntologyDirectoryResponseTypedDict", + Union[ + TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceCreateOntologyDirectoryResponse = TypeAliasType( + "OntologyManagementServiceCreateOntologyDirectoryResponse", + Union[TextqlRPCPublicPatchesCreateOntologyDirectoryResponse, ConnectError], +) + + +try: + OntologyManagementServiceCreateOntologyDirectoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_createontologyfileuploadurlop.py b/src/textql_sdk/models/ontologymanagementservice_createontologyfileuploadurlop.py new file mode 100644 index 0000000..1771e80 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_createontologyfileuploadurlop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_createontologyfileuploadurlrequest import ( + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict, +) +from .textql_rpc_public_patches_createontologyfileuploadurlresponse import ( + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse, + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceCreateOntologyFileUploadURLRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceCreateOntologyFileUploadURLRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceCreateOntologyFileUploadURLResponseTypedDict = TypeAliasType( + "OntologyManagementServiceCreateOntologyFileUploadURLResponseTypedDict", + Union[ + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceCreateOntologyFileUploadURLResponse = TypeAliasType( + "OntologyManagementServiceCreateOntologyFileUploadURLResponse", + Union[TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse, ConnectError], +) + + +try: + OntologyManagementServiceCreateOntologyFileUploadURLRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_deleteapprovalruleop.py b/src/textql_sdk/models/ontologymanagementservice_deleteapprovalruleop.py new file mode 100644 index 0000000..d2e288b --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_deleteapprovalruleop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_deleteapprovalrulerequest import ( + TextqlRPCPublicPatchesDeleteApprovalRuleRequest, + TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDeleteApprovalRuleRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesDeleteApprovalRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDeleteApprovalRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDeleteApprovalRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDeleteApprovalRuleResponseTypedDict = TypeAliasType( + "OntologyManagementServiceDeleteApprovalRuleResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceDeleteApprovalRuleResponse = TypeAliasType( + "OntologyManagementServiceDeleteApprovalRuleResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDeleteApprovalRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_deletecontextpatchautoapproveruleop.py b/src/textql_sdk/models/ontologymanagementservice_deletecontextpatchautoapproveruleop.py new file mode 100644 index 0000000..b4a78ad --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_deletecontextpatchautoapproveruleop.py @@ -0,0 +1,84 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_deletecontextpatchautoapproverulerequest import ( + TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, + TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequestTypedDict( + TypedDict +): + body: TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponseTypedDict = ( + TypeAliasType( + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], + ) +) + + +OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse = TypeAliasType( + "OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_deleteontologydirectoryop.py b/src/textql_sdk/models/ontologymanagementservice_deleteontologydirectoryop.py new file mode 100644 index 0000000..e115a1c --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_deleteontologydirectoryop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_deleteontologydirectoryrequest import ( + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest, + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDeleteOntologyDirectoryRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDeleteOntologyDirectoryRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDeleteOntologyDirectoryResponseTypedDict = TypeAliasType( + "OntologyManagementServiceDeleteOntologyDirectoryResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceDeleteOntologyDirectoryResponse = TypeAliasType( + "OntologyManagementServiceDeleteOntologyDirectoryResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDeleteOntologyDirectoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_deleteontologyfileop.py b/src/textql_sdk/models/ontologymanagementservice_deleteontologyfileop.py new file mode 100644 index 0000000..d9596c4 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_deleteontologyfileop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_deleteontologyfilerequest import ( + TextqlRPCPublicPatchesDeleteOntologyFileRequest, + TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDeleteOntologyFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDeleteOntologyFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDeleteOntologyFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDeleteOntologyFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceDeleteOntologyFileResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceDeleteOntologyFileResponse = TypeAliasType( + "OntologyManagementServiceDeleteOntologyFileResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDeleteOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_deleteontologyownersop.py b/src/textql_sdk/models/ontologymanagementservice_deleteontologyownersop.py new file mode 100644 index 0000000..0a26328 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_deleteontologyownersop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_deleteontologyownersrequest import ( + TextqlRPCPublicPatchesDeleteOntologyOwnersRequest, + TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDeleteOntologyOwnersRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDeleteOntologyOwnersRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDeleteOntologyOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDeleteOntologyOwnersResponseTypedDict = TypeAliasType( + "OntologyManagementServiceDeleteOntologyOwnersResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceDeleteOntologyOwnersResponse = TypeAliasType( + "OntologyManagementServiceDeleteOntologyOwnersResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDeleteOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_denypatchop.py b/src/textql_sdk/models/ontologymanagementservice_denypatchop.py new file mode 100644 index 0000000..226c8da --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_denypatchop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_denypatchrequest import ( + TextqlRPCPublicPatchesDenyPatchRequest, + TextqlRPCPublicPatchesDenyPatchRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceDenyPatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesDenyPatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceDenyPatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesDenyPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceDenyPatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceDenyPatchResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceDenyPatchResponse = TypeAliasType( + "OntologyManagementServiceDenyPatchResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceDenyPatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_exchangeontologygithubcodeop.py b/src/textql_sdk/models/ontologymanagementservice_exchangeontologygithubcodeop.py new file mode 100644 index 0000000..c037f19 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_exchangeontologygithubcodeop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_exchangeontologygithubcoderequest import ( + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest, + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict, +) +from .textql_rpc_public_patches_exchangeontologygithubcoderesponse import ( + TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse, + TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceExchangeOntologyGithubCodeRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceExchangeOntologyGithubCodeRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceExchangeOntologyGithubCodeResponseTypedDict = TypeAliasType( + "OntologyManagementServiceExchangeOntologyGithubCodeResponseTypedDict", + Union[ + TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceExchangeOntologyGithubCodeResponse = TypeAliasType( + "OntologyManagementServiceExchangeOntologyGithubCodeResponse", + Union[TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse, ConnectError], +) + + +try: + OntologyManagementServiceExchangeOntologyGithubCodeRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_finalizeontologyfileuploadop.py b/src/textql_sdk/models/ontologymanagementservice_finalizeontologyfileuploadop.py new file mode 100644 index 0000000..d899134 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_finalizeontologyfileuploadop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_finalizeontologyfileuploadrequest import ( + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest, + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict, +) +from .textql_rpc_public_patches_finalizeontologyfileuploadresponse import ( + TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse, + TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceFinalizeOntologyFileUploadRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceFinalizeOntologyFileUploadRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceFinalizeOntologyFileUploadResponseTypedDict = TypeAliasType( + "OntologyManagementServiceFinalizeOntologyFileUploadResponseTypedDict", + Union[ + TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceFinalizeOntologyFileUploadResponse = TypeAliasType( + "OntologyManagementServiceFinalizeOntologyFileUploadResponse", + Union[TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse, ConnectError], +) + + +try: + OntologyManagementServiceFinalizeOntologyFileUploadRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getcodeownercoverageop.py b/src/textql_sdk/models/ontologymanagementservice_getcodeownercoverageop.py new file mode 100644 index 0000000..d2deca2 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getcodeownercoverageop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getcodeownercoveragerequest import ( + TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, +) +from .textql_rpc_public_patches_getcodeownercoverageresponse import ( + TextqlRPCPublicPatchesGetCodeownerCoverageResponse, + TextqlRPCPublicPatchesGetCodeownerCoverageResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetCodeownerCoverageRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetCodeownerCoverageRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetCodeownerCoverageResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetCodeownerCoverageResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetCodeownerCoverageResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetCodeownerCoverageResponse = TypeAliasType( + "OntologyManagementServiceGetCodeownerCoverageResponse", + Union[TextqlRPCPublicPatchesGetCodeownerCoverageResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetCodeownerCoverageRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getconfigexportcapabilitiesop.py b/src/textql_sdk/models/ontologymanagementservice_getconfigexportcapabilitiesop.py new file mode 100644 index 0000000..0d59e24 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getconfigexportcapabilitiesop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getconfigexportcapabilitiesrequest import ( + TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, +) +from .textql_rpc_public_patches_getconfigexportcapabilitiesresponse import ( + TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, + TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetConfigExportCapabilitiesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetConfigExportCapabilitiesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetConfigExportCapabilitiesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetConfigExportCapabilitiesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetConfigExportCapabilitiesResponse = TypeAliasType( + "OntologyManagementServiceGetConfigExportCapabilitiesResponse", + Union[TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetConfigExportCapabilitiesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_geteffectiveontologyownersop.py b/src/textql_sdk/models/ontologymanagementservice_geteffectiveontologyownersop.py new file mode 100644 index 0000000..a4db2bc --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_geteffectiveontologyownersop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_geteffectiveontologyownersrequest import ( + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest, + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict, +) +from .textql_rpc_public_patches_geteffectiveontologyownersresponse import ( + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse, + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetEffectiveOntologyOwnersRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetEffectiveOntologyOwnersRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetEffectiveOntologyOwnersResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetEffectiveOntologyOwnersResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetEffectiveOntologyOwnersResponse = TypeAliasType( + "OntologyManagementServiceGetEffectiveOntologyOwnersResponse", + Union[TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetEffectiveOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getfileusageop.py b/src/textql_sdk/models/ontologymanagementservice_getfileusageop.py new file mode 100644 index 0000000..b1c006e --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getfileusageop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getfileusagerequest import ( + TextqlRPCPublicPatchesGetFileUsageRequest, + TextqlRPCPublicPatchesGetFileUsageRequestTypedDict, +) +from .textql_rpc_public_patches_getfileusageresponse import ( + TextqlRPCPublicPatchesGetFileUsageResponse, + TextqlRPCPublicPatchesGetFileUsageResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetFileUsageRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetFileUsageRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetFileUsageRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetFileUsageRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetFileUsageResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetFileUsageResponseTypedDict", + Union[TextqlRPCPublicPatchesGetFileUsageResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceGetFileUsageResponse = TypeAliasType( + "OntologyManagementServiceGetFileUsageResponse", + Union[TextqlRPCPublicPatchesGetFileUsageResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetFileUsageRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getfileusagetimelineop.py b/src/textql_sdk/models/ontologymanagementservice_getfileusagetimelineop.py new file mode 100644 index 0000000..d5bde54 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getfileusagetimelineop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getfileusagetimelinerequest import ( + TextqlRPCPublicPatchesGetFileUsageTimelineRequest, + TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict, +) +from .textql_rpc_public_patches_getfileusagetimelineresponse import ( + TextqlRPCPublicPatchesGetFileUsageTimelineResponse, + TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetFileUsageTimelineRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetFileUsageTimelineRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetFileUsageTimelineRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetFileUsageTimelineResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetFileUsageTimelineResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetFileUsageTimelineResponse = TypeAliasType( + "OntologyManagementServiceGetFileUsageTimelineResponse", + Union[TextqlRPCPublicPatchesGetFileUsageTimelineResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetFileUsageTimelineRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyanaconfigop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyanaconfigop.py new file mode 100644 index 0000000..d663511 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyanaconfigop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyanaconfigrequest import ( + TextqlRPCPublicPatchesGetOntologyAnaConfigRequest, + TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyanaconfigresponse import ( + TextqlRPCPublicPatchesGetOntologyAnaConfigResponse, + TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyAnaConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyAnaConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyAnaConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyAnaConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyAnaConfigResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetOntologyAnaConfigResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyAnaConfigResponse", + Union[TextqlRPCPublicPatchesGetOntologyAnaConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologyAnaConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyfileop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyfileop.py new file mode 100644 index 0000000..71146b3 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyfileop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyfilerequest import ( + TextqlRPCPublicPatchesGetOntologyFileRequest, + TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyfileresponse import ( + TextqlRPCPublicPatchesGetOntologyFileResponse, + TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyFileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceGetOntologyFileResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyFileResponse", + Union[TextqlRPCPublicPatchesGetOntologyFileResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologygithuboauthurlop.py b/src/textql_sdk/models/ontologymanagementservice_getontologygithuboauthurlop.py new file mode 100644 index 0000000..c2e99de --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologygithuboauthurlop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologygithuboauthurlrequest import ( + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest, + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict, +) +from .textql_rpc_public_patches_getontologygithuboauthurlresponse import ( + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse, + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyGithubOAuthURLRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyGithubOAuthURLRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyGithubOAuthURLResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyGithubOAuthURLResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetOntologyGithubOAuthURLResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyGithubOAuthURLResponse", + Union[TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologyGithubOAuthURLRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyhistoryfilediffop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyhistoryfilediffop.py new file mode 100644 index 0000000..66454e1 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyhistoryfilediffop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyhistoryfilediffrequest import ( + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest, + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyhistoryfilediffresponse import ( + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse, + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyHistoryFileDiffRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyHistoryFileDiffRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyHistoryFileDiffResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyHistoryFileDiffResponseTypedDict", + Union[ + ConnectErrorTypedDict, + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict, + ], +) + + +OntologyManagementServiceGetOntologyHistoryFileDiffResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyHistoryFileDiffResponse", + Union[ConnectError, TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse], +) + + +try: + OntologyManagementServiceGetOntologyHistoryFileDiffRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyownersop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyownersop.py new file mode 100644 index 0000000..15b0d3d --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyownersop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyownersrequest import ( + TextqlRPCPublicPatchesGetOntologyOwnersRequest, + TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyownersresponse import ( + TextqlRPCPublicPatchesGetOntologyOwnersResponse, + TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyOwnersRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyOwnersRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyOwnersResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyOwnersResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceGetOntologyOwnersResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyOwnersResponse", + Union[TextqlRPCPublicPatchesGetOntologyOwnersResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyremoteop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyremoteop.py new file mode 100644 index 0000000..9f08664 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyremoteop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyremoterequest import ( + TextqlRPCPublicPatchesGetOntologyRemoteRequest, + TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyremoteresponse import ( + TextqlRPCPublicPatchesGetOntologyRemoteResponse, + TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyRemoteResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceGetOntologyRemoteResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyRemoteResponse", + Union[TextqlRPCPublicPatchesGetOntologyRemoteResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologyRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologysizetimelineop.py b/src/textql_sdk/models/ontologymanagementservice_getontologysizetimelineop.py new file mode 100644 index 0000000..fba1c1f --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologysizetimelineop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologysizetimelinerequest import ( + TextqlRPCPublicPatchesGetOntologySizeTimelineRequest, + TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict, +) +from .textql_rpc_public_patches_getontologysizetimelineresponse import ( + TextqlRPCPublicPatchesGetOntologySizeTimelineResponse, + TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologySizeTimelineRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologySizeTimelineRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologySizeTimelineRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologySizeTimelineResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologySizeTimelineResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetOntologySizeTimelineResponse = TypeAliasType( + "OntologyManagementServiceGetOntologySizeTimelineResponse", + Union[TextqlRPCPublicPatchesGetOntologySizeTimelineResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologySizeTimelineRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologysyncconflictsop.py b/src/textql_sdk/models/ontologymanagementservice_getontologysyncconflictsop.py new file mode 100644 index 0000000..27d8161 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologysyncconflictsop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologysyncconflictsrequest import ( + TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict, +) +from .textql_rpc_public_patches_getontologysyncconflictsresponse import ( + TextqlRPCPublicPatchesGetOntologySyncConflictsResponse, + TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologySyncConflictsRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologySyncConflictsRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologySyncConflictsResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologySyncConflictsResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetOntologySyncConflictsResponse = TypeAliasType( + "OntologyManagementServiceGetOntologySyncConflictsResponse", + Union[TextqlRPCPublicPatchesGetOntologySyncConflictsResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetOntologySyncConflictsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getontologyusagesummaryop.py b/src/textql_sdk/models/ontologymanagementservice_getontologyusagesummaryop.py new file mode 100644 index 0000000..1ce9747 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getontologyusagesummaryop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getontologyusagesummaryrequest import ( + TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, + TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict, +) +from .textql_rpc_public_patches_getontologyusagesummaryresponse import ( + TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, + TextqlRPCPublicPatchesGetOntologyUsageSummaryResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetOntologyUsageSummaryRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetOntologyUsageSummaryRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetOntologyUsageSummaryRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetOntologyUsageSummaryResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetOntologyUsageSummaryResponseTypedDict", + Union[ + ConnectErrorTypedDict, + TextqlRPCPublicPatchesGetOntologyUsageSummaryResponseTypedDict, + ], +) + + +OntologyManagementServiceGetOntologyUsageSummaryResponse = TypeAliasType( + "OntologyManagementServiceGetOntologyUsageSummaryResponse", + Union[ConnectError, TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse], +) + + +try: + OntologyManagementServiceGetOntologyUsageSummaryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getpatchbynumberop.py b/src/textql_sdk/models/ontologymanagementservice_getpatchbynumberop.py new file mode 100644 index 0000000..7699c31 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getpatchbynumberop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getpatchbynumberrequest import ( + TextqlRPCPublicPatchesGetPatchByNumberRequest, + TextqlRPCPublicPatchesGetPatchByNumberRequestTypedDict, +) +from .textql_rpc_public_patches_patch import ( + TextqlRPCPublicPatchesPatch, + TextqlRPCPublicPatchesPatchTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetPatchByNumberRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetPatchByNumberRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetPatchByNumberRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetPatchByNumberRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetPatchByNumberResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetPatchByNumberResponseTypedDict", + Union[ConnectErrorTypedDict, TextqlRPCPublicPatchesPatchTypedDict], +) + + +OntologyManagementServiceGetPatchByNumberResponse = TypeAliasType( + "OntologyManagementServiceGetPatchByNumberResponse", + Union[ConnectError, TextqlRPCPublicPatchesPatch], +) + + +try: + OntologyManagementServiceGetPatchByNumberRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getpatchcapabilitiesop.py b/src/textql_sdk/models/ontologymanagementservice_getpatchcapabilitiesop.py new file mode 100644 index 0000000..f3058e3 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getpatchcapabilitiesop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getpatchcapabilitiesrequest import ( + TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, + TextqlRPCPublicPatchesGetPatchCapabilitiesRequestTypedDict, +) +from .textql_rpc_public_patches_getpatchcapabilitiesresponse import ( + TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, + TextqlRPCPublicPatchesGetPatchCapabilitiesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetPatchCapabilitiesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetPatchCapabilitiesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetPatchCapabilitiesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetPatchCapabilitiesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetPatchCapabilitiesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetPatchCapabilitiesResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetPatchCapabilitiesResponse = TypeAliasType( + "OntologyManagementServiceGetPatchCapabilitiesResponse", + Union[TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetPatchCapabilitiesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getpatchop.py b/src/textql_sdk/models/ontologymanagementservice_getpatchop.py new file mode 100644 index 0000000..e8d8dcc --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getpatchop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getpatchrequest import ( + TextqlRPCPublicPatchesGetPatchRequest, + TextqlRPCPublicPatchesGetPatchRequestTypedDict, +) +from .textql_rpc_public_patches_patch import ( + TextqlRPCPublicPatchesPatch, + TextqlRPCPublicPatchesPatchTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetPatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetPatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetPatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetPatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetPatchResponseTypedDict", + Union[ConnectErrorTypedDict, TextqlRPCPublicPatchesPatchTypedDict], +) + + +OntologyManagementServiceGetPatchResponse = TypeAliasType( + "OntologyManagementServiceGetPatchResponse", + Union[ConnectError, TextqlRPCPublicPatchesPatch], +) + + +try: + OntologyManagementServiceGetPatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getrawpatchop.py b/src/textql_sdk/models/ontologymanagementservice_getrawpatchop.py new file mode 100644 index 0000000..9685dab --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getrawpatchop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getrawpatchrequest import ( + TextqlRPCPublicPatchesGetRawPatchRequest, + TextqlRPCPublicPatchesGetRawPatchRequestTypedDict, +) +from .textql_rpc_public_patches_getrawpatchresponse import ( + TextqlRPCPublicPatchesGetRawPatchResponse, + TextqlRPCPublicPatchesGetRawPatchResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetRawPatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetRawPatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetRawPatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetRawPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetRawPatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetRawPatchResponseTypedDict", + Union[TextqlRPCPublicPatchesGetRawPatchResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceGetRawPatchResponse = TypeAliasType( + "OntologyManagementServiceGetRawPatchResponse", + Union[TextqlRPCPublicPatchesGetRawPatchResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetRawPatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_getusagedetailsforfileop.py b/src/textql_sdk/models/ontologymanagementservice_getusagedetailsforfileop.py new file mode 100644 index 0000000..0d29217 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_getusagedetailsforfileop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_getusagedetailsforfilerequest import ( + TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, + TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict, +) +from .textql_rpc_public_patches_getusagedetailsforfileresponse import ( + TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, + TextqlRPCPublicPatchesGetUsageDetailsForFileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceGetUsageDetailsForFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceGetUsageDetailsForFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceGetUsageDetailsForFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceGetUsageDetailsForFileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesGetUsageDetailsForFileResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceGetUsageDetailsForFileResponse = TypeAliasType( + "OntologyManagementServiceGetUsageDetailsForFileResponse", + Union[TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, ConnectError], +) + + +try: + OntologyManagementServiceGetUsageDetailsForFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listapprovalrulesop.py b/src/textql_sdk/models/ontologymanagementservice_listapprovalrulesop.py new file mode 100644 index 0000000..cfc1467 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listapprovalrulesop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listapprovalrulesrequest import ( + TextqlRPCPublicPatchesListApprovalRulesRequest, + TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, +) +from .textql_rpc_public_patches_listapprovalrulesresponse import ( + TextqlRPCPublicPatchesListApprovalRulesResponse, + TextqlRPCPublicPatchesListApprovalRulesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListApprovalRulesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListApprovalRulesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListApprovalRulesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListApprovalRulesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListApprovalRulesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListApprovalRulesResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceListApprovalRulesResponse = TypeAliasType( + "OntologyManagementServiceListApprovalRulesResponse", + Union[TextqlRPCPublicPatchesListApprovalRulesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListApprovalRulesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listchatsforfileop.py b/src/textql_sdk/models/ontologymanagementservice_listchatsforfileop.py new file mode 100644 index 0000000..a5a024b --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listchatsforfileop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listchatsforfilerequest import ( + TextqlRPCPublicPatchesListChatsForFileRequest, + TextqlRPCPublicPatchesListChatsForFileRequestTypedDict, +) +from .textql_rpc_public_patches_listchatsforfileresponse import ( + TextqlRPCPublicPatchesListChatsForFileResponse, + TextqlRPCPublicPatchesListChatsForFileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListChatsForFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListChatsForFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListChatsForFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListChatsForFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListChatsForFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListChatsForFileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListChatsForFileResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceListChatsForFileResponse = TypeAliasType( + "OntologyManagementServiceListChatsForFileResponse", + Union[TextqlRPCPublicPatchesListChatsForFileResponse, ConnectError], +) + + +try: + OntologyManagementServiceListChatsForFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listcontextpatchautoapproverulesop.py b/src/textql_sdk/models/ontologymanagementservice_listcontextpatchautoapproverulesop.py new file mode 100644 index 0000000..aa4dde0 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listcontextpatchautoapproverulesop.py @@ -0,0 +1,90 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listcontextpatchautoapproverulesrequest import ( + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, +) +from .textql_rpc_public_patches_listcontextpatchautoapproverulesresponse import ( + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListContextPatchAutoApproveRulesRequestTypedDict( + TypedDict +): + body: TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListContextPatchAutoApproveRulesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListContextPatchAutoApproveRulesResponseTypedDict = ( + TypeAliasType( + "OntologyManagementServiceListContextPatchAutoApproveRulesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponseTypedDict, + ConnectErrorTypedDict, + ], + ) +) + + +OntologyManagementServiceListContextPatchAutoApproveRulesResponse = TypeAliasType( + "OntologyManagementServiceListContextPatchAutoApproveRulesResponse", + Union[TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListContextPatchAutoApproveRulesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listgoldenfilesop.py b/src/textql_sdk/models/ontologymanagementservice_listgoldenfilesop.py new file mode 100644 index 0000000..f783455 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listgoldenfilesop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listgoldenfilesrequest import ( + TextqlRPCPublicPatchesListGoldenFilesRequest, + TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, +) +from .textql_rpc_public_patches_listgoldenfilesresponse import ( + TextqlRPCPublicPatchesListGoldenFilesResponse, + TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListGoldenFilesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListGoldenFilesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListGoldenFilesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListGoldenFilesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListGoldenFilesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListGoldenFilesResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceListGoldenFilesResponse = TypeAliasType( + "OntologyManagementServiceListGoldenFilesResponse", + Union[TextqlRPCPublicPatchesListGoldenFilesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListGoldenFilesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listontologyentriesop.py b/src/textql_sdk/models/ontologymanagementservice_listontologyentriesop.py new file mode 100644 index 0000000..8296232 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listontologyentriesop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listontologyentriesrequest import ( + TextqlRPCPublicPatchesListOntologyEntriesRequest, + TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict, +) +from .textql_rpc_public_patches_listontologyentriesresponse import ( + TextqlRPCPublicPatchesListOntologyEntriesResponse, + TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListOntologyEntriesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListOntologyEntriesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListOntologyEntriesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListOntologyEntriesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListOntologyEntriesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceListOntologyEntriesResponse = TypeAliasType( + "OntologyManagementServiceListOntologyEntriesResponse", + Union[TextqlRPCPublicPatchesListOntologyEntriesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListOntologyEntriesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listontologyhistoryop.py b/src/textql_sdk/models/ontologymanagementservice_listontologyhistoryop.py new file mode 100644 index 0000000..4d22f96 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listontologyhistoryop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listontologyhistoryrequest import ( + TextqlRPCPublicPatchesListOntologyHistoryRequest, + TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict, +) +from .textql_rpc_public_patches_listontologyhistoryresponse import ( + TextqlRPCPublicPatchesListOntologyHistoryResponse, + TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListOntologyHistoryRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListOntologyHistoryRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListOntologyHistoryRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListOntologyHistoryResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListOntologyHistoryResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceListOntologyHistoryResponse = TypeAliasType( + "OntologyManagementServiceListOntologyHistoryResponse", + Union[TextqlRPCPublicPatchesListOntologyHistoryResponse, ConnectError], +) + + +try: + OntologyManagementServiceListOntologyHistoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listontologyimportsop.py b/src/textql_sdk/models/ontologymanagementservice_listontologyimportsop.py new file mode 100644 index 0000000..e3e3e88 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listontologyimportsop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listontologyimportsrequest import ( + TextqlRPCPublicPatchesListOntologyImportsRequest, + TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict, +) +from .textql_rpc_public_patches_listontologyimportsresponse import ( + TextqlRPCPublicPatchesListOntologyImportsResponse, + TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListOntologyImportsRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListOntologyImportsRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListOntologyImportsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListOntologyImportsResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListOntologyImportsResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceListOntologyImportsResponse = TypeAliasType( + "OntologyManagementServiceListOntologyImportsResponse", + Union[TextqlRPCPublicPatchesListOntologyImportsResponse, ConnectError], +) + + +try: + OntologyManagementServiceListOntologyImportsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listontologysubmodulesop.py b/src/textql_sdk/models/ontologymanagementservice_listontologysubmodulesop.py new file mode 100644 index 0000000..82fbc57 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listontologysubmodulesop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listontologysubmodulesrequest import ( + TextqlRPCPublicPatchesListOntologySubmodulesRequest, + TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict, +) +from .textql_rpc_public_patches_listontologysubmodulesresponse import ( + TextqlRPCPublicPatchesListOntologySubmodulesResponse, + TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListOntologySubmodulesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListOntologySubmodulesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListOntologySubmodulesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListOntologySubmodulesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListOntologySubmodulesResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceListOntologySubmodulesResponse = TypeAliasType( + "OntologyManagementServiceListOntologySubmodulesResponse", + Union[TextqlRPCPublicPatchesListOntologySubmodulesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListOntologySubmodulesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listontologysyncrunsop.py b/src/textql_sdk/models/ontologymanagementservice_listontologysyncrunsop.py new file mode 100644 index 0000000..b7366b8 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listontologysyncrunsop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listontologysyncrunsrequest import ( + TextqlRPCPublicPatchesListOntologySyncRunsRequest, + TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict, +) +from .textql_rpc_public_patches_listontologysyncrunsresponse import ( + TextqlRPCPublicPatchesListOntologySyncRunsResponse, + TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListOntologySyncRunsRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListOntologySyncRunsRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListOntologySyncRunsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListOntologySyncRunsResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListOntologySyncRunsResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceListOntologySyncRunsResponse = TypeAliasType( + "OntologyManagementServiceListOntologySyncRunsResponse", + Union[TextqlRPCPublicPatchesListOntologySyncRunsResponse, ConnectError], +) + + +try: + OntologyManagementServiceListOntologySyncRunsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listpatchesop.py b/src/textql_sdk/models/ontologymanagementservice_listpatchesop.py new file mode 100644 index 0000000..6c06632 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listpatchesop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listpatchesrequest import ( + TextqlRPCPublicPatchesListPatchesRequest, + TextqlRPCPublicPatchesListPatchesRequestTypedDict, +) +from .textql_rpc_public_patches_listpatchesresponse import ( + TextqlRPCPublicPatchesListPatchesResponse, + TextqlRPCPublicPatchesListPatchesResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListPatchesRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListPatchesRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListPatchesRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListPatchesRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListPatchesResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListPatchesResponseTypedDict", + Union[TextqlRPCPublicPatchesListPatchesResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceListPatchesResponse = TypeAliasType( + "OntologyManagementServiceListPatchesResponse", + Union[TextqlRPCPublicPatchesListPatchesResponse, ConnectError], +) + + +try: + OntologyManagementServiceListPatchesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listpatchreviewersop.py b/src/textql_sdk/models/ontologymanagementservice_listpatchreviewersop.py new file mode 100644 index 0000000..6c92890 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listpatchreviewersop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listpatchreviewersrequest import ( + TextqlRPCPublicPatchesListPatchReviewersRequest, + TextqlRPCPublicPatchesListPatchReviewersRequestTypedDict, +) +from .textql_rpc_public_patches_listpatchreviewersresponse import ( + TextqlRPCPublicPatchesListPatchReviewersResponse, + TextqlRPCPublicPatchesListPatchReviewersResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListPatchReviewersRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListPatchReviewersRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListPatchReviewersRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListPatchReviewersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListPatchReviewersResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListPatchReviewersResponseTypedDict", + Union[ + TextqlRPCPublicPatchesListPatchReviewersResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceListPatchReviewersResponse = TypeAliasType( + "OntologyManagementServiceListPatchReviewersResponse", + Union[TextqlRPCPublicPatchesListPatchReviewersResponse, ConnectError], +) + + +try: + OntologyManagementServiceListPatchReviewersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_listskillsop.py b/src/textql_sdk/models/ontologymanagementservice_listskillsop.py new file mode 100644 index 0000000..da20842 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_listskillsop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_listskillsrequest import ( + TextqlRPCPublicPatchesListSkillsRequest, + TextqlRPCPublicPatchesListSkillsRequestTypedDict, +) +from .textql_rpc_public_patches_listskillsresponse import ( + TextqlRPCPublicPatchesListSkillsResponse, + TextqlRPCPublicPatchesListSkillsResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceListSkillsRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesListSkillsRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceListSkillsRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesListSkillsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceListSkillsResponseTypedDict = TypeAliasType( + "OntologyManagementServiceListSkillsResponseTypedDict", + Union[TextqlRPCPublicPatchesListSkillsResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceListSkillsResponse = TypeAliasType( + "OntologyManagementServiceListSkillsResponse", + Union[TextqlRPCPublicPatchesListSkillsResponse, ConnectError], +) + + +try: + OntologyManagementServiceListSkillsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_planontologymergeop.py b/src/textql_sdk/models/ontologymanagementservice_planontologymergeop.py new file mode 100644 index 0000000..dd338bd --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_planontologymergeop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_planontologymergerequest import ( + TextqlRPCPublicPatchesPlanOntologyMergeRequest, + TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict, +) +from .textql_rpc_public_patches_planontologymergeresponse import ( + TextqlRPCPublicPatchesPlanOntologyMergeResponse, + TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServicePlanOntologyMergeRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServicePlanOntologyMergeRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesPlanOntologyMergeRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServicePlanOntologyMergeResponseTypedDict = TypeAliasType( + "OntologyManagementServicePlanOntologyMergeResponseTypedDict", + Union[ + ConnectErrorTypedDict, TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict + ], +) + + +OntologyManagementServicePlanOntologyMergeResponse = TypeAliasType( + "OntologyManagementServicePlanOntologyMergeResponse", + Union[ConnectError, TextqlRPCPublicPatchesPlanOntologyMergeResponse], +) + + +try: + OntologyManagementServicePlanOntologyMergeRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_previewontologypullfromremoteop.py b/src/textql_sdk/models/ontologymanagementservice_previewontologypullfromremoteop.py new file mode 100644 index 0000000..741eabb --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_previewontologypullfromremoteop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_previewontologypullfromremoterequest import ( + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict, +) +from .textql_rpc_public_patches_previewontologypullfromremoteresponse import ( + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse, + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServicePreviewOntologyPullFromRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServicePreviewOntologyPullFromRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServicePreviewOntologyPullFromRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServicePreviewOntologyPullFromRemoteResponseTypedDict", + Union[ + ConnectErrorTypedDict, + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict, + ], +) + + +OntologyManagementServicePreviewOntologyPullFromRemoteResponse = TypeAliasType( + "OntologyManagementServicePreviewOntologyPullFromRemoteResponse", + Union[ConnectError, TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse], +) + + +try: + OntologyManagementServicePreviewOntologyPullFromRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_pullontologyfromremoteop.py b/src/textql_sdk/models/ontologymanagementservice_pullontologyfromremoteop.py new file mode 100644 index 0000000..00f063a --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_pullontologyfromremoteop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_pullontologyfromremoterequest import ( + TextqlRPCPublicPatchesPullOntologyFromRemoteRequest, + TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServicePullOntologyFromRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServicePullOntologyFromRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesPullOntologyFromRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServicePullOntologyFromRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServicePullOntologyFromRemoteResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServicePullOntologyFromRemoteResponse = TypeAliasType( + "OntologyManagementServicePullOntologyFromRemoteResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServicePullOntologyFromRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_pushontologytoremoteop.py b/src/textql_sdk/models/ontologymanagementservice_pushontologytoremoteop.py new file mode 100644 index 0000000..ff8d41f --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_pushontologytoremoteop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_pushontologytoremoterequest import ( + TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServicePushOntologyToRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServicePushOntologyToRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServicePushOntologyToRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServicePushOntologyToRemoteResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServicePushOntologyToRemoteResponse = TypeAliasType( + "OntologyManagementServicePushOntologyToRemoteResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServicePushOntologyToRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_recoverontologyop.py b/src/textql_sdk/models/ontologymanagementservice_recoverontologyop.py new file mode 100644 index 0000000..3b36fbc --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_recoverontologyop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_recoverontologyrequest import ( + TextqlRPCPublicPatchesRecoverOntologyRequest, + TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRecoverOntologyRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRecoverOntologyRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRecoverOntologyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRecoverOntologyResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRecoverOntologyResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceRecoverOntologyResponse = TypeAliasType( + "OntologyManagementServiceRecoverOntologyResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceRecoverOntologyRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_removeontologyremoteop.py b/src/textql_sdk/models/ontologymanagementservice_removeontologyremoteop.py new file mode 100644 index 0000000..3fe9c03 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_removeontologyremoteop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_removeontologyremoterequest import ( + TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRemoveOntologyRemoteRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRemoveOntologyRemoteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRemoveOntologyRemoteResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRemoveOntologyRemoteResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceRemoveOntologyRemoteResponse = TypeAliasType( + "OntologyManagementServiceRemoveOntologyRemoteResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceRemoveOntologyRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_removeontologysubmoduleop.py b/src/textql_sdk/models/ontologymanagementservice_removeontologysubmoduleop.py new file mode 100644 index 0000000..dfef46b --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_removeontologysubmoduleop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_removeontologysubmodulerequest import ( + TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest, + TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRemoveOntologySubmoduleRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRemoveOntologySubmoduleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRemoveOntologySubmoduleResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRemoveOntologySubmoduleResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceRemoveOntologySubmoduleResponse = TypeAliasType( + "OntologyManagementServiceRemoveOntologySubmoduleResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceRemoveOntologySubmoduleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_renameontologyfileop.py b/src/textql_sdk/models/ontologymanagementservice_renameontologyfileop.py new file mode 100644 index 0000000..38e528d --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_renameontologyfileop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_renameontologyfilerequest import ( + TextqlRPCPublicPatchesRenameOntologyFileRequest, + TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict, +) +from .textql_rpc_public_patches_renameontologyfileresponse import ( + TextqlRPCPublicPatchesRenameOntologyFileResponse, + TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRenameOntologyFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRenameOntologyFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRenameOntologyFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRenameOntologyFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRenameOntologyFileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceRenameOntologyFileResponse = TypeAliasType( + "OntologyManagementServiceRenameOntologyFileResponse", + Union[TextqlRPCPublicPatchesRenameOntologyFileResponse, ConnectError], +) + + +try: + OntologyManagementServiceRenameOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_requestpatchreviewop.py b/src/textql_sdk/models/ontologymanagementservice_requestpatchreviewop.py new file mode 100644 index 0000000..e4be4a9 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_requestpatchreviewop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_requestpatchreviewrequest import ( + TextqlRPCPublicPatchesRequestPatchReviewRequest, + TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict, +) +from .textql_rpc_public_patches_requestpatchreviewresponse import ( + TextqlRPCPublicPatchesRequestPatchReviewResponse, + TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRequestPatchReviewRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRequestPatchReviewRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRequestPatchReviewRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRequestPatchReviewRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRequestPatchReviewResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRequestPatchReviewResponseTypedDict", + Union[ + TextqlRPCPublicPatchesRequestPatchReviewResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceRequestPatchReviewResponse = TypeAliasType( + "OntologyManagementServiceRequestPatchReviewResponse", + Union[TextqlRPCPublicPatchesRequestPatchReviewResponse, ConnectError], +) + + +try: + OntologyManagementServiceRequestPatchReviewRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_resolveontologysyncconflictop.py b/src/textql_sdk/models/ontologymanagementservice_resolveontologysyncconflictop.py new file mode 100644 index 0000000..b96e8f1 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_resolveontologysyncconflictop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_resolveontologysyncconflictrequest import ( + TextqlRPCPublicPatchesResolveOntologySyncConflictRequest, + TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceResolveOntologySyncConflictRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceResolveOntologySyncConflictRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesResolveOntologySyncConflictRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceResolveOntologySyncConflictResponseTypedDict = TypeAliasType( + "OntologyManagementServiceResolveOntologySyncConflictResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceResolveOntologySyncConflictResponse = TypeAliasType( + "OntologyManagementServiceResolveOntologySyncConflictResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceResolveOntologySyncConflictRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_restorepatchop.py b/src/textql_sdk/models/ontologymanagementservice_restorepatchop.py new file mode 100644 index 0000000..dbf299c --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_restorepatchop.py @@ -0,0 +1,80 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .google_protobuf_empty import GoogleProtobufEmpty, GoogleProtobufEmptyTypedDict +from .textql_rpc_public_patches_restorepatchrequest import ( + TextqlRPCPublicPatchesRestorePatchRequest, + TextqlRPCPublicPatchesRestorePatchRequestTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRestorePatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRestorePatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRestorePatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRestorePatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRestorePatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRestorePatchResponseTypedDict", + Union[GoogleProtobufEmptyTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceRestorePatchResponse = TypeAliasType( + "OntologyManagementServiceRestorePatchResponse", + Union[GoogleProtobufEmpty, ConnectError], +) + + +try: + OntologyManagementServiceRestorePatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_revertpatchop.py b/src/textql_sdk/models/ontologymanagementservice_revertpatchop.py new file mode 100644 index 0000000..c0eb226 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_revertpatchop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_revertpatchrequest import ( + TextqlRPCPublicPatchesRevertPatchRequest, + TextqlRPCPublicPatchesRevertPatchRequestTypedDict, +) +from .textql_rpc_public_patches_revertpatchresponse import ( + TextqlRPCPublicPatchesRevertPatchResponse, + TextqlRPCPublicPatchesRevertPatchResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceRevertPatchRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesRevertPatchRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceRevertPatchRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesRevertPatchRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceRevertPatchResponseTypedDict = TypeAliasType( + "OntologyManagementServiceRevertPatchResponseTypedDict", + Union[TextqlRPCPublicPatchesRevertPatchResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceRevertPatchResponse = TypeAliasType( + "OntologyManagementServiceRevertPatchResponse", + Union[TextqlRPCPublicPatchesRevertPatchResponse, ConnectError], +) + + +try: + OntologyManagementServiceRevertPatchRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_saveallobjectsasconfigop.py b/src/textql_sdk/models/ontologymanagementservice_saveallobjectsasconfigop.py new file mode 100644 index 0000000..738e83f --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_saveallobjectsasconfigop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_saveallobjectsasconfigrequest import ( + TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, + TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequestTypedDict, +) +from .textql_rpc_public_patches_saveallobjectsasconfigresponse import ( + TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, + TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceSaveAllObjectsAsConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceSaveAllObjectsAsConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceSaveAllObjectsAsConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceSaveAllObjectsAsConfigResponseTypedDict", + Union[ + TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceSaveAllObjectsAsConfigResponse = TypeAliasType( + "OntologyManagementServiceSaveAllObjectsAsConfigResponse", + Union[TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceSaveAllObjectsAsConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_saveobjectasconfigop.py b/src/textql_sdk/models/ontologymanagementservice_saveobjectasconfigop.py new file mode 100644 index 0000000..ca34615 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_saveobjectasconfigop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_saveobjectasconfigrequest import ( + TextqlRPCPublicPatchesSaveObjectAsConfigRequest, + TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict, +) +from .textql_rpc_public_patches_saveobjectasconfigresponse import ( + TextqlRPCPublicPatchesSaveObjectAsConfigResponse, + TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceSaveObjectAsConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceSaveObjectAsConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesSaveObjectAsConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceSaveObjectAsConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceSaveObjectAsConfigResponseTypedDict", + Union[ + TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceSaveObjectAsConfigResponse = TypeAliasType( + "OntologyManagementServiceSaveObjectAsConfigResponse", + Union[TextqlRPCPublicPatchesSaveObjectAsConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceSaveObjectAsConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_setontologyfilegoldenop.py b/src/textql_sdk/models/ontologymanagementservice_setontologyfilegoldenop.py new file mode 100644 index 0000000..01cb9e0 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_setontologyfilegoldenop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_setontologyfilegoldenrequest import ( + TextqlRPCPublicPatchesSetOntologyFileGoldenRequest, + TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict, +) +from .textql_rpc_public_patches_setontologyfilegoldenresponse import ( + TextqlRPCPublicPatchesSetOntologyFileGoldenResponse, + TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceSetOntologyFileGoldenRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceSetOntologyFileGoldenRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesSetOntologyFileGoldenRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceSetOntologyFileGoldenResponseTypedDict = TypeAliasType( + "OntologyManagementServiceSetOntologyFileGoldenResponseTypedDict", + Union[ + TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceSetOntologyFileGoldenResponse = TypeAliasType( + "OntologyManagementServiceSetOntologyFileGoldenResponse", + Union[TextqlRPCPublicPatchesSetOntologyFileGoldenResponse, ConnectError], +) + + +try: + OntologyManagementServiceSetOntologyFileGoldenRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_triggerconfigdriftreconcileop.py b/src/textql_sdk/models/ontologymanagementservice_triggerconfigdriftreconcileop.py new file mode 100644 index 0000000..93caec3 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_triggerconfigdriftreconcileop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_triggerconfigdriftreconcilerequest import ( + TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, +) +from .textql_rpc_public_patches_triggerconfigdriftreconcileresponse import ( + TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, + TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceTriggerConfigDriftReconcileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceTriggerConfigDriftReconcileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceTriggerConfigDriftReconcileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceTriggerConfigDriftReconcileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceTriggerConfigDriftReconcileResponse = TypeAliasType( + "OntologyManagementServiceTriggerConfigDriftReconcileResponse", + Union[TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, ConnectError], +) + + +try: + OntologyManagementServiceTriggerConfigDriftReconcileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_updateapprovalruleop.py b/src/textql_sdk/models/ontologymanagementservice_updateapprovalruleop.py new file mode 100644 index 0000000..27aee56 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_updateapprovalruleop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_updateapprovalrulerequest import ( + TextqlRPCPublicPatchesUpdateApprovalRuleRequest, + TextqlRPCPublicPatchesUpdateApprovalRuleRequestTypedDict, +) +from .textql_rpc_public_patches_updateapprovalruleresponse import ( + TextqlRPCPublicPatchesUpdateApprovalRuleResponse, + TextqlRPCPublicPatchesUpdateApprovalRuleResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpdateApprovalRuleRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesUpdateApprovalRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpdateApprovalRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpdateApprovalRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpdateApprovalRuleResponseTypedDict = TypeAliasType( + "OntologyManagementServiceUpdateApprovalRuleResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpdateApprovalRuleResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceUpdateApprovalRuleResponse = TypeAliasType( + "OntologyManagementServiceUpdateApprovalRuleResponse", + Union[TextqlRPCPublicPatchesUpdateApprovalRuleResponse, ConnectError], +) + + +try: + OntologyManagementServiceUpdateApprovalRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_updatecontextpatchautoapproveruleop.py b/src/textql_sdk/models/ontologymanagementservice_updatecontextpatchautoapproveruleop.py new file mode 100644 index 0000000..2d02c5b --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_updatecontextpatchautoapproveruleop.py @@ -0,0 +1,92 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_updatecontextpatchautoapproverulerequest import ( + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict, +) +from .textql_rpc_public_patches_updatecontextpatchautoapproveruleresponse import ( + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequestTypedDict( + TypedDict +): + body: TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponseTypedDict = ( + TypeAliasType( + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponseTypedDict, + ConnectErrorTypedDict, + ], + ) +) + + +OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse = TypeAliasType( + "OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse", + Union[ + TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, ConnectError + ], +) + + +try: + OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_updateontologysyncconfigop.py b/src/textql_sdk/models/ontologymanagementservice_updateontologysyncconfigop.py new file mode 100644 index 0000000..a96c8ba --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_updateontologysyncconfigop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_updateontologysyncconfigrequest import ( + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest, + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict, +) +from .textql_rpc_public_patches_updateontologysyncconfigresponse import ( + TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse, + TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpdateOntologySyncConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpdateOntologySyncConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpdateOntologySyncConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceUpdateOntologySyncConfigResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceUpdateOntologySyncConfigResponse = TypeAliasType( + "OntologyManagementServiceUpdateOntologySyncConfigResponse", + Union[TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceUpdateOntologySyncConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_upsertontologyanaconfigop.py b/src/textql_sdk/models/ontologymanagementservice_upsertontologyanaconfigop.py new file mode 100644 index 0000000..c132a70 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_upsertontologyanaconfigop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_upsertontologyanaconfigrequest import ( + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest, + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict, +) +from .textql_rpc_public_patches_upsertontologyanaconfigresponse import ( + TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse, + TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpsertOntologyAnaConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpsertOntologyAnaConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpsertOntologyAnaConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceUpsertOntologyAnaConfigResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceUpsertOntologyAnaConfigResponse = TypeAliasType( + "OntologyManagementServiceUpsertOntologyAnaConfigResponse", + Union[TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceUpsertOntologyAnaConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_upsertontologyfileop.py b/src/textql_sdk/models/ontologymanagementservice_upsertontologyfileop.py new file mode 100644 index 0000000..2fba21f --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_upsertontologyfileop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_upsertontologyfilerequest import ( + TextqlRPCPublicPatchesUpsertOntologyFileRequest, + TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict, +) +from .textql_rpc_public_patches_upsertontologyfileresponse import ( + TextqlRPCPublicPatchesUpsertOntologyFileResponse, + TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpsertOntologyFileRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpsertOntologyFileRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpsertOntologyFileRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpsertOntologyFileResponseTypedDict = TypeAliasType( + "OntologyManagementServiceUpsertOntologyFileResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict, ConnectErrorTypedDict + ], +) + + +OntologyManagementServiceUpsertOntologyFileResponse = TypeAliasType( + "OntologyManagementServiceUpsertOntologyFileResponse", + Union[TextqlRPCPublicPatchesUpsertOntologyFileResponse, ConnectError], +) + + +try: + OntologyManagementServiceUpsertOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_upsertontologyownersop.py b/src/textql_sdk/models/ontologymanagementservice_upsertontologyownersop.py new file mode 100644 index 0000000..bc9f349 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_upsertontologyownersop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_upsertontologyownersrequest import ( + TextqlRPCPublicPatchesUpsertOntologyOwnersRequest, + TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict, +) +from .textql_rpc_public_patches_upsertontologyownersresponse import ( + TextqlRPCPublicPatchesUpsertOntologyOwnersResponse, + TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceUpsertOntologyOwnersRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceUpsertOntologyOwnersRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesUpsertOntologyOwnersRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceUpsertOntologyOwnersResponseTypedDict = TypeAliasType( + "OntologyManagementServiceUpsertOntologyOwnersResponseTypedDict", + Union[ + TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +OntologyManagementServiceUpsertOntologyOwnersResponse = TypeAliasType( + "OntologyManagementServiceUpsertOntologyOwnersResponse", + Union[TextqlRPCPublicPatchesUpsertOntologyOwnersResponse, ConnectError], +) + + +try: + OntologyManagementServiceUpsertOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/ontologymanagementservice_validateconfigop.py b/src/textql_sdk/models/ontologymanagementservice_validateconfigop.py new file mode 100644 index 0000000..e8d9b21 --- /dev/null +++ b/src/textql_sdk/models/ontologymanagementservice_validateconfigop.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_patches_validateconfigrequest import ( + TextqlRPCPublicPatchesValidateConfigRequest, + TextqlRPCPublicPatchesValidateConfigRequestTypedDict, +) +from .textql_rpc_public_patches_validateconfigresponse import ( + TextqlRPCPublicPatchesValidateConfigResponse, + TextqlRPCPublicPatchesValidateConfigResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class OntologyManagementServiceValidateConfigRequestTypedDict(TypedDict): + body: TextqlRPCPublicPatchesValidateConfigRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class OntologyManagementServiceValidateConfigRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicPatchesValidateConfigRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +OntologyManagementServiceValidateConfigResponseTypedDict = TypeAliasType( + "OntologyManagementServiceValidateConfigResponseTypedDict", + Union[TextqlRPCPublicPatchesValidateConfigResponseTypedDict, ConnectErrorTypedDict], +) + + +OntologyManagementServiceValidateConfigResponse = TypeAliasType( + "OntologyManagementServiceValidateConfigResponse", + Union[TextqlRPCPublicPatchesValidateConfigResponse, ConnectError], +) + + +try: + OntologyManagementServiceValidateConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/rbacservice_setrolepermissionsop.py b/src/textql_sdk/models/rbacservice_setrolepermissionsop.py new file mode 100644 index 0000000..d6024c5 --- /dev/null +++ b/src/textql_sdk/models/rbacservice_setrolepermissionsop.py @@ -0,0 +1,85 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_rbac_setrolepermissionsrequest import ( + TextqlRPCPublicRbacSetRolePermissionsRequest, + TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict, +) +from .textql_rpc_public_rbac_setrolepermissionsresponse import ( + TextqlRPCPublicRbacSetRolePermissionsResponse, + TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class RBACServiceSetRolePermissionsRequestTypedDict(TypedDict): + body: TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class RBACServiceSetRolePermissionsRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicRbacSetRolePermissionsRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +RBACServiceSetRolePermissionsResponseTypedDict = TypeAliasType( + "RBACServiceSetRolePermissionsResponseTypedDict", + Union[ + TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict, ConnectErrorTypedDict + ], +) + + +RBACServiceSetRolePermissionsResponse = TypeAliasType( + "RBACServiceSetRolePermissionsResponse", + Union[TextqlRPCPublicRbacSetRolePermissionsResponse, ConnectError], +) + + +try: + RBACServiceSetRolePermissionsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/sandboxcapabilityservice_executewriteop.py b/src/textql_sdk/models/sandboxcapabilityservice_executewriteop.py new file mode 100644 index 0000000..1906ee0 --- /dev/null +++ b/src/textql_sdk/models/sandboxcapabilityservice_executewriteop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_sandbox_capability_sandboxexecutewriterequest import ( + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict, +) +from .textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse, + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class SandboxCapabilityServiceExecuteWriteRequestTypedDict(TypedDict): + body: TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class SandboxCapabilityServiceExecuteWriteRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +SandboxCapabilityServiceExecuteWriteResponseTypedDict = TypeAliasType( + "SandboxCapabilityServiceExecuteWriteResponseTypedDict", + Union[ + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +SandboxCapabilityServiceExecuteWriteResponse = TypeAliasType( + "SandboxCapabilityServiceExecuteWriteResponse", + Union[TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse, ConnectError], +) + + +try: + SandboxCapabilityServiceExecuteWriteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/sandboxcapabilityservice_putassetop.py b/src/textql_sdk/models/sandboxcapabilityservice_putassetop.py new file mode 100644 index 0000000..7a3d7b7 --- /dev/null +++ b/src/textql_sdk/models/sandboxcapabilityservice_putassetop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_sandbox_capability_sandboxputassetrequest import ( + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest, + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict, +) +from .textql_rpc_public_sandbox_capability_sandboxputassetresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse, + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class SandboxCapabilityServicePutAssetRequestTypedDict(TypedDict): + body: TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class SandboxCapabilityServicePutAssetRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +SandboxCapabilityServicePutAssetResponseTypedDict = TypeAliasType( + "SandboxCapabilityServicePutAssetResponseTypedDict", + Union[ + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +SandboxCapabilityServicePutAssetResponse = TypeAliasType( + "SandboxCapabilityServicePutAssetResponse", + Union[TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse, ConnectError], +) + + +try: + SandboxCapabilityServicePutAssetRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/sandboxcapabilityservice_sendnotifyop.py b/src/textql_sdk/models/sandboxcapabilityservice_sendnotifyop.py new file mode 100644 index 0000000..e48f7b1 --- /dev/null +++ b/src/textql_sdk/models/sandboxcapabilityservice_sendnotifyop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest import ( + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest, + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict, +) +from .textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse, + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class SandboxCapabilityServiceSendNotifyRequestTypedDict(TypedDict): + body: TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class SandboxCapabilityServiceSendNotifyRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +SandboxCapabilityServiceSendNotifyResponseTypedDict = TypeAliasType( + "SandboxCapabilityServiceSendNotifyResponseTypedDict", + Union[ + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict, + ConnectErrorTypedDict, + ], +) + + +SandboxCapabilityServiceSendNotifyResponse = TypeAliasType( + "SandboxCapabilityServiceSendNotifyResponse", + Union[TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse, ConnectError], +) + + +try: + SandboxCapabilityServiceSendNotifyRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/sandboxcapabilityservice_stateopop.py b/src/textql_sdk/models/sandboxcapabilityservice_stateopop.py new file mode 100644 index 0000000..f9c8feb --- /dev/null +++ b/src/textql_sdk/models/sandboxcapabilityservice_stateopop.py @@ -0,0 +1,86 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .connect_error import ConnectError, ConnectErrorTypedDict +from .textql_rpc_public_sandbox_capability_sandboxstateoprequest import ( + TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest, + TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict, +) +from .textql_rpc_public_sandbox_capability_sandboxstateopresponse import ( + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse, + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict, +) +import pydantic +from pydantic import model_serializer +from pydantic.functional_validators import AfterValidator +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from textql_sdk.utils import ( + FieldMetadata, + HeaderMetadata, + RequestMetadata, + validate_const, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +class SandboxCapabilityServiceStateOpRequestTypedDict(TypedDict): + body: TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict + connect_protocol_version: float + connect_timeout_ms: NotRequired[float] + + +class SandboxCapabilityServiceStateOpRequest(BaseModel): + body: Annotated[ + TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest, + FieldMetadata(request=RequestMetadata(media_type="application/json")), + ] + + connect_protocol_version: Annotated[ + Annotated[float, AfterValidator(validate_const(1))], + pydantic.Field(alias="Connect-Protocol-Version"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = 1 + + connect_timeout_ms: Annotated[ + Optional[float], + pydantic.Field(alias="Connect-Timeout-Ms"), + FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["Connect-Timeout-Ms"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +SandboxCapabilityServiceStateOpResponseTypedDict = TypeAliasType( + "SandboxCapabilityServiceStateOpResponseTypedDict", + Union[ + ConnectErrorTypedDict, + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict, + ], +) + + +SandboxCapabilityServiceStateOpResponse = TypeAliasType( + "SandboxCapabilityServiceStateOpResponse", + Union[ConnectError, TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse], +) + + +try: + SandboxCapabilityServiceStateOpRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/secretservice_createapirevisionop.py b/src/textql_sdk/models/secretservice_createapirevisionop.py deleted file mode 100644 index eda04f4..0000000 --- a/src/textql_sdk/models/secretservice_createapirevisionop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_createapirevisionrequest import ( - TextqlRPCPublicSecretCreateAPIRevisionRequest, - TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict, -) -from .textql_rpc_public_secret_createapirevisionresponse import ( - TextqlRPCPublicSecretCreateAPIRevisionResponse, - TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceCreateAPIRevisionRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceCreateAPIRevisionRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretCreateAPIRevisionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceCreateAPIRevisionResponseTypedDict = TypeAliasType( - "SecretServiceCreateAPIRevisionResponseTypedDict", - Union[ - TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceCreateAPIRevisionResponse = TypeAliasType( - "SecretServiceCreateAPIRevisionResponse", - Union[TextqlRPCPublicSecretCreateAPIRevisionResponse, ConnectError], -) - - -try: - SecretServiceCreateAPIRevisionRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_deleteapiaccesskeyop.py b/src/textql_sdk/models/secretservice_deleteapiaccesskeyop.py deleted file mode 100644 index da7d26e..0000000 --- a/src/textql_sdk/models/secretservice_deleteapiaccesskeyop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_deleteapiaccesskeyrequest import ( - TextqlRPCPublicSecretDeleteAPIAccessKeyRequest, - TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict, -) -from .textql_rpc_public_secret_deleteapiaccesskeyresponse import ( - TextqlRPCPublicSecretDeleteAPIAccessKeyResponse, - TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceDeleteAPIAccessKeyRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceDeleteAPIAccessKeyRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretDeleteAPIAccessKeyRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceDeleteAPIAccessKeyResponseTypedDict = TypeAliasType( - "SecretServiceDeleteAPIAccessKeyResponseTypedDict", - Union[ - TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceDeleteAPIAccessKeyResponse = TypeAliasType( - "SecretServiceDeleteAPIAccessKeyResponse", - Union[TextqlRPCPublicSecretDeleteAPIAccessKeyResponse, ConnectError], -) - - -try: - SecretServiceDeleteAPIAccessKeyRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_deleteapirevisionop.py b/src/textql_sdk/models/secretservice_deleteapirevisionop.py deleted file mode 100644 index 6cf9e93..0000000 --- a/src/textql_sdk/models/secretservice_deleteapirevisionop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_deleteapirevisionrequest import ( - TextqlRPCPublicSecretDeleteAPIRevisionRequest, - TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict, -) -from .textql_rpc_public_secret_deleteapirevisionresponse import ( - TextqlRPCPublicSecretDeleteAPIRevisionResponse, - TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceDeleteAPIRevisionRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceDeleteAPIRevisionRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretDeleteAPIRevisionRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceDeleteAPIRevisionResponseTypedDict = TypeAliasType( - "SecretServiceDeleteAPIRevisionResponseTypedDict", - Union[ - TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceDeleteAPIRevisionResponse = TypeAliasType( - "SecretServiceDeleteAPIRevisionResponse", - Union[TextqlRPCPublicSecretDeleteAPIRevisionResponse, ConnectError], -) - - -try: - SecretServiceDeleteAPIRevisionRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_getapiaccesskeyop.py b/src/textql_sdk/models/secretservice_getapiaccesskeyop.py deleted file mode 100644 index a5e421b..0000000 --- a/src/textql_sdk/models/secretservice_getapiaccesskeyop.py +++ /dev/null @@ -1,83 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_getapiaccesskeyrequest import ( - TextqlRPCPublicSecretGetAPIAccessKeyRequest, - TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict, -) -from .textql_rpc_public_secret_getapiaccesskeyresponse import ( - TextqlRPCPublicSecretGetAPIAccessKeyResponse, - TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceGetAPIAccessKeyRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceGetAPIAccessKeyRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretGetAPIAccessKeyRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceGetAPIAccessKeyResponseTypedDict = TypeAliasType( - "SecretServiceGetAPIAccessKeyResponseTypedDict", - Union[TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict, ConnectErrorTypedDict], -) - - -SecretServiceGetAPIAccessKeyResponse = TypeAliasType( - "SecretServiceGetAPIAccessKeyResponse", - Union[TextqlRPCPublicSecretGetAPIAccessKeyResponse, ConnectError], -) - - -try: - SecretServiceGetAPIAccessKeyRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_listapiaccesskeysop.py b/src/textql_sdk/models/secretservice_listapiaccesskeysop.py deleted file mode 100644 index b514638..0000000 --- a/src/textql_sdk/models/secretservice_listapiaccesskeysop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_listapiaccesskeysrequest import ( - TextqlRPCPublicSecretListAPIAccessKeysRequest, - TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict, -) -from .textql_rpc_public_secret_listapiaccesskeysresponse import ( - TextqlRPCPublicSecretListAPIAccessKeysResponse, - TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceListAPIAccessKeysRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceListAPIAccessKeysRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretListAPIAccessKeysRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceListAPIAccessKeysResponseTypedDict = TypeAliasType( - "SecretServiceListAPIAccessKeysResponseTypedDict", - Union[ - TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceListAPIAccessKeysResponse = TypeAliasType( - "SecretServiceListAPIAccessKeysResponse", - Union[TextqlRPCPublicSecretListAPIAccessKeysResponse, ConnectError], -) - - -try: - SecretServiceListAPIAccessKeysRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_listapiprovidersop.py b/src/textql_sdk/models/secretservice_listapiprovidersop.py deleted file mode 100644 index 6c42e61..0000000 --- a/src/textql_sdk/models/secretservice_listapiprovidersop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_listapiprovidersrequest import ( - TextqlRPCPublicSecretListAPIProvidersRequest, - TextqlRPCPublicSecretListAPIProvidersRequestTypedDict, -) -from .textql_rpc_public_secret_listapiprovidersresponse import ( - TextqlRPCPublicSecretListAPIProvidersResponse, - TextqlRPCPublicSecretListAPIProvidersResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceListAPIProvidersRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretListAPIProvidersRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceListAPIProvidersRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretListAPIProvidersRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceListAPIProvidersResponseTypedDict = TypeAliasType( - "SecretServiceListAPIProvidersResponseTypedDict", - Union[ - TextqlRPCPublicSecretListAPIProvidersResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceListAPIProvidersResponse = TypeAliasType( - "SecretServiceListAPIProvidersResponse", - Union[TextqlRPCPublicSecretListAPIProvidersResponse, ConnectError], -) - - -try: - SecretServiceListAPIProvidersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_migratesecrettoapiconnectorop.py b/src/textql_sdk/models/secretservice_migratesecrettoapiconnectorop.py deleted file mode 100644 index afab43e..0000000 --- a/src/textql_sdk/models/secretservice_migratesecrettoapiconnectorop.py +++ /dev/null @@ -1,86 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_migratesecrettoapiconnectorrequest import ( - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest, - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict, -) -from .textql_rpc_public_secret_migratesecrettoapiconnectorresponse import ( - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse, - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceMigrateSecretToAPIConnectorRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceMigrateSecretToAPIConnectorRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceMigrateSecretToAPIConnectorResponseTypedDict = TypeAliasType( - "SecretServiceMigrateSecretToAPIConnectorResponseTypedDict", - Union[ - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict, - ConnectErrorTypedDict, - ], -) - - -SecretServiceMigrateSecretToAPIConnectorResponse = TypeAliasType( - "SecretServiceMigrateSecretToAPIConnectorResponse", - Union[TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse, ConnectError], -) - - -try: - SecretServiceMigrateSecretToAPIConnectorRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_testapiaccesskeyop.py b/src/textql_sdk/models/secretservice_testapiaccesskeyop.py deleted file mode 100644 index 15c5217..0000000 --- a/src/textql_sdk/models/secretservice_testapiaccesskeyop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_testapiaccesskeyrequest import ( - TextqlRPCPublicSecretTestAPIAccessKeyRequest, - TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict, -) -from .textql_rpc_public_secret_testapiaccesskeyresponse import ( - TextqlRPCPublicSecretTestAPIAccessKeyResponse, - TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceTestAPIAccessKeyRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceTestAPIAccessKeyRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretTestAPIAccessKeyRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceTestAPIAccessKeyResponseTypedDict = TypeAliasType( - "SecretServiceTestAPIAccessKeyResponseTypedDict", - Union[ - TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceTestAPIAccessKeyResponse = TypeAliasType( - "SecretServiceTestAPIAccessKeyResponse", - Union[TextqlRPCPublicSecretTestAPIAccessKeyResponse, ConnectError], -) - - -try: - SecretServiceTestAPIAccessKeyRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/secretservice_upsertapiaccesskeyop.py b/src/textql_sdk/models/secretservice_upsertapiaccesskeyop.py deleted file mode 100644 index 73602f4..0000000 --- a/src/textql_sdk/models/secretservice_upsertapiaccesskeyop.py +++ /dev/null @@ -1,85 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .connect_error import ConnectError, ConnectErrorTypedDict -from .textql_rpc_public_secret_upsertapiaccesskeyrequest import ( - TextqlRPCPublicSecretUpsertAPIAccessKeyRequest, - TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict, -) -from .textql_rpc_public_secret_upsertapiaccesskeyresponse import ( - TextqlRPCPublicSecretUpsertAPIAccessKeyResponse, - TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict, -) -import pydantic -from pydantic import model_serializer -from pydantic.functional_validators import AfterValidator -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from textql_sdk.utils import ( - FieldMetadata, - HeaderMetadata, - RequestMetadata, - validate_const, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -class SecretServiceUpsertAPIAccessKeyRequestTypedDict(TypedDict): - body: TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict - connect_protocol_version: float - connect_timeout_ms: NotRequired[float] - - -class SecretServiceUpsertAPIAccessKeyRequest(BaseModel): - body: Annotated[ - TextqlRPCPublicSecretUpsertAPIAccessKeyRequest, - FieldMetadata(request=RequestMetadata(media_type="application/json")), - ] - - connect_protocol_version: Annotated[ - Annotated[float, AfterValidator(validate_const(1))], - pydantic.Field(alias="Connect-Protocol-Version"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = 1 - - connect_timeout_ms: Annotated[ - Optional[float], - pydantic.Field(alias="Connect-Timeout-Ms"), - FieldMetadata(header=HeaderMetadata(style="simple", explode=False)), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["Connect-Timeout-Ms"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -SecretServiceUpsertAPIAccessKeyResponseTypedDict = TypeAliasType( - "SecretServiceUpsertAPIAccessKeyResponseTypedDict", - Union[ - TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict, ConnectErrorTypedDict - ], -) - - -SecretServiceUpsertAPIAccessKeyResponse = TypeAliasType( - "SecretServiceUpsertAPIAccessKeyResponse", - Union[TextqlRPCPublicSecretUpsertAPIAccessKeyResponse, ConnectError], -) - - -try: - SecretServiceUpsertAPIAccessKeyRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_paradigm_params_paradigmtype.py b/src/textql_sdk/models/textql_rpc_paradigm_params_paradigmtype.py index f290904..86f542e 100644 --- a/src/textql_sdk/models/textql_rpc_paradigm_params_paradigmtype.py +++ b/src/textql_sdk/models/textql_rpc_paradigm_params_paradigmtype.py @@ -8,19 +8,7 @@ TextqlRPCParadigmParamsParadigmType = Union[ Literal[ "TYPE_UNKNOWN", - "TYPE_SQL", - "TYPE_RESEARCH", - "TYPE_ONTOLOGY", - "TYPE_BASIC", - "TYPE_TABLEAU", - "TYPE_EXPERIMENTAL", "TYPE_UNIVERSAL", - "TYPE_PUBLIC_DEMO", - "TYPE_SUMMARY", - "TYPE_OBSERVABILITY", - "TYPE_TEMPLATE", - "TYPE_MINIMALIST", - "TYPE_TOPICS", ], UnrecognizedStr, ] diff --git a/src/textql_sdk/models/textql_rpc_public_app_app.py b/src/textql_sdk/models/textql_rpc_public_app_app.py index f793ad4..8e43a03 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_app.py +++ b/src/textql_sdk/models/textql_rpc_public_app_app.py @@ -5,6 +5,10 @@ TextqlRPCPublicAppAppFile, TextqlRPCPublicAppAppFileTypedDict, ) +from .textql_rpc_public_app_capability import ( + TextqlRPCPublicAppCapability, + TextqlRPCPublicAppCapabilityTypedDict, +) from .textql_rpc_public_app_computefunction import ( TextqlRPCPublicAppComputeFunction, TextqlRPCPublicAppComputeFunctionTypedDict, @@ -41,13 +45,17 @@ class TextqlRPCPublicAppAppTypedDict(TypedDict): chat_id: NotRequired[Nullable[str]] published_html_url: NotRequired[Nullable[str]] has_unpublished_changes: NotRequired[bool] - staleness_seconds: NotRequired[Nullable[int]] compute_functions: NotRequired[List[TextqlRPCPublicAppComputeFunctionTypedDict]] files: NotRequired[List[TextqlRPCPublicAppAppFileTypedDict]] schedule_enabled: NotRequired[bool] cron_string: NotRequired[Nullable[str]] folder_id: NotRequired[Nullable[str]] is_favorited: NotRequired[bool] + capabilities: NotRequired[List[TextqlRPCPublicAppCapabilityTypedDict]] + app_db_setup: NotRequired[List[str]] + member_features_enabled: NotRequired[bool] + uses_member_features: NotRequired[bool] + viewer_grants: NotRequired[List[str]] created_at: NotRequired[datetime] r"""A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at @@ -452,10 +460,6 @@ class TextqlRPCPublicAppApp(BaseModel): Optional[bool], pydantic.Field(alias="hasUnpublishedChanges") ] = None - staleness_seconds: Annotated[ - OptionalNullable[int], pydantic.Field(alias="stalenessSeconds") - ] = UNSET - compute_functions: Annotated[ Optional[List[TextqlRPCPublicAppComputeFunction]], pydantic.Field(alias="computeFunctions"), @@ -477,6 +481,24 @@ class TextqlRPCPublicAppApp(BaseModel): is_favorited: Annotated[Optional[bool], pydantic.Field(alias="isFavorited")] = None + capabilities: Optional[List[TextqlRPCPublicAppCapability]] = None + + app_db_setup: Annotated[Optional[List[str]], pydantic.Field(alias="appDbSetup")] = ( + None + ) + + member_features_enabled: Annotated[ + Optional[bool], pydantic.Field(alias="memberFeaturesEnabled") + ] = None + + uses_member_features: Annotated[ + Optional[bool], pydantic.Field(alias="usesMemberFeatures") + ] = None + + viewer_grants: Annotated[ + Optional[List[str]], pydantic.Field(alias="viewerGrants") + ] = None + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None r"""A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at @@ -866,13 +888,17 @@ def serialize_model(self, handler): "chatId", "publishedHtmlUrl", "hasUnpublishedChanges", - "stalenessSeconds", "computeFunctions", "files", "scheduleEnabled", "cronString", "folderId", "isFavorited", + "capabilities", + "appDbSetup", + "memberFeaturesEnabled", + "usesMemberFeatures", + "viewerGrants", "createdAt", "updatedAt", "refreshedAt", @@ -886,7 +912,6 @@ def serialize_model(self, handler): "screenshotUrl", "chatId", "publishedHtmlUrl", - "stalenessSeconds", "cronString", "folderId", ] diff --git a/src/textql_sdk/models/textql_rpc_public_app_appactivityrecord.py b/src/textql_sdk/models/textql_rpc_public_app_appactivityrecord.py new file mode 100644 index 0000000..273f05c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_appactivityrecord.py @@ -0,0 +1,282 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicAppAppActivityRecordSeqTypedDict = TypeAliasType( + "TextqlRPCPublicAppAppActivityRecordSeqTypedDict", Union[int, str] +) + + +TextqlRPCPublicAppAppActivityRecordSeq = TypeAliasType( + "TextqlRPCPublicAppAppActivityRecordSeq", Union[int, str] +) + + +class TextqlRPCPublicAppAppActivityRecordTypedDict(TypedDict): + r"""One activity row from any member of the app; display_name resolved server-side. + Never carries email or raw identity fields (names-not-emails is enforced here). + """ + + seq: NotRequired[TextqlRPCPublicAppAppActivityRecordSeqTypedDict] + member_id: NotRequired[str] + display_name: NotRequired[str] + type: NotRequired[str] + scope: NotRequired[Nullable[str]] + payload_json: NotRequired[Nullable[str]] + created_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + +class TextqlRPCPublicAppAppActivityRecord(BaseModel): + r"""One activity row from any member of the app; display_name resolved server-side. + Never carries email or raw identity fields (names-not-emails is enforced here). + """ + + seq: Optional[TextqlRPCPublicAppAppActivityRecordSeq] = None + + member_id: Annotated[Optional[str], pydantic.Field(alias="memberId")] = None + + display_name: Annotated[Optional[str], pydantic.Field(alias="displayName")] = None + + type: Optional[str] = None + + scope: OptionalNullable[str] = UNSET + + payload_json: Annotated[ + OptionalNullable[str], pydantic.Field(alias="payloadJson") + ] = UNSET + + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "seq", + "memberId", + "displayName", + "type", + "scope", + "payloadJson", + "createdAt", + ] + ) + nullable_fields = set(["scope", "payloadJson"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppAppActivityRecord.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_appmemberactivityrow.py b/src/textql_sdk/models/textql_rpc_public_app_appmemberactivityrow.py new file mode 100644 index 0000000..b9ce48f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_appmemberactivityrow.py @@ -0,0 +1,258 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict = TypeAliasType( + "TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict", Union[int, str] +) + + +TextqlRPCPublicAppAppMemberActivityRowSeq = TypeAliasType( + "TextqlRPCPublicAppAppMemberActivityRowSeq", Union[int, str] +) + + +class TextqlRPCPublicAppAppMemberActivityRowTypedDict(TypedDict): + seq: NotRequired[TextqlRPCPublicAppAppMemberActivityRowSeqTypedDict] + type: NotRequired[str] + scope: NotRequired[Nullable[str]] + payload_json: NotRequired[Nullable[str]] + created_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + +class TextqlRPCPublicAppAppMemberActivityRow(BaseModel): + seq: Optional[TextqlRPCPublicAppAppMemberActivityRowSeq] = None + + type: Optional[str] = None + + scope: OptionalNullable[str] = UNSET + + payload_json: Annotated[ + OptionalNullable[str], pydantic.Field(alias="payloadJson") + ] = UNSET + + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["seq", "type", "scope", "payloadJson", "createdAt"]) + nullable_fields = set(["scope", "payloadJson"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppAppMemberActivityRow.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_appversion.py b/src/textql_sdk/models/textql_rpc_public_app_appversion.py index 68bbea3..91859d5 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_appversion.py +++ b/src/textql_sdk/models/textql_rpc_public_app_appversion.py @@ -34,7 +34,9 @@ class TextqlRPCPublicAppAppVersionTypedDict(TypedDict): id: NotRequired[str] app_id: NotRequired[str] + r"""Routing observability: warm | warm_fallback | tql | sql.""" version_number: NotRequired[int] + r"""Whether this invoke paid phase-1 module definition (cold imports).""" code: NotRequired[str] data_sources: NotRequired[List[TextqlRPCPublicDashboardDataSourceTypedDict]] compute_functions: NotRequired[List[TextqlRPCPublicAppComputeFunctionTypedDict]] @@ -42,7 +44,6 @@ class TextqlRPCPublicAppAppVersionTypedDict(TypedDict): name: NotRequired[str] description: NotRequired[Nullable[str]] published_html_url: NotRequired[Nullable[str]] - staleness_seconds: NotRequired[Nullable[int]] published_by: NotRequired[str] label: NotRequired[Nullable[str]] published_at: NotRequired[datetime] @@ -143,10 +144,12 @@ class TextqlRPCPublicAppAppVersion(BaseModel): id: Optional[str] = None app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + r"""Routing observability: warm | warm_fallback | tql | sql.""" version_number: Annotated[Optional[int], pydantic.Field(alias="versionNumber")] = ( None ) + r"""Whether this invoke paid phase-1 module definition (cold imports).""" code: Optional[str] = None @@ -170,10 +173,6 @@ class TextqlRPCPublicAppAppVersion(BaseModel): OptionalNullable[str], pydantic.Field(alias="publishedHtmlUrl") ] = UNSET - staleness_seconds: Annotated[ - OptionalNullable[int], pydantic.Field(alias="stalenessSeconds") - ] = UNSET - published_by: Annotated[Optional[str], pydantic.Field(alias="publishedBy")] = None label: OptionalNullable[str] = UNSET @@ -288,16 +287,13 @@ def serialize_model(self, handler): "name", "description", "publishedHtmlUrl", - "stalenessSeconds", "publishedBy", "label", "publishedAt", "publisher", ] ) - nullable_fields = set( - ["description", "publishedHtmlUrl", "stalenessSeconds", "label"] - ) + nullable_fields = set(["description", "publishedHtmlUrl", "label"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_app_capability.py b/src/textql_sdk/models/textql_rpc_public_app_capability.py new file mode 100644 index 0000000..df1b122 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_capability.py @@ -0,0 +1,95 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_app_capabilityparam import ( + TextqlRPCPublicAppCapabilityParam, + TextqlRPCPublicAppCapabilityParamTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppCapabilityTypedDict(TypedDict): + type: NotRequired[str] + name: NotRequired[Nullable[str]] + r"""string | number | boolean | object | array""" + connector_id: NotRequired[Nullable[int]] + statement: NotRequired[Nullable[str]] + scope: NotRequired[Nullable[str]] + subject: NotRequired[Nullable[str]] + body: NotRequired[Nullable[str]] + parameters: NotRequired[List[TextqlRPCPublicAppCapabilityParamTypedDict]] + + +class TextqlRPCPublicAppCapability(BaseModel): + type: Optional[str] = None + + name: OptionalNullable[str] = UNSET + r"""string | number | boolean | object | array""" + + connector_id: Annotated[ + OptionalNullable[int], pydantic.Field(alias="connectorId") + ] = UNSET + + statement: OptionalNullable[str] = UNSET + + scope: OptionalNullable[str] = UNSET + + subject: OptionalNullable[str] = UNSET + + body: OptionalNullable[str] = UNSET + + parameters: Optional[List[TextqlRPCPublicAppCapabilityParam]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "type", + "name", + "connectorId", + "statement", + "scope", + "subject", + "body", + "parameters", + ] + ) + nullable_fields = set( + ["name", "connectorId", "statement", "scope", "subject", "body"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppCapability.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_capabilityparam.py b/src/textql_sdk/models/textql_rpc_public_app_capabilityparam.py new file mode 100644 index 0000000..2d48105 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_capabilityparam.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicAppCapabilityParamTypedDict(TypedDict): + name: NotRequired[str] + type: NotRequired[Nullable[str]] + description: NotRequired[Nullable[str]] + + +class TextqlRPCPublicAppCapabilityParam(BaseModel): + name: Optional[str] = None + + type: OptionalNullable[str] = UNSET + + description: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["name", "type", "description"]) + nullable_fields = set(["type", "description"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_app_computefunction.py b/src/textql_sdk/models/textql_rpc_public_app_computefunction.py index 67e81ed..78d91d3 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_computefunction.py +++ b/src/textql_sdk/models/textql_rpc_public_app_computefunction.py @@ -5,6 +5,11 @@ TextqlRPCPublicAppComputeFunctionParam, TextqlRPCPublicAppComputeFunctionParamTypedDict, ) +from .textql_rpc_public_dashboard_grant import ( + TextqlRPCPublicDashboardGrant, + TextqlRPCPublicDashboardGrantTypedDict, +) +import pydantic from pydantic import model_serializer from textql_sdk.types import ( BaseModel, @@ -14,7 +19,7 @@ UNSET_SENTINEL, ) from typing import List, Optional -from typing_extensions import NotRequired, TypedDict +from typing_extensions import Annotated, NotRequired, TypedDict class TextqlRPCPublicAppComputeFunctionTypedDict(TypedDict): @@ -23,6 +28,13 @@ class TextqlRPCPublicAppComputeFunctionTypedDict(TypedDict): params: NotRequired[List[TextqlRPCPublicAppComputeFunctionParamTypedDict]] returns: NotRequired[Nullable[str]] code: NotRequired[str] + tql_path: NotRequired[Nullable[str]] + tql: NotRequired[Nullable[str]] + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class TextqlRPCPublicAppComputeFunction(BaseModel): @@ -36,10 +48,31 @@ class TextqlRPCPublicAppComputeFunction(BaseModel): code: Optional[str] = None + tql_path: Annotated[OptionalNullable[str], pydantic.Field(alias="tqlPath")] = UNSET + + tql: OptionalNullable[str] = UNSET + + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["name", "description", "params", "returns", "code"]) - nullable_fields = set(["returns"]) + optional_fields = set( + [ + "name", + "description", + "params", + "returns", + "code", + "tqlPath", + "tql", + "grant", + ] + ) + nullable_fields = set(["returns", "tqlPath", "tql"]) serialized = handler(self) m = {} @@ -60,3 +93,9 @@ def serialize_model(self, handler): m[k] = val return m + + +try: + TextqlRPCPublicAppComputeFunction.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_createapprequest.py b/src/textql_sdk/models/textql_rpc_public_app_createapprequest.py index 509334f..e92c946 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_createapprequest.py +++ b/src/textql_sdk/models/textql_rpc_public_app_createapprequest.py @@ -5,6 +5,10 @@ TextqlRPCPublicAppAppFile, TextqlRPCPublicAppAppFileTypedDict, ) +from .textql_rpc_public_app_capability import ( + TextqlRPCPublicAppCapability, + TextqlRPCPublicAppCapabilityTypedDict, +) from .textql_rpc_public_app_computefunction import ( TextqlRPCPublicAppComputeFunction, TextqlRPCPublicAppComputeFunctionTypedDict, @@ -33,6 +37,8 @@ class TextqlRPCPublicAppCreateAppRequestTypedDict(TypedDict): data_sources: NotRequired[List[TextqlRPCPublicDashboardDataSourceTypedDict]] compute_functions: NotRequired[List[TextqlRPCPublicAppComputeFunctionTypedDict]] files: NotRequired[List[TextqlRPCPublicAppAppFileTypedDict]] + capabilities: NotRequired[List[TextqlRPCPublicAppCapabilityTypedDict]] + app_db_setup: NotRequired[List[str]] class TextqlRPCPublicAppCreateAppRequest(BaseModel): @@ -54,10 +60,25 @@ class TextqlRPCPublicAppCreateAppRequest(BaseModel): files: Optional[List[TextqlRPCPublicAppAppFile]] = None + capabilities: Optional[List[TextqlRPCPublicAppCapability]] = None + + app_db_setup: Annotated[Optional[List[str]], pydantic.Field(alias="appDbSetup")] = ( + None + ) + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( - ["name", "description", "code", "dataSources", "computeFunctions", "files"] + [ + "name", + "description", + "code", + "dataSources", + "computeFunctions", + "files", + "capabilities", + "appDbSetup", + ] ) nullable_fields = set(["description"]) serialized = handler(self) diff --git a/src/textql_sdk/models/textql_rpc_public_app_getappmemberstaterequest.py b/src/textql_sdk/models/textql_rpc_public_app_getappmemberstaterequest.py new file mode 100644 index 0000000..fe67c2b --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_getappmemberstaterequest.py @@ -0,0 +1,42 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppGetAppMemberStateRequestTypedDict(TypedDict): + r"""Per-member state""" + + app_id: NotRequired[str] + + +class TextqlRPCPublicAppGetAppMemberStateRequest(BaseModel): + r"""Per-member state""" + + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicAppGetAppMemberStateRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_getappmemberstateresponse.py b/src/textql_sdk/models/textql_rpc_public_app_getappmemberstateresponse.py new file mode 100644 index 0000000..38f3f6f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_getappmemberstateresponse.py @@ -0,0 +1,40 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppGetAppMemberStateResponseTypedDict(TypedDict): + value_json: NotRequired[str] + r"""JSON object; \"{}\" when the member has no saved state""" + + +class TextqlRPCPublicAppGetAppMemberStateResponse(BaseModel): + value_json: Annotated[Optional[str], pydantic.Field(alias="valueJson")] = None + r"""JSON object; \"{}\" when the member has no saved state""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["valueJson"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicAppGetAppMemberStateResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionrequest.py b/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionrequest.py index 1c1eec2..7a4f2dd 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionrequest.py @@ -11,7 +11,6 @@ class TextqlRPCPublicAppInvokeAppComputeFunctionRequestTypedDict(TypedDict): app_id: NotRequired[str] function_name: NotRequired[str] - r"""string | number | boolean | object | array""" params_json: NotRequired[str] @@ -19,7 +18,6 @@ class TextqlRPCPublicAppInvokeAppComputeFunctionRequest(BaseModel): app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None function_name: Annotated[Optional[str], pydantic.Field(alias="functionName")] = None - r"""string | number | boolean | object | array""" params_json: Annotated[Optional[str], pydantic.Field(alias="paramsJson")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionresponse.py b/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionresponse.py index a05e587..f09b009 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_app_invokeappcomputefunctionresponse.py @@ -9,13 +9,23 @@ class TextqlRPCPublicAppInvokeAppComputeFunctionResponseTypedDict(TypedDict): - r"""ComputeFunction is a declared server-side python function invocable from the app via the bridge.""" + r"""ComputeFunction is a declared server-side function invocable from the app via the bridge. + Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's + private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. + TQL variants are real TQL (compiled at save time) executed against a connector; sql is + the app-state path (:name params bound server-side, reserved :_now / :_uuid). + """ result_json: NotRequired[str] class TextqlRPCPublicAppInvokeAppComputeFunctionResponse(BaseModel): - r"""ComputeFunction is a declared server-side python function invocable from the app via the bridge.""" + r"""ComputeFunction is a declared server-side function invocable from the app via the bridge. + Exactly one of code (python, runs on the app's worker), sql (plain SQL on the app's + private DB), tql (inline TQL source), or tql_path (a Context Library .tql) must be set. + TQL variants are real TQL (compiled at save time) executed against a connector; sql is + the app-state path (:name params bound server-side, reserved :_now / :_uuid). + """ result_json: Annotated[Optional[str], pydantic.Field(alias="resultJson")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_app_listappactivitysincerequest.py b/src/textql_sdk/models/textql_rpc_public_app_listappactivitysincerequest.py new file mode 100644 index 0000000..34db651 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_listappactivitysincerequest.py @@ -0,0 +1,70 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +AfterSeqTypedDict = TypeAliasType("AfterSeqTypedDict", Union[int, str]) + + +AfterSeq = TypeAliasType("AfterSeq", Union[int, str]) + + +class TextqlRPCPublicAppListAppActivitySinceRequestTypedDict(TypedDict): + app_id: NotRequired[str] + scope: NotRequired[Nullable[str]] + after_seq: NotRequired[AfterSeqTypedDict] + limit: NotRequired[int] + r"""server clamps to 200; <=0 means default""" + + +class TextqlRPCPublicAppListAppActivitySinceRequest(BaseModel): + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + scope: OptionalNullable[str] = UNSET + + after_seq: Annotated[Optional[AfterSeq], pydantic.Field(alias="afterSeq")] = None + + limit: Optional[int] = None + r"""server clamps to 200; <=0 means default""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId", "scope", "afterSeq", "limit"]) + nullable_fields = set(["scope"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppListAppActivitySinceRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_listappactivitysinceresponse.py b/src/textql_sdk/models/textql_rpc_public_app_listappactivitysinceresponse.py new file mode 100644 index 0000000..a37eb2a --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_listappactivitysinceresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_app_appactivityrecord import ( + TextqlRPCPublicAppAppActivityRecord, + TextqlRPCPublicAppAppActivityRecordTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicAppListAppActivitySinceResponseTypedDict(TypedDict): + records: NotRequired[List[TextqlRPCPublicAppAppActivityRecordTypedDict]] + + +class TextqlRPCPublicAppListAppActivitySinceResponse(BaseModel): + records: Optional[List[TextqlRPCPublicAppAppActivityRecord]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["records"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityrequest.py b/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityrequest.py new file mode 100644 index 0000000..56c77a8 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityrequest.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppListMyAppMemberActivityRequestTypedDict(TypedDict): + app_id: NotRequired[str] + type: NotRequired[Nullable[str]] + limit: NotRequired[int] + r"""server clamps to 200; <=0 means default""" + + +class TextqlRPCPublicAppListMyAppMemberActivityRequest(BaseModel): + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + type: OptionalNullable[str] = UNSET + + limit: Optional[int] = None + r"""server clamps to 200; <=0 means default""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId", "type", "limit"]) + nullable_fields = set(["type"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppListMyAppMemberActivityRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityresponse.py b/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityresponse.py new file mode 100644 index 0000000..28bf52e --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_listmyappmemberactivityresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_app_appmemberactivityrow import ( + TextqlRPCPublicAppAppMemberActivityRow, + TextqlRPCPublicAppAppMemberActivityRowTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicAppListMyAppMemberActivityResponseTypedDict(TypedDict): + rows: NotRequired[List[TextqlRPCPublicAppAppMemberActivityRowTypedDict]] + + +class TextqlRPCPublicAppListMyAppMemberActivityResponse(BaseModel): + rows: Optional[List[TextqlRPCPublicAppAppMemberActivityRow]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["rows"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_app_presenceheartbeatrequest.py b/src/textql_sdk/models/textql_rpc_public_app_presenceheartbeatrequest.py new file mode 100644 index 0000000..e935451 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_presenceheartbeatrequest.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppPresenceHeartbeatRequestTypedDict(TypedDict): + app_id: NotRequired[str] + zone: NotRequired[str] + + +class TextqlRPCPublicAppPresenceHeartbeatRequest(BaseModel): + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + zone: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId", "zone"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicAppPresenceHeartbeatRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityrequest.py b/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityrequest.py new file mode 100644 index 0000000..5746814 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityrequest.py @@ -0,0 +1,75 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppRecordAppMemberActivityRequestTypedDict(TypedDict): + r"""Per-member activity log""" + + app_id: NotRequired[str] + type: NotRequired[str] + scope: NotRequired[Nullable[str]] + payload_json: NotRequired[Nullable[str]] + r"""JSON object, usage payload authored by the app""" + idem_key: NotRequired[Nullable[str]] + r"""duplicate key returns the existing row, not an error""" + + +class TextqlRPCPublicAppRecordAppMemberActivityRequest(BaseModel): + r"""Per-member activity log""" + + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + type: Optional[str] = None + + scope: OptionalNullable[str] = UNSET + + payload_json: Annotated[ + OptionalNullable[str], pydantic.Field(alias="payloadJson") + ] = UNSET + r"""JSON object, usage payload authored by the app""" + + idem_key: Annotated[OptionalNullable[str], pydantic.Field(alias="idemKey")] = UNSET + r"""duplicate key returns the existing row, not an error""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId", "type", "scope", "payloadJson", "idemKey"]) + nullable_fields = set(["scope", "payloadJson", "idemKey"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicAppRecordAppMemberActivityRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityresponse.py b/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityresponse.py new file mode 100644 index 0000000..3978467 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_recordappmemberactivityresponse.py @@ -0,0 +1,232 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict = TypeAliasType( + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict", Union[int, str] +) + + +TextqlRPCPublicAppRecordAppMemberActivityResponseSeq = TypeAliasType( + "TextqlRPCPublicAppRecordAppMemberActivityResponseSeq", Union[int, str] +) + + +class TextqlRPCPublicAppRecordAppMemberActivityResponseTypedDict(TypedDict): + seq: NotRequired[TextqlRPCPublicAppRecordAppMemberActivityResponseSeqTypedDict] + created_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + +class TextqlRPCPublicAppRecordAppMemberActivityResponse(BaseModel): + seq: Optional[TextqlRPCPublicAppRecordAppMemberActivityResponseSeq] = None + + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["seq", "createdAt"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicAppRecordAppMemberActivityResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_setappmemberstaterequest.py b/src/textql_sdk/models/textql_rpc_public_app_setappmemberstaterequest.py new file mode 100644 index 0000000..d946c3c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_setappmemberstaterequest.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicAppSetAppMemberStateRequestTypedDict(TypedDict): + app_id: NotRequired[str] + value_json: NotRequired[str] + r"""whole-object JSON, last-write-wins, max 64KB""" + + +class TextqlRPCPublicAppSetAppMemberStateRequest(BaseModel): + app_id: Annotated[Optional[str], pydantic.Field(alias="appId")] = None + + value_json: Annotated[Optional[str], pydantic.Field(alias="valueJson")] = None + r"""whole-object JSON, last-write-wins, max 64KB""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["appId", "valueJson"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicAppSetAppMemberStateRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_setappmemberstateresponse.py b/src/textql_sdk/models/textql_rpc_public_app_setappmemberstateresponse.py new file mode 100644 index 0000000..62abaf9 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_app_setappmemberstateresponse.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicAppSetAppMemberStateResponseTypedDict(TypedDict): + pass + + +class TextqlRPCPublicAppSetAppMemberStateResponse(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_app_updateapprequest.py b/src/textql_sdk/models/textql_rpc_public_app_updateapprequest.py index e0d5495..efca8c7 100644 --- a/src/textql_sdk/models/textql_rpc_public_app_updateapprequest.py +++ b/src/textql_sdk/models/textql_rpc_public_app_updateapprequest.py @@ -5,6 +5,10 @@ TextqlRPCPublicAppAppFile, TextqlRPCPublicAppAppFileTypedDict, ) +from .textql_rpc_public_app_capability import ( + TextqlRPCPublicAppCapability, + TextqlRPCPublicAppCapabilityTypedDict, +) from .textql_rpc_public_app_computefunction import ( TextqlRPCPublicAppComputeFunction, TextqlRPCPublicAppComputeFunctionTypedDict, @@ -34,13 +38,16 @@ class TextqlRPCPublicAppUpdateAppRequestTypedDict(TypedDict): data_sources: NotRequired[List[TextqlRPCPublicDashboardDataSourceTypedDict]] replace_data_sources: NotRequired[Nullable[bool]] publish: NotRequired[Nullable[bool]] - staleness_seconds: NotRequired[Nullable[int]] compute_functions: NotRequired[List[TextqlRPCPublicAppComputeFunctionTypedDict]] replace_compute_functions: NotRequired[Nullable[bool]] files: NotRequired[List[TextqlRPCPublicAppAppFileTypedDict]] replace_files: NotRequired[Nullable[bool]] schedule_enabled: NotRequired[Nullable[bool]] cron_string: NotRequired[Nullable[str]] + capabilities: NotRequired[List[TextqlRPCPublicAppCapabilityTypedDict]] + replace_capabilities: NotRequired[Nullable[bool]] + app_db_setup: NotRequired[List[str]] + replace_app_db_setup: NotRequired[Nullable[bool]] class TextqlRPCPublicAppUpdateAppRequest(BaseModel): @@ -63,10 +70,6 @@ class TextqlRPCPublicAppUpdateAppRequest(BaseModel): publish: OptionalNullable[bool] = UNSET - staleness_seconds: Annotated[ - OptionalNullable[int], pydantic.Field(alias="stalenessSeconds") - ] = UNSET - compute_functions: Annotated[ Optional[List[TextqlRPCPublicAppComputeFunction]], pydantic.Field(alias="computeFunctions"), @@ -90,6 +93,20 @@ class TextqlRPCPublicAppUpdateAppRequest(BaseModel): OptionalNullable[str], pydantic.Field(alias="cronString") ] = UNSET + capabilities: Optional[List[TextqlRPCPublicAppCapability]] = None + + replace_capabilities: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="replaceCapabilities") + ] = UNSET + + app_db_setup: Annotated[Optional[List[str]], pydantic.Field(alias="appDbSetup")] = ( + None + ) + + replace_app_db_setup: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="replaceAppDbSetup") + ] = UNSET + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -101,13 +118,16 @@ def serialize_model(self, handler): "dataSources", "replaceDataSources", "publish", - "stalenessSeconds", "computeFunctions", "replaceComputeFunctions", "files", "replaceFiles", "scheduleEnabled", "cronString", + "capabilities", + "replaceCapabilities", + "appDbSetup", + "replaceAppDbSetup", ] ) nullable_fields = set( @@ -117,11 +137,12 @@ def serialize_model(self, handler): "code", "replaceDataSources", "publish", - "stalenessSeconds", "replaceComputeFunctions", "replaceFiles", "scheduleEnabled", "cronString", + "replaceCapabilities", + "replaceAppDbSetup", ] ) serialized = handler(self) diff --git a/src/textql_sdk/models/textql_rpc_public_cells_thinkingcell.py b/src/textql_sdk/models/textql_rpc_public_cells_thinkingcell.py new file mode 100644 index 0000000..c0e648f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_cells_thinkingcell.py @@ -0,0 +1,38 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicCellsThinkingCellTypedDict(TypedDict): + content: NotRequired[str] + r"""summarized thinking text; empty for redacted blocks""" + redacted: NotRequired[bool] + r"""provider returned an encrypted redacted_thinking block""" + + +class TextqlRPCPublicCellsThinkingCell(BaseModel): + content: Optional[str] = None + r"""summarized thinking text; empty for redacted blocks""" + + redacted: Optional[bool] = None + r"""provider returned an encrypted redacted_thinking block""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["content", "redacted"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_chat_cell.py b/src/textql_sdk/models/textql_rpc_public_chat_cell.py index 8240502..1910516 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_cell.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_cell.py @@ -221,6 +221,10 @@ TextqlRPCPublicCellsTextCell, TextqlRPCPublicCellsTextCellTypedDict, ) +from .textql_rpc_public_cells_thinkingcell import ( + TextqlRPCPublicCellsThinkingCell, + TextqlRPCPublicCellsThinkingCellTypedDict, +) from .textql_rpc_public_cells_useskillcell import ( TextqlRPCPublicCellsUseSkillCell, TextqlRPCPublicCellsUseSkillCellTypedDict, @@ -244,14 +248,14 @@ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict -TextqlRPCPublicChatCellDurationMs57TypedDict = TypeAliasType( - "TextqlRPCPublicChatCellDurationMs57TypedDict", Union[int, str] +TextqlRPCPublicChatCellDurationMs58TypedDict = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs58TypedDict", Union[int, str] ) r"""cells_v5.duration_ms — wall-clock this cell took""" -TextqlRPCPublicChatCellDurationMs57 = TypeAliasType( - "TextqlRPCPublicChatCellDurationMs57", Union[int, str] +TextqlRPCPublicChatCellDurationMs58 = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs58", Union[int, str] ) r"""cells_v5.duration_ms — wall-clock this cell took""" @@ -360,7 +364,7 @@ class WsCellTypedDict(TypedDict): sender_member_id: NotRequired[Nullable[str]] tool_summary: NotRequired[Nullable[str]] r"""LLM-generated summary of what this tool call does""" - duration_ms: NotRequired[Nullable[TextqlRPCPublicChatCellDurationMs57TypedDict]] + duration_ms: NotRequired[Nullable[TextqlRPCPublicChatCellDurationMs58TypedDict]] r"""cells_v5.duration_ms — wall-clock this cell took""" @@ -489,7 +493,7 @@ class WsCell(BaseModel): r"""LLM-generated summary of what this tool call does""" duration_ms: Annotated[ - OptionalNullable[TextqlRPCPublicChatCellDurationMs57], + OptionalNullable[TextqlRPCPublicChatCellDurationMs58], pydantic.Field(alias="durationMs"), ] = UNSET r"""cells_v5.duration_ms — wall-clock this cell took""" @@ -535,14 +539,14 @@ def serialize_model(self, handler): return m -TextqlRPCPublicChatCellDurationMs56TypedDict = TypeAliasType( - "TextqlRPCPublicChatCellDurationMs56TypedDict", Union[int, str] +TextqlRPCPublicChatCellDurationMs57TypedDict = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs57TypedDict", Union[int, str] ) r"""cells_v5.duration_ms — wall-clock this cell took""" -TextqlRPCPublicChatCellDurationMs56 = TypeAliasType( - "TextqlRPCPublicChatCellDurationMs56", Union[int, str] +TextqlRPCPublicChatCellDurationMs57 = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs57", Union[int, str] ) r"""cells_v5.duration_ms — wall-clock this cell took""" @@ -656,7 +660,7 @@ class UseSkillCellTypedDict(TypedDict): sender_member_id: NotRequired[Nullable[str]] tool_summary: NotRequired[Nullable[str]] r"""LLM-generated summary of what this tool call does""" - duration_ms: NotRequired[Nullable[TextqlRPCPublicChatCellDurationMs56TypedDict]] + duration_ms: NotRequired[Nullable[TextqlRPCPublicChatCellDurationMs57TypedDict]] r"""cells_v5.duration_ms — wall-clock this cell took""" @@ -789,6 +793,297 @@ class UseSkillCell(BaseModel): ] = UNSET r"""LLM-generated summary of what this tool call does""" + duration_ms: Annotated[ + OptionalNullable[TextqlRPCPublicChatCellDurationMs57], + pydantic.Field(alias="durationMs"), + ] = UNSET + r"""cells_v5.duration_ms — wall-clock this cell took""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "id", + "timestamp", + "complete", + "generated", + "lifecycle", + "toolCallId", + "execError", + "senderMemberId", + "toolSummary", + "durationMs", + ] + ) + nullable_fields = set( + ["toolCallId", "execError", "senderMemberId", "toolSummary", "durationMs"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +TextqlRPCPublicChatCellDurationMs56TypedDict = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs56TypedDict", Union[int, str] +) +r"""cells_v5.duration_ms — wall-clock this cell took""" + + +TextqlRPCPublicChatCellDurationMs56 = TypeAliasType( + "TextqlRPCPublicChatCellDurationMs56", Union[int, str] +) +r"""cells_v5.duration_ms — wall-clock this cell took""" + + +class ThinkingCellTypedDict(TypedDict): + thinking_cell: TextqlRPCPublicCellsThinkingCellTypedDict + id: NotRequired[str] + r"""UUID""" + timestamp: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + complete: NotRequired[bool] + generated: NotRequired[bool] + r"""whether it was created by a human or robot""" + lifecycle: NotRequired[TextqlRPCPublicChatCellLifecycle] + tool_call_id: NotRequired[Nullable[str]] + exec_error: NotRequired[Nullable[str]] + sender_member_id: NotRequired[Nullable[str]] + tool_summary: NotRequired[Nullable[str]] + r"""LLM-generated summary of what this tool call does""" + duration_ms: NotRequired[Nullable[TextqlRPCPublicChatCellDurationMs56TypedDict]] + r"""cells_v5.duration_ms — wall-clock this cell took""" + + +class ThinkingCell(BaseModel): + thinking_cell: Annotated[ + TextqlRPCPublicCellsThinkingCell, pydantic.Field(alias="thinkingCell") + ] + + id: Optional[str] = None + r"""UUID""" + + timestamp: Optional[datetime] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + complete: Optional[bool] = None + + generated: Optional[bool] = None + r"""whether it was created by a human or robot""" + + lifecycle: Optional[TextqlRPCPublicChatCellLifecycle] = None + + tool_call_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="toolCallId") + ] = UNSET + + exec_error: Annotated[OptionalNullable[str], pydantic.Field(alias="execError")] = ( + UNSET + ) + + sender_member_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="senderMemberId") + ] = UNSET + + tool_summary: Annotated[ + OptionalNullable[str], pydantic.Field(alias="toolSummary") + ] = UNSET + r"""LLM-generated summary of what this tool call does""" + duration_ms: Annotated[ OptionalNullable[TextqlRPCPublicChatCellDurationMs56], pydantic.Field(alias="durationMs"), @@ -16945,6 +17240,7 @@ def serialize_model(self, handler): TableauSQLCellTypedDict, TabularFileCellTypedDict, TextCellTypedDict, + ThinkingCellTypedDict, UseSkillCellTypedDict, WsCellTypedDict, ], @@ -17009,6 +17305,7 @@ def serialize_model(self, handler): TableauSQLCell, TabularFileCell, TextCell, + ThinkingCell, UseSkillCell, WsCell, ], @@ -17023,6 +17320,10 @@ def serialize_model(self, handler): UseSkillCell.model_rebuild() except NameError: pass +try: + ThinkingCell.model_rebuild() +except NameError: + pass try: TextCell.model_rebuild() except NameError: diff --git a/src/textql_sdk/models/textql_rpc_public_chat_chat.py b/src/textql_sdk/models/textql_rpc_public_chat_chat.py index eb444e9..2ece34e 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_chat.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_chat.py @@ -247,6 +247,10 @@ class TextqlRPCPublicChatChatTypedDict(TypedDict): r"""Agent that owns this chat, unset for human-initiated chats.""" agent_name: NotRequired[Nullable[str]] agent_profile_image_url: NotRequired[Nullable[str]] + max_thinking: NotRequired[Nullable[bool]] + r"""max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. Thinking tokens bill as output tokens. + """ class TextqlRPCPublicChatChat(BaseModel): @@ -529,6 +533,13 @@ class TextqlRPCPublicChatChat(BaseModel): OptionalNullable[str], pydantic.Field(alias="agentProfileImageUrl") ] = UNSET + max_thinking: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="maxThinking") + ] = UNSET + r"""max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. Thinking tokens bill as output tokens. + """ + @model_serializer(mode="wrap") def _serialize_model(self, handler): optional_fields = set( @@ -560,6 +571,7 @@ def _serialize_model(self, handler): "agentId", "agentName", "agentProfileImageUrl", + "maxThinking", ] ) nullable_fields = set( @@ -582,6 +594,7 @@ def _serialize_model(self, handler): "agentId", "agentName", "agentProfileImageUrl", + "maxThinking", ] ) serialized = handler(self) diff --git a/src/textql_sdk/models/textql_rpc_public_chat_createrequest.py b/src/textql_sdk/models/textql_rpc_public_chat_createrequest.py index 2d33a94..e222025 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_createrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_createrequest.py @@ -41,6 +41,10 @@ class TextqlRPCPublicChatCreateRequestTypedDict(TypedDict): r"""fast_mode enables Anthropic's fast inference (speed: \"fast\") for this chat. Currently supported on Opus 4.6 only. Pricing is 6x standard rates. """ + max_thinking: NotRequired[Nullable[bool]] + r"""max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. + """ class TextqlRPCPublicChatCreateRequest(BaseModel): @@ -81,6 +85,13 @@ class TextqlRPCPublicChatCreateRequest(BaseModel): Currently supported on Opus 4.6 only. Pricing is 6x standard rates. """ + max_thinking: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="maxThinking") + ] = UNSET + r"""max_thinking runs extended thinking at max effort with visible reasoning. + Supported on Sonnet 5, Fable 5, and Opus 4.8. + """ + @model_serializer(mode="wrap") def _serialize_model(self, handler): optional_fields = set( @@ -94,6 +105,7 @@ def _serialize_model(self, handler): "methodology", "vllmModelId", "fastMode", + "maxThinking", ] ) nullable_fields = set( @@ -104,6 +116,7 @@ def _serialize_model(self, handler): "dashboardMode", "vllmModelId", "fastMode", + "maxThinking", ] ) serialized = handler(self) diff --git a/src/textql_sdk/models/textql_rpc_public_chat_getchatsrequest.py b/src/textql_sdk/models/textql_rpc_public_chat_getchatsrequest.py index 128bf4f..e85c303 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_getchatsrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_getchatsrequest.py @@ -235,6 +235,8 @@ class TextqlRPCPublicChatGetChatsRequestTypedDict(TypedDict): r"""Only chats tagged with at least one of these custom topics (verdict='tagged'). Ignored when empty. """ + connector_ids: NotRequired[List[int]] + r"""Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty.""" class TextqlRPCPublicChatGetChatsRequest(BaseModel): @@ -499,6 +501,11 @@ class TextqlRPCPublicChatGetChatsRequest(BaseModel): (verdict='tagged'). Ignored when empty. """ + connector_ids: Annotated[ + Optional[List[int]], pydantic.Field(alias="connectorIds") + ] = None + r"""Filter chats that have any of these connector IDs in their paradigm options (union). Ignored when empty.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -523,6 +530,7 @@ def serialize_model(self, handler): "sources", "threadWarningTypes", "topicIds", + "connectorIds", ] ) nullable_fields = set( diff --git a/src/textql_sdk/models/textql_rpc_public_chat_getllmusageresponse.py b/src/textql_sdk/models/textql_rpc_public_chat_getllmusageresponse.py index 2dbdfa6..d2fbd9f 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_getllmusageresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_getllmusageresponse.py @@ -23,6 +23,23 @@ class TextqlRPCPublicChatGetLlmUsageResponseTypedDict(TypedDict): context_window_used: NotRequired[float] r"""range: [0, 1]""" estimated_cost: NotRequired[Nullable[float]] + r"""Estimated LLM-token cost (USD, list model prices). LLM only.""" + estimated_compute_cost: NotRequired[Nullable[float]] + r"""Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds → + ACUs → USD at the org's effective rate. Add to estimated_cost for the + thread's total cost. Requires the console rate (0/omitted if unavailable). + """ + sandbox_id: NotRequired[Nullable[str]] + r"""The chat's sandbox id ({orgID}-{chatID}), set when the thread used any + sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted + when the thread had no sandbox usage. + """ + estimated_compute_acus: NotRequired[Nullable[float]] + r"""Sandbox compute usage for this chat in ACUs (sandbox-seconds / 3600 × ACUs + per instance-hour). The metered unit behind estimated_compute_cost; shown + alongside the dollars. Independent of the console $ rate, so present whenever + the thread used a sandbox. + """ class TextqlRPCPublicChatGetLlmUsageResponse(BaseModel): @@ -36,11 +53,53 @@ class TextqlRPCPublicChatGetLlmUsageResponse(BaseModel): estimated_cost: Annotated[ OptionalNullable[float], pydantic.Field(alias="estimatedCost") ] = UNSET + r"""Estimated LLM-token cost (USD, list model prices). LLM only.""" + + estimated_compute_cost: Annotated[ + OptionalNullable[float], pydantic.Field(alias="estimatedComputeCost") + ] = UNSET + r"""Estimated sandbox/compute cost for this chat (USD): chat sandbox-seconds → + ACUs → USD at the org's effective rate. Add to estimated_cost for the + thread's total cost. Requires the console rate (0/omitted if unavailable). + """ + + sandbox_id: Annotated[OptionalNullable[str], pydantic.Field(alias="sandboxId")] = ( + UNSET + ) + r"""The chat's sandbox id ({orgID}-{chatID}), set when the thread used any + sandbox compute. Lets the UI deep-link to the sandbox detail. Empty/omitted + when the thread had no sandbox usage. + """ + + estimated_compute_acus: Annotated[ + OptionalNullable[float], pydantic.Field(alias="estimatedComputeAcus") + ] = UNSET + r"""Sandbox compute usage for this chat in ACUs (sandbox-seconds / 3600 × ACUs + per instance-hour). The metered unit behind estimated_compute_cost; shown + alongside the dollars. Independent of the console $ rate, so present whenever + the thread used a sandbox. + """ @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["usage", "contextWindowUsed", "estimatedCost"]) - nullable_fields = set(["estimatedCost"]) + optional_fields = set( + [ + "usage", + "contextWindowUsed", + "estimatedCost", + "estimatedComputeCost", + "sandboxId", + "estimatedComputeAcus", + ] + ) + nullable_fields = set( + [ + "estimatedCost", + "estimatedComputeCost", + "sandboxId", + "estimatedComputeAcus", + ] + ) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_chat_runchatrequest.py b/src/textql_sdk/models/textql_rpc_public_chat_runchatrequest.py index bb5fb8f..bcfe42b 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_runchatrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_runchatrequest.py @@ -21,6 +21,7 @@ class TextqlRPCPublicChatRunChatRequestTypedDict(TypedDict): research: NotRequired[Nullable[bool]] model: NotRequired[TextqlRPCPublicChatLlmModel] fast_mode: NotRequired[Nullable[bool]] + max_thinking: NotRequired[Nullable[bool]] class TextqlRPCPublicChatRunChatRequest(BaseModel): @@ -38,12 +39,25 @@ class TextqlRPCPublicChatRunChatRequest(BaseModel): UNSET ) + max_thinking: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="maxThinking") + ] = UNSET + @model_serializer(mode="wrap") def _serialize_model(self, handler): optional_fields = set( - ["chatId", "latestCompleteCellId", "research", "model", "fastMode"] + [ + "chatId", + "latestCompleteCellId", + "research", + "model", + "fastMode", + "maxThinking", + ] + ) + nullable_fields = set( + ["latestCompleteCellId", "research", "fastMode", "maxThinking"] ) - nullable_fields = set(["latestCompleteCellId", "research", "fastMode"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_chat_updatechatrequest.py b/src/textql_sdk/models/textql_rpc_public_chat_updatechatrequest.py index 16265e2..a72ec7a 100644 --- a/src/textql_sdk/models/textql_rpc_public_chat_updatechatrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_chat_updatechatrequest.py @@ -26,6 +26,8 @@ class TextqlRPCPublicChatUpdateChatRequestTypedDict(TypedDict): methodology: NotRequired[TextqlRPCPublicChatMethodology] fast_mode: NotRequired[Nullable[bool]] r"""update fast inference mode""" + max_thinking: NotRequired[Nullable[bool]] + r"""update max thinking mode""" class TextqlRPCPublicChatUpdateChatRequest(BaseModel): @@ -49,6 +51,11 @@ class TextqlRPCPublicChatUpdateChatRequest(BaseModel): ) r"""update fast inference mode""" + max_thinking: Annotated[ + OptionalNullable[bool], pydantic.Field(alias="maxThinking") + ] = UNSET + r"""update max thinking mode""" + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -59,9 +66,12 @@ def serialize_model(self, handler): "dashboardMode", "methodology", "fastMode", + "maxThinking", ] ) - nullable_fields = set(["research", "summary", "dashboardMode", "fastMode"]) + nullable_fields = set( + ["research", "summary", "dashboardMode", "fastMode", "maxThinking"] + ) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_dashboard_datasource.py b/src/textql_sdk/models/textql_rpc_public_dashboard_datasource.py index 9a44166..576ed67 100644 --- a/src/textql_sdk/models/textql_rpc_public_dashboard_datasource.py +++ b/src/textql_sdk/models/textql_rpc_public_dashboard_datasource.py @@ -5,6 +5,10 @@ TextqlRPCPublicDashboardFileSource, TextqlRPCPublicDashboardFileSourceTypedDict, ) +from .textql_rpc_public_dashboard_grant import ( + TextqlRPCPublicDashboardGrant, + TextqlRPCPublicDashboardGrantTypedDict, +) from .textql_rpc_public_dashboard_librarytqlsource import ( TextqlRPCPublicDashboardLibraryTQLSource, TextqlRPCPublicDashboardLibraryTQLSourceTypedDict, @@ -39,6 +43,11 @@ class TextqlRPCPublicDashboardDataSourceSQLQueryTypedDict(TypedDict): name: NotRequired[str] parameters: NotRequired[List[TextqlRPCPublicDashboardQueryParameterTypedDict]] r"""Parameters for live parameterized queries (sql_query type only)""" + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class TextqlRPCPublicDashboardDataSourceSQLQuery(BaseModel): @@ -54,9 +63,15 @@ class TextqlRPCPublicDashboardDataSourceSQLQuery(BaseModel): parameters: Optional[List[TextqlRPCPublicDashboardQueryParameter]] = None r"""Parameters for live parameterized queries (sql_query type only)""" + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["type", "name", "parameters"]) + optional_fields = set(["type", "name", "parameters", "grant"]) serialized = handler(self) m = {} @@ -78,6 +93,11 @@ class PythonCodeTypedDict(TypedDict): name: NotRequired[str] parameters: NotRequired[List[TextqlRPCPublicDashboardQueryParameterTypedDict]] r"""Parameters for live parameterized queries (sql_query type only)""" + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class PythonCode(BaseModel): @@ -93,9 +113,15 @@ class PythonCode(BaseModel): parameters: Optional[List[TextqlRPCPublicDashboardQueryParameter]] = None r"""Parameters for live parameterized queries (sql_query type only)""" + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["type", "name", "parameters"]) + optional_fields = set(["type", "name", "parameters", "grant"]) serialized = handler(self) m = {} @@ -117,6 +143,11 @@ class OntologySQLTypedDict(TypedDict): name: NotRequired[str] parameters: NotRequired[List[TextqlRPCPublicDashboardQueryParameterTypedDict]] r"""Parameters for live parameterized queries (sql_query type only)""" + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class OntologySQL(BaseModel): @@ -132,9 +163,15 @@ class OntologySQL(BaseModel): parameters: Optional[List[TextqlRPCPublicDashboardQueryParameter]] = None r"""Parameters for live parameterized queries (sql_query type only)""" + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["type", "name", "parameters"]) + optional_fields = set(["type", "name", "parameters", "grant"]) serialized = handler(self) m = {} @@ -160,6 +197,11 @@ class TextqlRPCPublicDashboardDataSourceLibraryTqlTypedDict(TypedDict): name: NotRequired[str] parameters: NotRequired[List[TextqlRPCPublicDashboardQueryParameterTypedDict]] r"""Parameters for live parameterized queries (sql_query type only)""" + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class TextqlRPCPublicDashboardDataSourceLibraryTql(BaseModel): @@ -179,9 +221,15 @@ class TextqlRPCPublicDashboardDataSourceLibraryTql(BaseModel): parameters: Optional[List[TextqlRPCPublicDashboardQueryParameter]] = None r"""Parameters for live parameterized queries (sql_query type only)""" + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["type", "name", "parameters"]) + optional_fields = set(["type", "name", "parameters", "grant"]) serialized = handler(self) m = {} @@ -203,6 +251,11 @@ class TextqlRPCPublicDashboardDataSourceFileTypedDict(TypedDict): name: NotRequired[str] parameters: NotRequired[List[TextqlRPCPublicDashboardQueryParameterTypedDict]] r"""Parameters for live parameterized queries (sql_query type only)""" + grant: NotRequired[TextqlRPCPublicDashboardGrantTypedDict] + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ class TextqlRPCPublicDashboardDataSourceFile(BaseModel): @@ -216,9 +269,15 @@ class TextqlRPCPublicDashboardDataSourceFile(BaseModel): parameters: Optional[List[TextqlRPCPublicDashboardQueryParameter]] = None r"""Parameters for live parameterized queries (sql_query type only)""" + grant: Optional[TextqlRPCPublicDashboardGrant] = None + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["type", "name", "parameters"]) + optional_fields = set(["type", "name", "parameters", "grant"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_dashboard_grant.py b/src/textql_sdk/models/textql_rpc_public_dashboard_grant.py new file mode 100644 index 0000000..cbcbfcf --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_dashboard_grant.py @@ -0,0 +1,48 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicDashboardGrantTypedDict(TypedDict): + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + + roles: NotRequired[List[str]] + r"""org role names""" + members: NotRequired[List[str]] + r"""explicit member ids""" + + +class TextqlRPCPublicDashboardGrant(BaseModel): + r"""Grant is an author allowlist gating a data source or compute function. A viewer whose + effective role names intersect roles, or whose member id is listed in members, may call it. + Absent grant = org-visible (today's behavior); an empty grant object is invalid. + """ + + roles: Optional[List[str]] = None + r"""org role names""" + + members: Optional[List[str]] = None + r"""explicit member ids""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["roles", "members"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_dashboard_sqlquerysource.py b/src/textql_sdk/models/textql_rpc_public_dashboard_sqlquerysource.py index 42e0b4d..eed0c5d 100644 --- a/src/textql_sdk/models/textql_rpc_public_dashboard_sqlquerysource.py +++ b/src/textql_sdk/models/textql_rpc_public_dashboard_sqlquerysource.py @@ -11,6 +11,8 @@ class TextqlRPCPublicDashboardSQLQuerySourceTypedDict(TypedDict): query: NotRequired[str] connector_id: NotRequired[int] + predicate: NotRequired[str] + r"""Optional viewer row-filter appended server-side at live-query time; binds :viewer_member_id / :viewer_email. Presence forces the source out of the published snapshot.""" class TextqlRPCPublicDashboardSQLQuerySource(BaseModel): @@ -18,9 +20,12 @@ class TextqlRPCPublicDashboardSQLQuerySource(BaseModel): connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None + predicate: Optional[str] = None + r"""Optional viewer row-filter appended server-side at live-query time; binds :viewer_member_id / :viewer_email. Presence forces the source out of the published snapshot.""" + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["query", "connectorId"]) + optional_fields = set(["query", "connectorId", "predicate"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_observe_getbillingstatsresponse.py b/src/textql_sdk/models/textql_rpc_public_observe_getbillingstatsresponse.py index fe54d7c..4e09896 100644 --- a/src/textql_sdk/models/textql_rpc_public_observe_getbillingstatsresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_observe_getbillingstatsresponse.py @@ -49,6 +49,11 @@ class TextqlRPCPublicObserveGetBillingStatsResponseTypedDict(TypedDict): total_app_acu: NotRequired[float] unattributed_app_acu: NotRequired[float] total_app_count: NotRequired[int] + acu_rate_per1000_usd: NotRequired[float] + r"""Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). Multiply any ACU figure by + (rate / 1000) to show dollars. 0 means unknown/unpriced (e.g. trial). + """ class TextqlRPCPublicObserveGetBillingStatsResponse(BaseModel): @@ -121,6 +126,14 @@ class TextqlRPCPublicObserveGetBillingStatsResponse(BaseModel): None ) + acu_rate_per1000_usd: Annotated[ + Optional[float], pydantic.Field(alias="acuRatePer1000Usd") + ] = None + r"""Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). Multiply any ACU figure by + (rate / 1000) to show dollars. 0 means unknown/unpriced (e.g. trial). + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -141,6 +154,7 @@ def serialize_model(self, handler): "totalAppAcu", "unattributedAppAcu", "totalAppCount", + "acuRatePer1000Usd", ] ) serialized = handler(self) diff --git a/src/textql_sdk/models/textql_rpc_public_paradigm_universaloptions.py b/src/textql_sdk/models/textql_rpc_public_paradigm_universaloptions.py index a9e7e37..4c3177d 100644 --- a/src/textql_sdk/models/textql_rpc_public_paradigm_universaloptions.py +++ b/src/textql_sdk/models/textql_rpc_public_paradigm_universaloptions.py @@ -50,6 +50,7 @@ class TextqlRPCPublicParadigmUniversalOptionsTypedDict(TypedDict): List[TextqlRPCPowerbiSelectionPowerBISelectionTypedDict] ] sms_mode: NotRequired[bool] + api_access_key_ids: NotRequired[List[str]] class TextqlRPCPublicParadigmUniversalOptions(BaseModel): @@ -161,6 +162,10 @@ class TextqlRPCPublicParadigmUniversalOptions(BaseModel): sms_mode: Annotated[Optional[bool], pydantic.Field(alias="smsMode")] = None + api_access_key_ids: Annotated[ + Optional[List[str]], pydantic.Field(alias="apiAccessKeyIds") + ] = None + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -193,6 +198,7 @@ def serialize_model(self, handler): "emailOutputEnabled", "powerbiSelections", "smsMode", + "apiAccessKeyIds", ] ) nullable_fields = set(["datasetId"]) diff --git a/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmodulerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmodulerequest.py deleted file mode 100644 index 5d1208f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmodulerequest.py +++ /dev/null @@ -1,52 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesAddLibrarySubmoduleRequestTypedDict(TypedDict): - url: NotRequired[str] - path: NotRequired[str] - branch: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesAddLibrarySubmoduleRequest(BaseModel): - url: Optional[str] = None - - path: Optional[str] = None - - branch: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["url", "path", "branch"]) - nullable_fields = set(["branch"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmoduleresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmoduleresponse.py deleted file mode 100644 index 78a021e..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_addlibrarysubmoduleresponse.py +++ /dev/null @@ -1,37 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesAddLibrarySubmoduleResponseTypedDict(TypedDict): - path: NotRequired[str] - url: NotRequired[str] - branch: NotRequired[str] - - -class TextqlRPCPublicPatchesAddLibrarySubmoduleResponse(BaseModel): - path: Optional[str] = None - - url: Optional[str] = None - - branch: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "url", "branch"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmodulerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmodulerequest.py new file mode 100644 index 0000000..b1673ba --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmodulerequest.py @@ -0,0 +1,52 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesAddOntologySubmoduleRequestTypedDict(TypedDict): + url: NotRequired[str] + path: NotRequired[str] + branch: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesAddOntologySubmoduleRequest(BaseModel): + url: Optional[str] = None + + path: Optional[str] = None + + branch: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["url", "path", "branch"]) + nullable_fields = set(["branch"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmoduleresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmoduleresponse.py new file mode 100644 index 0000000..526128d --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_addontologysubmoduleresponse.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesAddOntologySubmoduleResponseTypedDict(TypedDict): + path: NotRequired[str] + url: NotRequired[str] + branch: NotRequired[str] + + +class TextqlRPCPublicPatchesAddOntologySubmoduleResponse(BaseModel): + path: Optional[str] = None + + url: Optional[str] = None + + branch: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "url", "branch"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoterequest.py deleted file mode 100644 index 108fa52..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoterequest.py +++ /dev/null @@ -1,138 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesConfigureLibraryRemoteRequestTypedDict(TypedDict): - remote_url: NotRequired[str] - auth_type: NotRequired[str] - token: NotRequired[Nullable[str]] - ssh_private_key: NotRequired[Nullable[str]] - ssh_key_password: NotRequired[Nullable[str]] - default_branch: NotRequired[Nullable[str]] - github_app_id: NotRequired[Nullable[str]] - github_app_installation_id: NotRequired[Nullable[str]] - github_app_private_key: NotRequired[Nullable[str]] - signing_key_type: NotRequired[Nullable[str]] - signing_key: NotRequired[Nullable[str]] - push_mode: NotRequired[Nullable[str]] - use_hosted_github_app: NotRequired[bool] - - -class TextqlRPCPublicPatchesConfigureLibraryRemoteRequest(BaseModel): - remote_url: Annotated[Optional[str], pydantic.Field(alias="remoteUrl")] = None - - auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None - - token: OptionalNullable[str] = UNSET - - ssh_private_key: Annotated[ - OptionalNullable[str], pydantic.Field(alias="sshPrivateKey") - ] = UNSET - - ssh_key_password: Annotated[ - OptionalNullable[str], pydantic.Field(alias="sshKeyPassword") - ] = UNSET - - default_branch: Annotated[ - OptionalNullable[str], pydantic.Field(alias="defaultBranch") - ] = UNSET - - github_app_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="githubAppId") - ] = UNSET - - github_app_installation_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="githubAppInstallationId") - ] = UNSET - - github_app_private_key: Annotated[ - OptionalNullable[str], pydantic.Field(alias="githubAppPrivateKey") - ] = UNSET - - signing_key_type: Annotated[ - OptionalNullable[str], pydantic.Field(alias="signingKeyType") - ] = UNSET - - signing_key: Annotated[ - OptionalNullable[str], pydantic.Field(alias="signingKey") - ] = UNSET - - push_mode: Annotated[OptionalNullable[str], pydantic.Field(alias="pushMode")] = ( - UNSET - ) - - use_hosted_github_app: Annotated[ - Optional[bool], pydantic.Field(alias="useHostedGithubApp") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "remoteUrl", - "authType", - "token", - "sshPrivateKey", - "sshKeyPassword", - "defaultBranch", - "githubAppId", - "githubAppInstallationId", - "githubAppPrivateKey", - "signingKeyType", - "signingKey", - "pushMode", - "useHostedGithubApp", - ] - ) - nullable_fields = set( - [ - "token", - "sshPrivateKey", - "sshKeyPassword", - "defaultBranch", - "githubAppId", - "githubAppInstallationId", - "githubAppPrivateKey", - "signingKeyType", - "signingKey", - "pushMode", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesConfigureLibraryRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoteresponse.py deleted file mode 100644 index 1fb9999..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_configurelibraryremoteresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryremote import ( - TextqlRPCPublicPatchesLibraryRemote, - TextqlRPCPublicPatchesLibraryRemoteTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesConfigureLibraryRemoteResponseTypedDict(TypedDict): - remote: NotRequired[TextqlRPCPublicPatchesLibraryRemoteTypedDict] - - -class TextqlRPCPublicPatchesConfigureLibraryRemoteResponse(BaseModel): - remote: Optional[TextqlRPCPublicPatchesLibraryRemote] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["remote"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoterequest.py new file mode 100644 index 0000000..6359596 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoterequest.py @@ -0,0 +1,138 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesConfigureOntologyRemoteRequestTypedDict(TypedDict): + remote_url: NotRequired[str] + auth_type: NotRequired[str] + token: NotRequired[Nullable[str]] + ssh_private_key: NotRequired[Nullable[str]] + ssh_key_password: NotRequired[Nullable[str]] + default_branch: NotRequired[Nullable[str]] + github_app_id: NotRequired[Nullable[str]] + github_app_installation_id: NotRequired[Nullable[str]] + github_app_private_key: NotRequired[Nullable[str]] + signing_key_type: NotRequired[Nullable[str]] + signing_key: NotRequired[Nullable[str]] + push_mode: NotRequired[Nullable[str]] + use_hosted_github_app: NotRequired[bool] + + +class TextqlRPCPublicPatchesConfigureOntologyRemoteRequest(BaseModel): + remote_url: Annotated[Optional[str], pydantic.Field(alias="remoteUrl")] = None + + auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None + + token: OptionalNullable[str] = UNSET + + ssh_private_key: Annotated[ + OptionalNullable[str], pydantic.Field(alias="sshPrivateKey") + ] = UNSET + + ssh_key_password: Annotated[ + OptionalNullable[str], pydantic.Field(alias="sshKeyPassword") + ] = UNSET + + default_branch: Annotated[ + OptionalNullable[str], pydantic.Field(alias="defaultBranch") + ] = UNSET + + github_app_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="githubAppId") + ] = UNSET + + github_app_installation_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="githubAppInstallationId") + ] = UNSET + + github_app_private_key: Annotated[ + OptionalNullable[str], pydantic.Field(alias="githubAppPrivateKey") + ] = UNSET + + signing_key_type: Annotated[ + OptionalNullable[str], pydantic.Field(alias="signingKeyType") + ] = UNSET + + signing_key: Annotated[ + OptionalNullable[str], pydantic.Field(alias="signingKey") + ] = UNSET + + push_mode: Annotated[OptionalNullable[str], pydantic.Field(alias="pushMode")] = ( + UNSET + ) + + use_hosted_github_app: Annotated[ + Optional[bool], pydantic.Field(alias="useHostedGithubApp") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "remoteUrl", + "authType", + "token", + "sshPrivateKey", + "sshKeyPassword", + "defaultBranch", + "githubAppId", + "githubAppInstallationId", + "githubAppPrivateKey", + "signingKeyType", + "signingKey", + "pushMode", + "useHostedGithubApp", + ] + ) + nullable_fields = set( + [ + "token", + "sshPrivateKey", + "sshKeyPassword", + "defaultBranch", + "githubAppId", + "githubAppInstallationId", + "githubAppPrivateKey", + "signingKeyType", + "signingKey", + "pushMode", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesConfigureOntologyRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoteresponse.py new file mode 100644 index 0000000..d7bff92 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_configureontologyremoteresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyremote import ( + TextqlRPCPublicPatchesOntologyRemote, + TextqlRPCPublicPatchesOntologyRemoteTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesConfigureOntologyRemoteResponseTypedDict(TypedDict): + remote: NotRequired[TextqlRPCPublicPatchesOntologyRemoteTypedDict] + + +class TextqlRPCPublicPatchesConfigureOntologyRemoteResponse(BaseModel): + remote: Optional[TextqlRPCPublicPatchesOntologyRemote] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["remote"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryrequest.py deleted file mode 100644 index ef94f91..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryrequest.py +++ /dev/null @@ -1,58 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesCreateLibraryDirectoryRequestTypedDict(TypedDict): - path: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesCreateLibraryDirectoryRequest(BaseModel): - path: Optional[str] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesCreateLibraryDirectoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryresponse.py deleted file mode 100644 index 91d8d5b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_createlibrarydirectoryresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryentry import ( - TextqlRPCPublicPatchesLibraryEntry, - TextqlRPCPublicPatchesLibraryEntryTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesCreateLibraryDirectoryResponseTypedDict(TypedDict): - entry: NotRequired[TextqlRPCPublicPatchesLibraryEntryTypedDict] - - -class TextqlRPCPublicPatchesCreateLibraryDirectoryResponse(BaseModel): - entry: Optional[TextqlRPCPublicPatchesLibraryEntry] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["entry"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlrequest.py deleted file mode 100644 index 94b3ff5..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlrequest.py +++ /dev/null @@ -1,62 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict = ( - TypeAliasType( - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict", - Union[int, str], - ) -) - - -TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes = TypeAliasType( - "TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes", Union[int, str] -) - - -class TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestTypedDict(TypedDict): - path: NotRequired[str] - mime_type: NotRequired[str] - size_bytes: NotRequired[ - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytesTypedDict - ] - - -class TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest(BaseModel): - path: Optional[str] = None - - mime_type: Annotated[Optional[str], pydantic.Field(alias="mimeType")] = None - - size_bytes: Annotated[ - Optional[TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequestSizeBytes], - pydantic.Field(alias="sizeBytes"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "mimeType", "sizeBytes"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesCreateLibraryFileUploadURLRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlresponse.py deleted file mode 100644 index 666f649..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_createlibraryfileuploadurlresponse.py +++ /dev/null @@ -1,41 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponseTypedDict(TypedDict): - upload_url: NotRequired[str] - upload_key: NotRequired[str] - - -class TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse(BaseModel): - upload_url: Annotated[Optional[str], pydantic.Field(alias="uploadUrl")] = None - - upload_key: Annotated[Optional[str], pydantic.Field(alias="uploadKey")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["uploadUrl", "uploadKey"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesCreateLibraryFileUploadURLResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryrequest.py new file mode 100644 index 0000000..f525bf6 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryrequest.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesCreateOntologyDirectoryRequestTypedDict(TypedDict): + path: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesCreateOntologyDirectoryRequest(BaseModel): + path: Optional[str] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesCreateOntologyDirectoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryresponse.py new file mode 100644 index 0000000..cf3fab8 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_createontologydirectoryresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyentry import ( + TextqlRPCPublicPatchesOntologyEntry, + TextqlRPCPublicPatchesOntologyEntryTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesCreateOntologyDirectoryResponseTypedDict(TypedDict): + entry: NotRequired[TextqlRPCPublicPatchesOntologyEntryTypedDict] + + +class TextqlRPCPublicPatchesCreateOntologyDirectoryResponse(BaseModel): + entry: Optional[TextqlRPCPublicPatchesOntologyEntry] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["entry"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlrequest.py new file mode 100644 index 0000000..c32d23f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlrequest.py @@ -0,0 +1,62 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict = ( + TypeAliasType( + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict", + Union[int, str], + ) +) + + +TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes = TypeAliasType( + "TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes", Union[int, str] +) + + +class TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestTypedDict(TypedDict): + path: NotRequired[str] + mime_type: NotRequired[str] + size_bytes: NotRequired[ + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict + ] + + +class TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest(BaseModel): + path: Optional[str] = None + + mime_type: Annotated[Optional[str], pydantic.Field(alias="mimeType")] = None + + size_bytes: Annotated[ + Optional[TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes], + pydantic.Field(alias="sizeBytes"), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "mimeType", "sizeBytes"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlresponse.py new file mode 100644 index 0000000..b8750a1 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_createontologyfileuploadurlresponse.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponseTypedDict(TypedDict): + upload_url: NotRequired[str] + upload_key: NotRequired[str] + + +class TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse(BaseModel): + upload_url: Annotated[Optional[str], pydantic.Field(alias="uploadUrl")] = None + + upload_key: Annotated[Optional[str], pydantic.Field(alias="uploadKey")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["uploadUrl", "uploadKey"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_dailyfileusage.py b/src/textql_sdk/models/textql_rpc_public_patches_dailyfileusage.py index fef21d8..7bb31df 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_dailyfileusage.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_dailyfileusage.py @@ -15,7 +15,6 @@ class TextqlRPCPublicPatchesDailyFileUsageTypedDict(TypedDict): date_: NotRequired[TextqlRPCPublicPatchesDateTypedDict] - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" average_tokens: NotRequired[int] average_query_time: NotRequired[timedelta] r"""A Duration represents a signed, fixed-length span of time represented @@ -88,7 +87,6 @@ class TextqlRPCPublicPatchesDailyFileUsage(BaseModel): date_: Annotated[ Optional[TextqlRPCPublicPatchesDate], pydantic.Field(alias="date") ] = None - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" average_tokens: Annotated[Optional[int], pydantic.Field(alias="averageTokens")] = ( None diff --git a/src/textql_sdk/models/textql_rpc_public_patches_date.py b/src/textql_sdk/models/textql_rpc_public_patches_date.py index e3fc01e..f0d4137 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_date.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_date.py @@ -8,41 +8,17 @@ class TextqlRPCPublicPatchesDateTypedDict(TypedDict): - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" - year: NotRequired[int] - r"""Year of the date. Must be from 1 to 9999, or 0 to specify a date without - a year. - """ month: NotRequired[int] - r"""Month of a year. Must be from 1 to 12, or 0 to specify a year without a - month and day. - """ day: NotRequired[int] - r"""Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 - to specify a year by itself or a year and month where the day isn't - significant. - """ class TextqlRPCPublicPatchesDate(BaseModel): - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" - year: Optional[int] = None - r"""Year of the date. Must be from 1 to 9999, or 0 to specify a date without - a year. - """ month: Optional[int] = None - r"""Month of a year. Must be from 1 to 12, or 0 to specify a year without a - month and day. - """ day: Optional[int] = None - r"""Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 - to specify a year by itself or a year and month where the day isn't - significant. - """ @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deletelibrarydirectoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deletelibrarydirectoryrequest.py deleted file mode 100644 index 475e1ea..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_deletelibrarydirectoryrequest.py +++ /dev/null @@ -1,71 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesDeleteLibraryDirectoryRequestTypedDict(TypedDict): - path: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - recursive: NotRequired[bool] - r"""When true, delete the directory and all of its contents (files and - subdirectories) in a single atomic commit. The caller must have write - access to every nested subdirectory. When false (default), the directory - must be empty of non-reserved entries. - """ - - -class TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest(BaseModel): - path: Optional[str] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - recursive: Optional[bool] = None - r"""When true, delete the directory and all of its contents (files and - subdirectories) in a single atomic commit. The caller must have write - access to every nested subdirectory. When false (default), the directory - must be empty of non-reserved entries. - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "commitMessage", "recursive"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesDeleteLibraryDirectoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryfilerequest.py deleted file mode 100644 index 7461d28..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryfilerequest.py +++ /dev/null @@ -1,58 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesDeleteLibraryFileRequestTypedDict(TypedDict): - path: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesDeleteLibraryFileRequest(BaseModel): - path: Optional[str] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesDeleteLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryownersrequest.py deleted file mode 100644 index e26de70..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_deletelibraryownersrequest.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesDeleteLibraryOwnersRequestTypedDict(TypedDict): - path: NotRequired[str] - role_ids: NotRequired[List[str]] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesDeleteLibraryOwnersRequest(BaseModel): - path: Optional[str] = None - - role_ids: Annotated[Optional[List[str]], pydantic.Field(alias="roleIds")] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "roleIds", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesDeleteLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deleteontologydirectoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologydirectoryrequest.py new file mode 100644 index 0000000..2d15a16 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologydirectoryrequest.py @@ -0,0 +1,71 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesDeleteOntologyDirectoryRequestTypedDict(TypedDict): + path: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + recursive: NotRequired[bool] + r"""When true, delete the directory and all of its contents (files and + subdirectories) in a single atomic commit. The caller must have write + access to every nested subdirectory. When false (default), the directory + must be empty of non-reserved entries. + """ + + +class TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest(BaseModel): + path: Optional[str] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + recursive: Optional[bool] = None + r"""When true, delete the directory and all of its contents (files and + subdirectories) in a single atomic commit. The caller must have write + access to every nested subdirectory. When false (default), the directory + must be empty of non-reserved entries. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "commitMessage", "recursive"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyfilerequest.py new file mode 100644 index 0000000..d133d67 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyfilerequest.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesDeleteOntologyFileRequestTypedDict(TypedDict): + path: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesDeleteOntologyFileRequest(BaseModel): + path: Optional[str] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesDeleteOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyownersrequest.py new file mode 100644 index 0000000..3755aff --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_deleteontologyownersrequest.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesDeleteOntologyOwnersRequestTypedDict(TypedDict): + path: NotRequired[str] + role_ids: NotRequired[List[str]] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesDeleteOntologyOwnersRequest(BaseModel): + path: Optional[str] = None + + role_ids: Annotated[Optional[List[str]], pydantic.Field(alias="roleIds")] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "roleIds", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesDeleteOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderequest.py b/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderequest.py deleted file mode 100644 index 4cea530..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderequest.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequestTypedDict(TypedDict): - code: NotRequired[str] - state: NotRequired[str] - code_verifier: NotRequired[str] - - -class TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest(BaseModel): - code: Optional[str] = None - - state: Optional[str] = None - - code_verifier: Annotated[Optional[str], pydantic.Field(alias="codeVerifier")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["code", "state", "codeVerifier"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesExchangeLibraryGithubCodeRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderesponse.py b/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderesponse.py deleted file mode 100644 index 8e9270e..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_exchangelibrarygithubcoderesponse.py +++ /dev/null @@ -1,38 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_githubinstallation import ( - TextqlRPCPublicPatchesGithubInstallation, - TextqlRPCPublicPatchesGithubInstallationTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponseTypedDict(TypedDict): - success: NotRequired[bool] - installations: NotRequired[List[TextqlRPCPublicPatchesGithubInstallationTypedDict]] - - -class TextqlRPCPublicPatchesExchangeLibraryGithubCodeResponse(BaseModel): - success: Optional[bool] = None - - installations: Optional[List[TextqlRPCPublicPatchesGithubInstallation]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["success", "installations"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderequest.py b/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderequest.py new file mode 100644 index 0000000..ba7cdd5 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderequest.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequestTypedDict(TypedDict): + code: NotRequired[str] + state: NotRequired[str] + code_verifier: NotRequired[str] + + +class TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest(BaseModel): + code: Optional[str] = None + + state: Optional[str] = None + + code_verifier: Annotated[Optional[str], pydantic.Field(alias="codeVerifier")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["code", "state", "codeVerifier"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderesponse.py b/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderesponse.py new file mode 100644 index 0000000..8a8739c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_exchangeontologygithubcoderesponse.py @@ -0,0 +1,38 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_githubinstallation import ( + TextqlRPCPublicPatchesGithubInstallation, + TextqlRPCPublicPatchesGithubInstallationTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponseTypedDict(TypedDict): + success: NotRequired[bool] + installations: NotRequired[List[TextqlRPCPublicPatchesGithubInstallationTypedDict]] + + +class TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse(BaseModel): + success: Optional[bool] = None + + installations: Optional[List[TextqlRPCPublicPatchesGithubInstallation]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["success", "installations"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_filechatusage.py b/src/textql_sdk/models/textql_rpc_public_patches_filechatusage.py index 05774c2..63c07e2 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_filechatusage.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_filechatusage.py @@ -10,14 +10,12 @@ class TextqlRPCPublicPatchesFileChatUsageTypedDict(TypedDict): - r"""FileChatUsage is one chat that retrieved a library file inside the - observation window. Only pulls attributed to a chat are listed — background - or sandbox reads carry no chat id and are excluded. - """ - chat_id: NotRequired[str] + r"""most recent pull or run (imports included) inside the window; unset when + the file had no usage at all + """ title: NotRequired[str] - r"""empty for untitled chats""" + r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" last_pulled: NotRequired[datetime] r"""A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at @@ -110,19 +108,16 @@ class TextqlRPCPublicPatchesFileChatUsageTypedDict(TypedDict): ) to obtain a formatter capable of generating timestamps in this format. """ used: NotRequired[bool] - r"""the chat also ran the file (directly or via imports), not just pulled it""" class TextqlRPCPublicPatchesFileChatUsage(BaseModel): - r"""FileChatUsage is one chat that retrieved a library file inside the - observation window. Only pulls attributed to a chat are listed — background - or sandbox reads carry no chat id and are excluded. - """ - chat_id: Annotated[Optional[str], pydantic.Field(alias="chatId")] = None + r"""most recent pull or run (imports included) inside the window; unset when + the file had no usage at all + """ title: Optional[str] = None - r"""empty for untitled chats""" + r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" last_pulled: Annotated[Optional[datetime], pydantic.Field(alias="lastPulled")] = ( None @@ -219,7 +214,6 @@ class TextqlRPCPublicPatchesFileChatUsage(BaseModel): """ used: Optional[bool] = None - r"""the chat also ran the file (directly or via imports), not just pulled it""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadrequest.py deleted file mode 100644 index 07c9277..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadrequest.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequestTypedDict(TypedDict): - path: NotRequired[str] - upload_key: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest(BaseModel): - path: Optional[str] = None - - upload_key: Annotated[Optional[str], pydantic.Field(alias="uploadKey")] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "uploadKey", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesFinalizeLibraryFileUploadRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadresponse.py deleted file mode 100644 index 7340182..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_finalizelibraryfileuploadresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryfile import ( - TextqlRPCPublicPatchesLibraryFile, - TextqlRPCPublicPatchesLibraryFileTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponseTypedDict(TypedDict): - file: NotRequired[TextqlRPCPublicPatchesLibraryFileTypedDict] - - -class TextqlRPCPublicPatchesFinalizeLibraryFileUploadResponse(BaseModel): - file: Optional[TextqlRPCPublicPatchesLibraryFile] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["file"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadrequest.py new file mode 100644 index 0000000..5557339 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadrequest.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequestTypedDict(TypedDict): + path: NotRequired[str] + upload_key: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest(BaseModel): + path: Optional[str] = None + + upload_key: Annotated[Optional[str], pydantic.Field(alias="uploadKey")] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "uploadKey", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadresponse.py new file mode 100644 index 0000000..669e14e --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_finalizeontologyfileuploadresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyfile import ( + TextqlRPCPublicPatchesOntologyFile, + TextqlRPCPublicPatchesOntologyFileTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponseTypedDict(TypedDict): + file: NotRequired[TextqlRPCPublicPatchesOntologyFileTypedDict] + + +class TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse(BaseModel): + file: Optional[TextqlRPCPublicPatchesOntologyFile] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["file"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersrequest.py deleted file mode 100644 index df2a40b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersrequest.py +++ /dev/null @@ -1,47 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequestTypedDict(TypedDict): - r"""Returns the *effective* owners for a directory after walking ancestor - OWNERS files: for every role in the org, the resolved permission the - role would have on this directory (per `permissionForDirWithRoles`). - Use this when you need to compare permissions across paths — the - literal GetLibraryOwners only reflects the OWNERS file at the exact - path, missing inheritance. - """ - - path: NotRequired[str] - - -class TextqlRPCPublicPatchesGetEffectiveLibraryOwnersRequest(BaseModel): - r"""Returns the *effective* owners for a directory after walking ancestor - OWNERS files: for every role in the org, the resolved permission the - role would have on this directory (per `permissionForDirWithRoles`). - Use this when you need to compare permissions across paths — the - literal GetLibraryOwners only reflects the OWNERS file at the exact - path, missing inheritance. - """ - - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersresponse.py deleted file mode 100644 index 53ef664..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_geteffectivelibraryownersresponse.py +++ /dev/null @@ -1,38 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryownerentry import ( - TextqlRPCPublicPatchesLibraryOwnerEntry, - TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponseTypedDict(TypedDict): - path: NotRequired[str] - entries: NotRequired[List[TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict]] - - -class TextqlRPCPublicPatchesGetEffectiveLibraryOwnersResponse(BaseModel): - path: Optional[str] = None - - entries: Optional[List[TextqlRPCPublicPatchesLibraryOwnerEntry]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "entries"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersrequest.py new file mode 100644 index 0000000..86974e9 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersrequest.py @@ -0,0 +1,47 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequestTypedDict(TypedDict): + r"""Returns the *effective* owners for a directory after walking ancestor + OWNERS files: for every role in the org, the resolved permission the + role would have on this directory (per `permissionForDirWithRoles`). + Use this when you need to compare permissions across paths — the + literal GetOntologyOwners only reflects the OWNERS file at the exact + path, missing inheritance. + """ + + path: NotRequired[str] + + +class TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest(BaseModel): + r"""Returns the *effective* owners for a directory after walking ancestor + OWNERS files: for every role in the org, the resolved permission the + role would have on this directory (per `permissionForDirWithRoles`). + Use this when you need to compare permissions across paths — the + literal GetOntologyOwners only reflects the OWNERS file at the exact + path, missing inheritance. + """ + + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersresponse.py new file mode 100644 index 0000000..915f4f6 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_geteffectiveontologyownersresponse.py @@ -0,0 +1,38 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyownerentry import ( + TextqlRPCPublicPatchesOntologyOwnerEntry, + TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponseTypedDict(TypedDict): + path: NotRequired[str] + entries: NotRequired[List[TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict]] + + +class TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse(BaseModel): + path: Optional[str] = None + + entries: Optional[List[TextqlRPCPublicPatchesOntologyOwnerEntry]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "entries"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagerequest.py index 016f0ab..3ea7883 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagerequest.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagerequest.py @@ -81,7 +81,7 @@ class TextqlRPCPublicPatchesGetFileUsageRequestTypedDict(TypedDict): """ page_cursor: NotRequired[Nullable[str]] page_size: NotRequired[Nullable[int]] - r"""default 100, capped at 100""" + r"""default 1000, capped at 1000""" class TextqlRPCPublicPatchesGetFileUsageRequest(BaseModel): @@ -161,7 +161,7 @@ class TextqlRPCPublicPatchesGetFileUsageRequest(BaseModel): page_size: Annotated[OptionalNullable[int], pydantic.Field(alias="pageSize")] = ( UNSET ) - r"""default 100, capped at 100""" + r"""default 1000, capped at 1000""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelinerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelinerequest.py index 3b8d246..2ab1c91 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelinerequest.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelinerequest.py @@ -16,8 +16,12 @@ class TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict(TypedDict): + r"""FileChatUsage is one chat that retrieved a ontology file inside the + observation window. Only pulls attributed to a chat are listed — background + or sandbox reads carry no chat id and are excluded. + """ + path_prefix: NotRequired[Nullable[str]] - r"""Restrict to files under this prefix; the whole library when unset.""" observation_period: NotRequired[timedelta] r"""A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond @@ -81,10 +85,14 @@ class TextqlRPCPublicPatchesGetFileUsageTimelineRequestTypedDict(TypedDict): class TextqlRPCPublicPatchesGetFileUsageTimelineRequest(BaseModel): + r"""FileChatUsage is one chat that retrieved a ontology file inside the + observation window. Only pulls attributed to a chat are listed — background + or sandbox reads carry no chat id and are excluded. + """ + path_prefix: Annotated[ OptionalNullable[str], pydantic.Field(alias="pathPrefix") ] = UNSET - r"""Restrict to files under this prefix; the whole library when unset.""" observation_period: Annotated[ Optional[timedelta], pydantic.Field(alias="observationPeriod") diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelineresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelineresponse.py index e189313..e4dd624 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelineresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_getfileusagetimelineresponse.py @@ -13,12 +13,12 @@ class TextqlRPCPublicPatchesGetFileUsageTimelineResponseTypedDict(TypedDict): days: NotRequired[List[TextqlRPCPublicPatchesDailyFileUsageTypedDict]] - r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" + r"""most recent pull first""" class TextqlRPCPublicPatchesGetFileUsageTimelineResponse(BaseModel): days: Optional[List[TextqlRPCPublicPatchesDailyFileUsage]] = None - r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" + r"""most recent pull first""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigrequest.py deleted file mode 100644 index 3c35cb1..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigrequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryAnaConfigRequestTypedDict(TypedDict): - path: NotRequired[str] - - -class TextqlRPCPublicPatchesGetLibraryAnaConfigRequest(BaseModel): - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigresponse.py deleted file mode 100644 index d740b1d..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryanaconfigresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryanaconfig import ( - TextqlRPCPublicPatchesLibraryAnaConfig, - TextqlRPCPublicPatchesLibraryAnaConfigTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryAnaConfigResponseTypedDict(TypedDict): - config: NotRequired[TextqlRPCPublicPatchesLibraryAnaConfigTypedDict] - - -class TextqlRPCPublicPatchesGetLibraryAnaConfigResponse(BaseModel): - config: Optional[TextqlRPCPublicPatchesLibraryAnaConfig] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["config"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfilerequest.py deleted file mode 100644 index c7d21c8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfilerequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryFileRequestTypedDict(TypedDict): - path: NotRequired[str] - - -class TextqlRPCPublicPatchesGetLibraryFileRequest(BaseModel): - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfileresponse.py deleted file mode 100644 index f203da8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryfileresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryfile import ( - TextqlRPCPublicPatchesLibraryFile, - TextqlRPCPublicPatchesLibraryFileTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryFileResponseTypedDict(TypedDict): - file: NotRequired[TextqlRPCPublicPatchesLibraryFileTypedDict] - - -class TextqlRPCPublicPatchesGetLibraryFileResponse(BaseModel): - file: Optional[TextqlRPCPublicPatchesLibraryFile] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["file"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlrequest.py deleted file mode 100644 index 70f4f73..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlrequest.py +++ /dev/null @@ -1,43 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequestTypedDict(TypedDict): - state: NotRequired[str] - code_challenge: NotRequired[str] - - -class TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest(BaseModel): - state: Optional[str] = None - - code_challenge: Annotated[Optional[str], pydantic.Field(alias="codeChallenge")] = ( - None - ) - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["state", "codeChallenge"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlresponse.py deleted file mode 100644 index b522435..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarygithuboauthurlresponse.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponseTypedDict(TypedDict): - authorize_url: NotRequired[str] - install_url: NotRequired[str] - available: NotRequired[bool] - - -class TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse(BaseModel): - authorize_url: Annotated[Optional[str], pydantic.Field(alias="authorizeUrl")] = None - - install_url: Annotated[Optional[str], pydantic.Field(alias="installUrl")] = None - - available: Optional[bool] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["authorizeUrl", "installUrl", "available"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryGithubOAuthURLResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffrequest.py deleted file mode 100644 index 23d600e..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffrequest.py +++ /dev/null @@ -1,41 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequestTypedDict(TypedDict): - commit_id: NotRequired[str] - path: NotRequired[str] - - -class TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest(BaseModel): - commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None - - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["commitId", "path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffresponse.py deleted file mode 100644 index 1d76405..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryhistoryfilediffresponse.py +++ /dev/null @@ -1,91 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryhistorychangetype import ( - TextqlRPCPublicPatchesLibraryHistoryChangeType, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponseTypedDict(TypedDict): - commit_id: NotRequired[str] - path: NotRequired[str] - previous_path: NotRequired[Nullable[str]] - change_type: NotRequired[TextqlRPCPublicPatchesLibraryHistoryChangeType] - before_content: NotRequired[str] - after_content: NotRequired[str] - is_binary: NotRequired[bool] - - -class TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse(BaseModel): - commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None - - path: Optional[str] = None - - previous_path: Annotated[ - OptionalNullable[str], pydantic.Field(alias="previousPath") - ] = UNSET - - change_type: Annotated[ - Optional[TextqlRPCPublicPatchesLibraryHistoryChangeType], - pydantic.Field(alias="changeType"), - ] = None - - before_content: Annotated[Optional[str], pydantic.Field(alias="beforeContent")] = ( - None - ) - - after_content: Annotated[Optional[str], pydantic.Field(alias="afterContent")] = None - - is_binary: Annotated[Optional[bool], pydantic.Field(alias="isBinary")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "commitId", - "path", - "previousPath", - "changeType", - "beforeContent", - "afterContent", - "isBinary", - ] - ) - nullable_fields = set(["previousPath"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryHistoryFileDiffResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusrequest.py deleted file mode 100644 index 3aa2abe..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesGetLibraryMigrationStatusRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesGetLibraryMigrationStatusRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusresponse.py deleted file mode 100644 index cbeb546..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarymigrationstatusresponse.py +++ /dev/null @@ -1,40 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryMigrationStatusResponseTypedDict(TypedDict): - pending_legacy_context_count: NotRequired[int] - - -class TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse(BaseModel): - pending_legacy_context_count: Annotated[ - Optional[int], pydantic.Field(alias="pendingLegacyContextCount") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["pendingLegacyContextCount"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryMigrationStatusResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersrequest.py deleted file mode 100644 index 3301be2..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersrequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryOwnersRequestTypedDict(TypedDict): - path: NotRequired[str] - - -class TextqlRPCPublicPatchesGetLibraryOwnersRequest(BaseModel): - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersresponse.py deleted file mode 100644 index 2eed6d5..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryownersresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryowners import ( - TextqlRPCPublicPatchesLibraryOwners, - TextqlRPCPublicPatchesLibraryOwnersTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryOwnersResponseTypedDict(TypedDict): - owners: NotRequired[TextqlRPCPublicPatchesLibraryOwnersTypedDict] - - -class TextqlRPCPublicPatchesGetLibraryOwnersResponse(BaseModel): - owners: Optional[TextqlRPCPublicPatchesLibraryOwners] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["owners"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoterequest.py deleted file mode 100644 index 3e1cb44..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoterequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesGetLibraryRemoteRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesGetLibraryRemoteRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoteresponse.py deleted file mode 100644 index 6c0116d..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibraryremoteresponse.py +++ /dev/null @@ -1,69 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryremote import ( - TextqlRPCPublicPatchesLibraryRemote, - TextqlRPCPublicPatchesLibraryRemoteTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibraryRemoteResponseTypedDict(TypedDict): - remote: NotRequired[TextqlRPCPublicPatchesLibraryRemoteTypedDict] - hosted_github_app_available: NotRequired[bool] - hosted_github_app_slug: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesGetLibraryRemoteResponse(BaseModel): - remote: Optional[TextqlRPCPublicPatchesLibraryRemote] = None - - hosted_github_app_available: Annotated[ - Optional[bool], pydantic.Field(alias="hostedGithubAppAvailable") - ] = None - - hosted_github_app_slug: Annotated[ - OptionalNullable[str], pydantic.Field(alias="hostedGithubAppSlug") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - ["remote", "hostedGithubAppAvailable", "hostedGithubAppSlug"] - ) - nullable_fields = set(["hostedGithubAppSlug"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibraryRemoteResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelinerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelinerequest.py deleted file mode 100644 index 63533a0..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelinerequest.py +++ /dev/null @@ -1,159 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from datetime import timedelta -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibrarySizeTimelineRequestTypedDict(TypedDict): - observation_period: NotRequired[timedelta] - r"""A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - """ - - -class TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest(BaseModel): - observation_period: Annotated[ - Optional[timedelta], pydantic.Field(alias="observationPeriod") - ] = None - r"""A Duration represents a signed, fixed-length span of time represented - as a count of seconds and fractions of seconds at nanosecond - resolution. It is independent of any calendar and concepts like \"day\" - or \"month\". It is related to Timestamp in that the difference between - two Timestamp values is a Duration and it can be added or subtracted - from a Timestamp. Range is approximately +-10,000 years. - - # Examples - - Example 1: Compute Duration from two Timestamps in pseudo code. - - Timestamp start = ...; - Timestamp end = ...; - Duration duration = ...; - - duration.seconds = end.seconds - start.seconds; - duration.nanos = end.nanos - start.nanos; - - if (duration.seconds < 0 && duration.nanos > 0) { - duration.seconds += 1; - duration.nanos -= 1000000000; - } else if (duration.seconds > 0 && duration.nanos < 0) { - duration.seconds -= 1; - duration.nanos += 1000000000; - } - - Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. - - Timestamp start = ...; - Duration duration = ...; - Timestamp end = ...; - - end.seconds = start.seconds + duration.seconds; - end.nanos = start.nanos + duration.nanos; - - if (end.nanos < 0) { - end.seconds -= 1; - end.nanos += 1000000000; - } else if (end.nanos >= 1000000000) { - end.seconds += 1; - end.nanos -= 1000000000; - } - - Example 3: Compute Duration from datetime.timedelta in Python. - - td = datetime.timedelta(days=3, minutes=10) - duration = Duration() - duration.FromTimedelta(td) - - # JSON Mapping - - In JSON format, the Duration type is encoded as a string rather than an - object, where the string ends in the suffix \"s\" (indicating seconds) and - is preceded by the number of seconds, with nanoseconds expressed as - fractional seconds. For example, 3 seconds with 0 nanoseconds should be - encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should - be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 - microsecond should be expressed in JSON format as \"3.000001s\". - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["observationPeriod"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesGetLibrarySizeTimelineRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelineresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelineresponse.py deleted file mode 100644 index 388fab8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysizetimelineresponse.py +++ /dev/null @@ -1,41 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarysizeday import ( - TextqlRPCPublicPatchesLibrarySizeDay, - TextqlRPCPublicPatchesLibrarySizeDayTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibrarySizeTimelineResponseTypedDict(TypedDict): - days: NotRequired[List[TextqlRPCPublicPatchesLibrarySizeDayTypedDict]] - r"""one entry per UTC day, oldest first; days before the repo's first commit - are omitted, and days without commits carry the previous day's tree - """ - - -class TextqlRPCPublicPatchesGetLibrarySizeTimelineResponse(BaseModel): - days: Optional[List[TextqlRPCPublicPatchesLibrarySizeDay]] = None - r"""one entry per UTC day, oldest first; days before the repo's first commit - are omitted, and days without commits carry the previous day's tree - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["days"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsrequest.py deleted file mode 100644 index 8f7f892..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesGetLibrarySyncConflictsRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesGetLibrarySyncConflictsRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsresponse.py deleted file mode 100644 index a7b01ff..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_getlibrarysyncconflictsresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarysyncconflict import ( - TextqlRPCPublicPatchesLibrarySyncConflict, - TextqlRPCPublicPatchesLibrarySyncConflictTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesGetLibrarySyncConflictsResponseTypedDict(TypedDict): - conflicts: NotRequired[List[TextqlRPCPublicPatchesLibrarySyncConflictTypedDict]] - - -class TextqlRPCPublicPatchesGetLibrarySyncConflictsResponse(BaseModel): - conflicts: Optional[List[TextqlRPCPublicPatchesLibrarySyncConflict]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["conflicts"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigrequest.py new file mode 100644 index 0000000..da412ad --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigrequest.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyAnaConfigRequestTypedDict(TypedDict): + path: NotRequired[str] + + +class TextqlRPCPublicPatchesGetOntologyAnaConfigRequest(BaseModel): + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigresponse.py new file mode 100644 index 0000000..c386a6c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyanaconfigresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyanaconfig import ( + TextqlRPCPublicPatchesOntologyAnaConfig, + TextqlRPCPublicPatchesOntologyAnaConfigTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyAnaConfigResponseTypedDict(TypedDict): + config: NotRequired[TextqlRPCPublicPatchesOntologyAnaConfigTypedDict] + + +class TextqlRPCPublicPatchesGetOntologyAnaConfigResponse(BaseModel): + config: Optional[TextqlRPCPublicPatchesOntologyAnaConfig] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["config"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyfilerequest.py new file mode 100644 index 0000000..0a7411a --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyfilerequest.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyFileRequestTypedDict(TypedDict): + path: NotRequired[str] + + +class TextqlRPCPublicPatchesGetOntologyFileRequest(BaseModel): + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyfileresponse.py new file mode 100644 index 0000000..6b167fa --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyfileresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyfile import ( + TextqlRPCPublicPatchesOntologyFile, + TextqlRPCPublicPatchesOntologyFileTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyFileResponseTypedDict(TypedDict): + file: NotRequired[TextqlRPCPublicPatchesOntologyFileTypedDict] + + +class TextqlRPCPublicPatchesGetOntologyFileResponse(BaseModel): + file: Optional[TextqlRPCPublicPatchesOntologyFile] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["file"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlrequest.py new file mode 100644 index 0000000..a986be1 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlrequest.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequestTypedDict(TypedDict): + state: NotRequired[str] + code_challenge: NotRequired[str] + + +class TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest(BaseModel): + state: Optional[str] = None + + code_challenge: Annotated[Optional[str], pydantic.Field(alias="codeChallenge")] = ( + None + ) + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["state", "codeChallenge"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlresponse.py new file mode 100644 index 0000000..3d951f6 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologygithuboauthurlresponse.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponseTypedDict(TypedDict): + authorize_url: NotRequired[str] + install_url: NotRequired[str] + available: NotRequired[bool] + + +class TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse(BaseModel): + authorize_url: Annotated[Optional[str], pydantic.Field(alias="authorizeUrl")] = None + + install_url: Annotated[Optional[str], pydantic.Field(alias="installUrl")] = None + + available: Optional[bool] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["authorizeUrl", "installUrl", "available"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffrequest.py new file mode 100644 index 0000000..7f6e4e4 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffrequest.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequestTypedDict(TypedDict): + commit_id: NotRequired[str] + path: NotRequired[str] + + +class TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest(BaseModel): + commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None + + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["commitId", "path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffresponse.py new file mode 100644 index 0000000..a68b287 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyhistoryfilediffresponse.py @@ -0,0 +1,91 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyhistorychangetype import ( + TextqlRPCPublicPatchesOntologyHistoryChangeType, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponseTypedDict(TypedDict): + commit_id: NotRequired[str] + path: NotRequired[str] + previous_path: NotRequired[Nullable[str]] + change_type: NotRequired[TextqlRPCPublicPatchesOntologyHistoryChangeType] + before_content: NotRequired[str] + after_content: NotRequired[str] + is_binary: NotRequired[bool] + + +class TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse(BaseModel): + commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None + + path: Optional[str] = None + + previous_path: Annotated[ + OptionalNullable[str], pydantic.Field(alias="previousPath") + ] = UNSET + + change_type: Annotated[ + Optional[TextqlRPCPublicPatchesOntologyHistoryChangeType], + pydantic.Field(alias="changeType"), + ] = None + + before_content: Annotated[Optional[str], pydantic.Field(alias="beforeContent")] = ( + None + ) + + after_content: Annotated[Optional[str], pydantic.Field(alias="afterContent")] = None + + is_binary: Annotated[Optional[bool], pydantic.Field(alias="isBinary")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "commitId", + "path", + "previousPath", + "changeType", + "beforeContent", + "afterContent", + "isBinary", + ] + ) + nullable_fields = set(["previousPath"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersrequest.py new file mode 100644 index 0000000..83df318 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersrequest.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyOwnersRequestTypedDict(TypedDict): + path: NotRequired[str] + + +class TextqlRPCPublicPatchesGetOntologyOwnersRequest(BaseModel): + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersresponse.py new file mode 100644 index 0000000..53fdb61 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyownersresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyowners import ( + TextqlRPCPublicPatchesOntologyOwners, + TextqlRPCPublicPatchesOntologyOwnersTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyOwnersResponseTypedDict(TypedDict): + owners: NotRequired[TextqlRPCPublicPatchesOntologyOwnersTypedDict] + + +class TextqlRPCPublicPatchesGetOntologyOwnersResponse(BaseModel): + owners: Optional[TextqlRPCPublicPatchesOntologyOwners] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["owners"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoterequest.py new file mode 100644 index 0000000..106657e --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoterequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesGetOntologyRemoteRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoteresponse.py new file mode 100644 index 0000000..1004d7f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologyremoteresponse.py @@ -0,0 +1,69 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyremote import ( + TextqlRPCPublicPatchesOntologyRemote, + TextqlRPCPublicPatchesOntologyRemoteTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologyRemoteResponseTypedDict(TypedDict): + remote: NotRequired[TextqlRPCPublicPatchesOntologyRemoteTypedDict] + hosted_github_app_available: NotRequired[bool] + hosted_github_app_slug: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesGetOntologyRemoteResponse(BaseModel): + remote: Optional[TextqlRPCPublicPatchesOntologyRemote] = None + + hosted_github_app_available: Annotated[ + Optional[bool], pydantic.Field(alias="hostedGithubAppAvailable") + ] = None + + hosted_github_app_slug: Annotated[ + OptionalNullable[str], pydantic.Field(alias="hostedGithubAppSlug") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["remote", "hostedGithubAppAvailable", "hostedGithubAppSlug"] + ) + nullable_fields = set(["hostedGithubAppSlug"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologyRemoteResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelinerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelinerequest.py new file mode 100644 index 0000000..423a0c5 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelinerequest.py @@ -0,0 +1,159 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import timedelta +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologySizeTimelineRequestTypedDict(TypedDict): + observation_period: NotRequired[timedelta] + r"""A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + """ + + +class TextqlRPCPublicPatchesGetOntologySizeTimelineRequest(BaseModel): + observation_period: Annotated[ + Optional[timedelta], pydantic.Field(alias="observationPeriod") + ] = None + r"""A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["observationPeriod"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesGetOntologySizeTimelineRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelineresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelineresponse.py new file mode 100644 index 0000000..e609df8 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologysizetimelineresponse.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologysizeday import ( + TextqlRPCPublicPatchesOntologySizeDay, + TextqlRPCPublicPatchesOntologySizeDayTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologySizeTimelineResponseTypedDict(TypedDict): + days: NotRequired[List[TextqlRPCPublicPatchesOntologySizeDayTypedDict]] + r"""default 90d, capped at 365d""" + + +class TextqlRPCPublicPatchesGetOntologySizeTimelineResponse(BaseModel): + days: Optional[List[TextqlRPCPublicPatchesOntologySizeDay]] = None + r"""default 90d, capped at 365d""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["days"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsrequest.py new file mode 100644 index 0000000..65a5639 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsrequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesGetOntologySyncConflictsRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsresponse.py new file mode 100644 index 0000000..0f95588 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_getontologysyncconflictsresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologysyncconflict import ( + TextqlRPCPublicPatchesOntologySyncConflict, + TextqlRPCPublicPatchesOntologySyncConflictTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesGetOntologySyncConflictsResponseTypedDict(TypedDict): + conflicts: NotRequired[List[TextqlRPCPublicPatchesOntologySyncConflictTypedDict]] + + +class TextqlRPCPublicPatchesGetOntologySyncConflictsResponse(BaseModel): + conflicts: Optional[List[TextqlRPCPublicPatchesOntologySyncConflict]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["conflicts"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfilerequest.py index f7c91cc..b02d3cc 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfilerequest.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfilerequest.py @@ -10,7 +10,12 @@ class TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict(TypedDict): + r"""copied from google.type.Date; not available in buf's google/protobuf/*""" + file_path: NotRequired[str] + r"""Year of the date. Must be from 1 to 9999, or 0 to specify a date without + a year. + """ observation_period: NotRequired[timedelta] r"""A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond @@ -74,7 +79,12 @@ class TextqlRPCPublicPatchesGetUsageDetailsForFileRequestTypedDict(TypedDict): class TextqlRPCPublicPatchesGetUsageDetailsForFileRequest(BaseModel): + r"""copied from google.type.Date; not available in buf's google/protobuf/*""" + file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None + r"""Year of the date. Must be from 1 to 9999, or 0 to specify a date without + a year. + """ observation_period: Annotated[ Optional[timedelta], pydantic.Field(alias="observationPeriod") diff --git a/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfileresponse.py index 23cec90..87dd098 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfileresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_getusagedetailsforfileresponse.py @@ -106,7 +106,6 @@ class TextqlRPCPublicPatchesGetUsageDetailsForFileResponseTypedDict(TypedDict): ) to obtain a formatter capable of generating timestamps in this format. """ days: NotRequired[List[TextqlRPCPublicPatchesDailyFileUsageTypedDict]] - r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" class TextqlRPCPublicPatchesGetUsageDetailsForFileResponse(BaseModel): @@ -203,7 +202,6 @@ class TextqlRPCPublicPatchesGetUsageDetailsForFileResponse(BaseModel): """ days: Optional[List[TextqlRPCPublicPatchesDailyFileUsage]] = None - r"""one entry per UTC day in the window, oldest first; idle days zero-filled""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryanaconfig.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryanaconfig.py deleted file mode 100644 index e92eda6..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryanaconfig.py +++ /dev/null @@ -1,244 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_autoattachentry import ( - TextqlRPCPublicPatchesAutoAttachEntry, - TextqlRPCPublicPatchesAutoAttachEntryTypedDict, -) -from .textql_rpc_public_patches_codeownerentry import ( - TextqlRPCPublicPatchesCodeownerEntry, - TextqlRPCPublicPatchesCodeownerEntryTypedDict, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryAnaConfigTypedDict(TypedDict): - path: NotRequired[str] - auto_attach: NotRequired[List[TextqlRPCPublicPatchesAutoAttachEntryTypedDict]] - can_write: NotRequired[bool] - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - codeowners: NotRequired[List[TextqlRPCPublicPatchesCodeownerEntryTypedDict]] - - -class TextqlRPCPublicPatchesLibraryAnaConfig(BaseModel): - path: Optional[str] = None - - auto_attach: Annotated[ - Optional[List[TextqlRPCPublicPatchesAutoAttachEntry]], - pydantic.Field(alias="autoAttach"), - ] = None - - can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - codeowners: Optional[List[TextqlRPCPublicPatchesCodeownerEntry]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - ["path", "autoAttach", "canWrite", "updatedAt", "codeowners"] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryAnaConfig.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryentry.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryentry.py deleted file mode 100644 index 3acb10a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryentry.py +++ /dev/null @@ -1,313 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_config_source_configsyncstatus import ( - TextqlRPCPublicConfigSourceConfigSyncStatus, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict = TypeAliasType( - "TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict", Union[int, str] -) - - -TextqlRPCPublicPatchesLibraryEntrySizeBytes = TypeAliasType( - "TextqlRPCPublicPatchesLibraryEntrySizeBytes", Union[int, str] -) - - -class TextqlRPCPublicPatchesLibraryEntryTypedDict(TypedDict): - path: NotRequired[str] - name: NotRequired[str] - is_dir: NotRequired[bool] - size_bytes: NotRequired[ - Nullable[TextqlRPCPublicPatchesLibraryEntrySizeBytesTypedDict] - ] - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - can_write: NotRequired[bool] - can_read: NotRequired[bool] - config_sync_status: NotRequired[TextqlRPCPublicConfigSourceConfigSyncStatus] - config_object_id: NotRequired[Nullable[str]] - r"""config_object_id is the id of the object this file defines (the playbook - id), enabling file -> object links. Empty when no object is materialized yet. - """ - config_sync_error: NotRequired[Nullable[str]] - r"""config_sync_error is the latest sync failure message for a config-managed - entry whose status is ERROR; empty otherwise. Lets the file view surface the - error inline without a second fetch. - """ - - -class TextqlRPCPublicPatchesLibraryEntry(BaseModel): - path: Optional[str] = None - - name: Optional[str] = None - - is_dir: Annotated[Optional[bool], pydantic.Field(alias="isDir")] = None - - size_bytes: Annotated[ - OptionalNullable[TextqlRPCPublicPatchesLibraryEntrySizeBytes], - pydantic.Field(alias="sizeBytes"), - ] = UNSET - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None - - can_read: Annotated[Optional[bool], pydantic.Field(alias="canRead")] = None - - config_sync_status: Annotated[ - Optional[TextqlRPCPublicConfigSourceConfigSyncStatus], - pydantic.Field(alias="configSyncStatus"), - ] = None - - config_object_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="configObjectId") - ] = UNSET - r"""config_object_id is the id of the object this file defines (the playbook - id), enabling file -> object links. Empty when no object is materialized yet. - """ - - config_sync_error: Annotated[ - OptionalNullable[str], pydantic.Field(alias="configSyncError") - ] = UNSET - r"""config_sync_error is the latest sync failure message for a config-managed - entry whose status is ERROR; empty otherwise. Lets the file view surface the - error inline without a second fetch. - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "path", - "name", - "isDir", - "sizeBytes", - "updatedAt", - "canWrite", - "canRead", - "configSyncStatus", - "configObjectId", - "configSyncError", - ] - ) - nullable_fields = set(["sizeBytes", "configObjectId", "configSyncError"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryEntry.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryfile.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryfile.py deleted file mode 100644 index a061b2c..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryfile.py +++ /dev/null @@ -1,273 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryfilekind import ( - TextqlRPCPublicPatchesLibraryFileKind, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict = TypeAliasType( - "TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict", Union[int, str] -) - - -TextqlRPCPublicPatchesLibraryFileSizeBytes = TypeAliasType( - "TextqlRPCPublicPatchesLibraryFileSizeBytes", Union[int, str] -) - - -class TextqlRPCPublicPatchesLibraryFileTypedDict(TypedDict): - path: NotRequired[str] - name: NotRequired[str] - content: NotRequired[str] - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - can_write: NotRequired[bool] - kind: NotRequired[TextqlRPCPublicPatchesLibraryFileKind] - mime_type: NotRequired[str] - size_bytes: NotRequired[TextqlRPCPublicPatchesLibraryFileSizeBytesTypedDict] - binary_content: NotRequired[str] - - -class TextqlRPCPublicPatchesLibraryFile(BaseModel): - path: Optional[str] = None - - name: Optional[str] = None - - content: Optional[str] = None - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None - - kind: Optional[TextqlRPCPublicPatchesLibraryFileKind] = None - - mime_type: Annotated[Optional[str], pydantic.Field(alias="mimeType")] = None - - size_bytes: Annotated[ - Optional[TextqlRPCPublicPatchesLibraryFileSizeBytes], - pydantic.Field(alias="sizeBytes"), - ] = None - - binary_content: Annotated[Optional[str], pydantic.Field(alias="binaryContent")] = ( - None - ) - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "path", - "name", - "content", - "updatedAt", - "canWrite", - "kind", - "mimeType", - "sizeBytes", - "binaryContent", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryFile.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryfilekind.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryfilekind.py deleted file mode 100644 index d21ed60..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryfilekind.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicPatchesLibraryFileKind = Union[ - Literal[ - "LIBRARY_FILE_KIND_UNSPECIFIED", - "LIBRARY_FILE_KIND_TEXT", - "LIBRARY_FILE_KIND_PDF", - "LIBRARY_FILE_KIND_IMAGE", - "LIBRARY_FILE_KIND_ASSET", - "LIBRARY_FILE_KIND_TABULAR", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangedfile.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangedfile.py deleted file mode 100644 index 7cbacfc..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangedfile.py +++ /dev/null @@ -1,67 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryhistorychangetype import ( - TextqlRPCPublicPatchesLibraryHistoryChangeType, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict(TypedDict): - path: NotRequired[str] - previous_path: NotRequired[Nullable[str]] - change_type: NotRequired[TextqlRPCPublicPatchesLibraryHistoryChangeType] - - -class TextqlRPCPublicPatchesLibraryHistoryChangedFile(BaseModel): - path: Optional[str] = None - - previous_path: Annotated[ - OptionalNullable[str], pydantic.Field(alias="previousPath") - ] = UNSET - - change_type: Annotated[ - Optional[TextqlRPCPublicPatchesLibraryHistoryChangeType], - pydantic.Field(alias="changeType"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "previousPath", "changeType"]) - nullable_fields = set(["previousPath"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryHistoryChangedFile.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangetype.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangetype.py deleted file mode 100644 index fd095f2..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistorychangetype.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicPatchesLibraryHistoryChangeType = Union[ - Literal[ - "LIBRARY_HISTORY_CHANGE_TYPE_UNSPECIFIED", - "LIBRARY_HISTORY_CHANGE_TYPE_ADDED", - "LIBRARY_HISTORY_CHANGE_TYPE_MODIFIED", - "LIBRARY_HISTORY_CHANGE_TYPE_DELETED", - "LIBRARY_HISTORY_CHANGE_TYPE_RENAMED", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistoryentry.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryhistoryentry.py deleted file mode 100644 index be2075b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryhistoryentry.py +++ /dev/null @@ -1,269 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryhistorychangedfile import ( - TextqlRPCPublicPatchesLibraryHistoryChangedFile, - TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict(TypedDict): - commit_id: NotRequired[str] - committed_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - author_email: NotRequired[str] - author_name: NotRequired[str] - message: NotRequired[Nullable[str]] - changed_files: NotRequired[ - List[TextqlRPCPublicPatchesLibraryHistoryChangedFileTypedDict] - ] - - -class TextqlRPCPublicPatchesLibraryHistoryEntry(BaseModel): - commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None - - committed_at: Annotated[Optional[datetime], pydantic.Field(alias="committedAt")] = ( - None - ) - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - author_email: Annotated[Optional[str], pydantic.Field(alias="authorEmail")] = None - - author_name: Annotated[Optional[str], pydantic.Field(alias="authorName")] = None - - message: OptionalNullable[str] = UNSET - - changed_files: Annotated[ - Optional[List[TextqlRPCPublicPatchesLibraryHistoryChangedFile]], - pydantic.Field(alias="changedFiles"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "commitId", - "committedAt", - "authorEmail", - "authorName", - "message", - "changedFiles", - ] - ) - nullable_fields = set(["message"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryHistoryEntry.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryimportedge.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryimportedge.py deleted file mode 100644 index 74769d0..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryimportedge.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryImportEdgeTypedDict(TypedDict): - source_path: NotRequired[str] - target_path: NotRequired[str] - alias: NotRequired[str] - - -class TextqlRPCPublicPatchesLibraryImportEdge(BaseModel): - source_path: Annotated[Optional[str], pydantic.Field(alias="sourcePath")] = None - - target_path: Annotated[Optional[str], pydantic.Field(alias="targetPath")] = None - - alias: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["sourcePath", "targetPath", "alias"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryImportEdge.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarymergeoutcome.py b/src/textql_sdk/models/textql_rpc_public_patches_librarymergeoutcome.py deleted file mode 100644 index 9a8f54b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarymergeoutcome.py +++ /dev/null @@ -1,19 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicPatchesLibraryMergeOutcome = Union[ - Literal[ - "LIBRARY_MERGE_OUTCOME_UNSPECIFIED", - "LIBRARY_MERGE_OUTCOME_ALREADY_UP_TO_DATE", - "LIBRARY_MERGE_OUTCOME_LOCAL_AHEAD", - "LIBRARY_MERGE_OUTCOME_FAST_FORWARD", - "LIBRARY_MERGE_OUTCOME_BOOTSTRAP_ADOPT", - "LIBRARY_MERGE_OUTCOME_MERGE_REQUIRED", - "LIBRARY_MERGE_OUTCOME_UNRELATED_HISTORIES", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryownerentry.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryownerentry.py deleted file mode 100644 index d254f17..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryownerentry.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarypermission import ( - TextqlRPCPublicPatchesLibraryPermission, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict(TypedDict): - role_id: NotRequired[str] - permission: NotRequired[TextqlRPCPublicPatchesLibraryPermission] - - -class TextqlRPCPublicPatchesLibraryOwnerEntry(BaseModel): - role_id: Annotated[Optional[str], pydantic.Field(alias="roleId")] = None - - permission: Optional[TextqlRPCPublicPatchesLibraryPermission] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["roleId", "permission"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryOwnerEntry.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryowners.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryowners.py deleted file mode 100644 index 6962ce8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryowners.py +++ /dev/null @@ -1,232 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryownerentry import ( - TextqlRPCPublicPatchesLibraryOwnerEntry, - TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryOwnersTypedDict(TypedDict): - path: NotRequired[str] - entries: NotRequired[List[TextqlRPCPublicPatchesLibraryOwnerEntryTypedDict]] - can_write: NotRequired[bool] - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - -class TextqlRPCPublicPatchesLibraryOwners(BaseModel): - path: Optional[str] = None - - entries: Optional[List[TextqlRPCPublicPatchesLibraryOwnerEntry]] = None - - can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "entries", "canWrite", "updatedAt"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryOwners.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarypermission.py b/src/textql_sdk/models/textql_rpc_public_patches_librarypermission.py deleted file mode 100644 index 9fc64e9..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarypermission.py +++ /dev/null @@ -1,18 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicPatchesLibraryPermission = Union[ - Literal[ - "LIBRARY_PERMISSION_UNSPECIFIED", - "LIBRARY_PERMISSION_EXECUTE", - "LIBRARY_PERMISSION_READ", - "LIBRARY_PERMISSION_READ_EXECUTE", - "LIBRARY_PERMISSION_READ_WRITE", - "LIBRARY_PERMISSION_READ_WRITE_EXECUTE", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_libraryremote.py b/src/textql_sdk/models/textql_rpc_public_patches_libraryremote.py deleted file mode 100644 index 6ea2990..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_libraryremote.py +++ /dev/null @@ -1,672 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibraryRemoteTypedDict(TypedDict): - id: NotRequired[str] - remote_url: NotRequired[str] - auth_type: NotRequired[str] - default_branch: NotRequired[str] - created_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - sync_enabled: NotRequired[bool] - sync_interval_minutes: NotRequired[int] - last_synced_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - last_sync_error: NotRequired[Nullable[str]] - signing_key_type: NotRequired[str] - github_app_id: NotRequired[Nullable[str]] - github_app_installation_id: NotRequired[Nullable[str]] - has_conflicts: NotRequired[bool] - push_mode: NotRequired[str] - - -class TextqlRPCPublicPatchesLibraryRemote(BaseModel): - id: Optional[str] = None - - remote_url: Annotated[Optional[str], pydantic.Field(alias="remoteUrl")] = None - - auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None - - default_branch: Annotated[Optional[str], pydantic.Field(alias="defaultBranch")] = ( - None - ) - - created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - sync_enabled: Annotated[Optional[bool], pydantic.Field(alias="syncEnabled")] = None - - sync_interval_minutes: Annotated[ - Optional[int], pydantic.Field(alias="syncIntervalMinutes") - ] = None - - last_synced_at: Annotated[ - Optional[datetime], pydantic.Field(alias="lastSyncedAt") - ] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - last_sync_error: Annotated[ - OptionalNullable[str], pydantic.Field(alias="lastSyncError") - ] = UNSET - - signing_key_type: Annotated[ - Optional[str], pydantic.Field(alias="signingKeyType") - ] = None - - github_app_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="githubAppId") - ] = UNSET - - github_app_installation_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="githubAppInstallationId") - ] = UNSET - - has_conflicts: Annotated[Optional[bool], pydantic.Field(alias="hasConflicts")] = ( - None - ) - - push_mode: Annotated[Optional[str], pydantic.Field(alias="pushMode")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "id", - "remoteUrl", - "authType", - "defaultBranch", - "createdAt", - "updatedAt", - "syncEnabled", - "syncIntervalMinutes", - "lastSyncedAt", - "lastSyncError", - "signingKeyType", - "githubAppId", - "githubAppInstallationId", - "hasConflicts", - "pushMode", - ] - ) - nullable_fields = set( - ["lastSyncError", "githubAppId", "githubAppInstallationId"] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibraryRemote.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarysizeday.py b/src/textql_sdk/models/textql_rpc_public_patches_librarysizeday.py deleted file mode 100644 index c225e8b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarysizeday.py +++ /dev/null @@ -1,68 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_date import ( - TextqlRPCPublicPatchesDate, - TextqlRPCPublicPatchesDateTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -TotalBytesTypedDict = TypeAliasType("TotalBytesTypedDict", Union[int, str]) - - -TotalBytes = TypeAliasType("TotalBytes", Union[int, str]) - - -class TextqlRPCPublicPatchesLibrarySizeDayTypedDict(TypedDict): - r"""LibrarySizeDay is the library's total content size as of the end of one UTC - day, sampled from git history (the last commit on or before that day). - """ - - date_: NotRequired[TextqlRPCPublicPatchesDateTypedDict] - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" - total_bytes: NotRequired[TotalBytesTypedDict] - file_count: NotRequired[int] - - -class TextqlRPCPublicPatchesLibrarySizeDay(BaseModel): - r"""LibrarySizeDay is the library's total content size as of the end of one UTC - day, sampled from git history (the last commit on or before that day). - """ - - date_: Annotated[ - Optional[TextqlRPCPublicPatchesDate], pydantic.Field(alias="date") - ] = None - r"""copied from google.type.Date; not available in buf's google/protobuf/*""" - - total_bytes: Annotated[Optional[TotalBytes], pydantic.Field(alias="totalBytes")] = ( - None - ) - - file_count: Annotated[Optional[int], pydantic.Field(alias="fileCount")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["date", "totalBytes", "fileCount"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibrarySizeDay.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarysubmodule.py b/src/textql_sdk/models/textql_rpc_public_patches_librarysubmodule.py deleted file mode 100644 index 25bbec7..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarysubmodule.py +++ /dev/null @@ -1,40 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibrarySubmoduleTypedDict(TypedDict): - name: NotRequired[str] - path: NotRequired[str] - url: NotRequired[str] - branch: NotRequired[str] - - -class TextqlRPCPublicPatchesLibrarySubmodule(BaseModel): - name: Optional[str] = None - - path: Optional[str] = None - - url: Optional[str] = None - - branch: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["name", "path", "url", "branch"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncconflict.py b/src/textql_sdk/models/textql_rpc_public_patches_librarysyncconflict.py deleted file mode 100644 index f436863..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncconflict.py +++ /dev/null @@ -1,245 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibrarySyncConflictTypedDict(TypedDict): - id: NotRequired[str] - file_path: NotRequired[str] - ours_content: NotRequired[str] - theirs_content: NotRequired[str] - base_content: NotRequired[str] - created_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - -class TextqlRPCPublicPatchesLibrarySyncConflict(BaseModel): - id: Optional[str] = None - - file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None - - ours_content: Annotated[Optional[str], pydantic.Field(alias="oursContent")] = None - - theirs_content: Annotated[Optional[str], pydantic.Field(alias="theirsContent")] = ( - None - ) - - base_content: Annotated[Optional[str], pydantic.Field(alias="baseContent")] = None - - created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "id", - "filePath", - "oursContent", - "theirsContent", - "baseContent", - "createdAt", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibrarySyncConflict.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrun.py b/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrun.py deleted file mode 100644 index 53cb482..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrun.py +++ /dev/null @@ -1,471 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarysyncrunstatus import ( - TextqlRPCPublicPatchesLibrarySyncRunStatus, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesLibrarySyncRunTypedDict(TypedDict): - id: NotRequired[str] - remote_id: NotRequired[Nullable[str]] - remote_url: NotRequired[Nullable[str]] - default_branch: NotRequired[Nullable[str]] - source: NotRequired[str] - status: NotRequired[TextqlRPCPublicPatchesLibrarySyncRunStatus] - started_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - completed_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - error_message: NotRequired[Nullable[str]] - conflict_count: NotRequired[int] - - -class TextqlRPCPublicPatchesLibrarySyncRun(BaseModel): - id: Optional[str] = None - - remote_id: Annotated[OptionalNullable[str], pydantic.Field(alias="remoteId")] = ( - UNSET - ) - - remote_url: Annotated[OptionalNullable[str], pydantic.Field(alias="remoteUrl")] = ( - UNSET - ) - - default_branch: Annotated[ - OptionalNullable[str], pydantic.Field(alias="defaultBranch") - ] = UNSET - - source: Optional[str] = None - - status: Optional[TextqlRPCPublicPatchesLibrarySyncRunStatus] = None - - started_at: Annotated[Optional[datetime], pydantic.Field(alias="startedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - completed_at: Annotated[Optional[datetime], pydantic.Field(alias="completedAt")] = ( - None - ) - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - error_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="errorMessage") - ] = UNSET - - conflict_count: Annotated[Optional[int], pydantic.Field(alias="conflictCount")] = ( - None - ) - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "id", - "remoteId", - "remoteUrl", - "defaultBranch", - "source", - "status", - "startedAt", - "completedAt", - "errorMessage", - "conflictCount", - ] - ) - nullable_fields = set( - ["remoteId", "remoteUrl", "defaultBranch", "errorMessage"] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesLibrarySyncRun.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrunstatus.py b/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrunstatus.py deleted file mode 100644 index 5412e22..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_librarysyncrunstatus.py +++ /dev/null @@ -1,17 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicPatchesLibrarySyncRunStatus = Union[ - Literal[ - "LIBRARY_SYNC_RUN_STATUS_UNSPECIFIED", - "LIBRARY_SYNC_RUN_STATUS_IN_PROGRESS", - "LIBRARY_SYNC_RUN_STATUS_SUCCEEDED", - "LIBRARY_SYNC_RUN_STATUS_FAILED", - "LIBRARY_SYNC_RUN_STATUS_CONFLICTS", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfilerequest.py index 1faef1e..a37857b 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfilerequest.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfilerequest.py @@ -78,7 +78,6 @@ class TextqlRPCPublicPatchesListChatsForFileRequestTypedDict(TypedDict): microsecond should be expressed in JSON format as \"3.000001s\". """ limit: NotRequired[Nullable[int]] - r"""default and cap applied server-side""" class TextqlRPCPublicPatchesListChatsForFileRequest(BaseModel): @@ -148,7 +147,6 @@ class TextqlRPCPublicPatchesListChatsForFileRequest(BaseModel): """ limit: OptionalNullable[int] = UNSET - r"""default and cap applied server-side""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfileresponse.py index eebed74..6e2b3dc 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfileresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_listchatsforfileresponse.py @@ -13,12 +13,10 @@ class TextqlRPCPublicPatchesListChatsForFileResponseTypedDict(TypedDict): chats: NotRequired[List[TextqlRPCPublicPatchesFileChatUsageTypedDict]] - r"""most recent pull first""" class TextqlRPCPublicPatchesListChatsForFileResponse(BaseModel): chats: Optional[List[TextqlRPCPublicPatchesFileChatUsage]] = None - r"""most recent pull first""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesrequest.py deleted file mode 100644 index dd9d44b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesrequest.py +++ /dev/null @@ -1,63 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibraryEntriesRequestTypedDict(TypedDict): - path: NotRequired[str] - recursive: NotRequired[Nullable[bool]] - include_debug_files: NotRequired[bool] - r"""when true, reserved files like OWNERS are included""" - - -class TextqlRPCPublicPatchesListLibraryEntriesRequest(BaseModel): - path: Optional[str] = None - - recursive: OptionalNullable[bool] = UNSET - - include_debug_files: Annotated[ - Optional[bool], pydantic.Field(alias="includeDebugFiles") - ] = None - r"""when true, reserved files like OWNERS are included""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "recursive", "includeDebugFiles"]) - nullable_fields = set(["recursive"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesListLibraryEntriesRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesresponse.py deleted file mode 100644 index 6a1029f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryentriesresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryentry import ( - TextqlRPCPublicPatchesLibraryEntry, - TextqlRPCPublicPatchesLibraryEntryTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibraryEntriesResponseTypedDict(TypedDict): - entries: NotRequired[List[TextqlRPCPublicPatchesLibraryEntryTypedDict]] - - -class TextqlRPCPublicPatchesListLibraryEntriesResponse(BaseModel): - entries: Optional[List[TextqlRPCPublicPatchesLibraryEntry]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["entries"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryrequest.py deleted file mode 100644 index 6d3b114..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryrequest.py +++ /dev/null @@ -1,62 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibraryHistoryRequestTypedDict(TypedDict): - page_size: NotRequired[Nullable[int]] - page_token: NotRequired[Nullable[str]] - path: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesListLibraryHistoryRequest(BaseModel): - page_size: Annotated[OptionalNullable[int], pydantic.Field(alias="pageSize")] = ( - UNSET - ) - - page_token: Annotated[OptionalNullable[str], pydantic.Field(alias="pageToken")] = ( - UNSET - ) - - path: OptionalNullable[str] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["pageSize", "pageToken", "path"]) - nullable_fields = set(["pageSize", "pageToken", "path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesListLibraryHistoryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryresponse.py deleted file mode 100644 index 3f08449..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryhistoryresponse.py +++ /dev/null @@ -1,62 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryhistoryentry import ( - TextqlRPCPublicPatchesLibraryHistoryEntry, - TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibraryHistoryResponseTypedDict(TypedDict): - history: NotRequired[List[TextqlRPCPublicPatchesLibraryHistoryEntryTypedDict]] - next_page_token: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesListLibraryHistoryResponse(BaseModel): - history: Optional[List[TextqlRPCPublicPatchesLibraryHistoryEntry]] = None - - next_page_token: Annotated[ - OptionalNullable[str], pydantic.Field(alias="nextPageToken") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["history", "nextPageToken"]) - nullable_fields = set(["nextPageToken"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesListLibraryHistoryResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsrequest.py deleted file mode 100644 index 881af49..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesListLibraryImportsRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesListLibraryImportsRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsresponse.py deleted file mode 100644 index 68bf082..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibraryimportsresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryimportedge import ( - TextqlRPCPublicPatchesLibraryImportEdge, - TextqlRPCPublicPatchesLibraryImportEdgeTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibraryImportsResponseTypedDict(TypedDict): - imports: NotRequired[List[TextqlRPCPublicPatchesLibraryImportEdgeTypedDict]] - - -class TextqlRPCPublicPatchesListLibraryImportsResponse(BaseModel): - imports: Optional[List[TextqlRPCPublicPatchesLibraryImportEdge]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["imports"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesrequest.py deleted file mode 100644 index ef3d352..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesListLibrarySubmodulesRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesListLibrarySubmodulesRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesresponse.py deleted file mode 100644 index d67e14d..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysubmodulesresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarysubmodule import ( - TextqlRPCPublicPatchesLibrarySubmodule, - TextqlRPCPublicPatchesLibrarySubmoduleTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibrarySubmodulesResponseTypedDict(TypedDict): - submodules: NotRequired[List[TextqlRPCPublicPatchesLibrarySubmoduleTypedDict]] - - -class TextqlRPCPublicPatchesListLibrarySubmodulesResponse(BaseModel): - submodules: Optional[List[TextqlRPCPublicPatchesLibrarySubmodule]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["submodules"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsrequest.py deleted file mode 100644 index 2aa0932..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsrequest.py +++ /dev/null @@ -1,59 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibrarySyncRunsRequestTypedDict(TypedDict): - page_size: NotRequired[Nullable[int]] - page_token: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesListLibrarySyncRunsRequest(BaseModel): - page_size: Annotated[OptionalNullable[int], pydantic.Field(alias="pageSize")] = ( - UNSET - ) - - page_token: Annotated[OptionalNullable[str], pydantic.Field(alias="pageToken")] = ( - UNSET - ) - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["pageSize", "pageToken"]) - nullable_fields = set(["pageSize", "pageToken"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesListLibrarySyncRunsRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsresponse.py deleted file mode 100644 index 147ea9a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_listlibrarysyncrunsresponse.py +++ /dev/null @@ -1,62 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarysyncrun import ( - TextqlRPCPublicPatchesLibrarySyncRun, - TextqlRPCPublicPatchesLibrarySyncRunTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesListLibrarySyncRunsResponseTypedDict(TypedDict): - runs: NotRequired[List[TextqlRPCPublicPatchesLibrarySyncRunTypedDict]] - next_page_token: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesListLibrarySyncRunsResponse(BaseModel): - runs: Optional[List[TextqlRPCPublicPatchesLibrarySyncRun]] = None - - next_page_token: Annotated[ - OptionalNullable[str], pydantic.Field(alias="nextPageToken") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["runs", "nextPageToken"]) - nullable_fields = set(["nextPageToken"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesListLibrarySyncRunsResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesrequest.py new file mode 100644 index 0000000..9f22000 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesrequest.py @@ -0,0 +1,63 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologyEntriesRequestTypedDict(TypedDict): + path: NotRequired[str] + recursive: NotRequired[Nullable[bool]] + include_debug_files: NotRequired[bool] + r"""when true, reserved files like OWNERS are included""" + + +class TextqlRPCPublicPatchesListOntologyEntriesRequest(BaseModel): + path: Optional[str] = None + + recursive: OptionalNullable[bool] = UNSET + + include_debug_files: Annotated[ + Optional[bool], pydantic.Field(alias="includeDebugFiles") + ] = None + r"""when true, reserved files like OWNERS are included""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "recursive", "includeDebugFiles"]) + nullable_fields = set(["recursive"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesListOntologyEntriesRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesresponse.py new file mode 100644 index 0000000..fec0788 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyentriesresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyentry import ( + TextqlRPCPublicPatchesOntologyEntry, + TextqlRPCPublicPatchesOntologyEntryTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologyEntriesResponseTypedDict(TypedDict): + entries: NotRequired[List[TextqlRPCPublicPatchesOntologyEntryTypedDict]] + + +class TextqlRPCPublicPatchesListOntologyEntriesResponse(BaseModel): + entries: Optional[List[TextqlRPCPublicPatchesOntologyEntry]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["entries"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryrequest.py new file mode 100644 index 0000000..2020831 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryrequest.py @@ -0,0 +1,62 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologyHistoryRequestTypedDict(TypedDict): + page_size: NotRequired[Nullable[int]] + page_token: NotRequired[Nullable[str]] + path: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesListOntologyHistoryRequest(BaseModel): + page_size: Annotated[OptionalNullable[int], pydantic.Field(alias="pageSize")] = ( + UNSET + ) + + page_token: Annotated[OptionalNullable[str], pydantic.Field(alias="pageToken")] = ( + UNSET + ) + + path: OptionalNullable[str] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["pageSize", "pageToken", "path"]) + nullable_fields = set(["pageSize", "pageToken", "path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesListOntologyHistoryRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryresponse.py new file mode 100644 index 0000000..5a47486 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyhistoryresponse.py @@ -0,0 +1,62 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyhistoryentry import ( + TextqlRPCPublicPatchesOntologyHistoryEntry, + TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologyHistoryResponseTypedDict(TypedDict): + history: NotRequired[List[TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict]] + next_page_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesListOntologyHistoryResponse(BaseModel): + history: Optional[List[TextqlRPCPublicPatchesOntologyHistoryEntry]] = None + + next_page_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="nextPageToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["history", "nextPageToken"]) + nullable_fields = set(["nextPageToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesListOntologyHistoryResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsrequest.py new file mode 100644 index 0000000..7407997 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsrequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesListOntologyImportsRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsresponse.py new file mode 100644 index 0000000..b15ff68 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologyimportsresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyimportedge import ( + TextqlRPCPublicPatchesOntologyImportEdge, + TextqlRPCPublicPatchesOntologyImportEdgeTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologyImportsResponseTypedDict(TypedDict): + imports: NotRequired[List[TextqlRPCPublicPatchesOntologyImportEdgeTypedDict]] + + +class TextqlRPCPublicPatchesListOntologyImportsResponse(BaseModel): + imports: Optional[List[TextqlRPCPublicPatchesOntologyImportEdge]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["imports"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesrequest.py new file mode 100644 index 0000000..34253a4 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesrequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesListOntologySubmodulesRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesresponse.py new file mode 100644 index 0000000..19df216 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologysubmodulesresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologysubmodule import ( + TextqlRPCPublicPatchesOntologySubmodule, + TextqlRPCPublicPatchesOntologySubmoduleTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologySubmodulesResponseTypedDict(TypedDict): + submodules: NotRequired[List[TextqlRPCPublicPatchesOntologySubmoduleTypedDict]] + + +class TextqlRPCPublicPatchesListOntologySubmodulesResponse(BaseModel): + submodules: Optional[List[TextqlRPCPublicPatchesOntologySubmodule]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["submodules"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsrequest.py new file mode 100644 index 0000000..2996793 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsrequest.py @@ -0,0 +1,59 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologySyncRunsRequestTypedDict(TypedDict): + page_size: NotRequired[Nullable[int]] + page_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesListOntologySyncRunsRequest(BaseModel): + page_size: Annotated[OptionalNullable[int], pydantic.Field(alias="pageSize")] = ( + UNSET + ) + + page_token: Annotated[OptionalNullable[str], pydantic.Field(alias="pageToken")] = ( + UNSET + ) + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["pageSize", "pageToken"]) + nullable_fields = set(["pageSize", "pageToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesListOntologySyncRunsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsresponse.py new file mode 100644 index 0000000..ec1410f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_listontologysyncrunsresponse.py @@ -0,0 +1,62 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologysyncrun import ( + TextqlRPCPublicPatchesOntologySyncRun, + TextqlRPCPublicPatchesOntologySyncRunTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesListOntologySyncRunsResponseTypedDict(TypedDict): + runs: NotRequired[List[TextqlRPCPublicPatchesOntologySyncRunTypedDict]] + next_page_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesListOntologySyncRunsResponse(BaseModel): + runs: Optional[List[TextqlRPCPublicPatchesOntologySyncRun]] = None + + next_page_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="nextPageToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["runs", "nextPageToken"]) + nullable_fields = set(["nextPageToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesListOntologySyncRunsResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migratedlegacycontextprompt.py b/src/textql_sdk/models/textql_rpc_public_patches_migratedlegacycontextprompt.py deleted file mode 100644 index 08248ab..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migratedlegacycontextprompt.py +++ /dev/null @@ -1,93 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict(TypedDict): - legacy_context_prompt_id: NotRequired[str] - name: NotRequired[str] - folder_path: NotRequired[str] - file_path: NotRequired[str] - created: NotRequired[bool] - skipped: NotRequired[bool] - skip_reason: NotRequired[Nullable[str]] - is_public: NotRequired[bool] - auto_attach: NotRequired[bool] - - -class TextqlRPCPublicPatchesMigratedLegacyContextPrompt(BaseModel): - legacy_context_prompt_id: Annotated[ - Optional[str], pydantic.Field(alias="legacyContextPromptId") - ] = None - - name: Optional[str] = None - - folder_path: Annotated[Optional[str], pydantic.Field(alias="folderPath")] = None - - file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None - - created: Optional[bool] = None - - skipped: Optional[bool] = None - - skip_reason: Annotated[ - OptionalNullable[str], pydantic.Field(alias="skipReason") - ] = UNSET - - is_public: Annotated[Optional[bool], pydantic.Field(alias="isPublic")] = None - - auto_attach: Annotated[Optional[bool], pydantic.Field(alias="autoAttach")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "legacyContextPromptId", - "name", - "folderPath", - "filePath", - "created", - "skipped", - "skipReason", - "isPublic", - "autoAttach", - ] - ) - nullable_fields = set(["skipReason"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigratedLegacyContextPrompt.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migratedontologynoun.py b/src/textql_sdk/models/textql_rpc_public_patches_migratedontologynoun.py deleted file mode 100644 index 8e3a1d6..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migratedontologynoun.py +++ /dev/null @@ -1,72 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigratedOntologyNounTypedDict(TypedDict): - noun_id: NotRequired[str] - noun_name: NotRequired[str] - file_path: NotRequired[str] - created: NotRequired[bool] - skipped: NotRequired[bool] - skip_reason: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesMigratedOntologyNoun(BaseModel): - noun_id: Annotated[Optional[str], pydantic.Field(alias="nounId")] = None - - noun_name: Annotated[Optional[str], pydantic.Field(alias="nounName")] = None - - file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None - - created: Optional[bool] = None - - skipped: Optional[bool] = None - - skip_reason: Annotated[ - OptionalNullable[str], pydantic.Field(alias="skipReason") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - ["nounId", "nounName", "filePath", "created", "skipped", "skipReason"] - ) - nullable_fields = set(["skipReason"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigratedOntologyNoun.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryrequest.py deleted file mode 100644 index 8d6f8de..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryrequest.py +++ /dev/null @@ -1,57 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequestTypedDict(TypedDict): - dry_run: NotRequired[Nullable[bool]] - include_inactive: NotRequired[Nullable[bool]] - - -class TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest(BaseModel): - dry_run: Annotated[OptionalNullable[bool], pydantic.Field(alias="dryRun")] = UNSET - - include_inactive: Annotated[ - OptionalNullable[bool], pydantic.Field(alias="includeInactive") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["dryRun", "includeInactive"]) - nullable_fields = set(["dryRun", "includeInactive"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryresponse.py deleted file mode 100644 index 143de97..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migratelegacycontexttolibraryresponse.py +++ /dev/null @@ -1,60 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_migratedlegacycontextprompt import ( - TextqlRPCPublicPatchesMigratedLegacyContextPrompt, - TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponseTypedDict(TypedDict): - prompts: NotRequired[ - List[TextqlRPCPublicPatchesMigratedLegacyContextPromptTypedDict] - ] - created_count: NotRequired[int] - skipped_count: NotRequired[int] - total_legacy_count: NotRequired[int] - dry_run: NotRequired[bool] - - -class TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse(BaseModel): - prompts: Optional[List[TextqlRPCPublicPatchesMigratedLegacyContextPrompt]] = None - - created_count: Annotated[Optional[int], pydantic.Field(alias="createdCount")] = None - - skipped_count: Annotated[Optional[int], pydantic.Field(alias="skippedCount")] = None - - total_legacy_count: Annotated[ - Optional[int], pydantic.Field(alias="totalLegacyCount") - ] = None - - dry_run: Annotated[Optional[bool], pydantic.Field(alias="dryRun")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - ["prompts", "createdCount", "skippedCount", "totalLegacyCount", "dryRun"] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigrateLegacyContextToLibraryResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryrequest.py deleted file mode 100644 index b17e8c1..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryrequest.py +++ /dev/null @@ -1,58 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryRequestTypedDict(TypedDict): - ontology_ids: NotRequired[List[int]] - dry_run: NotRequired[Nullable[bool]] - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest(BaseModel): - ontology_ids: Annotated[ - Optional[List[int]], pydantic.Field(alias="ontologyIds") - ] = None - - dry_run: Annotated[OptionalNullable[bool], pydantic.Field(alias="dryRun")] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["ontologyIds", "dryRun"]) - nullable_fields = set(["dryRun"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigrateOntologyToLibraryRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresponse.py deleted file mode 100644 index ef5a704..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresponse.py +++ /dev/null @@ -1,53 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_migrateontologytolibraryresult import ( - TextqlRPCPublicPatchesMigrateOntologyToLibraryResult, - TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryResponseTypedDict(TypedDict): - results: NotRequired[ - List[TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict] - ] - total_created: NotRequired[int] - total_skipped: NotRequired[int] - dry_run: NotRequired[bool] - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse(BaseModel): - results: Optional[List[TextqlRPCPublicPatchesMigrateOntologyToLibraryResult]] = None - - total_created: Annotated[Optional[int], pydantic.Field(alias="totalCreated")] = None - - total_skipped: Annotated[Optional[int], pydantic.Field(alias="totalSkipped")] = None - - dry_run: Annotated[Optional[bool], pydantic.Field(alias="dryRun")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["results", "totalCreated", "totalSkipped", "dryRun"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigrateOntologyToLibraryResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresult.py b/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresult.py deleted file mode 100644 index 176728c..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_migrateontologytolibraryresult.py +++ /dev/null @@ -1,70 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_migratedontologynoun import ( - TextqlRPCPublicPatchesMigratedOntologyNoun, - TextqlRPCPublicPatchesMigratedOntologyNounTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryResultTypedDict(TypedDict): - ontology_id: NotRequired[int] - ontology_name: NotRequired[str] - folder_path: NotRequired[str] - nouns: NotRequired[List[TextqlRPCPublicPatchesMigratedOntologyNounTypedDict]] - created_count: NotRequired[int] - skipped_count: NotRequired[int] - total_nouns: NotRequired[int] - - -class TextqlRPCPublicPatchesMigrateOntologyToLibraryResult(BaseModel): - ontology_id: Annotated[Optional[int], pydantic.Field(alias="ontologyId")] = None - - ontology_name: Annotated[Optional[str], pydantic.Field(alias="ontologyName")] = None - - folder_path: Annotated[Optional[str], pydantic.Field(alias="folderPath")] = None - - nouns: Optional[List[TextqlRPCPublicPatchesMigratedOntologyNoun]] = None - - created_count: Annotated[Optional[int], pydantic.Field(alias="createdCount")] = None - - skipped_count: Annotated[Optional[int], pydantic.Field(alias="skippedCount")] = None - - total_nouns: Annotated[Optional[int], pydantic.Field(alias="totalNouns")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "ontologyId", - "ontologyName", - "folderPath", - "nouns", - "createdCount", - "skippedCount", - "totalNouns", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesMigrateOntologyToLibraryResult.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyanaconfig.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyanaconfig.py new file mode 100644 index 0000000..bb0058b --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyanaconfig.py @@ -0,0 +1,244 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_autoattachentry import ( + TextqlRPCPublicPatchesAutoAttachEntry, + TextqlRPCPublicPatchesAutoAttachEntryTypedDict, +) +from .textql_rpc_public_patches_codeownerentry import ( + TextqlRPCPublicPatchesCodeownerEntry, + TextqlRPCPublicPatchesCodeownerEntryTypedDict, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyAnaConfigTypedDict(TypedDict): + path: NotRequired[str] + auto_attach: NotRequired[List[TextqlRPCPublicPatchesAutoAttachEntryTypedDict]] + can_write: NotRequired[bool] + updated_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + codeowners: NotRequired[List[TextqlRPCPublicPatchesCodeownerEntryTypedDict]] + + +class TextqlRPCPublicPatchesOntologyAnaConfig(BaseModel): + path: Optional[str] = None + + auto_attach: Annotated[ + Optional[List[TextqlRPCPublicPatchesAutoAttachEntry]], + pydantic.Field(alias="autoAttach"), + ] = None + + can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None + + updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + codeowners: Optional[List[TextqlRPCPublicPatchesCodeownerEntry]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["path", "autoAttach", "canWrite", "updatedAt", "codeowners"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyAnaConfig.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyentry.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyentry.py new file mode 100644 index 0000000..e3cfa97 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyentry.py @@ -0,0 +1,313 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_config_source_configsyncstatus import ( + TextqlRPCPublicConfigSourceConfigSyncStatus, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict = TypeAliasType( + "TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict", Union[int, str] +) + + +TextqlRPCPublicPatchesOntologyEntrySizeBytes = TypeAliasType( + "TextqlRPCPublicPatchesOntologyEntrySizeBytes", Union[int, str] +) + + +class TextqlRPCPublicPatchesOntologyEntryTypedDict(TypedDict): + path: NotRequired[str] + name: NotRequired[str] + is_dir: NotRequired[bool] + size_bytes: NotRequired[ + Nullable[TextqlRPCPublicPatchesOntologyEntrySizeBytesTypedDict] + ] + updated_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + can_write: NotRequired[bool] + can_read: NotRequired[bool] + config_sync_status: NotRequired[TextqlRPCPublicConfigSourceConfigSyncStatus] + config_object_id: NotRequired[Nullable[str]] + r"""config_object_id is the id of the object this file defines (the playbook + id), enabling file -> object links. Empty when no object is materialized yet. + """ + config_sync_error: NotRequired[Nullable[str]] + r"""config_sync_error is the latest sync failure message for a config-managed + entry whose status is ERROR; empty otherwise. Lets the file view surface the + error inline without a second fetch. + """ + + +class TextqlRPCPublicPatchesOntologyEntry(BaseModel): + path: Optional[str] = None + + name: Optional[str] = None + + is_dir: Annotated[Optional[bool], pydantic.Field(alias="isDir")] = None + + size_bytes: Annotated[ + OptionalNullable[TextqlRPCPublicPatchesOntologyEntrySizeBytes], + pydantic.Field(alias="sizeBytes"), + ] = UNSET + + updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None + + can_read: Annotated[Optional[bool], pydantic.Field(alias="canRead")] = None + + config_sync_status: Annotated[ + Optional[TextqlRPCPublicConfigSourceConfigSyncStatus], + pydantic.Field(alias="configSyncStatus"), + ] = None + + config_object_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="configObjectId") + ] = UNSET + r"""config_object_id is the id of the object this file defines (the playbook + id), enabling file -> object links. Empty when no object is materialized yet. + """ + + config_sync_error: Annotated[ + OptionalNullable[str], pydantic.Field(alias="configSyncError") + ] = UNSET + r"""config_sync_error is the latest sync failure message for a config-managed + entry whose status is ERROR; empty otherwise. Lets the file view surface the + error inline without a second fetch. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "path", + "name", + "isDir", + "sizeBytes", + "updatedAt", + "canWrite", + "canRead", + "configSyncStatus", + "configObjectId", + "configSyncError", + ] + ) + nullable_fields = set(["sizeBytes", "configObjectId", "configSyncError"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyEntry.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyfile.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyfile.py new file mode 100644 index 0000000..b874d71 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyfile.py @@ -0,0 +1,273 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyfilekind import ( + TextqlRPCPublicPatchesOntologyFileKind, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict = TypeAliasType( + "TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict", Union[int, str] +) + + +TextqlRPCPublicPatchesOntologyFileSizeBytes = TypeAliasType( + "TextqlRPCPublicPatchesOntologyFileSizeBytes", Union[int, str] +) + + +class TextqlRPCPublicPatchesOntologyFileTypedDict(TypedDict): + path: NotRequired[str] + name: NotRequired[str] + content: NotRequired[str] + updated_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + can_write: NotRequired[bool] + kind: NotRequired[TextqlRPCPublicPatchesOntologyFileKind] + mime_type: NotRequired[str] + size_bytes: NotRequired[TextqlRPCPublicPatchesOntologyFileSizeBytesTypedDict] + binary_content: NotRequired[str] + + +class TextqlRPCPublicPatchesOntologyFile(BaseModel): + path: Optional[str] = None + + name: Optional[str] = None + + content: Optional[str] = None + + updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None + + kind: Optional[TextqlRPCPublicPatchesOntologyFileKind] = None + + mime_type: Annotated[Optional[str], pydantic.Field(alias="mimeType")] = None + + size_bytes: Annotated[ + Optional[TextqlRPCPublicPatchesOntologyFileSizeBytes], + pydantic.Field(alias="sizeBytes"), + ] = None + + binary_content: Annotated[Optional[str], pydantic.Field(alias="binaryContent")] = ( + None + ) + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "path", + "name", + "content", + "updatedAt", + "canWrite", + "kind", + "mimeType", + "sizeBytes", + "binaryContent", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyFile.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyfilekind.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyfilekind.py new file mode 100644 index 0000000..ea8bb65 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyfilekind.py @@ -0,0 +1,18 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import UnrecognizedStr +from typing import Literal, Union + + +TextqlRPCPublicPatchesOntologyFileKind = Union[ + Literal[ + "ONTOLOGY_FILE_KIND_UNSPECIFIED", + "ONTOLOGY_FILE_KIND_TEXT", + "ONTOLOGY_FILE_KIND_PDF", + "ONTOLOGY_FILE_KIND_IMAGE", + "ONTOLOGY_FILE_KIND_ASSET", + "ONTOLOGY_FILE_KIND_TABULAR", + ], + UnrecognizedStr, +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangedfile.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangedfile.py new file mode 100644 index 0000000..236b3d8 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangedfile.py @@ -0,0 +1,67 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyhistorychangetype import ( + TextqlRPCPublicPatchesOntologyHistoryChangeType, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict(TypedDict): + path: NotRequired[str] + previous_path: NotRequired[Nullable[str]] + change_type: NotRequired[TextqlRPCPublicPatchesOntologyHistoryChangeType] + + +class TextqlRPCPublicPatchesOntologyHistoryChangedFile(BaseModel): + path: Optional[str] = None + + previous_path: Annotated[ + OptionalNullable[str], pydantic.Field(alias="previousPath") + ] = UNSET + + change_type: Annotated[ + Optional[TextqlRPCPublicPatchesOntologyHistoryChangeType], + pydantic.Field(alias="changeType"), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "previousPath", "changeType"]) + nullable_fields = set(["previousPath"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyHistoryChangedFile.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangetype.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangetype.py new file mode 100644 index 0000000..7889fba --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistorychangetype.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import UnrecognizedStr +from typing import Literal, Union + + +TextqlRPCPublicPatchesOntologyHistoryChangeType = Union[ + Literal[ + "ONTOLOGY_HISTORY_CHANGE_TYPE_UNSPECIFIED", + "ONTOLOGY_HISTORY_CHANGE_TYPE_ADDED", + "ONTOLOGY_HISTORY_CHANGE_TYPE_MODIFIED", + "ONTOLOGY_HISTORY_CHANGE_TYPE_DELETED", + "ONTOLOGY_HISTORY_CHANGE_TYPE_RENAMED", + ], + UnrecognizedStr, +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistoryentry.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistoryentry.py new file mode 100644 index 0000000..9667a98 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyhistoryentry.py @@ -0,0 +1,269 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyhistorychangedfile import ( + TextqlRPCPublicPatchesOntologyHistoryChangedFile, + TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyHistoryEntryTypedDict(TypedDict): + commit_id: NotRequired[str] + committed_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + author_email: NotRequired[str] + author_name: NotRequired[str] + message: NotRequired[Nullable[str]] + changed_files: NotRequired[ + List[TextqlRPCPublicPatchesOntologyHistoryChangedFileTypedDict] + ] + + +class TextqlRPCPublicPatchesOntologyHistoryEntry(BaseModel): + commit_id: Annotated[Optional[str], pydantic.Field(alias="commitId")] = None + + committed_at: Annotated[Optional[datetime], pydantic.Field(alias="committedAt")] = ( + None + ) + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + author_email: Annotated[Optional[str], pydantic.Field(alias="authorEmail")] = None + + author_name: Annotated[Optional[str], pydantic.Field(alias="authorName")] = None + + message: OptionalNullable[str] = UNSET + + changed_files: Annotated[ + Optional[List[TextqlRPCPublicPatchesOntologyHistoryChangedFile]], + pydantic.Field(alias="changedFiles"), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "commitId", + "committedAt", + "authorEmail", + "authorName", + "message", + "changedFiles", + ] + ) + nullable_fields = set(["message"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyHistoryEntry.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyimportedge.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyimportedge.py new file mode 100644 index 0000000..af77554 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyimportedge.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyImportEdgeTypedDict(TypedDict): + source_path: NotRequired[str] + target_path: NotRequired[str] + alias: NotRequired[str] + + +class TextqlRPCPublicPatchesOntologyImportEdge(BaseModel): + source_path: Annotated[Optional[str], pydantic.Field(alias="sourcePath")] = None + + target_path: Annotated[Optional[str], pydantic.Field(alias="targetPath")] = None + + alias: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["sourcePath", "targetPath", "alias"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyImportEdge.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologymergeoutcome.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologymergeoutcome.py new file mode 100644 index 0000000..c41a697 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologymergeoutcome.py @@ -0,0 +1,19 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import UnrecognizedStr +from typing import Literal, Union + + +TextqlRPCPublicPatchesOntologyMergeOutcome = Union[ + Literal[ + "ONTOLOGY_MERGE_OUTCOME_UNSPECIFIED", + "ONTOLOGY_MERGE_OUTCOME_ALREADY_UP_TO_DATE", + "ONTOLOGY_MERGE_OUTCOME_LOCAL_AHEAD", + "ONTOLOGY_MERGE_OUTCOME_FAST_FORWARD", + "ONTOLOGY_MERGE_OUTCOME_BOOTSTRAP_ADOPT", + "ONTOLOGY_MERGE_OUTCOME_MERGE_REQUIRED", + "ONTOLOGY_MERGE_OUTCOME_UNRELATED_HISTORIES", + ], + UnrecognizedStr, +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyownerentry.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyownerentry.py new file mode 100644 index 0000000..31d26ba --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyownerentry.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologypermission import ( + TextqlRPCPublicPatchesOntologyPermission, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict(TypedDict): + role_id: NotRequired[str] + permission: NotRequired[TextqlRPCPublicPatchesOntologyPermission] + + +class TextqlRPCPublicPatchesOntologyOwnerEntry(BaseModel): + role_id: Annotated[Optional[str], pydantic.Field(alias="roleId")] = None + + permission: Optional[TextqlRPCPublicPatchesOntologyPermission] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["roleId", "permission"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyOwnerEntry.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyowners.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyowners.py new file mode 100644 index 0000000..01bb8a0 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyowners.py @@ -0,0 +1,232 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyownerentry import ( + TextqlRPCPublicPatchesOntologyOwnerEntry, + TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyOwnersTypedDict(TypedDict): + path: NotRequired[str] + entries: NotRequired[List[TextqlRPCPublicPatchesOntologyOwnerEntryTypedDict]] + can_write: NotRequired[bool] + updated_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + +class TextqlRPCPublicPatchesOntologyOwners(BaseModel): + path: Optional[str] = None + + entries: Optional[List[TextqlRPCPublicPatchesOntologyOwnerEntry]] = None + + can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None + + updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "entries", "canWrite", "updatedAt"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyOwners.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologypermission.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologypermission.py new file mode 100644 index 0000000..9e36fbe --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologypermission.py @@ -0,0 +1,18 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import UnrecognizedStr +from typing import Literal, Union + + +TextqlRPCPublicPatchesOntologyPermission = Union[ + Literal[ + "ONTOLOGY_PERMISSION_UNSPECIFIED", + "ONTOLOGY_PERMISSION_EXECUTE", + "ONTOLOGY_PERMISSION_READ", + "ONTOLOGY_PERMISSION_READ_EXECUTE", + "ONTOLOGY_PERMISSION_READ_WRITE", + "ONTOLOGY_PERMISSION_READ_WRITE_EXECUTE", + ], + UnrecognizedStr, +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologyremote.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologyremote.py new file mode 100644 index 0000000..59f7512 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologyremote.py @@ -0,0 +1,672 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologyRemoteTypedDict(TypedDict): + id: NotRequired[str] + remote_url: NotRequired[str] + auth_type: NotRequired[str] + default_branch: NotRequired[str] + created_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + updated_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + sync_enabled: NotRequired[bool] + sync_interval_minutes: NotRequired[int] + last_synced_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + last_sync_error: NotRequired[Nullable[str]] + signing_key_type: NotRequired[str] + github_app_id: NotRequired[Nullable[str]] + github_app_installation_id: NotRequired[Nullable[str]] + has_conflicts: NotRequired[bool] + push_mode: NotRequired[str] + + +class TextqlRPCPublicPatchesOntologyRemote(BaseModel): + id: Optional[str] = None + + remote_url: Annotated[Optional[str], pydantic.Field(alias="remoteUrl")] = None + + auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None + + default_branch: Annotated[Optional[str], pydantic.Field(alias="defaultBranch")] = ( + None + ) + + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + sync_enabled: Annotated[Optional[bool], pydantic.Field(alias="syncEnabled")] = None + + sync_interval_minutes: Annotated[ + Optional[int], pydantic.Field(alias="syncIntervalMinutes") + ] = None + + last_synced_at: Annotated[ + Optional[datetime], pydantic.Field(alias="lastSyncedAt") + ] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + last_sync_error: Annotated[ + OptionalNullable[str], pydantic.Field(alias="lastSyncError") + ] = UNSET + + signing_key_type: Annotated[ + Optional[str], pydantic.Field(alias="signingKeyType") + ] = None + + github_app_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="githubAppId") + ] = UNSET + + github_app_installation_id: Annotated[ + OptionalNullable[str], pydantic.Field(alias="githubAppInstallationId") + ] = UNSET + + has_conflicts: Annotated[Optional[bool], pydantic.Field(alias="hasConflicts")] = ( + None + ) + + push_mode: Annotated[Optional[str], pydantic.Field(alias="pushMode")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "id", + "remoteUrl", + "authType", + "defaultBranch", + "createdAt", + "updatedAt", + "syncEnabled", + "syncIntervalMinutes", + "lastSyncedAt", + "lastSyncError", + "signingKeyType", + "githubAppId", + "githubAppInstallationId", + "hasConflicts", + "pushMode", + ] + ) + nullable_fields = set( + ["lastSyncError", "githubAppId", "githubAppInstallationId"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologyRemote.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologysizeday.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologysizeday.py new file mode 100644 index 0000000..5c0cc2e --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologysizeday.py @@ -0,0 +1,58 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_date import ( + TextqlRPCPublicPatchesDate, + TextqlRPCPublicPatchesDateTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TotalBytesTypedDict = TypeAliasType("TotalBytesTypedDict", Union[int, str]) + + +TotalBytes = TypeAliasType("TotalBytes", Union[int, str]) + + +class TextqlRPCPublicPatchesOntologySizeDayTypedDict(TypedDict): + date_: NotRequired[TextqlRPCPublicPatchesDateTypedDict] + total_bytes: NotRequired[TotalBytesTypedDict] + file_count: NotRequired[int] + + +class TextqlRPCPublicPatchesOntologySizeDay(BaseModel): + date_: Annotated[ + Optional[TextqlRPCPublicPatchesDate], pydantic.Field(alias="date") + ] = None + + total_bytes: Annotated[Optional[TotalBytes], pydantic.Field(alias="totalBytes")] = ( + None + ) + + file_count: Annotated[Optional[int], pydantic.Field(alias="fileCount")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["date", "totalBytes", "fileCount"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologySizeDay.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologysubmodule.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologysubmodule.py new file mode 100644 index 0000000..8082dde --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologysubmodule.py @@ -0,0 +1,40 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologySubmoduleTypedDict(TypedDict): + name: NotRequired[str] + path: NotRequired[str] + url: NotRequired[str] + branch: NotRequired[str] + + +class TextqlRPCPublicPatchesOntologySubmodule(BaseModel): + name: Optional[str] = None + + path: Optional[str] = None + + url: Optional[str] = None + + branch: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["name", "path", "url", "branch"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncconflict.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncconflict.py new file mode 100644 index 0000000..1d04bcb --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncconflict.py @@ -0,0 +1,245 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologySyncConflictTypedDict(TypedDict): + id: NotRequired[str] + file_path: NotRequired[str] + ours_content: NotRequired[str] + theirs_content: NotRequired[str] + base_content: NotRequired[str] + created_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + +class TextqlRPCPublicPatchesOntologySyncConflict(BaseModel): + id: Optional[str] = None + + file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None + + ours_content: Annotated[Optional[str], pydantic.Field(alias="oursContent")] = None + + theirs_content: Annotated[Optional[str], pydantic.Field(alias="theirsContent")] = ( + None + ) + + base_content: Annotated[Optional[str], pydantic.Field(alias="baseContent")] = None + + created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "id", + "filePath", + "oursContent", + "theirsContent", + "baseContent", + "createdAt", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologySyncConflict.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrun.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrun.py new file mode 100644 index 0000000..44f0d4b --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrun.py @@ -0,0 +1,471 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologysyncrunstatus import ( + TextqlRPCPublicPatchesOntologySyncRunStatus, +) +from datetime import datetime +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesOntologySyncRunTypedDict(TypedDict): + id: NotRequired[str] + remote_id: NotRequired[Nullable[str]] + remote_url: NotRequired[Nullable[str]] + default_branch: NotRequired[Nullable[str]] + source: NotRequired[str] + status: NotRequired[TextqlRPCPublicPatchesOntologySyncRunStatus] + started_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + completed_at: NotRequired[datetime] + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + error_message: NotRequired[Nullable[str]] + conflict_count: NotRequired[int] + + +class TextqlRPCPublicPatchesOntologySyncRun(BaseModel): + id: Optional[str] = None + + remote_id: Annotated[OptionalNullable[str], pydantic.Field(alias="remoteId")] = ( + UNSET + ) + + remote_url: Annotated[OptionalNullable[str], pydantic.Field(alias="remoteUrl")] = ( + UNSET + ) + + default_branch: Annotated[ + OptionalNullable[str], pydantic.Field(alias="defaultBranch") + ] = UNSET + + source: Optional[str] = None + + status: Optional[TextqlRPCPublicPatchesOntologySyncRunStatus] = None + + started_at: Annotated[Optional[datetime], pydantic.Field(alias="startedAt")] = None + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + completed_at: Annotated[Optional[datetime], pydantic.Field(alias="completedAt")] = ( + None + ) + r"""A Timestamp represents a point in time independent of any time zone or local + calendar, encoded as a count of seconds and fractions of seconds at + nanosecond resolution. The count is relative to an epoch at UTC midnight on + January 1, 1970, in the proleptic Gregorian calendar which extends the + Gregorian calendar backwards to year one. + + All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap + second table is needed for interpretation, using a [24-hour linear + smear](https://developers.google.com/time/smear). + + The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By + restricting to that range, we ensure that we can convert to and from [RFC + 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. + + # Examples + + Example 1: Compute Timestamp from POSIX `time()`. + + Timestamp timestamp; + timestamp.set_seconds(time(NULL)); + timestamp.set_nanos(0); + + Example 2: Compute Timestamp from POSIX `gettimeofday()`. + + struct timeval tv; + gettimeofday(&tv, NULL); + + Timestamp timestamp; + timestamp.set_seconds(tv.tv_sec); + timestamp.set_nanos(tv.tv_usec * 1000); + + Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. + + FILETIME ft; + GetSystemTimeAsFileTime(&ft); + UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; + + // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z + // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. + Timestamp timestamp; + timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); + timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); + + Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. + + long millis = System.currentTimeMillis(); + + Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) + .setNanos((int) ((millis % 1000) * 1000000)).build(); + + Example 5: Compute Timestamp from Java `Instant.now()`. + + Instant now = Instant.now(); + + Timestamp timestamp = + Timestamp.newBuilder().setSeconds(now.getEpochSecond()) + .setNanos(now.getNano()).build(); + + Example 6: Compute Timestamp from current time in Python. + + timestamp = Timestamp() + timestamp.GetCurrentTime() + + # JSON Mapping + + In JSON format, the Timestamp type is encoded as a string in the + [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the + format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" + where {year} is always expressed using four digits while {month}, {day}, + {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional + seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), + are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone + is required. A proto3 JSON serializer should always use UTC (as indicated by + \"Z\") when printing the Timestamp type and a proto3 JSON parser should be + able to accept both UTC and other timezones (as indicated by an offset). + + For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past + 01:30 UTC on January 15, 2017. + + In JavaScript, one can convert a Date object to this format using the + standard + [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) + method. In Python, a standard `datetime.datetime` object can be converted + to this format using + [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with + the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use + the Joda Time's [`ISODateTimeFormat.dateTime()`]( + http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + ) to obtain a formatter capable of generating timestamps in this format. + """ + + error_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="errorMessage") + ] = UNSET + + conflict_count: Annotated[Optional[int], pydantic.Field(alias="conflictCount")] = ( + None + ) + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "id", + "remoteId", + "remoteUrl", + "defaultBranch", + "source", + "status", + "startedAt", + "completedAt", + "errorMessage", + "conflictCount", + ] + ) + nullable_fields = set( + ["remoteId", "remoteUrl", "defaultBranch", "errorMessage"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesOntologySyncRun.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrunstatus.py b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrunstatus.py new file mode 100644 index 0000000..f09723d --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_ontologysyncrunstatus.py @@ -0,0 +1,17 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import UnrecognizedStr +from typing import Literal, Union + + +TextqlRPCPublicPatchesOntologySyncRunStatus = Union[ + Literal[ + "ONTOLOGY_SYNC_RUN_STATUS_UNSPECIFIED", + "ONTOLOGY_SYNC_RUN_STATUS_IN_PROGRESS", + "ONTOLOGY_SYNC_RUN_STATUS_SUCCEEDED", + "ONTOLOGY_SYNC_RUN_STATUS_FAILED", + "ONTOLOGY_SYNC_RUN_STATUS_CONFLICTS", + ], + UnrecognizedStr, +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergerequest.py deleted file mode 100644 index 92b52da..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergerequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesPlanLibraryMergeRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesPlanLibraryMergeRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergeresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergeresponse.py deleted file mode 100644 index e81482f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_planlibrarymergeresponse.py +++ /dev/null @@ -1,69 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarymergeoutcome import ( - TextqlRPCPublicPatchesLibraryMergeOutcome, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesPlanLibraryMergeResponseTypedDict(TypedDict): - outcome: NotRequired[TextqlRPCPublicPatchesLibraryMergeOutcome] - local_head_hash: NotRequired[str] - remote_head_hash: NotRequired[str] - remote_addition_paths: NotRequired[List[str]] - conflict_paths: NotRequired[List[str]] - - -class TextqlRPCPublicPatchesPlanLibraryMergeResponse(BaseModel): - outcome: Optional[TextqlRPCPublicPatchesLibraryMergeOutcome] = None - - local_head_hash: Annotated[Optional[str], pydantic.Field(alias="localHeadHash")] = ( - None - ) - - remote_head_hash: Annotated[ - Optional[str], pydantic.Field(alias="remoteHeadHash") - ] = None - - remote_addition_paths: Annotated[ - Optional[List[str]], pydantic.Field(alias="remoteAdditionPaths") - ] = None - - conflict_paths: Annotated[ - Optional[List[str]], pydantic.Field(alias="conflictPaths") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "outcome", - "localHeadHash", - "remoteHeadHash", - "remoteAdditionPaths", - "conflictPaths", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesPlanLibraryMergeResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_planontologymergerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_planontologymergerequest.py new file mode 100644 index 0000000..4eeae0b --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_planontologymergerequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesPlanOntologyMergeRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_planontologymergeresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_planontologymergeresponse.py new file mode 100644 index 0000000..8be55b3 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_planontologymergeresponse.py @@ -0,0 +1,69 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologymergeoutcome import ( + TextqlRPCPublicPatchesOntologyMergeOutcome, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesPlanOntologyMergeResponseTypedDict(TypedDict): + outcome: NotRequired[TextqlRPCPublicPatchesOntologyMergeOutcome] + local_head_hash: NotRequired[str] + remote_head_hash: NotRequired[str] + remote_addition_paths: NotRequired[List[str]] + conflict_paths: NotRequired[List[str]] + + +class TextqlRPCPublicPatchesPlanOntologyMergeResponse(BaseModel): + outcome: Optional[TextqlRPCPublicPatchesOntologyMergeOutcome] = None + + local_head_hash: Annotated[Optional[str], pydantic.Field(alias="localHeadHash")] = ( + None + ) + + remote_head_hash: Annotated[ + Optional[str], pydantic.Field(alias="remoteHeadHash") + ] = None + + remote_addition_paths: Annotated[ + Optional[List[str]], pydantic.Field(alias="remoteAdditionPaths") + ] = None + + conflict_paths: Annotated[ + Optional[List[str]], pydantic.Field(alias="conflictPaths") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "outcome", + "localHeadHash", + "remoteHeadHash", + "remoteAdditionPaths", + "conflictPaths", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesPlanOntologyMergeResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfolderrow.py b/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfolderrow.py deleted file mode 100644 index a679bf0..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfolderrow.py +++ /dev/null @@ -1,41 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict(TypedDict): - folder_path: NotRequired[str] - file_count: NotRequired[int] - - -class TextqlRPCPublicPatchesPreviewLibraryPullFolderRow(BaseModel): - folder_path: Annotated[Optional[str], pydantic.Field(alias="folderPath")] = None - - file_count: Annotated[Optional[int], pydantic.Field(alias="fileCount")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["folderPath", "fileCount"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesPreviewLibraryPullFolderRow.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoterequest.py deleted file mode 100644 index 2f53872..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoterequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoteresponse.py deleted file mode 100644 index b3284eb..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_previewlibrarypullfromremoteresponse.py +++ /dev/null @@ -1,79 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_previewlibrarypullfolderrow import ( - TextqlRPCPublicPatchesPreviewLibraryPullFolderRow, - TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponseTypedDict(TypedDict): - total_files: NotRequired[int] - top_level_folder_count: NotRequired[int] - folder_rows: NotRequired[ - List[TextqlRPCPublicPatchesPreviewLibraryPullFolderRowTypedDict] - ] - unrelated_histories: NotRequired[bool] - unrelated_histories_remote_additions: NotRequired[List[str]] - unrelated_histories_conflict_paths: NotRequired[List[str]] - - -class TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse(BaseModel): - total_files: Annotated[Optional[int], pydantic.Field(alias="totalFiles")] = None - - top_level_folder_count: Annotated[ - Optional[int], pydantic.Field(alias="topLevelFolderCount") - ] = None - - folder_rows: Annotated[ - Optional[List[TextqlRPCPublicPatchesPreviewLibraryPullFolderRow]], - pydantic.Field(alias="folderRows"), - ] = None - - unrelated_histories: Annotated[ - Optional[bool], pydantic.Field(alias="unrelatedHistories") - ] = None - - unrelated_histories_remote_additions: Annotated[ - Optional[List[str]], pydantic.Field(alias="unrelatedHistoriesRemoteAdditions") - ] = None - - unrelated_histories_conflict_paths: Annotated[ - Optional[List[str]], pydantic.Field(alias="unrelatedHistoriesConflictPaths") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "totalFiles", - "topLevelFolderCount", - "folderRows", - "unrelatedHistories", - "unrelatedHistoriesRemoteAdditions", - "unrelatedHistoriesConflictPaths", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesPreviewLibraryPullFromRemoteResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfolderrow.py b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfolderrow.py new file mode 100644 index 0000000..a85d533 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfolderrow.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict(TypedDict): + folder_path: NotRequired[str] + file_count: NotRequired[int] + + +class TextqlRPCPublicPatchesPreviewOntologyPullFolderRow(BaseModel): + folder_path: Annotated[Optional[str], pydantic.Field(alias="folderPath")] = None + + file_count: Annotated[Optional[int], pydantic.Field(alias="fileCount")] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["folderPath", "fileCount"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesPreviewOntologyPullFolderRow.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoterequest.py new file mode 100644 index 0000000..0cc31f7 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoterequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoteresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoteresponse.py new file mode 100644 index 0000000..8202e41 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_previewontologypullfromremoteresponse.py @@ -0,0 +1,79 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_previewontologypullfolderrow import ( + TextqlRPCPublicPatchesPreviewOntologyPullFolderRow, + TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponseTypedDict(TypedDict): + total_files: NotRequired[int] + top_level_folder_count: NotRequired[int] + folder_rows: NotRequired[ + List[TextqlRPCPublicPatchesPreviewOntologyPullFolderRowTypedDict] + ] + unrelated_histories: NotRequired[bool] + unrelated_histories_remote_additions: NotRequired[List[str]] + unrelated_histories_conflict_paths: NotRequired[List[str]] + + +class TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse(BaseModel): + total_files: Annotated[Optional[int], pydantic.Field(alias="totalFiles")] = None + + top_level_folder_count: Annotated[ + Optional[int], pydantic.Field(alias="topLevelFolderCount") + ] = None + + folder_rows: Annotated[ + Optional[List[TextqlRPCPublicPatchesPreviewOntologyPullFolderRow]], + pydantic.Field(alias="folderRows"), + ] = None + + unrelated_histories: Annotated[ + Optional[bool], pydantic.Field(alias="unrelatedHistories") + ] = None + + unrelated_histories_remote_additions: Annotated[ + Optional[List[str]], pydantic.Field(alias="unrelatedHistoriesRemoteAdditions") + ] = None + + unrelated_histories_conflict_paths: Annotated[ + Optional[List[str]], pydantic.Field(alias="unrelatedHistoriesConflictPaths") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "totalFiles", + "topLevelFolderCount", + "folderRows", + "unrelatedHistories", + "unrelatedHistoriesRemoteAdditions", + "unrelatedHistoriesConflictPaths", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_pulllibraryfromremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_pulllibraryfromremoterequest.py deleted file mode 100644 index 3aba02b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_pulllibraryfromremoterequest.py +++ /dev/null @@ -1,56 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesPullLibraryFromRemoteRequestTypedDict(TypedDict): - acknowledge_unrelated_histories: NotRequired[bool] - expected_local_head_hash: NotRequired[str] - expected_remote_head_hash: NotRequired[str] - - -class TextqlRPCPublicPatchesPullLibraryFromRemoteRequest(BaseModel): - acknowledge_unrelated_histories: Annotated[ - Optional[bool], pydantic.Field(alias="acknowledgeUnrelatedHistories") - ] = None - - expected_local_head_hash: Annotated[ - Optional[str], pydantic.Field(alias="expectedLocalHeadHash") - ] = None - - expected_remote_head_hash: Annotated[ - Optional[str], pydantic.Field(alias="expectedRemoteHeadHash") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "acknowledgeUnrelatedHistories", - "expectedLocalHeadHash", - "expectedRemoteHeadHash", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesPullLibraryFromRemoteRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_pullontologyfromremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_pullontologyfromremoterequest.py new file mode 100644 index 0000000..a1135f3 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_pullontologyfromremoterequest.py @@ -0,0 +1,56 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesPullOntologyFromRemoteRequestTypedDict(TypedDict): + acknowledge_unrelated_histories: NotRequired[bool] + expected_local_head_hash: NotRequired[str] + expected_remote_head_hash: NotRequired[str] + + +class TextqlRPCPublicPatchesPullOntologyFromRemoteRequest(BaseModel): + acknowledge_unrelated_histories: Annotated[ + Optional[bool], pydantic.Field(alias="acknowledgeUnrelatedHistories") + ] = None + + expected_local_head_hash: Annotated[ + Optional[str], pydantic.Field(alias="expectedLocalHeadHash") + ] = None + + expected_remote_head_hash: Annotated[ + Optional[str], pydantic.Field(alias="expectedRemoteHeadHash") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + [ + "acknowledgeUnrelatedHistories", + "expectedLocalHeadHash", + "expectedRemoteHeadHash", + ] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesPullOntologyFromRemoteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_pushlibrarytoremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_pushlibrarytoremoterequest.py deleted file mode 100644 index f24354a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_pushlibrarytoremoterequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesPushLibraryToRemoteRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesPushLibraryToRemoteRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_pushontologytoremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_pushontologytoremoterequest.py new file mode 100644 index 0000000..ec9bf2b --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_pushontologytoremoterequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesPushOntologyToRemoteRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_recoverlibrarylevel.py b/src/textql_sdk/models/textql_rpc_public_patches_recoverlibrarylevel.py deleted file mode 100644 index 9c2a92e..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_recoverlibrarylevel.py +++ /dev/null @@ -1,12 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from typing import Literal - - -TextqlRPCPublicPatchesRecoverLibraryLevel = Literal[ - "RECOVER_LIBRARY_LEVEL_UNSPECIFIED", - "RECOVER_LIBRARY_LEVEL_DISCARD_LOCAL", - "RECOVER_LIBRARY_LEVEL_RESET_TO_REMOTE", - "RECOVER_LIBRARY_LEVEL_RECLONE", -] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_recoverlibraryrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_recoverlibraryrequest.py deleted file mode 100644 index a092481..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_recoverlibraryrequest.py +++ /dev/null @@ -1,34 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_recoverlibrarylevel import ( - TextqlRPCPublicPatchesRecoverLibraryLevel, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesRecoverLibraryRequestTypedDict(TypedDict): - level: NotRequired[TextqlRPCPublicPatchesRecoverLibraryLevel] - - -class TextqlRPCPublicPatchesRecoverLibraryRequest(BaseModel): - level: Optional[TextqlRPCPublicPatchesRecoverLibraryLevel] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["level"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_recoverontologylevel.py b/src/textql_sdk/models/textql_rpc_public_patches_recoverontologylevel.py new file mode 100644 index 0000000..4071cbe --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_recoverontologylevel.py @@ -0,0 +1,12 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from typing import Literal + + +TextqlRPCPublicPatchesRecoverOntologyLevel = Literal[ + "RECOVER_ONTOLOGY_LEVEL_UNSPECIFIED", + "RECOVER_ONTOLOGY_LEVEL_DISCARD_LOCAL", + "RECOVER_ONTOLOGY_LEVEL_RESET_TO_REMOTE", + "RECOVER_ONTOLOGY_LEVEL_RECLONE", +] diff --git a/src/textql_sdk/models/textql_rpc_public_patches_recoverontologyrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_recoverontologyrequest.py new file mode 100644 index 0000000..1c78488 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_recoverontologyrequest.py @@ -0,0 +1,34 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_recoverontologylevel import ( + TextqlRPCPublicPatchesRecoverOntologyLevel, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesRecoverOntologyRequestTypedDict(TypedDict): + level: NotRequired[TextqlRPCPublicPatchesRecoverOntologyLevel] + + +class TextqlRPCPublicPatchesRecoverOntologyRequest(BaseModel): + level: Optional[TextqlRPCPublicPatchesRecoverOntologyLevel] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["level"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_removelibraryremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_removelibraryremoterequest.py deleted file mode 100644 index 9f87a6a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_removelibraryremoterequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicPatchesRemoveLibraryRemoteRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicPatchesRemoveLibraryRemoteRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_removelibrarysubmodulerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_removelibrarysubmodulerequest.py deleted file mode 100644 index ba062fe..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_removelibrarysubmodulerequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequestTypedDict(TypedDict): - path: NotRequired[str] - - -class TextqlRPCPublicPatchesRemoveLibrarySubmoduleRequest(BaseModel): - path: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_removeontologyremoterequest.py b/src/textql_sdk/models/textql_rpc_public_patches_removeontologyremoterequest.py new file mode 100644 index 0000000..e624198 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_removeontologyremoterequest.py @@ -0,0 +1,13 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from textql_sdk.types import BaseModel +from typing_extensions import TypedDict + + +class TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict(TypedDict): + pass + + +class TextqlRPCPublicPatchesRemoveOntologyRemoteRequest(BaseModel): + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_removeontologysubmodulerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_removeontologysubmodulerequest.py new file mode 100644 index 0000000..333f2a5 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_removeontologysubmodulerequest.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesRemoveOntologySubmoduleRequestTypedDict(TypedDict): + path: NotRequired[str] + + +class TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest(BaseModel): + path: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfilerequest.py deleted file mode 100644 index 4d7bd7c..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfilerequest.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesRenameLibraryFileRequestTypedDict(TypedDict): - old_path: NotRequired[str] - new_path: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesRenameLibraryFileRequest(BaseModel): - old_path: Annotated[Optional[str], pydantic.Field(alias="oldPath")] = None - - new_path: Annotated[Optional[str], pydantic.Field(alias="newPath")] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["oldPath", "newPath", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesRenameLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfileresponse.py deleted file mode 100644 index 7e2c338..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_renamelibraryfileresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryfile import ( - TextqlRPCPublicPatchesLibraryFile, - TextqlRPCPublicPatchesLibraryFileTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesRenameLibraryFileResponseTypedDict(TypedDict): - file: NotRequired[TextqlRPCPublicPatchesLibraryFileTypedDict] - - -class TextqlRPCPublicPatchesRenameLibraryFileResponse(BaseModel): - file: Optional[TextqlRPCPublicPatchesLibraryFile] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["file"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfilerequest.py new file mode 100644 index 0000000..fef761a --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfilerequest.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesRenameOntologyFileRequestTypedDict(TypedDict): + old_path: NotRequired[str] + new_path: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesRenameOntologyFileRequest(BaseModel): + old_path: Annotated[Optional[str], pydantic.Field(alias="oldPath")] = None + + new_path: Annotated[Optional[str], pydantic.Field(alias="newPath")] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["oldPath", "newPath", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesRenameOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfileresponse.py new file mode 100644 index 0000000..ec0a1bd --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_renameontologyfileresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyfile import ( + TextqlRPCPublicPatchesOntologyFile, + TextqlRPCPublicPatchesOntologyFileTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesRenameOntologyFileResponseTypedDict(TypedDict): + file: NotRequired[TextqlRPCPublicPatchesOntologyFileTypedDict] + + +class TextqlRPCPublicPatchesRenameOntologyFileResponse(BaseModel): + file: Optional[TextqlRPCPublicPatchesOntologyFile] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["file"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_resolvelibrarysyncconflictrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_resolvelibrarysyncconflictrequest.py deleted file mode 100644 index af05722..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_resolvelibrarysyncconflictrequest.py +++ /dev/null @@ -1,43 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesResolveLibrarySyncConflictRequestTypedDict(TypedDict): - conflict_id: NotRequired[str] - resolved_content: NotRequired[str] - - -class TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest(BaseModel): - conflict_id: Annotated[Optional[str], pydantic.Field(alias="conflictId")] = None - - resolved_content: Annotated[ - Optional[str], pydantic.Field(alias="resolvedContent") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["conflictId", "resolvedContent"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesResolveLibrarySyncConflictRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_resolveontologysyncconflictrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_resolveontologysyncconflictrequest.py new file mode 100644 index 0000000..259e985 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_resolveontologysyncconflictrequest.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesResolveOntologySyncConflictRequestTypedDict(TypedDict): + conflict_id: NotRequired[str] + resolved_content: NotRequired[str] + + +class TextqlRPCPublicPatchesResolveOntologySyncConflictRequest(BaseModel): + conflict_id: Annotated[Optional[str], pydantic.Field(alias="conflictId")] = None + + resolved_content: Annotated[ + Optional[str], pydantic.Field(alias="resolvedContent") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["conflictId", "resolvedContent"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesResolveOntologySyncConflictRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_saveallobjectsasconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_saveallobjectsasconfigresponse.py index ab7f89d..4f6b52f 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_saveallobjectsasconfigresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_saveallobjectsasconfigresponse.py @@ -19,7 +19,7 @@ class TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponseTypedDict(TypedDict): patch: NotRequired[TextqlRPCPublicPatchesPatchTypedDict] file_paths: NotRequired[List[str]] - r"""Library-relative paths of the config files in the patch.""" + r"""Ontology-relative paths of the config files in the patch.""" skipped: NotRequired[List[TextqlRPCPublicPatchesSkippedConfigExportTypedDict]] already_managed_count: NotRequired[int] r"""Objects excluded up front because a config file already manages them.""" @@ -29,7 +29,7 @@ class TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse(BaseModel): patch: Optional[TextqlRPCPublicPatchesPatch] = None file_paths: Annotated[Optional[List[str]], pydantic.Field(alias="filePaths")] = None - r"""Library-relative paths of the config files in the patch.""" + r"""Ontology-relative paths of the config files in the patch.""" skipped: Optional[List[TextqlRPCPublicPatchesSkippedConfigExport]] = None diff --git a/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigrequest.py index ace349e..421a81a 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigrequest.py @@ -11,7 +11,7 @@ class TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict(TypedDict): r"""SaveObjectAsConfig renders an existing DB object (object_type keyed like config_source: \"playbook\", later \"dashboard\", ...) as a config file and - authors it as a new OPEN patch under the type's default library folder. The + authors it as a new OPEN patch under the type's default ontology folder. The file can be moved/edited like any patch file before merging; on merge, reconcile takes over the original object when content and permissions allow. """ @@ -23,7 +23,7 @@ class TextqlRPCPublicPatchesSaveObjectAsConfigRequestTypedDict(TypedDict): class TextqlRPCPublicPatchesSaveObjectAsConfigRequest(BaseModel): r"""SaveObjectAsConfig renders an existing DB object (object_type keyed like config_source: \"playbook\", later \"dashboard\", ...) as a config file and - authors it as a new OPEN patch under the type's default library folder. The + authors it as a new OPEN patch under the type's default ontology folder. The file can be moved/edited like any patch file before merging; on merge, reconcile takes over the original object when content and permissions allow. """ diff --git a/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigresponse.py index cc431c8..3143061 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_saveobjectasconfigresponse.py @@ -15,14 +15,14 @@ class TextqlRPCPublicPatchesSaveObjectAsConfigResponseTypedDict(TypedDict): patch: NotRequired[TextqlRPCPublicPatchesPatchTypedDict] file_path: NotRequired[str] - r"""Library-relative path the config file was placed at.""" + r"""Ontology-relative path the config file was placed at.""" class TextqlRPCPublicPatchesSaveObjectAsConfigResponse(BaseModel): patch: Optional[TextqlRPCPublicPatchesPatch] = None file_path: Annotated[Optional[str], pydantic.Field(alias="filePath")] = None - r"""Library-relative path the config file was placed at.""" + r"""Ontology-relative path the config file was placed at.""" @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenrequest.py deleted file mode 100644 index d135e5a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenrequest.py +++ /dev/null @@ -1,36 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesSetLibraryFileGoldenRequestTypedDict(TypedDict): - path: NotRequired[str] - golden: NotRequired[bool] - r"""true = certify, false = retire""" - - -class TextqlRPCPublicPatchesSetLibraryFileGoldenRequest(BaseModel): - path: Optional[str] = None - - golden: Optional[bool] = None - r"""true = certify, false = retire""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "golden"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenresponse.py deleted file mode 100644 index 070f774..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_setlibraryfilegoldenresponse.py +++ /dev/null @@ -1,37 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_goldenentry import ( - TextqlRPCPublicPatchesGoldenEntry, - TextqlRPCPublicPatchesGoldenEntryTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesSetLibraryFileGoldenResponseTypedDict(TypedDict): - golden: NotRequired[List[TextqlRPCPublicPatchesGoldenEntryTypedDict]] - r"""full active list after the change""" - - -class TextqlRPCPublicPatchesSetLibraryFileGoldenResponse(BaseModel): - golden: Optional[List[TextqlRPCPublicPatchesGoldenEntry]] = None - r"""full active list after the change""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["golden"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenrequest.py new file mode 100644 index 0000000..fd54b7a --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenrequest.py @@ -0,0 +1,36 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesSetOntologyFileGoldenRequestTypedDict(TypedDict): + path: NotRequired[str] + golden: NotRequired[bool] + r"""true = certify, false = retire""" + + +class TextqlRPCPublicPatchesSetOntologyFileGoldenRequest(BaseModel): + path: Optional[str] = None + + golden: Optional[bool] = None + r"""true = certify, false = retire""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "golden"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenresponse.py new file mode 100644 index 0000000..a3910c6 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_setontologyfilegoldenresponse.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_goldenentry import ( + TextqlRPCPublicPatchesGoldenEntry, + TextqlRPCPublicPatchesGoldenEntryTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesSetOntologyFileGoldenResponseTypedDict(TypedDict): + golden: NotRequired[List[TextqlRPCPublicPatchesGoldenEntryTypedDict]] + r"""full active list after the change""" + + +class TextqlRPCPublicPatchesSetOntologyFileGoldenResponse(BaseModel): + golden: Optional[List[TextqlRPCPublicPatchesGoldenEntry]] = None + r"""full active list after the change""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["golden"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_skill.py b/src/textql_sdk/models/textql_rpc_public_patches_skill.py index 0a33914..703d58c 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_skill.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_skill.py @@ -8,7 +8,7 @@ class TextqlRPCPublicPatchesSkillTypedDict(TypedDict): - r"""Skill is the display metadata for one library skill. Intentionally carries no + r"""Skill is the display metadata for one ontology skill. Intentionally carries no instruction body: bodies are inlined server-side at chat time and never sent to the client. """ @@ -20,11 +20,11 @@ class TextqlRPCPublicPatchesSkillTypedDict(TypedDict): description: NotRequired[str] r"""frontmatter description (may be empty)""" path: NotRequired[str] - r"""library-relative path, e.g. \"skills/forecast\" """ + r"""ontology-relative path, e.g. \"skills/forecast\" """ class TextqlRPCPublicPatchesSkill(BaseModel): - r"""Skill is the display metadata for one library skill. Intentionally carries no + r"""Skill is the display metadata for one ontology skill. Intentionally carries no instruction body: bodies are inlined server-side at chat time and never sent to the client. """ @@ -39,7 +39,7 @@ class TextqlRPCPublicPatchesSkill(BaseModel): r"""frontmatter description (may be empty)""" path: Optional[str] = None - r"""library-relative path, e.g. \"skills/forecast\" """ + r"""ontology-relative path, e.g. \"skills/forecast\" """ @model_serializer(mode="wrap") def serialize_model(self, handler): diff --git a/src/textql_sdk/models/textql_rpc_public_patches_triggerconfigdriftreconcileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_triggerconfigdriftreconcileresponse.py index b818f3e..492b0cc 100644 --- a/src/textql_sdk/models/textql_rpc_public_patches_triggerconfigdriftreconcileresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_patches_triggerconfigdriftreconcileresponse.py @@ -9,14 +9,14 @@ class TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponseTypedDict(TypedDict): drifted: NotRequired[bool] - r"""True ⇒ the org's live Library HEAD differed from the last reconciled commit, + r"""True ⇒ the org's live Ontology HEAD differed from the last reconciled commit, so a catch-up reconcile was enqueued. False ⇒ already converged (no-op). """ class TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse(BaseModel): drifted: Optional[bool] = None - r"""True ⇒ the org's live Library HEAD differed from the last reconciled commit, + r"""True ⇒ the org's live Ontology HEAD differed from the last reconciled commit, so a catch-up reconcile was enqueued. False ⇒ already converged (no-op). """ diff --git a/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigrequest.py deleted file mode 100644 index ed2115f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigrequest.py +++ /dev/null @@ -1,43 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequestTypedDict(TypedDict): - sync_enabled: NotRequired[bool] - sync_interval_minutes: NotRequired[int] - - -class TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest(BaseModel): - sync_enabled: Annotated[Optional[bool], pydantic.Field(alias="syncEnabled")] = None - - sync_interval_minutes: Annotated[ - Optional[int], pydantic.Field(alias="syncIntervalMinutes") - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["syncEnabled", "syncIntervalMinutes"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesUpdateLibrarySyncConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigresponse.py deleted file mode 100644 index 6a1fe8b..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_updatelibrarysyncconfigresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryremote import ( - TextqlRPCPublicPatchesLibraryRemote, - TextqlRPCPublicPatchesLibraryRemoteTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponseTypedDict(TypedDict): - remote: NotRequired[TextqlRPCPublicPatchesLibraryRemoteTypedDict] - - -class TextqlRPCPublicPatchesUpdateLibrarySyncConfigResponse(BaseModel): - remote: Optional[TextqlRPCPublicPatchesLibraryRemote] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["remote"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigrequest.py new file mode 100644 index 0000000..542eb6e --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigrequest.py @@ -0,0 +1,43 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpdateOntologySyncConfigRequestTypedDict(TypedDict): + sync_enabled: NotRequired[bool] + sync_interval_minutes: NotRequired[int] + + +class TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest(BaseModel): + sync_enabled: Annotated[Optional[bool], pydantic.Field(alias="syncEnabled")] = None + + sync_interval_minutes: Annotated[ + Optional[int], pydantic.Field(alias="syncIntervalMinutes") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["syncEnabled", "syncIntervalMinutes"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigresponse.py new file mode 100644 index 0000000..1bd0587 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_updateontologysyncconfigresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyremote import ( + TextqlRPCPublicPatchesOntologyRemote, + TextqlRPCPublicPatchesOntologyRemoteTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpdateOntologySyncConfigResponseTypedDict(TypedDict): + remote: NotRequired[TextqlRPCPublicPatchesOntologyRemoteTypedDict] + + +class TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse(BaseModel): + remote: Optional[TextqlRPCPublicPatchesOntologyRemote] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["remote"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigrequest.py deleted file mode 100644 index 319c086..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigrequest.py +++ /dev/null @@ -1,75 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_autoattachentry import ( - TextqlRPCPublicPatchesAutoAttachEntry, - TextqlRPCPublicPatchesAutoAttachEntryTypedDict, -) -from .textql_rpc_public_patches_codeownerentry import ( - TextqlRPCPublicPatchesCodeownerEntry, - TextqlRPCPublicPatchesCodeownerEntryTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequestTypedDict(TypedDict): - path: NotRequired[str] - auto_attach: NotRequired[List[TextqlRPCPublicPatchesAutoAttachEntryTypedDict]] - commit_message: NotRequired[Nullable[str]] - codeowners: NotRequired[List[TextqlRPCPublicPatchesCodeownerEntryTypedDict]] - - -class TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest(BaseModel): - path: Optional[str] = None - - auto_attach: Annotated[ - Optional[List[TextqlRPCPublicPatchesAutoAttachEntry]], - pydantic.Field(alias="autoAttach"), - ] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - codeowners: Optional[List[TextqlRPCPublicPatchesCodeownerEntry]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "autoAttach", "commitMessage", "codeowners"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesUpsertLibraryAnaConfigRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigresponse.py deleted file mode 100644 index ddf6d7c..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryanaconfigresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryanaconfig import ( - TextqlRPCPublicPatchesLibraryAnaConfig, - TextqlRPCPublicPatchesLibraryAnaConfigTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponseTypedDict(TypedDict): - config: NotRequired[TextqlRPCPublicPatchesLibraryAnaConfigTypedDict] - - -class TextqlRPCPublicPatchesUpsertLibraryAnaConfigResponse(BaseModel): - config: Optional[TextqlRPCPublicPatchesLibraryAnaConfig] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["config"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfilerequest.py deleted file mode 100644 index 1534598..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfilerequest.py +++ /dev/null @@ -1,61 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryFileRequestTypedDict(TypedDict): - path: NotRequired[str] - content: NotRequired[str] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesUpsertLibraryFileRequest(BaseModel): - path: Optional[str] = None - - content: Optional[str] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "content", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesUpsertLibraryFileRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfileresponse.py deleted file mode 100644 index fd17a5f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryfileresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryfile import ( - TextqlRPCPublicPatchesLibraryFile, - TextqlRPCPublicPatchesLibraryFileTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryFileResponseTypedDict(TypedDict): - file: NotRequired[TextqlRPCPublicPatchesLibraryFileTypedDict] - - -class TextqlRPCPublicPatchesUpsertLibraryFileResponse(BaseModel): - file: Optional[TextqlRPCPublicPatchesLibraryFile] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["file"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersrequest.py deleted file mode 100644 index 0f36da0..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersrequest.py +++ /dev/null @@ -1,67 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_librarypermission import ( - TextqlRPCPublicPatchesLibraryPermission, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryOwnersRequestTypedDict(TypedDict): - path: NotRequired[str] - role_ids: NotRequired[List[str]] - permissions: NotRequired[List[TextqlRPCPublicPatchesLibraryPermission]] - commit_message: NotRequired[Nullable[str]] - - -class TextqlRPCPublicPatchesUpsertLibraryOwnersRequest(BaseModel): - path: Optional[str] = None - - role_ids: Annotated[Optional[List[str]], pydantic.Field(alias="roleIds")] = None - - permissions: Optional[List[TextqlRPCPublicPatchesLibraryPermission]] = None - - commit_message: Annotated[ - OptionalNullable[str], pydantic.Field(alias="commitMessage") - ] = UNSET - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["path", "roleIds", "permissions", "commitMessage"]) - nullable_fields = set(["commitMessage"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicPatchesUpsertLibraryOwnersRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersresponse.py deleted file mode 100644 index 7a25e87..0000000 --- a/src/textql_sdk/models/textql_rpc_public_patches_upsertlibraryownersresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_patches_libraryowners import ( - TextqlRPCPublicPatchesLibraryOwners, - TextqlRPCPublicPatchesLibraryOwnersTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicPatchesUpsertLibraryOwnersResponseTypedDict(TypedDict): - owners: NotRequired[TextqlRPCPublicPatchesLibraryOwnersTypedDict] - - -class TextqlRPCPublicPatchesUpsertLibraryOwnersResponse(BaseModel): - owners: Optional[TextqlRPCPublicPatchesLibraryOwners] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["owners"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigrequest.py new file mode 100644 index 0000000..8275ac1 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigrequest.py @@ -0,0 +1,75 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_autoattachentry import ( + TextqlRPCPublicPatchesAutoAttachEntry, + TextqlRPCPublicPatchesAutoAttachEntryTypedDict, +) +from .textql_rpc_public_patches_codeownerentry import ( + TextqlRPCPublicPatchesCodeownerEntry, + TextqlRPCPublicPatchesCodeownerEntryTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequestTypedDict(TypedDict): + path: NotRequired[str] + auto_attach: NotRequired[List[TextqlRPCPublicPatchesAutoAttachEntryTypedDict]] + commit_message: NotRequired[Nullable[str]] + codeowners: NotRequired[List[TextqlRPCPublicPatchesCodeownerEntryTypedDict]] + + +class TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest(BaseModel): + path: Optional[str] = None + + auto_attach: Annotated[ + Optional[List[TextqlRPCPublicPatchesAutoAttachEntry]], + pydantic.Field(alias="autoAttach"), + ] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + codeowners: Optional[List[TextqlRPCPublicPatchesCodeownerEntry]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "autoAttach", "commitMessage", "codeowners"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigresponse.py new file mode 100644 index 0000000..df3d720 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyanaconfigresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyanaconfig import ( + TextqlRPCPublicPatchesOntologyAnaConfig, + TextqlRPCPublicPatchesOntologyAnaConfigTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponseTypedDict(TypedDict): + config: NotRequired[TextqlRPCPublicPatchesOntologyAnaConfigTypedDict] + + +class TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse(BaseModel): + config: Optional[TextqlRPCPublicPatchesOntologyAnaConfig] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["config"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfilerequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfilerequest.py new file mode 100644 index 0000000..694bc47 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfilerequest.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyFileRequestTypedDict(TypedDict): + path: NotRequired[str] + content: NotRequired[str] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesUpsertOntologyFileRequest(BaseModel): + path: Optional[str] = None + + content: Optional[str] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "content", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesUpsertOntologyFileRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfileresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfileresponse.py new file mode 100644 index 0000000..b744de0 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyfileresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyfile import ( + TextqlRPCPublicPatchesOntologyFile, + TextqlRPCPublicPatchesOntologyFileTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyFileResponseTypedDict(TypedDict): + file: NotRequired[TextqlRPCPublicPatchesOntologyFileTypedDict] + + +class TextqlRPCPublicPatchesUpsertOntologyFileResponse(BaseModel): + file: Optional[TextqlRPCPublicPatchesOntologyFile] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["file"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersrequest.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersrequest.py new file mode 100644 index 0000000..ce8a88c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersrequest.py @@ -0,0 +1,67 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologypermission import ( + TextqlRPCPublicPatchesOntologyPermission, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyOwnersRequestTypedDict(TypedDict): + path: NotRequired[str] + role_ids: NotRequired[List[str]] + permissions: NotRequired[List[TextqlRPCPublicPatchesOntologyPermission]] + commit_message: NotRequired[Nullable[str]] + + +class TextqlRPCPublicPatchesUpsertOntologyOwnersRequest(BaseModel): + path: Optional[str] = None + + role_ids: Annotated[Optional[List[str]], pydantic.Field(alias="roleIds")] = None + + permissions: Optional[List[TextqlRPCPublicPatchesOntologyPermission]] = None + + commit_message: Annotated[ + OptionalNullable[str], pydantic.Field(alias="commitMessage") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["path", "roleIds", "permissions", "commitMessage"]) + nullable_fields = set(["commitMessage"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicPatchesUpsertOntologyOwnersRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersresponse.py b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersresponse.py new file mode 100644 index 0000000..6e389c4 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_patches_upsertontologyownersresponse.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_patches_ontologyowners import ( + TextqlRPCPublicPatchesOntologyOwners, + TextqlRPCPublicPatchesOntologyOwnersTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicPatchesUpsertOntologyOwnersResponseTypedDict(TypedDict): + owners: NotRequired[TextqlRPCPublicPatchesOntologyOwnersTypedDict] + + +class TextqlRPCPublicPatchesUpsertOntologyOwnersResponse(BaseModel): + owners: Optional[TextqlRPCPublicPatchesOntologyOwners] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["owners"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_playbook_playbook.py b/src/textql_sdk/models/textql_rpc_public_playbook_playbook.py index 186b5d8..deb300f 100644 --- a/src/textql_sdk/models/textql_rpc_public_playbook_playbook.py +++ b/src/textql_sdk/models/textql_rpc_public_playbook_playbook.py @@ -380,6 +380,7 @@ class TextqlRPCPublicPlaybookPlaybookTypedDict(TypedDict): r"""Config-management metadata (provenance + reconcile state) for any file-based object. Presence on an object ⇒ the object is config-managed. """ + api_access_key_ids: NotRequired[List[str]] class TextqlRPCPublicPlaybookPlaybook(BaseModel): @@ -834,6 +835,10 @@ class TextqlRPCPublicPlaybookPlaybook(BaseModel): object. Presence on an object ⇒ the object is config-managed. """ + api_access_key_ids: Annotated[ + Optional[List[str]], pydantic.Field(alias="apiAccessKeyIds") + ] = None + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -881,6 +886,7 @@ def serialize_model(self, handler): "teamsChannelId", "taggedTeamsUserAadIds", "configSource", + "apiAccessKeyIds", ] ) nullable_fields = set( diff --git a/src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookrequest.py b/src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookrequest.py index 87ff776..e24a5f4 100644 --- a/src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_playbook_updateplaybookrequest.py @@ -83,6 +83,7 @@ class TextqlRPCPublicPlaybookUpdatePlaybookRequestTypedDict(TypedDict): recipient_email_column: NotRequired[Nullable[str]] teams_channel_id: NotRequired[Nullable[str]] tagged_teams_user_aad_ids: NotRequired[TextqlRPCPublicPlaybookStringListTypedDict] + api_access_key_ids: NotRequired[TextqlRPCPublicPlaybookStringListTypedDict] class TextqlRPCPublicPlaybookUpdatePlaybookRequest(BaseModel): @@ -211,6 +212,11 @@ class TextqlRPCPublicPlaybookUpdatePlaybookRequest(BaseModel): pydantic.Field(alias="taggedTeamsUserAadIds"), ] = None + api_access_key_ids: Annotated[ + Optional[TextqlRPCPublicPlaybookStringList], + pydantic.Field(alias="apiAccessKeyIds"), + ] = None + @model_serializer(mode="wrap") def serialize_model(self, handler): optional_fields = set( @@ -244,6 +250,7 @@ def serialize_model(self, handler): "recipientEmailColumn", "teamsChannelId", "taggedTeamsUserAadIds", + "apiAccessKeyIds", ] ) nullable_fields = set( diff --git a/src/textql_sdk/models/textql_rpc_public_rbac_createapikeyresponse.py b/src/textql_sdk/models/textql_rpc_public_rbac_createapikeyresponse.py index 13b64c3..00cc9b7 100644 --- a/src/textql_sdk/models/textql_rpc_public_rbac_createapikeyresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_rbac_createapikeyresponse.py @@ -14,7 +14,11 @@ class TextqlRPCPublicRbacCreateAPIKeyResponseTypedDict(TypedDict): api_key: NotRequired[TextqlRPCPublicRbacAPIKeyTypedDict] + api_key_secret: NotRequired[str] api_key_hash: NotRequired[str] + r"""Deprecated compatibility alias for api_key_secret. This field contains + the same one-time bearer credential; it is not the hash stored at rest. + """ class TextqlRPCPublicRbacCreateAPIKeyResponse(BaseModel): @@ -22,11 +26,24 @@ class TextqlRPCPublicRbacCreateAPIKeyResponse(BaseModel): Optional[TextqlRPCPublicRbacAPIKey], pydantic.Field(alias="apiKey") ] = None - api_key_hash: Annotated[Optional[str], pydantic.Field(alias="apiKeyHash")] = None + api_key_secret: Annotated[Optional[str], pydantic.Field(alias="apiKeySecret")] = ( + None + ) + + api_key_hash: Annotated[ + Optional[str], + pydantic.Field( + deprecated="warning: ** DEPRECATED ** - This will be removed in a future release, please migrate away from it as soon as possible.", + alias="apiKeyHash", + ), + ] = None + r"""Deprecated compatibility alias for api_key_secret. This field contains + the same one-time bearer credential; it is not the hash stored at rest. + """ @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["apiKey", "apiKeyHash"]) + optional_fields = set(["apiKey", "apiKeySecret", "apiKeyHash"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_rbac_rotateapikeyresponse.py b/src/textql_sdk/models/textql_rpc_public_rbac_rotateapikeyresponse.py index 5282555..7a68456 100644 --- a/src/textql_sdk/models/textql_rpc_public_rbac_rotateapikeyresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_rbac_rotateapikeyresponse.py @@ -14,7 +14,7 @@ class TextqlRPCPublicRbacRotateAPIKeyResponseTypedDict(TypedDict): api_key: NotRequired[TextqlRPCPublicRbacAPIKeyTypedDict] - api_key_hash: NotRequired[str] + api_key_secret: NotRequired[str] revoked_api_key_id: NotRequired[str] @@ -23,7 +23,9 @@ class TextqlRPCPublicRbacRotateAPIKeyResponse(BaseModel): Optional[TextqlRPCPublicRbacAPIKey], pydantic.Field(alias="apiKey") ] = None - api_key_hash: Annotated[Optional[str], pydantic.Field(alias="apiKeyHash")] = None + api_key_secret: Annotated[Optional[str], pydantic.Field(alias="apiKeySecret")] = ( + None + ) revoked_api_key_id: Annotated[ Optional[str], pydantic.Field(alias="revokedApiKeyId") @@ -31,7 +33,7 @@ class TextqlRPCPublicRbacRotateAPIKeyResponse(BaseModel): @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["apiKey", "apiKeyHash", "revokedApiKeyId"]) + optional_fields = set(["apiKey", "apiKeySecret", "revokedApiKeyId"]) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsrequest.py b/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsrequest.py new file mode 100644 index 0000000..571763d --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsrequest.py @@ -0,0 +1,48 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicRbacSetRolePermissionsRequestTypedDict(TypedDict): + role_id: NotRequired[str] + add_permission_ids: NotRequired[List[str]] + remove_permission_ids: NotRequired[List[str]] + + +class TextqlRPCPublicRbacSetRolePermissionsRequest(BaseModel): + role_id: Annotated[Optional[str], pydantic.Field(alias="roleId")] = None + + add_permission_ids: Annotated[ + Optional[List[str]], pydantic.Field(alias="addPermissionIds") + ] = None + + remove_permission_ids: Annotated[ + Optional[List[str]], pydantic.Field(alias="removePermissionIds") + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["roleId", "addPermissionIds", "removePermissionIds"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicRbacSetRolePermissionsRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsresponse.py b/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsresponse.py new file mode 100644 index 0000000..91c2f1d --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_rbac_setrolepermissionsresponse.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicRbacSetRolePermissionsResponseTypedDict(TypedDict): + success: NotRequired[bool] + + +class TextqlRPCPublicRbacSetRolePermissionsResponse(BaseModel): + success: Optional[bool] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["success"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_admin_listsandboxspendresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_admin_listsandboxspendresponse.py index d01ded6..26a7979 100644 --- a/src/textql_sdk/models/textql_rpc_public_sandbox_admin_listsandboxspendresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_admin_listsandboxspendresponse.py @@ -21,6 +21,10 @@ class TextqlRPCPublicSandboxAdminListSandboxSpendResponseTypedDict(TypedDict): r"""ACUs per instance-hour used to compute the figures above.""" total_acus: NotRequired[float] r"""Sum of acus across all returned intervals.""" + acu_rate_per1000_usd: NotRequired[float] + r"""Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). 0 means unknown/unpriced. + """ class TextqlRPCPublicSandboxAdminListSandboxSpendResponse(BaseModel): @@ -35,9 +39,18 @@ class TextqlRPCPublicSandboxAdminListSandboxSpendResponse(BaseModel): total_acus: Annotated[Optional[float], pydantic.Field(alias="totalAcus")] = None r"""Sum of acus across all returned intervals.""" + acu_rate_per1000_usd: Annotated[ + Optional[float], pydantic.Field(alias="acuRatePer1000Usd") + ] = None + r"""Effective ACU->USD rate for this org, in USD per 1000 ACUs (resolved from + the tenant's pricing tier / active override). 0 means unknown/unpriced. + """ + @model_serializer(mode="wrap") def serialize_model(self, handler): - optional_fields = set(["intervals", "acusPerHour", "totalAcus"]) + optional_fields = set( + ["intervals", "acusPerHour", "totalAcus", "acuRatePer1000Usd"] + ) serialized = handler(self) m = {} diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfileresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfileresponse.py index 891b5d7..e909986 100644 --- a/src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfileresponse.py +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_admin_readsandboxfileresponse.py @@ -20,27 +20,29 @@ class TextqlRPCPublicSandboxAdminReadSandboxFileResponseTypedDict(TypedDict): + r"""One CPU/memory measurement of a sandbox worker.""" + available: NotRequired[bool] - r"""False when the sandbox is not running (no live filesystem).""" name: NotRequired[str] + r"""CPU in cores (e.g. 0.12 used of a 1.5 limit). Limit 0 = none configured.""" size_bytes: NotRequired[ TextqlRPCPublicSandboxAdminReadSandboxFileResponseSizeBytesTypedDict ] mime_type: NotRequired[str] + r"""Percent of the limit in [0, 100]; 0 when no limit is configured.""" content: NotRequired[str] - r"""UTF-8 text content; empty for binary files (see binary_content).""" binary_content: NotRequired[str] - r"""Raw bytes for binary files (e.g. images); empty for text files.""" truncated: NotRequired[bool] - r"""True when the file exceeded the read cap and content/binary was clipped.""" is_binary: NotRequired[bool] class TextqlRPCPublicSandboxAdminReadSandboxFileResponse(BaseModel): + r"""One CPU/memory measurement of a sandbox worker.""" + available: Optional[bool] = None - r"""False when the sandbox is not running (no live filesystem).""" name: Optional[str] = None + r"""CPU in cores (e.g. 0.12 used of a 1.5 limit). Limit 0 = none configured.""" size_bytes: Annotated[ Optional[TextqlRPCPublicSandboxAdminReadSandboxFileResponseSizeBytes], @@ -48,17 +50,15 @@ class TextqlRPCPublicSandboxAdminReadSandboxFileResponse(BaseModel): ] = None mime_type: Annotated[Optional[str], pydantic.Field(alias="mimeType")] = None + r"""Percent of the limit in [0, 100]; 0 when no limit is configured.""" content: Optional[str] = None - r"""UTF-8 text content; empty for binary files (see binary_content).""" binary_content: Annotated[Optional[str], pydantic.Field(alias="binaryContent")] = ( None ) - r"""Raw bytes for binary files (e.g. images); empty for text files.""" truncated: Optional[bool] = None - r"""True when the file exceeded the read cap and content/binary was clipped.""" is_binary: Annotated[Optional[bool], pydantic.Field(alias="isBinary")] = None diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriterequest.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriterequest.py new file mode 100644 index 0000000..0b87f32 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriterequest.py @@ -0,0 +1,74 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_sandbox_query_sandboxqueryparam import ( + TextqlRPCPublicSandboxQuerySandboxQueryParam, + TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict, +) +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict = ( + TypeAliasType( + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict", + Union[int, str], + ) +) + + +TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows = TypeAliasType( + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows", Union[int, str] +) + + +class TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestTypedDict(TypedDict): + name: NotRequired[str] + connector_id: NotRequired[int] + statement: NotRequired[str] + parameters: NotRequired[List[TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict]] + max_rows: NotRequired[ + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict + ] + + +class TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest(BaseModel): + name: Optional[str] = None + + connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None + + statement: Optional[str] = None + + parameters: Optional[List[TextqlRPCPublicSandboxQuerySandboxQueryParam]] = None + + max_rows: Annotated[ + Optional[TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows], + pydantic.Field(alias="maxRows"), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set( + ["name", "connectorId", "statement", "parameters", "maxRows"] + ) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse.py new file mode 100644 index 0000000..2f0d51c --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxexecutewriteresponse.py @@ -0,0 +1,83 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional, Union +from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict + + +TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict = ( + TypeAliasType( + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict", + Union[int, str], + ) +) + + +TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows = TypeAliasType( + "TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows", + Union[int, str], +) + + +class TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTypedDict(TypedDict): + arrow_data: NotRequired[str] + total_rows: NotRequired[ + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRowsTypedDict + ] + error: NotRequired[str] + refreshed_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse(BaseModel): + arrow_data: Annotated[Optional[str], pydantic.Field(alias="arrowData")] = None + + total_rows: Annotated[ + Optional[TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponseTotalRows], + pydantic.Field(alias="totalRows"), + ] = None + + error: Optional[str] = None + + refreshed_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="refreshedToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["arrowData", "totalRows", "error", "refreshedToken"]) + nullable_fields = set(["refreshedToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetrequest.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetrequest.py new file mode 100644 index 0000000..b28c072 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetrequest.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequestTypedDict(TypedDict): + file_name: NotRequired[str] + content_type: NotRequired[str] + data: NotRequired[str] + + +class TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest(BaseModel): + file_name: Annotated[Optional[str], pydantic.Field(alias="fileName")] = None + + content_type: Annotated[Optional[str], pydantic.Field(alias="contentType")] = None + + data: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["fileName", "contentType", "data"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetresponse.py new file mode 100644 index 0000000..1e82cc0 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxputassetresponse.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponseTypedDict(TypedDict): + url: NotRequired[str] + error: NotRequired[str] + refreshed_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse(BaseModel): + url: Optional[str] = None + + error: Optional[str] = None + + refreshed_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="refreshedToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["url", "error", "refreshedToken"]) + nullable_fields = set(["refreshedToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest.py new file mode 100644 index 0000000..0088015 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyrequest.py @@ -0,0 +1,44 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .textql_rpc_public_sandbox_query_sandboxqueryparam import ( + TextqlRPCPublicSandboxQuerySandboxQueryParam, + TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict, +) +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import List, Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequestTypedDict(TypedDict): + name: NotRequired[str] + subject: NotRequired[str] + body: NotRequired[str] + parameters: NotRequired[List[TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict]] + + +class TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest(BaseModel): + name: Optional[str] = None + + subject: Optional[str] = None + + body: Optional[str] = None + + parameters: Optional[List[TextqlRPCPublicSandboxQuerySandboxQueryParam]] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["name", "subject", "body", "parameters"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse.py new file mode 100644 index 0000000..28541f6 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxsendnotifyresponse.py @@ -0,0 +1,61 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponseTypedDict(TypedDict): + sent: NotRequired[bool] + error: NotRequired[str] + refreshed_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse(BaseModel): + sent: Optional[bool] = None + + error: Optional[str] = None + + refreshed_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="refreshedToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["sent", "error", "refreshedToken"]) + nullable_fields = set(["refreshedToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateoprequest.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateoprequest.py new file mode 100644 index 0000000..0eec05f --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateoprequest.py @@ -0,0 +1,40 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxStateOpRequestTypedDict(TypedDict): + op: NotRequired[str] + scope: NotRequired[str] + key: NotRequired[str] + value: NotRequired[str] + + +class TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest(BaseModel): + op: Optional[str] = None + + scope: Optional[str] = None + + key: Optional[str] = None + + value: Optional[str] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["op", "scope", "key", "value"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateopresponse.py b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateopresponse.py new file mode 100644 index 0000000..124bcb1 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_capability_sandboxstateopresponse.py @@ -0,0 +1,67 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +import pydantic +from pydantic import model_serializer +from textql_sdk.types import ( + BaseModel, + Nullable, + OptionalNullable, + UNSET, + UNSET_SENTINEL, +) +from typing import List, Optional +from typing_extensions import Annotated, NotRequired, TypedDict + + +class TextqlRPCPublicSandboxCapabilitySandboxStateOpResponseTypedDict(TypedDict): + value: NotRequired[str] + found: NotRequired[bool] + keys: NotRequired[List[str]] + error: NotRequired[str] + refreshed_token: NotRequired[Nullable[str]] + + +class TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse(BaseModel): + value: Optional[str] = None + + found: Optional[bool] = None + + keys: Optional[List[str]] = None + + error: Optional[str] = None + + refreshed_token: Annotated[ + OptionalNullable[str], pydantic.Field(alias="refreshedToken") + ] = UNSET + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["value", "found", "keys", "error", "refreshedToken"]) + nullable_fields = set(["refreshedToken"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + is_nullable_and_explicitly_set = ( + k in nullable_fields + and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member + ) + + if val != UNSET_SENTINEL: + if ( + val is not None + or k not in optional_fields + or is_nullable_and_explicitly_set + ): + m[k] = val + + return m + + +try: + TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_query_appdbtemplate.py b/src/textql_sdk/models/textql_rpc_public_sandbox_query_appdbtemplate.py new file mode 100644 index 0000000..23b8690 --- /dev/null +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_query_appdbtemplate.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from pydantic import model_serializer +from textql_sdk.types import BaseModel, UNSET_SENTINEL +from typing import Optional +from typing_extensions import NotRequired, TypedDict + + +class TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict(TypedDict): + query: NotRequired[str] + r"""SQL to run against the app's private DuckDB database""" + + +class TextqlRPCPublicSandboxQueryAppDBTemplate(BaseModel): + query: Optional[str] = None + r"""SQL to run against the app's private DuckDB database""" + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["query"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m diff --git a/src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryrequest.py b/src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryrequest.py index e9d9ca2..2b1af60 100644 --- a/src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryrequest.py +++ b/src/textql_sdk/models/textql_rpc_public_sandbox_query_sandboxexecutequeryrequest.py @@ -1,6 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from .textql_rpc_public_sandbox_query_appdbtemplate import ( + TextqlRPCPublicSandboxQueryAppDBTemplate, + TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict, +) from .textql_rpc_public_sandbox_query_librarytqltemplate import ( TextqlRPCPublicSandboxQueryLibraryTQLTemplate, TextqlRPCPublicSandboxQueryLibraryTQLTemplateTypedDict, @@ -20,10 +24,15 @@ from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict -MaxRows2TypedDict = TypeAliasType("MaxRows2TypedDict", Union[int, str]) +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict", + Union[int, str], +) -MaxRows2 = TypeAliasType("MaxRows2", Union[int, str]) +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3 = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3", Union[int, str] +) class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict(TypedDict): @@ -31,7 +40,9 @@ class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict(Typ source_name: NotRequired[str] connector_id: NotRequired[int] parameters: NotRequired[List[TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict]] - max_rows: NotRequired[MaxRows2TypedDict] + max_rows: NotRequired[ + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3TypedDict + ] class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery(BaseModel): @@ -45,7 +56,10 @@ class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery(BaseModel): parameters: Optional[List[TextqlRPCPublicSandboxQuerySandboxQueryParam]] = None - max_rows: Annotated[Optional[MaxRows2], pydantic.Field(alias="maxRows")] = None + max_rows: Annotated[ + Optional[TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows3], + pydantic.Field(alias="maxRows"), + ] = None @model_serializer(mode="wrap") def serialize_model(self, handler): @@ -64,10 +78,15 @@ def serialize_model(self, handler): return m -MaxRows1TypedDict = TypeAliasType("MaxRows1TypedDict", Union[int, str]) +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict", + Union[int, str], +) -MaxRows1 = TypeAliasType("MaxRows1", Union[int, str]) +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2 = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2", Union[int, str] +) class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict( @@ -77,7 +96,9 @@ class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict( source_name: NotRequired[str] connector_id: NotRequired[int] parameters: NotRequired[List[TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict]] - max_rows: NotRequired[MaxRows1TypedDict] + max_rows: NotRequired[ + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2TypedDict + ] class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql(BaseModel): @@ -92,7 +113,64 @@ class TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql(BaseModel) parameters: Optional[List[TextqlRPCPublicSandboxQuerySandboxQueryParam]] = None - max_rows: Annotated[Optional[MaxRows1], pydantic.Field(alias="maxRows")] = None + max_rows: Annotated[ + Optional[TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows2], + pydantic.Field(alias="maxRows"), + ] = None + + @model_serializer(mode="wrap") + def serialize_model(self, handler): + optional_fields = set(["sourceName", "connectorId", "parameters", "maxRows"]) + serialized = handler(self) + m = {} + + for n, f in type(self).model_fields.items(): + k = f.alias or n + val = serialized.get(k, serialized.get(n)) + + if val != UNSET_SENTINEL: + if val is not None or k not in optional_fields: + m[k] = val + + return m + + +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict", + Union[int, str], +) + + +TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1 = TypeAliasType( + "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1", Union[int, str] +) + + +class AppDbTypedDict(TypedDict): + app_db: TextqlRPCPublicSandboxQueryAppDBTemplateTypedDict + source_name: NotRequired[str] + connector_id: NotRequired[int] + parameters: NotRequired[List[TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict]] + max_rows: NotRequired[ + TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1TypedDict + ] + + +class AppDb(BaseModel): + app_db: Annotated[ + TextqlRPCPublicSandboxQueryAppDBTemplate, pydantic.Field(alias="appDb") + ] + + source_name: Annotated[Optional[str], pydantic.Field(alias="sourceName")] = None + + connector_id: Annotated[Optional[int], pydantic.Field(alias="connectorId")] = None + + parameters: Optional[List[TextqlRPCPublicSandboxQuerySandboxQueryParam]] = None + + max_rows: Annotated[ + Optional[TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestMaxRows1], + pydantic.Field(alias="maxRows"), + ] = None @model_serializer(mode="wrap") def serialize_model(self, handler): @@ -114,6 +192,7 @@ def serialize_model(self, handler): TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestTypedDict = TypeAliasType( "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestTypedDict", Union[ + AppDbTypedDict, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTqlTypedDict, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQueryTypedDict, ], @@ -123,6 +202,7 @@ def serialize_model(self, handler): TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequest = TypeAliasType( "TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequest", Union[ + AppDb, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql, TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestSQLQuery, ], @@ -137,3 +217,7 @@ def serialize_model(self, handler): TextqlRPCPublicSandboxQuerySandboxExecuteQueryRequestLibraryTql.model_rebuild() except NameError: pass +try: + AppDb.model_rebuild() +except NameError: + pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_apiaccesskey.py b/src/textql_sdk/models/textql_rpc_public_secret_apiaccesskey.py deleted file mode 100644 index 54a9647..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_apiaccesskey.py +++ /dev/null @@ -1,709 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_bodycontenttype import ( - TextqlRPCPublicSecretBodyContentType, -) -from .textql_rpc_public_secret_httpbasicauth import ( - TextqlRPCPublicSecretHTTPBasicAuth, - TextqlRPCPublicSecretHTTPBasicAuthTypedDict, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing import Dict, List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretAPIAccessKeyTypedDict(TypedDict): - id: NotRequired[str] - org_id: NotRequired[str] - member_id: NotRequired[str] - hosts: NotRequired[List[str]] - headers: NotRequired[Dict[str, str]] - query_params: NotRequired[Dict[str, str]] - description: NotRequired[str] - created_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - updated_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - expires_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - provider: NotRequired[str] - auth_type: NotRequired[str] - r"""\"token\", \"oauth_u2m\", \"oauth_per_member\" """ - member_oauth_authenticated: NotRequired[bool] - member_oauth_display_name: NotRequired[str] - http_basic_auth: NotRequired[TextqlRPCPublicSecretHTTPBasicAuthTypedDict] - body: NotRequired[Dict[str, str]] - content_type: NotRequired[TextqlRPCPublicSecretBodyContentType] - can_write: NotRequired[bool] - access_type: NotRequired[Nullable[str]] - is_public: NotRequired[bool] - test_url: NotRequired[str] - name: NotRequired[str] - auth_prefix: NotRequired[str] - - -class TextqlRPCPublicSecretAPIAccessKey(BaseModel): - id: Optional[str] = None - - org_id: Annotated[Optional[str], pydantic.Field(alias="orgId")] = None - - member_id: Annotated[Optional[str], pydantic.Field(alias="memberId")] = None - - hosts: Optional[List[str]] = None - - headers: Optional[Dict[str, str]] = None - - query_params: Annotated[ - Optional[Dict[str, str]], pydantic.Field(alias="queryParams") - ] = None - - description: Optional[str] = None - - created_at: Annotated[Optional[datetime], pydantic.Field(alias="createdAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - updated_at: Annotated[Optional[datetime], pydantic.Field(alias="updatedAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - expires_at: Annotated[Optional[datetime], pydantic.Field(alias="expiresAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - provider: Optional[str] = None - - auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None - r"""\"token\", \"oauth_u2m\", \"oauth_per_member\" """ - - member_oauth_authenticated: Annotated[ - Optional[bool], pydantic.Field(alias="memberOauthAuthenticated") - ] = None - - member_oauth_display_name: Annotated[ - Optional[str], pydantic.Field(alias="memberOauthDisplayName") - ] = None - - http_basic_auth: Annotated[ - Optional[TextqlRPCPublicSecretHTTPBasicAuth], - pydantic.Field(alias="httpBasicAuth"), - ] = None - - body: Optional[Dict[str, str]] = None - - content_type: Annotated[ - Optional[TextqlRPCPublicSecretBodyContentType], - pydantic.Field(alias="contentType"), - ] = None - - can_write: Annotated[Optional[bool], pydantic.Field(alias="canWrite")] = None - - access_type: Annotated[ - OptionalNullable[str], pydantic.Field(alias="accessType") - ] = UNSET - - is_public: Annotated[Optional[bool], pydantic.Field(alias="isPublic")] = None - - test_url: Annotated[Optional[str], pydantic.Field(alias="testUrl")] = None - - name: Optional[str] = None - - auth_prefix: Annotated[Optional[str], pydantic.Field(alias="authPrefix")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "id", - "orgId", - "memberId", - "hosts", - "headers", - "queryParams", - "description", - "createdAt", - "updatedAt", - "expiresAt", - "provider", - "authType", - "memberOauthAuthenticated", - "memberOauthDisplayName", - "httpBasicAuth", - "body", - "contentType", - "canWrite", - "accessType", - "isPublic", - "testUrl", - "name", - "authPrefix", - ] - ) - nullable_fields = set(["accessType"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretAPIAccessKey.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_apiaccessref.py b/src/textql_sdk/models/textql_rpc_public_secret_apiaccessref.py deleted file mode 100644 index b4b94fb..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_apiaccessref.py +++ /dev/null @@ -1,49 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional, Union -from typing_extensions import Annotated, NotRequired, TypeAliasType, TypedDict - - -RevisionTypedDict = TypeAliasType("RevisionTypedDict", Union[int, str]) - - -Revision = TypeAliasType("Revision", Union[int, str]) - - -class TextqlRPCPublicSecretAPIAccessRefTypedDict(TypedDict): - api_access_key_id: NotRequired[str] - revision: NotRequired[RevisionTypedDict] - - -class TextqlRPCPublicSecretAPIAccessRef(BaseModel): - api_access_key_id: Annotated[ - Optional[str], pydantic.Field(alias="apiAccessKeyId") - ] = None - - revision: Optional[Revision] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKeyId", "revision"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretAPIAccessRef.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_apiprovider.py b/src/textql_sdk/models/textql_rpc_public_secret_apiprovider.py deleted file mode 100644 index a35817f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_apiprovider.py +++ /dev/null @@ -1,153 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_envvarfield import ( - TextqlRPCPublicSecretEnvVarField, - TextqlRPCPublicSecretEnvVarFieldTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretAPIProviderTypedDict(TypedDict): - id: NotRequired[str] - name: NotRequired[str] - icon_url: NotRequired[str] - auth_type: NotRequired[str] - description: NotRequired[str] - docs_url: NotRequired[str] - default_hosts: NotRequired[List[str]] - token_label: NotRequired[str] - auth_header: NotRequired[str] - auth_prefix: NotRequired[str] - oauth_supported: NotRequired[bool] - oauth_configured: NotRequired[bool] - member_authenticated: NotRequired[bool] - member_auth_display_name: NotRequired[str] - env_var_fields: NotRequired[List[TextqlRPCPublicSecretEnvVarFieldTypedDict]] - oauth_has_default_urls: NotRequired[bool] - oauth_auth_url: NotRequired[str] - oauth_token_url: NotRequired[str] - oauth_scopes: NotRequired[str] - oauth_use_pkce: NotRequired[bool] - oauth_token_auth_method: NotRequired[str] - test_url: NotRequired[str] - - -class TextqlRPCPublicSecretAPIProvider(BaseModel): - id: Optional[str] = None - - name: Optional[str] = None - - icon_url: Annotated[Optional[str], pydantic.Field(alias="iconUrl")] = None - - auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None - - description: Optional[str] = None - - docs_url: Annotated[Optional[str], pydantic.Field(alias="docsUrl")] = None - - default_hosts: Annotated[ - Optional[List[str]], pydantic.Field(alias="defaultHosts") - ] = None - - token_label: Annotated[Optional[str], pydantic.Field(alias="tokenLabel")] = None - - auth_header: Annotated[Optional[str], pydantic.Field(alias="authHeader")] = None - - auth_prefix: Annotated[Optional[str], pydantic.Field(alias="authPrefix")] = None - - oauth_supported: Annotated[ - Optional[bool], pydantic.Field(alias="oauthSupported") - ] = None - - oauth_configured: Annotated[ - Optional[bool], pydantic.Field(alias="oauthConfigured") - ] = None - - member_authenticated: Annotated[ - Optional[bool], pydantic.Field(alias="memberAuthenticated") - ] = None - - member_auth_display_name: Annotated[ - Optional[str], pydantic.Field(alias="memberAuthDisplayName") - ] = None - - env_var_fields: Annotated[ - Optional[List[TextqlRPCPublicSecretEnvVarField]], - pydantic.Field(alias="envVarFields"), - ] = None - - oauth_has_default_urls: Annotated[ - Optional[bool], pydantic.Field(alias="oauthHasDefaultUrls") - ] = None - - oauth_auth_url: Annotated[Optional[str], pydantic.Field(alias="oauthAuthUrl")] = ( - None - ) - - oauth_token_url: Annotated[Optional[str], pydantic.Field(alias="oauthTokenUrl")] = ( - None - ) - - oauth_scopes: Annotated[Optional[str], pydantic.Field(alias="oauthScopes")] = None - - oauth_use_pkce: Annotated[Optional[bool], pydantic.Field(alias="oauthUsePkce")] = ( - None - ) - - oauth_token_auth_method: Annotated[ - Optional[str], pydantic.Field(alias="oauthTokenAuthMethod") - ] = None - - test_url: Annotated[Optional[str], pydantic.Field(alias="testUrl")] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "id", - "name", - "iconUrl", - "authType", - "description", - "docsUrl", - "defaultHosts", - "tokenLabel", - "authHeader", - "authPrefix", - "oauthSupported", - "oauthConfigured", - "memberAuthenticated", - "memberAuthDisplayName", - "envVarFields", - "oauthHasDefaultUrls", - "oauthAuthUrl", - "oauthTokenUrl", - "oauthScopes", - "oauthUsePkce", - "oauthTokenAuthMethod", - "testUrl", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretAPIProvider.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_bodycontenttype.py b/src/textql_sdk/models/textql_rpc_public_secret_bodycontenttype.py deleted file mode 100644 index 44ac8e8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_bodycontenttype.py +++ /dev/null @@ -1,15 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import UnrecognizedStr -from typing import Literal, Union - - -TextqlRPCPublicSecretBodyContentType = Union[ - Literal[ - "BODY_CONTENT_TYPE_NONE", - "BODY_CONTENT_TYPE_JSON", - "BODY_CONTENT_TYPE_FORM", - ], - UnrecognizedStr, -] diff --git a/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionrequest.py deleted file mode 100644 index da5b871..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionrequest.py +++ /dev/null @@ -1,56 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import ( - BaseModel, - Nullable, - OptionalNullable, - UNSET, - UNSET_SENTINEL, -) -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretCreateAPIRevisionRequestTypedDict(TypedDict): - api_access_key_id: NotRequired[Nullable[str]] - r"""empty = new key draft""" - - -class TextqlRPCPublicSecretCreateAPIRevisionRequest(BaseModel): - api_access_key_id: Annotated[ - OptionalNullable[str], pydantic.Field(alias="apiAccessKeyId") - ] = UNSET - r"""empty = new key draft""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKeyId"]) - nullable_fields = set(["apiAccessKeyId"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - is_nullable_and_explicitly_set = ( - k in nullable_fields - and (self.__pydantic_fields_set__.intersection({n})) # pylint: disable=no-member - ) - - if val != UNSET_SENTINEL: - if ( - val is not None - or k not in optional_fields - or is_nullable_and_explicitly_set - ): - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretCreateAPIRevisionRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionresponse.py deleted file mode 100644 index 76843e8..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_createapirevisionresponse.py +++ /dev/null @@ -1,52 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, -) -from .textql_rpc_public_secret_apiaccessref import ( - TextqlRPCPublicSecretAPIAccessRef, - TextqlRPCPublicSecretAPIAccessRefTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretCreateAPIRevisionResponseTypedDict(TypedDict): - ref: NotRequired[TextqlRPCPublicSecretAPIAccessRefTypedDict] - api_access_key: NotRequired[TextqlRPCPublicSecretAPIAccessKeyTypedDict] - - -class TextqlRPCPublicSecretCreateAPIRevisionResponse(BaseModel): - ref: Optional[TextqlRPCPublicSecretAPIAccessRef] = None - - api_access_key: Annotated[ - Optional[TextqlRPCPublicSecretAPIAccessKey], - pydantic.Field(alias="apiAccessKey"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["ref", "apiAccessKey"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretCreateAPIRevisionResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyrequest.py deleted file mode 100644 index 32c014f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyrequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretDeleteAPIAccessKeyRequestTypedDict(TypedDict): - id: NotRequired[str] - - -class TextqlRPCPublicSecretDeleteAPIAccessKeyRequest(BaseModel): - id: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["id"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyresponse.py deleted file mode 100644 index 8c40740..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_deleteapiaccesskeyresponse.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicSecretDeleteAPIAccessKeyResponseTypedDict(TypedDict): - pass - - -class TextqlRPCPublicSecretDeleteAPIAccessKeyResponse(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionrequest.py deleted file mode 100644 index 695fea0..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionrequest.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccessref import ( - TextqlRPCPublicSecretAPIAccessRef, - TextqlRPCPublicSecretAPIAccessRefTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretDeleteAPIRevisionRequestTypedDict(TypedDict): - ref: NotRequired[TextqlRPCPublicSecretAPIAccessRefTypedDict] - - -class TextqlRPCPublicSecretDeleteAPIRevisionRequest(BaseModel): - ref: Optional[TextqlRPCPublicSecretAPIAccessRef] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["ref"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionresponse.py deleted file mode 100644 index c06bda7..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_deleteapirevisionresponse.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicSecretDeleteAPIRevisionResponseTypedDict(TypedDict): - pass - - -class TextqlRPCPublicSecretDeleteAPIRevisionResponse(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_envvarfield.py b/src/textql_sdk/models/textql_rpc_public_secret_envvarfield.py deleted file mode 100644 index e067a53..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_envvarfield.py +++ /dev/null @@ -1,55 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretEnvVarFieldTypedDict(TypedDict): - env_var: NotRequired[str] - label: NotRequired[str] - required: NotRequired[bool] - secret: NotRequired[bool] - default_value: NotRequired[str] - placeholder: NotRequired[str] - - -class TextqlRPCPublicSecretEnvVarField(BaseModel): - env_var: Annotated[Optional[str], pydantic.Field(alias="envVar")] = None - - label: Optional[str] = None - - required: Optional[bool] = None - - secret: Optional[bool] = None - - default_value: Annotated[Optional[str], pydantic.Field(alias="defaultValue")] = None - - placeholder: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - ["envVar", "label", "required", "secret", "defaultValue", "placeholder"] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretEnvVarField.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyrequest.py deleted file mode 100644 index 8cd9c28..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyrequest.py +++ /dev/null @@ -1,31 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretGetAPIAccessKeyRequestTypedDict(TypedDict): - id: NotRequired[str] - - -class TextqlRPCPublicSecretGetAPIAccessKeyRequest(BaseModel): - id: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["id"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyresponse.py deleted file mode 100644 index 46a139f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_getapiaccesskeyresponse.py +++ /dev/null @@ -1,45 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretGetAPIAccessKeyResponseTypedDict(TypedDict): - api_access_key: NotRequired[TextqlRPCPublicSecretAPIAccessKeyTypedDict] - - -class TextqlRPCPublicSecretGetAPIAccessKeyResponse(BaseModel): - api_access_key: Annotated[ - Optional[TextqlRPCPublicSecretAPIAccessKey], - pydantic.Field(alias="apiAccessKey"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKey"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretGetAPIAccessKeyResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_httpbasicauth.py b/src/textql_sdk/models/textql_rpc_public_secret_httpbasicauth.py deleted file mode 100644 index abb8058..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_httpbasicauth.py +++ /dev/null @@ -1,34 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretHTTPBasicAuthTypedDict(TypedDict): - username: NotRequired[str] - password: NotRequired[str] - - -class TextqlRPCPublicSecretHTTPBasicAuth(BaseModel): - username: Optional[str] = None - - password: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["username", "password"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysrequest.py deleted file mode 100644 index 33f417c..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicSecretListAPIAccessKeysRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysresponse.py deleted file mode 100644 index 3a415f1..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_listapiaccesskeysresponse.py +++ /dev/null @@ -1,45 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretListAPIAccessKeysResponseTypedDict(TypedDict): - api_access_keys: NotRequired[List[TextqlRPCPublicSecretAPIAccessKeyTypedDict]] - - -class TextqlRPCPublicSecretListAPIAccessKeysResponse(BaseModel): - api_access_keys: Annotated[ - Optional[List[TextqlRPCPublicSecretAPIAccessKey]], - pydantic.Field(alias="apiAccessKeys"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKeys"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretListAPIAccessKeysResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersrequest.py deleted file mode 100644 index ffeda69..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersrequest.py +++ /dev/null @@ -1,13 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from textql_sdk.types import BaseModel -from typing_extensions import TypedDict - - -class TextqlRPCPublicSecretListAPIProvidersRequestTypedDict(TypedDict): - pass - - -class TextqlRPCPublicSecretListAPIProvidersRequest(BaseModel): - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersresponse.py deleted file mode 100644 index 92265ea..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_listapiprovidersresponse.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiprovider import ( - TextqlRPCPublicSecretAPIProvider, - TextqlRPCPublicSecretAPIProviderTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretListAPIProvidersResponseTypedDict(TypedDict): - providers: NotRequired[List[TextqlRPCPublicSecretAPIProviderTypedDict]] - - -class TextqlRPCPublicSecretListAPIProvidersResponse(BaseModel): - providers: Optional[List[TextqlRPCPublicSecretAPIProvider]] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["providers"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorrequest.py deleted file mode 100644 index 4de1b4f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorrequest.py +++ /dev/null @@ -1,76 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequestTypedDict(TypedDict): - secret_name: NotRequired[str] - api_access_key_id: NotRequired[str] - r"""empty = create new API connector""" - header_name: NotRequired[str] - hosts: NotRequired[List[str]] - r"""Fields used when creating a new API connector (api_access_key_id is empty)""" - description: NotRequired[str] - value_prefix: NotRequired[str] - r"""e.g. \"Bearer \", prepended to the secret value""" - name: NotRequired[str] - r"""display name for the new API connector""" - - -class TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest(BaseModel): - secret_name: Annotated[Optional[str], pydantic.Field(alias="secretName")] = None - - api_access_key_id: Annotated[ - Optional[str], pydantic.Field(alias="apiAccessKeyId") - ] = None - r"""empty = create new API connector""" - - header_name: Annotated[Optional[str], pydantic.Field(alias="headerName")] = None - - hosts: Optional[List[str]] = None - r"""Fields used when creating a new API connector (api_access_key_id is empty)""" - - description: Optional[str] = None - - value_prefix: Annotated[Optional[str], pydantic.Field(alias="valuePrefix")] = None - r"""e.g. \"Bearer \", prepended to the secret value""" - - name: Optional[str] = None - r"""display name for the new API connector""" - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "secretName", - "apiAccessKeyId", - "headerName", - "hosts", - "description", - "valuePrefix", - "name", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorresponse.py deleted file mode 100644 index 44ff42f..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_migratesecrettoapiconnectorresponse.py +++ /dev/null @@ -1,45 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponseTypedDict(TypedDict): - api_access_key: NotRequired[TextqlRPCPublicSecretAPIAccessKeyTypedDict] - - -class TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse(BaseModel): - api_access_key: Annotated[ - Optional[TextqlRPCPublicSecretAPIAccessKey], - pydantic.Field(alias="apiAccessKey"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKey"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyrequest.py deleted file mode 100644 index 3d8599a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyrequest.py +++ /dev/null @@ -1,35 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccessref import ( - TextqlRPCPublicSecretAPIAccessRef, - TextqlRPCPublicSecretAPIAccessRefTypedDict, -) -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import NotRequired, TypedDict - - -class TextqlRPCPublicSecretTestAPIAccessKeyRequestTypedDict(TypedDict): - ref: NotRequired[TextqlRPCPublicSecretAPIAccessRefTypedDict] - - -class TextqlRPCPublicSecretTestAPIAccessKeyRequest(BaseModel): - ref: Optional[TextqlRPCPublicSecretAPIAccessRef] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["ref"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m diff --git a/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyresponse.py deleted file mode 100644 index be7e286..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_testapiaccesskeyresponse.py +++ /dev/null @@ -1,44 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretTestAPIAccessKeyResponseTypedDict(TypedDict): - success: NotRequired[bool] - status_code: NotRequired[int] - message: NotRequired[str] - - -class TextqlRPCPublicSecretTestAPIAccessKeyResponse(BaseModel): - success: Optional[bool] = None - - status_code: Annotated[Optional[int], pydantic.Field(alias="statusCode")] = None - - message: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["success", "statusCode", "message"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretTestAPIAccessKeyResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyrequest.py b/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyrequest.py deleted file mode 100644 index ebd655a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyrequest.py +++ /dev/null @@ -1,304 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccessref import ( - TextqlRPCPublicSecretAPIAccessRef, - TextqlRPCPublicSecretAPIAccessRefTypedDict, -) -from .textql_rpc_public_secret_bodycontenttype import ( - TextqlRPCPublicSecretBodyContentType, -) -from .textql_rpc_public_secret_httpbasicauth import ( - TextqlRPCPublicSecretHTTPBasicAuth, - TextqlRPCPublicSecretHTTPBasicAuthTypedDict, -) -from datetime import datetime -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Dict, List, Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretUpsertAPIAccessKeyRequestTypedDict(TypedDict): - ref: NotRequired[TextqlRPCPublicSecretAPIAccessRefTypedDict] - persist_to_db: NotRequired[bool] - hosts: NotRequired[List[str]] - headers: NotRequired[Dict[str, str]] - query_params: NotRequired[Dict[str, str]] - description: NotRequired[str] - expires_at: NotRequired[datetime] - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - provider: NotRequired[str] - auth_value: NotRequired[str] - auth_value_extra: NotRequired[str] - auth_type: NotRequired[str] - http_basic_auth: NotRequired[TextqlRPCPublicSecretHTTPBasicAuthTypedDict] - body: NotRequired[Dict[str, str]] - content_type: NotRequired[TextqlRPCPublicSecretBodyContentType] - test_url: NotRequired[str] - name: NotRequired[str] - - -class TextqlRPCPublicSecretUpsertAPIAccessKeyRequest(BaseModel): - ref: Optional[TextqlRPCPublicSecretAPIAccessRef] = None - - persist_to_db: Annotated[Optional[bool], pydantic.Field(alias="persistToDb")] = None - - hosts: Optional[List[str]] = None - - headers: Optional[Dict[str, str]] = None - - query_params: Annotated[ - Optional[Dict[str, str]], pydantic.Field(alias="queryParams") - ] = None - - description: Optional[str] = None - - expires_at: Annotated[Optional[datetime], pydantic.Field(alias="expiresAt")] = None - r"""A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - """ - - provider: Optional[str] = None - - auth_value: Annotated[Optional[str], pydantic.Field(alias="authValue")] = None - - auth_value_extra: Annotated[ - Optional[str], pydantic.Field(alias="authValueExtra") - ] = None - - auth_type: Annotated[Optional[str], pydantic.Field(alias="authType")] = None - - http_basic_auth: Annotated[ - Optional[TextqlRPCPublicSecretHTTPBasicAuth], - pydantic.Field(alias="httpBasicAuth"), - ] = None - - body: Optional[Dict[str, str]] = None - - content_type: Annotated[ - Optional[TextqlRPCPublicSecretBodyContentType], - pydantic.Field(alias="contentType"), - ] = None - - test_url: Annotated[Optional[str], pydantic.Field(alias="testUrl")] = None - - name: Optional[str] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set( - [ - "ref", - "persistToDb", - "hosts", - "headers", - "queryParams", - "description", - "expiresAt", - "provider", - "authValue", - "authValueExtra", - "authType", - "httpBasicAuth", - "body", - "contentType", - "testUrl", - "name", - ] - ) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretUpsertAPIAccessKeyRequest.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyresponse.py b/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyresponse.py deleted file mode 100644 index 407df4a..0000000 --- a/src/textql_sdk/models/textql_rpc_public_secret_upsertapiaccesskeyresponse.py +++ /dev/null @@ -1,45 +0,0 @@ -"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" - -from __future__ import annotations -from .textql_rpc_public_secret_apiaccesskey import ( - TextqlRPCPublicSecretAPIAccessKey, - TextqlRPCPublicSecretAPIAccessKeyTypedDict, -) -import pydantic -from pydantic import model_serializer -from textql_sdk.types import BaseModel, UNSET_SENTINEL -from typing import Optional -from typing_extensions import Annotated, NotRequired, TypedDict - - -class TextqlRPCPublicSecretUpsertAPIAccessKeyResponseTypedDict(TypedDict): - api_access_key: NotRequired[TextqlRPCPublicSecretAPIAccessKeyTypedDict] - - -class TextqlRPCPublicSecretUpsertAPIAccessKeyResponse(BaseModel): - api_access_key: Annotated[ - Optional[TextqlRPCPublicSecretAPIAccessKey], - pydantic.Field(alias="apiAccessKey"), - ] = None - - @model_serializer(mode="wrap") - def serialize_model(self, handler): - optional_fields = set(["apiAccessKey"]) - serialized = handler(self) - m = {} - - for n, f in type(self).model_fields.items(): - k = f.alias or n - val = serialized.get(k, serialized.get(n)) - - if val != UNSET_SENTINEL: - if val is not None or k not in optional_fields: - m[k] = val - - return m - - -try: - TextqlRPCPublicSecretUpsertAPIAccessKeyResponse.model_rebuild() -except NameError: - pass diff --git a/src/textql_sdk/ontologymanagementservice.py b/src/textql_sdk/ontologymanagementservice.py new file mode 100644 index 0000000..57bb373 --- /dev/null +++ b/src/textql_sdk/ontologymanagementservice.py @@ -0,0 +1,15664 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .basesdk import BaseSDK +from datetime import timedelta +from textql_sdk import errors, models, utils +from textql_sdk._hooks import HookContext +from textql_sdk.types import OptionalNullable, UNSET +from textql_sdk.utils import get_security_from_env +from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response +from typing import Iterable, List, Mapping, Optional, Union + + +class OntologyManagementService(BaseSDK): + def ontology_management_service_add_ontology_submodule( + self, + *, + connect_timeout_ms: Optional[float] = None, + url: Optional[str] = None, + path: Optional[str] = None, + branch: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceAddOntologySubmoduleResponse: + r"""AddOntologySubmodule + + :param connect_timeout_ms: + :param url: + :param path: + :param branch: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceAddOntologySubmoduleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesAddOntologySubmoduleRequest( + url=url, + path=path, + branch=branch, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/AddOntologySubmodule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesAddOntologySubmoduleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_AddOntologySubmodule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesAddOntologySubmoduleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_add_ontology_submodule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + url: Optional[str] = None, + path: Optional[str] = None, + branch: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceAddOntologySubmoduleResponse: + r"""AddOntologySubmodule + + :param connect_timeout_ms: + :param url: + :param path: + :param branch: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceAddOntologySubmoduleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesAddOntologySubmoduleRequest( + url=url, + path=path, + branch=branch, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/AddOntologySubmodule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesAddOntologySubmoduleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_AddOntologySubmodule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesAddOntologySubmoduleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_approve_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceApprovePatchResponse: + r"""ApprovePatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceApprovePatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesApprovePatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ApprovePatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesApprovePatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ApprovePatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesApprovePatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_approve_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceApprovePatchResponse: + r"""ApprovePatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceApprovePatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesApprovePatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ApprovePatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesApprovePatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ApprovePatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesApprovePatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_configure_ontology_remote( + self, + *, + connect_timeout_ms: Optional[float] = None, + remote_url: Optional[str] = None, + auth_type: Optional[str] = None, + token: OptionalNullable[str] = UNSET, + ssh_private_key: OptionalNullable[str] = UNSET, + ssh_key_password: OptionalNullable[str] = UNSET, + default_branch: OptionalNullable[str] = UNSET, + github_app_id: OptionalNullable[str] = UNSET, + github_app_installation_id: OptionalNullable[str] = UNSET, + github_app_private_key: OptionalNullable[str] = UNSET, + signing_key_type: OptionalNullable[str] = UNSET, + signing_key: OptionalNullable[str] = UNSET, + push_mode: OptionalNullable[str] = UNSET, + use_hosted_github_app: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceConfigureOntologyRemoteResponse: + r"""ConfigureOntologyRemote + + :param connect_timeout_ms: + :param remote_url: + :param auth_type: + :param token: + :param ssh_private_key: + :param ssh_key_password: + :param default_branch: + :param github_app_id: + :param github_app_installation_id: + :param github_app_private_key: + :param signing_key_type: + :param signing_key: + :param push_mode: + :param use_hosted_github_app: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceConfigureOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesConfigureOntologyRemoteRequest( + remote_url=remote_url, + auth_type=auth_type, + token=token, + ssh_private_key=ssh_private_key, + ssh_key_password=ssh_key_password, + default_branch=default_branch, + github_app_id=github_app_id, + github_app_installation_id=github_app_installation_id, + github_app_private_key=github_app_private_key, + signing_key_type=signing_key_type, + signing_key=signing_key, + push_mode=push_mode, + use_hosted_github_app=use_hosted_github_app, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ConfigureOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesConfigureOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ConfigureOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesConfigureOntologyRemoteResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_configure_ontology_remote_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + remote_url: Optional[str] = None, + auth_type: Optional[str] = None, + token: OptionalNullable[str] = UNSET, + ssh_private_key: OptionalNullable[str] = UNSET, + ssh_key_password: OptionalNullable[str] = UNSET, + default_branch: OptionalNullable[str] = UNSET, + github_app_id: OptionalNullable[str] = UNSET, + github_app_installation_id: OptionalNullable[str] = UNSET, + github_app_private_key: OptionalNullable[str] = UNSET, + signing_key_type: OptionalNullable[str] = UNSET, + signing_key: OptionalNullable[str] = UNSET, + push_mode: OptionalNullable[str] = UNSET, + use_hosted_github_app: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceConfigureOntologyRemoteResponse: + r"""ConfigureOntologyRemote + + :param connect_timeout_ms: + :param remote_url: + :param auth_type: + :param token: + :param ssh_private_key: + :param ssh_key_password: + :param default_branch: + :param github_app_id: + :param github_app_installation_id: + :param github_app_private_key: + :param signing_key_type: + :param signing_key: + :param push_mode: + :param use_hosted_github_app: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceConfigureOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesConfigureOntologyRemoteRequest( + remote_url=remote_url, + auth_type=auth_type, + token=token, + ssh_private_key=ssh_private_key, + ssh_key_password=ssh_key_password, + default_branch=default_branch, + github_app_id=github_app_id, + github_app_installation_id=github_app_installation_id, + github_app_private_key=github_app_private_key, + signing_key_type=signing_key_type, + signing_key=signing_key, + push_mode=push_mode, + use_hosted_github_app=use_hosted_github_app, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ConfigureOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesConfigureOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ConfigureOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesConfigureOntologyRemoteResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_create_approval_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesApprovalRuleInput, + models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateApprovalRuleResponse: + r"""CreateApprovalRule + + :param connect_timeout_ms: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateApprovalRuleRequest( + rule=utils.get_pydantic_model( + rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateApprovalRuleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_create_approval_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesApprovalRuleInput, + models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateApprovalRuleResponse: + r"""CreateApprovalRule + + :param connect_timeout_ms: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateApprovalRuleRequest( + rule=utils.get_pydantic_model( + rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateApprovalRuleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_create_context_patch_auto_approve_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse: + r"""CreateContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest( + rule=utils.get_pydantic_model( + rule, + Optional[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput + ], + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_create_context_patch_auto_approve_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateContextPatchAutoApproveRuleResponse: + r"""CreateContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest( + rule=utils.get_pydantic_model( + rule, + Optional[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput + ], + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateContextPatchAutoApproveRuleResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_create_ontology_directory( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateOntologyDirectoryResponse: + r"""CreateOntologyDirectory + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateOntologyDirectoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateOntologyDirectoryRequest( + path=path, + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateOntologyDirectory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateOntologyDirectoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateOntologyDirectory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateOntologyDirectoryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_create_ontology_directory_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateOntologyDirectoryResponse: + r"""CreateOntologyDirectory + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateOntologyDirectoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateOntologyDirectoryRequest( + path=path, + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateOntologyDirectory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateOntologyDirectoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateOntologyDirectory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateOntologyDirectoryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_create_ontology_file_upload_url( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + mime_type: Optional[str] = None, + size_bytes: Optional[ + Union[ + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes, + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateOntologyFileUploadURLResponse: + r"""CreateOntologyFileUploadUrl + + :param connect_timeout_ms: + :param path: + :param mime_type: + :param size_bytes: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateOntologyFileUploadURLRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest( + path=path, + mime_type=mime_type, + size_bytes=size_bytes, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateOntologyFileUploadUrl", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateOntologyFileUploadUrl", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_create_ontology_file_upload_url_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + mime_type: Optional[str] = None, + size_bytes: Optional[ + Union[ + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytes, + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequestSizeBytesTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceCreateOntologyFileUploadURLResponse: + r"""CreateOntologyFileUploadUrl + + :param connect_timeout_ms: + :param path: + :param mime_type: + :param size_bytes: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceCreateOntologyFileUploadURLRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest( + path=path, + mime_type=mime_type, + size_bytes=size_bytes, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/CreateOntologyFileUploadUrl", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_CreateOntologyFileUploadUrl", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesCreateOntologyFileUploadURLResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_delete_approval_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteApprovalRuleResponse: + r"""DeleteApprovalRule + + :param connect_timeout_ms: + :param id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest( + id=id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_delete_approval_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteApprovalRuleResponse: + r"""DeleteApprovalRule + + :param connect_timeout_ms: + :param id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest( + id=id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_delete_context_patch_auto_approve_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse: + r"""DeleteContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest( + id=id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_delete_context_patch_auto_approve_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteContextPatchAutoApproveRuleResponse: + r"""DeleteContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest( + id=id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_delete_ontology_directory( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + recursive: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyDirectoryResponse: + r"""DeleteOntologyDirectory + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param recursive: When true, delete the directory and all of its contents (files and + subdirectories) in a single atomic commit. The caller must have write + access to every nested subdirectory. When false (default), the directory + must be empty of non-reserved entries. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyDirectoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest( + path=path, + commit_message=commit_message, + recursive=recursive, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyDirectory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyDirectory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_delete_ontology_directory_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + recursive: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyDirectoryResponse: + r"""DeleteOntologyDirectory + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param recursive: When true, delete the directory and all of its contents (files and + subdirectories) in a single atomic commit. The caller must have write + access to every nested subdirectory. When false (default), the directory + must be empty of non-reserved entries. + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyDirectoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest( + path=path, + commit_message=commit_message, + recursive=recursive, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyDirectory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyDirectoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyDirectory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_delete_ontology_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyFileResponse: + r"""DeleteOntologyFile + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyFileRequest( + path=path, + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_delete_ontology_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyFileResponse: + r"""DeleteOntologyFile + + :param connect_timeout_ms: + :param path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyFileRequest( + path=path, + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_delete_ontology_owners( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + role_ids: Optional[Iterable[str]] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyOwnersResponse: + r"""DeleteOntologyOwners + + :param connect_timeout_ms: + :param path: + :param role_ids: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyOwnersRequest( + path=path, + role_ids=utils.unmarshal(role_ids, Optional[List[str]]), + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_delete_ontology_owners_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + role_ids: Optional[Iterable[str]] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDeleteOntologyOwnersResponse: + r"""DeleteOntologyOwners + + :param connect_timeout_ms: + :param path: + :param role_ids: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDeleteOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDeleteOntologyOwnersRequest( + path=path, + role_ids=utils.unmarshal(role_ids, Optional[List[str]]), + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DeleteOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDeleteOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DeleteOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_deny_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDenyPatchResponse: + r"""DenyPatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDenyPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDenyPatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DenyPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDenyPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DenyPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_deny_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceDenyPatchResponse: + r"""DenyPatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceDenyPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesDenyPatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/DenyPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesDenyPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_DenyPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_exchange_ontology_github_code( + self, + *, + connect_timeout_ms: Optional[float] = None, + code: Optional[str] = None, + state: Optional[str] = None, + code_verifier: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceExchangeOntologyGithubCodeResponse: + r"""ExchangeOntologyGithubCode + + :param connect_timeout_ms: + :param code: + :param state: + :param code_verifier: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceExchangeOntologyGithubCodeRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest( + code=code, + state=state, + code_verifier=code_verifier, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ExchangeOntologyGithubCode", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ExchangeOntologyGithubCode", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_exchange_ontology_github_code_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + code: Optional[str] = None, + state: Optional[str] = None, + code_verifier: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceExchangeOntologyGithubCodeResponse: + r"""ExchangeOntologyGithubCode + + :param connect_timeout_ms: + :param code: + :param state: + :param code_verifier: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceExchangeOntologyGithubCodeRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest( + code=code, + state=state, + code_verifier=code_verifier, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ExchangeOntologyGithubCode", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ExchangeOntologyGithubCode", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesExchangeOntologyGithubCodeResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_finalize_ontology_file_upload( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + upload_key: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceFinalizeOntologyFileUploadResponse: + r"""FinalizeOntologyFileUpload + + :param connect_timeout_ms: + :param path: + :param upload_key: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceFinalizeOntologyFileUploadRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest( + path=path, + upload_key=upload_key, + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/FinalizeOntologyFileUpload", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_FinalizeOntologyFileUpload", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_finalize_ontology_file_upload_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + upload_key: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceFinalizeOntologyFileUploadResponse: + r"""FinalizeOntologyFileUpload + + :param connect_timeout_ms: + :param path: + :param upload_key: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceFinalizeOntologyFileUploadRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest( + path=path, + upload_key=upload_key, + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/FinalizeOntologyFileUpload", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_FinalizeOntologyFileUpload", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesFinalizeOntologyFileUploadResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_codeowner_coverage( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetCodeownerCoverageResponse: + r"""GetCodeownerCoverage + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetCodeownerCoverageRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetCodeownerCoverage", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetCodeownerCoverage", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_codeowner_coverage_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetCodeownerCoverageResponse: + r"""GetCodeownerCoverage + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetCodeownerCoverageRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetCodeownerCoverage", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetCodeownerCoverageRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetCodeownerCoverage", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetCodeownerCoverageResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_config_export_capabilities( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetConfigExportCapabilitiesResponse: + r"""GetConfigExportCapabilities + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetConfigExportCapabilitiesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetConfigExportCapabilities", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetConfigExportCapabilities", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_config_export_capabilities_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetConfigExportCapabilitiesResponse: + r"""GetConfigExportCapabilities + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetConfigExportCapabilitiesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetConfigExportCapabilities", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetConfigExportCapabilities", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetConfigExportCapabilitiesResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_effective_ontology_owners( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetEffectiveOntologyOwnersResponse: + r"""GetEffectiveOntologyOwners + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetEffectiveOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest( + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetEffectiveOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetEffectiveOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_effective_ontology_owners_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetEffectiveOntologyOwnersResponse: + r"""GetEffectiveOntologyOwners + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetEffectiveOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest( + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetEffectiveOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetEffectiveOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetEffectiveOntologyOwnersResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_file_usage( + self, + *, + connect_timeout_ms: Optional[float] = None, + path_prefix: OptionalNullable[str] = UNSET, + order: Optional[models.TextqlRPCPublicPatchesUsageOrderBy] = None, + observation_period: Optional[timedelta] = None, + page_cursor: OptionalNullable[str] = UNSET, + page_size: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetFileUsageResponse: + r"""GetFileUsage + + :param connect_timeout_ms: + :param path_prefix: + :param order: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param page_cursor: + :param page_size: default 1000, capped at 1000 + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetFileUsageRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetFileUsageRequest( + path_prefix=path_prefix, + order=order, + observation_period=observation_period, + page_cursor=page_cursor, + page_size=page_size, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetFileUsage", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetFileUsageRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetFileUsage", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetFileUsageResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_file_usage_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path_prefix: OptionalNullable[str] = UNSET, + order: Optional[models.TextqlRPCPublicPatchesUsageOrderBy] = None, + observation_period: Optional[timedelta] = None, + page_cursor: OptionalNullable[str] = UNSET, + page_size: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetFileUsageResponse: + r"""GetFileUsage + + :param connect_timeout_ms: + :param path_prefix: + :param order: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param page_cursor: + :param page_size: default 1000, capped at 1000 + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetFileUsageRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetFileUsageRequest( + path_prefix=path_prefix, + order=order, + observation_period=observation_period, + page_cursor=page_cursor, + page_size=page_size, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetFileUsage", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetFileUsageRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetFileUsage", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetFileUsageResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_file_usage_timeline( + self, + *, + connect_timeout_ms: Optional[float] = None, + path_prefix: OptionalNullable[str] = UNSET, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetFileUsageTimelineResponse: + r"""GetFileUsageTimeline + + :param connect_timeout_ms: + :param path_prefix: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetFileUsageTimelineRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest( + path_prefix=path_prefix, + observation_period=observation_period, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetFileUsageTimeline", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetFileUsageTimeline", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_file_usage_timeline_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path_prefix: OptionalNullable[str] = UNSET, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetFileUsageTimelineResponse: + r"""GetFileUsageTimeline + + :param connect_timeout_ms: + :param path_prefix: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetFileUsageTimelineRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest( + path_prefix=path_prefix, + observation_period=observation_period, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetFileUsageTimeline", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetFileUsageTimelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetFileUsageTimeline", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetFileUsageTimelineResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_ana_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyAnaConfigResponse: + r"""GetOntologyAnaConfig + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyAnaConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyAnaConfigRequest( + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyAnaConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyAnaConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyAnaConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyAnaConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_ana_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyAnaConfigResponse: + r"""GetOntologyAnaConfig + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyAnaConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyAnaConfigRequest( + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyAnaConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyAnaConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyAnaConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyAnaConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyFileResponse: + r"""GetOntologyFile + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyFileRequest( + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyFileResponse: + r"""GetOntologyFile + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyFileRequest( + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_github_o_auth_url( + self, + *, + connect_timeout_ms: Optional[float] = None, + state: Optional[str] = None, + code_challenge: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyGithubOAuthURLResponse: + r"""GetOntologyGithubOAuthURL + + :param connect_timeout_ms: + :param state: + :param code_challenge: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyGithubOAuthURLRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest( + state=state, + code_challenge=code_challenge, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyGithubOAuthURL", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyGithubOAuthURL", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_github_o_auth_url_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + state: Optional[str] = None, + code_challenge: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyGithubOAuthURLResponse: + r"""GetOntologyGithubOAuthURL + + :param connect_timeout_ms: + :param state: + :param code_challenge: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyGithubOAuthURLRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest( + state=state, + code_challenge=code_challenge, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyGithubOAuthURL", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyGithubOAuthURL", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyGithubOAuthURLResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_history_file_diff( + self, + *, + connect_timeout_ms: Optional[float] = None, + commit_id: Optional[str] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyHistoryFileDiffResponse: + r"""GetOntologyHistoryFileDiff + + :param connect_timeout_ms: + :param commit_id: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyHistoryFileDiffRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest( + commit_id=commit_id, + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyHistoryFileDiff", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyHistoryFileDiff", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_history_file_diff_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + commit_id: Optional[str] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyHistoryFileDiffResponse: + r"""GetOntologyHistoryFileDiff + + :param connect_timeout_ms: + :param commit_id: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyHistoryFileDiffRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest( + commit_id=commit_id, + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyHistoryFileDiff", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyHistoryFileDiff", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyHistoryFileDiffResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_owners( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyOwnersResponse: + r"""GetOntologyOwners + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyOwnersRequest( + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyOwnersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_owners_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyOwnersResponse: + r"""GetOntologyOwners + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyOwnersRequest( + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyOwnersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_remote( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetOntologyRemoteRequest, + models.TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyRemoteResponse: + r"""GetOntologyRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetOntologyRemoteRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyRemoteResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_remote_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetOntologyRemoteRequest, + models.TextqlRPCPublicPatchesGetOntologyRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyRemoteResponse: + r"""GetOntologyRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetOntologyRemoteRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyRemoteResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_size_timeline( + self, + *, + connect_timeout_ms: Optional[float] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologySizeTimelineResponse: + r"""GetOntologySizeTimeline + + :param connect_timeout_ms: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologySizeTimelineRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologySizeTimelineRequest( + observation_period=observation_period, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologySizeTimeline", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologySizeTimelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologySizeTimeline", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologySizeTimelineResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_size_timeline_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologySizeTimelineResponse: + r"""GetOntologySizeTimeline + + :param connect_timeout_ms: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologySizeTimelineRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologySizeTimelineRequest( + observation_period=observation_period, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologySizeTimeline", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologySizeTimelineRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologySizeTimeline", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologySizeTimelineResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_sync_conflicts( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologySyncConflictsResponse: + r"""GetOntologySyncConflicts + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologySyncConflictsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologySyncConflicts", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologySyncConflicts", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologySyncConflictsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_sync_conflicts_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologySyncConflictsResponse: + r"""GetOntologySyncConflicts + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologySyncConflictsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologySyncConflicts", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologySyncConflictsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologySyncConflicts", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologySyncConflictsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_ontology_usage_summary( + self, + *, + connect_timeout_ms: Optional[float] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyUsageSummaryResponse: + r"""GetOntologyUsageSummary + + :param connect_timeout_ms: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyUsageSummaryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest( + observation_period=observation_period, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyUsageSummary", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyUsageSummary", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_ontology_usage_summary_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetOntologyUsageSummaryResponse: + r"""GetOntologyUsageSummary + + :param connect_timeout_ms: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetOntologyUsageSummaryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest( + observation_period=observation_period, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetOntologyUsageSummary", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetOntologyUsageSummaryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetOntologyUsageSummary", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetOntologyUsageSummaryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + revision: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchResponse: + r"""GetPatch + + :param connect_timeout_ms: + :param patch_id: + :param revision: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchRequest( + patch_id=patch_id, + revision=revision, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + revision: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchResponse: + r"""GetPatch + + :param connect_timeout_ms: + :param patch_id: + :param revision: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchRequest( + patch_id=patch_id, + revision=revision, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_patch_by_number( + self, + *, + connect_timeout_ms: Optional[float] = None, + number: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchByNumberResponse: + r"""GetPatchByNumber + + :param connect_timeout_ms: + :param number: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchByNumberRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchByNumberRequest( + number=number, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatchByNumber", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchByNumberRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatchByNumber", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_patch_by_number_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + number: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchByNumberResponse: + r"""GetPatchByNumber + + :param connect_timeout_ms: + :param number: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchByNumberRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchByNumberRequest( + number=number, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatchByNumber", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchByNumberRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatchByNumber", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.TextqlRPCPublicPatchesPatch, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_patch_capabilities( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchCapabilitiesResponse: + r"""GetPatchCapabilities + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchCapabilitiesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatchCapabilities", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatchCapabilities", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_patch_capabilities_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetPatchCapabilitiesResponse: + r"""GetPatchCapabilities + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetPatchCapabilitiesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetPatchCapabilities", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetPatchCapabilitiesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetPatchCapabilities", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetPatchCapabilitiesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_raw_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_number: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetRawPatchResponse: + r"""GetRawPatch + + :param connect_timeout_ms: + :param patch_number: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetRawPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetRawPatchRequest( + patch_number=patch_number, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetRawPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetRawPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetRawPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetRawPatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_raw_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_number: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetRawPatchResponse: + r"""GetRawPatch + + :param connect_timeout_ms: + :param patch_number: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetRawPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetRawPatchRequest( + patch_number=patch_number, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetRawPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetRawPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetRawPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetRawPatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_get_usage_details_for_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_path: Optional[str] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetUsageDetailsForFileResponse: + r"""GetUsageDetailsForFile + + :param connect_timeout_ms: + :param file_path: Year of the date. Must be from 1 to 9999, or 0 to specify a date without + a year. + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetUsageDetailsForFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest( + file_path=file_path, + observation_period=observation_period, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetUsageDetailsForFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetUsageDetailsForFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_get_usage_details_for_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_path: Optional[str] = None, + observation_period: Optional[timedelta] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceGetUsageDetailsForFileResponse: + r"""GetUsageDetailsForFile + + :param connect_timeout_ms: + :param file_path: Year of the date. Must be from 1 to 9999, or 0 to specify a date without + a year. + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceGetUsageDetailsForFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest( + file_path=file_path, + observation_period=observation_period, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/GetUsageDetailsForFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesGetUsageDetailsForFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_GetUsageDetailsForFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesGetUsageDetailsForFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_approval_rules( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListApprovalRulesRequest, + models.TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListApprovalRulesResponse: + r"""ListApprovalRules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListApprovalRulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListApprovalRulesRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListApprovalRules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListApprovalRulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListApprovalRules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListApprovalRulesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_approval_rules_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListApprovalRulesRequest, + models.TextqlRPCPublicPatchesListApprovalRulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListApprovalRulesResponse: + r"""ListApprovalRules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListApprovalRulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListApprovalRulesRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListApprovalRules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListApprovalRulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListApprovalRules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListApprovalRulesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_chats_for_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_path: Optional[str] = None, + observation_period: Optional[timedelta] = None, + limit: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListChatsForFileResponse: + r"""ListChatsForFile + + :param connect_timeout_ms: + :param file_path: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param limit: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListChatsForFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListChatsForFileRequest( + file_path=file_path, + observation_period=observation_period, + limit=limit, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListChatsForFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListChatsForFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListChatsForFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListChatsForFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_chats_for_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_path: Optional[str] = None, + observation_period: Optional[timedelta] = None, + limit: OptionalNullable[int] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListChatsForFileResponse: + r"""ListChatsForFile + + :param connect_timeout_ms: + :param file_path: + :param observation_period: A Duration represents a signed, fixed-length span of time represented + as a count of seconds and fractions of seconds at nanosecond + resolution. It is independent of any calendar and concepts like \"day\" + or \"month\". It is related to Timestamp in that the difference between + two Timestamp values is a Duration and it can be added or subtracted + from a Timestamp. Range is approximately +-10,000 years. + + # Examples + + Example 1: Compute Duration from two Timestamps in pseudo code. + + Timestamp start = ...; + Timestamp end = ...; + Duration duration = ...; + + duration.seconds = end.seconds - start.seconds; + duration.nanos = end.nanos - start.nanos; + + if (duration.seconds < 0 && duration.nanos > 0) { + duration.seconds += 1; + duration.nanos -= 1000000000; + } else if (duration.seconds > 0 && duration.nanos < 0) { + duration.seconds -= 1; + duration.nanos += 1000000000; + } + + Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. + + Timestamp start = ...; + Duration duration = ...; + Timestamp end = ...; + + end.seconds = start.seconds + duration.seconds; + end.nanos = start.nanos + duration.nanos; + + if (end.nanos < 0) { + end.seconds -= 1; + end.nanos += 1000000000; + } else if (end.nanos >= 1000000000) { + end.seconds += 1; + end.nanos -= 1000000000; + } + + Example 3: Compute Duration from datetime.timedelta in Python. + + td = datetime.timedelta(days=3, minutes=10) + duration = Duration() + duration.FromTimedelta(td) + + # JSON Mapping + + In JSON format, the Duration type is encoded as a string rather than an + object, where the string ends in the suffix \"s\" (indicating seconds) and + is preceded by the number of seconds, with nanoseconds expressed as + fractional seconds. For example, 3 seconds with 0 nanoseconds should be + encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should + be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 + microsecond should be expressed in JSON format as \"3.000001s\". + :param limit: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListChatsForFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListChatsForFileRequest( + file_path=file_path, + observation_period=observation_period, + limit=limit, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListChatsForFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListChatsForFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListChatsForFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListChatsForFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_context_patch_auto_approve_rules( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListContextPatchAutoApproveRulesResponse: + r"""ListContextPatchAutoApproveRules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListContextPatchAutoApproveRulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListContextPatchAutoApproveRules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListContextPatchAutoApproveRules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_context_patch_auto_approve_rules_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListContextPatchAutoApproveRulesResponse: + r"""ListContextPatchAutoApproveRules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListContextPatchAutoApproveRulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListContextPatchAutoApproveRules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListContextPatchAutoApproveRules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListContextPatchAutoApproveRulesResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_golden_files( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListGoldenFilesRequest, + models.TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListGoldenFilesResponse: + r"""ListGoldenFiles + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListGoldenFilesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListGoldenFilesRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListGoldenFiles", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListGoldenFilesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListGoldenFiles", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListGoldenFilesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_golden_files_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListGoldenFilesRequest, + models.TextqlRPCPublicPatchesListGoldenFilesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListGoldenFilesResponse: + r"""ListGoldenFiles + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListGoldenFilesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListGoldenFilesRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListGoldenFiles", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListGoldenFilesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListGoldenFiles", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListGoldenFilesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_ontology_entries( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + recursive: OptionalNullable[bool] = UNSET, + include_debug_files: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyEntriesResponse: + r"""ListOntologyEntries + + :param connect_timeout_ms: + :param path: + :param recursive: + :param include_debug_files: when true, reserved files like OWNERS are included + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyEntriesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologyEntriesRequest( + path=path, + recursive=recursive, + include_debug_files=include_debug_files, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyEntries", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyEntriesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyEntries", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyEntriesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_ontology_entries_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + recursive: OptionalNullable[bool] = UNSET, + include_debug_files: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyEntriesResponse: + r"""ListOntologyEntries + + :param connect_timeout_ms: + :param path: + :param recursive: + :param include_debug_files: when true, reserved files like OWNERS are included + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyEntriesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologyEntriesRequest( + path=path, + recursive=recursive, + include_debug_files=include_debug_files, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyEntries", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyEntriesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyEntries", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyEntriesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_ontology_history( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + path: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyHistoryResponse: + r"""ListOntologyHistory + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyHistoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologyHistoryRequest( + page_size=page_size, + page_token=page_token, + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyHistory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyHistoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyHistory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyHistoryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_ontology_history_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + path: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyHistoryResponse: + r"""ListOntologyHistory + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyHistoryRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologyHistoryRequest( + page_size=page_size, + page_token=page_token, + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyHistory", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyHistoryRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyHistory", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyHistoryResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_ontology_imports( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListOntologyImportsRequest, + models.TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyImportsResponse: + r"""ListOntologyImports + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyImportsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListOntologyImportsRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyImports", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyImportsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyImports", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyImportsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_ontology_imports_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListOntologyImportsRequest, + models.TextqlRPCPublicPatchesListOntologyImportsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologyImportsResponse: + r"""ListOntologyImports + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologyImportsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListOntologyImportsRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologyImports", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologyImportsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologyImports", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologyImportsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_ontology_submodules( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListOntologySubmodulesRequest, + models.TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologySubmodulesResponse: + r"""ListOntologySubmodules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologySubmodulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListOntologySubmodulesRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologySubmodules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologySubmodulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologySubmodules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologySubmodulesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_ontology_submodules_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListOntologySubmodulesRequest, + models.TextqlRPCPublicPatchesListOntologySubmodulesRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologySubmodulesResponse: + r"""ListOntologySubmodules + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologySubmodulesRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListOntologySubmodulesRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologySubmodules", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologySubmodulesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologySubmodules", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologySubmodulesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_ontology_sync_runs( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologySyncRunsResponse: + r"""ListOntologySyncRuns + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologySyncRunsRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologySyncRunsRequest( + page_size=page_size, + page_token=page_token, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologySyncRuns", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologySyncRunsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologySyncRuns", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologySyncRunsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_ontology_sync_runs_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListOntologySyncRunsResponse: + r"""ListOntologySyncRuns + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListOntologySyncRunsRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListOntologySyncRunsRequest( + page_size=page_size, + page_token=page_token, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListOntologySyncRuns", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListOntologySyncRunsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListOntologySyncRuns", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListOntologySyncRunsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_patch_reviewers( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListPatchReviewersResponse: + r"""ListPatchReviewers + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListPatchReviewersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListPatchReviewersRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListPatchReviewers", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListPatchReviewersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListPatchReviewers", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListPatchReviewersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_patch_reviewers_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListPatchReviewersResponse: + r"""ListPatchReviewers + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListPatchReviewersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListPatchReviewersRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListPatchReviewers", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListPatchReviewersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListPatchReviewers", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListPatchReviewersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_patches( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + statuses: Optional[Iterable[models.TextqlRPCPublicPatchesPatchStatus]] = None, + include_auto_approved: OptionalNullable[bool] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListPatchesResponse: + r"""ListPatches + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param statuses: + :param include_auto_approved: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListPatchesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListPatchesRequest( + page_size=page_size, + page_token=page_token, + statuses=utils.unmarshal( + statuses, Optional[List[models.TextqlRPCPublicPatchesPatchStatus]] + ), + include_auto_approved=include_auto_approved, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListPatches", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListPatchesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListPatches", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListPatchesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_patches_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + page_size: OptionalNullable[int] = UNSET, + page_token: OptionalNullable[str] = UNSET, + statuses: Optional[Iterable[models.TextqlRPCPublicPatchesPatchStatus]] = None, + include_auto_approved: OptionalNullable[bool] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListPatchesResponse: + r"""ListPatches + + :param connect_timeout_ms: + :param page_size: + :param page_token: + :param statuses: + :param include_auto_approved: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListPatchesRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesListPatchesRequest( + page_size=page_size, + page_token=page_token, + statuses=utils.unmarshal( + statuses, Optional[List[models.TextqlRPCPublicPatchesPatchStatus]] + ), + include_auto_approved=include_auto_approved, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListPatches", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListPatchesRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListPatches", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListPatchesResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_list_skills( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListSkillsRequest, + models.TextqlRPCPublicPatchesListSkillsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListSkillsResponse: + r"""Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. + + Lists the skills under the ontology's flat skills/ root that the caller can + read (OWNERS-filtered). Returns display metadata only — never instruction + bodies — feeding the chat composer's `/` autocomplete. + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListSkillsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListSkillsRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListSkills", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListSkillsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListSkills", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListSkillsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_list_skills_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesListSkillsRequest, + models.TextqlRPCPublicPatchesListSkillsRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceListSkillsResponse: + r"""Lists the skills under the ontology's flat skills/ root that the caller can read (OWNERS-filtered). Returns display metadata only — never instruction bodies — feeding the chat composer's `/` autocomplete. + + Lists the skills under the ontology's flat skills/ root that the caller can + read (OWNERS-filtered). Returns display metadata only — never instruction + bodies — feeding the chat composer's `/` autocomplete. + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceListSkillsRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesListSkillsRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ListSkills", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesListSkillsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ListSkills", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesListSkillsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_plan_ontology_merge( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPlanOntologyMergeRequest, + models.TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePlanOntologyMergeResponse: + r"""PlanOntologyMerge + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePlanOntologyMergeRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPlanOntologyMergeRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PlanOntologyMerge", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPlanOntologyMergeRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PlanOntologyMerge", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesPlanOntologyMergeResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_plan_ontology_merge_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPlanOntologyMergeRequest, + models.TextqlRPCPublicPatchesPlanOntologyMergeRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePlanOntologyMergeResponse: + r"""PlanOntologyMerge + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePlanOntologyMergeRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPlanOntologyMergeRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PlanOntologyMerge", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPlanOntologyMergeRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PlanOntologyMerge", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesPlanOntologyMergeResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_preview_ontology_pull_from_remote( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePreviewOntologyPullFromRemoteResponse: + r"""PreviewOntologyPullFromRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePreviewOntologyPullFromRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PreviewOntologyPullFromRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PreviewOntologyPullFromRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_preview_ontology_pull_from_remote_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePreviewOntologyPullFromRemoteResponse: + r"""PreviewOntologyPullFromRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePreviewOntologyPullFromRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PreviewOntologyPullFromRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PreviewOntologyPullFromRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesPreviewOntologyPullFromRemoteResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_pull_ontology_from_remote( + self, + *, + connect_timeout_ms: Optional[float] = None, + acknowledge_unrelated_histories: Optional[bool] = None, + expected_local_head_hash: Optional[str] = None, + expected_remote_head_hash: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePullOntologyFromRemoteResponse: + r"""PullOntologyFromRemote + + :param connect_timeout_ms: + :param acknowledge_unrelated_histories: + :param expected_local_head_hash: + :param expected_remote_head_hash: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePullOntologyFromRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesPullOntologyFromRemoteRequest( + acknowledge_unrelated_histories=acknowledge_unrelated_histories, + expected_local_head_hash=expected_local_head_hash, + expected_remote_head_hash=expected_remote_head_hash, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PullOntologyFromRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPullOntologyFromRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PullOntologyFromRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_pull_ontology_from_remote_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + acknowledge_unrelated_histories: Optional[bool] = None, + expected_local_head_hash: Optional[str] = None, + expected_remote_head_hash: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePullOntologyFromRemoteResponse: + r"""PullOntologyFromRemote + + :param connect_timeout_ms: + :param acknowledge_unrelated_histories: + :param expected_local_head_hash: + :param expected_remote_head_hash: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePullOntologyFromRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesPullOntologyFromRemoteRequest( + acknowledge_unrelated_histories=acknowledge_unrelated_histories, + expected_local_head_hash=expected_local_head_hash, + expected_remote_head_hash=expected_remote_head_hash, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PullOntologyFromRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPullOntologyFromRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PullOntologyFromRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_push_ontology_to_remote( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePushOntologyToRemoteResponse: + r"""PushOntologyToRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePushOntologyToRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PushOntologyToRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PushOntologyToRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_push_ontology_to_remote_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServicePushOntologyToRemoteResponse: + r"""PushOntologyToRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServicePushOntologyToRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/PushOntologyToRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesPushOntologyToRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_PushOntologyToRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_recover_ontology( + self, + *, + connect_timeout_ms: Optional[float] = None, + level: Optional[models.TextqlRPCPublicPatchesRecoverOntologyLevel] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRecoverOntologyResponse: + r"""RecoverOntology + + :param connect_timeout_ms: + :param level: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRecoverOntologyRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRecoverOntologyRequest( + level=level, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RecoverOntology", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRecoverOntologyRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RecoverOntology", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_recover_ontology_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + level: Optional[models.TextqlRPCPublicPatchesRecoverOntologyLevel] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRecoverOntologyResponse: + r"""RecoverOntology + + :param connect_timeout_ms: + :param level: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRecoverOntologyRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRecoverOntologyRequest( + level=level, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RecoverOntology", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRecoverOntologyRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RecoverOntology", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_remove_ontology_remote( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRemoveOntologyRemoteResponse: + r"""RemoveOntologyRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRemoveOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RemoveOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RemoveOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_remove_ontology_remote_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRemoveOntologyRemoteResponse: + r"""RemoveOntologyRemote + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRemoveOntologyRemoteRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RemoveOntologyRemote", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRemoveOntologyRemoteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RemoveOntologyRemote", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_remove_ontology_submodule( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRemoveOntologySubmoduleResponse: + r"""RemoveOntologySubmodule + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRemoveOntologySubmoduleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest( + path=path, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RemoveOntologySubmodule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RemoveOntologySubmodule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_remove_ontology_submodule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRemoveOntologySubmoduleResponse: + r"""RemoveOntologySubmodule + + :param connect_timeout_ms: + :param path: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRemoveOntologySubmoduleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest( + path=path, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RemoveOntologySubmodule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRemoveOntologySubmoduleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RemoveOntologySubmodule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_rename_ontology_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + old_path: Optional[str] = None, + new_path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRenameOntologyFileResponse: + r"""RenameOntologyFile + + :param connect_timeout_ms: + :param old_path: + :param new_path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRenameOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRenameOntologyFileRequest( + old_path=old_path, + new_path=new_path, + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RenameOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRenameOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RenameOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRenameOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_rename_ontology_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + old_path: Optional[str] = None, + new_path: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRenameOntologyFileResponse: + r"""RenameOntologyFile + + :param connect_timeout_ms: + :param old_path: + :param new_path: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRenameOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRenameOntologyFileRequest( + old_path=old_path, + new_path=new_path, + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RenameOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRenameOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RenameOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRenameOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_request_patch_review( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + reviewer_member_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRequestPatchReviewResponse: + r"""RequestPatchReview + + :param connect_timeout_ms: + :param patch_id: + :param reviewer_member_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRequestPatchReviewRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRequestPatchReviewRequest( + patch_id=patch_id, + reviewer_member_id=reviewer_member_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RequestPatchReview", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRequestPatchReviewRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RequestPatchReview", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRequestPatchReviewResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_request_patch_review_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + reviewer_member_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRequestPatchReviewResponse: + r"""RequestPatchReview + + :param connect_timeout_ms: + :param patch_id: + :param reviewer_member_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRequestPatchReviewRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRequestPatchReviewRequest( + patch_id=patch_id, + reviewer_member_id=reviewer_member_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RequestPatchReview", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRequestPatchReviewRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RequestPatchReview", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRequestPatchReviewResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_resolve_ontology_sync_conflict( + self, + *, + connect_timeout_ms: Optional[float] = None, + conflict_id: Optional[str] = None, + resolved_content: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceResolveOntologySyncConflictResponse: + r"""ResolveOntologySyncConflict + + :param connect_timeout_ms: + :param conflict_id: + :param resolved_content: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceResolveOntologySyncConflictRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesResolveOntologySyncConflictRequest( + conflict_id=conflict_id, + resolved_content=resolved_content, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ResolveOntologySyncConflict", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesResolveOntologySyncConflictRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ResolveOntologySyncConflict", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_resolve_ontology_sync_conflict_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + conflict_id: Optional[str] = None, + resolved_content: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceResolveOntologySyncConflictResponse: + r"""ResolveOntologySyncConflict + + :param connect_timeout_ms: + :param conflict_id: + :param resolved_content: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceResolveOntologySyncConflictRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesResolveOntologySyncConflictRequest( + conflict_id=conflict_id, + resolved_content=resolved_content, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ResolveOntologySyncConflict", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesResolveOntologySyncConflictRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ResolveOntologySyncConflict", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_restore_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRestorePatchResponse: + r"""RestorePatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRestorePatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRestorePatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RestorePatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRestorePatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RestorePatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_restore_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + expected_git_ref: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRestorePatchResponse: + r"""RestorePatch + + :param connect_timeout_ms: + :param patch_id: + :param expected_git_ref: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRestorePatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRestorePatchRequest( + patch_id=patch_id, + expected_git_ref=expected_git_ref, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RestorePatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRestorePatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RestorePatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response(models.GoogleProtobufEmpty, http_res) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_revert_patch( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRevertPatchResponse: + r"""RevertPatch + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRevertPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRevertPatchRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RevertPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRevertPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RevertPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRevertPatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_revert_patch_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceRevertPatchResponse: + r"""RevertPatch + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceRevertPatchRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesRevertPatchRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/RevertPatch", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesRevertPatchRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_RevertPatch", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesRevertPatchResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_save_all_objects_as_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + object_type: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSaveAllObjectsAsConfigResponse: + r"""SaveAllObjectsAsConfig + + :param connect_timeout_ms: + :param object_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSaveAllObjectsAsConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest( + object_type=object_type, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SaveAllObjectsAsConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SaveAllObjectsAsConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_save_all_objects_as_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + object_type: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSaveAllObjectsAsConfigResponse: + r"""SaveAllObjectsAsConfig + + :param connect_timeout_ms: + :param object_type: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSaveAllObjectsAsConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest( + object_type=object_type, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SaveAllObjectsAsConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SaveAllObjectsAsConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSaveAllObjectsAsConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_save_object_as_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + object_type: Optional[str] = None, + object_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSaveObjectAsConfigResponse: + r"""SaveObjectAsConfig + + :param connect_timeout_ms: + :param object_type: + :param object_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSaveObjectAsConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest( + object_type=object_type, + object_id=object_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SaveObjectAsConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SaveObjectAsConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_save_object_as_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + object_type: Optional[str] = None, + object_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSaveObjectAsConfigResponse: + r"""SaveObjectAsConfig + + :param connect_timeout_ms: + :param object_type: + :param object_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSaveObjectAsConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest( + object_type=object_type, + object_id=object_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SaveObjectAsConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSaveObjectAsConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SaveObjectAsConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSaveObjectAsConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_set_ontology_file_golden( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + golden: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSetOntologyFileGoldenResponse: + r"""SetOntologyFileGolden + + :param connect_timeout_ms: + :param path: + :param golden: true = certify, false = retire + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSetOntologyFileGoldenRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSetOntologyFileGoldenRequest( + path=path, + golden=golden, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SetOntologyFileGolden", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSetOntologyFileGoldenRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SetOntologyFileGolden", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSetOntologyFileGoldenResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_set_ontology_file_golden_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + golden: Optional[bool] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceSetOntologyFileGoldenResponse: + r"""SetOntologyFileGolden + + :param connect_timeout_ms: + :param path: + :param golden: true = certify, false = retire + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceSetOntologyFileGoldenRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesSetOntologyFileGoldenRequest( + path=path, + golden=golden, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/SetOntologyFileGolden", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesSetOntologyFileGoldenRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_SetOntologyFileGolden", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesSetOntologyFileGoldenResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_trigger_config_drift_reconcile( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceTriggerConfigDriftReconcileResponse: + r"""TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. + + TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the + caller's org: if the Ontology repo's live HEAD differs from the last + reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand + equivalent of waiting for the periodic drift scan. + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceTriggerConfigDriftReconcileRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/TriggerConfigDriftReconcile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_TriggerConfigDriftReconcile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_trigger_config_drift_reconcile_async( + self, + *, + body: Union[ + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequestTypedDict, + ], + connect_timeout_ms: Optional[float] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceTriggerConfigDriftReconcileResponse: + r"""TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the caller's org: if the Ontology repo's live HEAD differs from the last reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand equivalent of waiting for the periodic drift scan. + + TriggerConfigDriftReconcile forces an immediate config-sync catch-up for the + caller's org: if the Ontology repo's live HEAD differs from the last + reconciled commit, it enqueues a reconcile (otherwise no-op). The on-demand + equivalent of waiting for the periodic drift scan. + + :param body: + :param connect_timeout_ms: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceTriggerConfigDriftReconcileRequest( + connect_timeout_ms=connect_timeout_ms, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/TriggerConfigDriftReconcile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_TriggerConfigDriftReconcile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesTriggerConfigDriftReconcileResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_update_approval_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesApprovalRuleInput, + models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateApprovalRuleResponse: + r"""UpdateApprovalRule + + :param connect_timeout_ms: + :param id: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest( + id=id, + rule=utils.get_pydantic_model( + rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_update_approval_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesApprovalRuleInput, + models.TextqlRPCPublicPatchesApprovalRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateApprovalRuleResponse: + r"""UpdateApprovalRule + + :param connect_timeout_ms: + :param id: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateApprovalRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest( + id=id, + rule=utils.get_pydantic_model( + rule, Optional[models.TextqlRPCPublicPatchesApprovalRuleInput] + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateApprovalRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateApprovalRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateApprovalRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateApprovalRuleResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_update_context_patch_auto_approve_rule( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse: + r"""UpdateContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param id: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest( + id=id, + rule=utils.get_pydantic_model( + rule, + Optional[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput + ], + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_update_context_patch_auto_approve_rule_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + id: Optional[str] = None, + rule: Optional[ + Union[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput, + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInputTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateContextPatchAutoApproveRuleResponse: + r"""UpdateContextPatchAutoApproveRule + + :param connect_timeout_ms: + :param id: + :param rule: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateContextPatchAutoApproveRuleRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest( + id=id, + rule=utils.get_pydantic_model( + rule, + Optional[ + models.TextqlRPCPublicPatchesContextPatchAutoApproveRuleInput + ], + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateContextPatchAutoApproveRule", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateContextPatchAutoApproveRule", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateContextPatchAutoApproveRuleResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_update_ontology_sync_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + sync_enabled: Optional[bool] = None, + sync_interval_minutes: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateOntologySyncConfigResponse: + r"""UpdateOntologySyncConfig + + :param connect_timeout_ms: + :param sync_enabled: + :param sync_interval_minutes: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateOntologySyncConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest( + sync_enabled=sync_enabled, + sync_interval_minutes=sync_interval_minutes, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateOntologySyncConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateOntologySyncConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_update_ontology_sync_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + sync_enabled: Optional[bool] = None, + sync_interval_minutes: Optional[int] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpdateOntologySyncConfigResponse: + r"""UpdateOntologySyncConfig + + :param connect_timeout_ms: + :param sync_enabled: + :param sync_interval_minutes: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpdateOntologySyncConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest( + sync_enabled=sync_enabled, + sync_interval_minutes=sync_interval_minutes, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpdateOntologySyncConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpdateOntologySyncConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpdateOntologySyncConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpdateOntologySyncConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_upsert_ontology_ana_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + auto_attach: Optional[ + Union[ + Iterable[models.TextqlRPCPublicPatchesAutoAttachEntry], + Iterable[models.TextqlRPCPublicPatchesAutoAttachEntryTypedDict], + ] + ] = None, + commit_message: OptionalNullable[str] = UNSET, + codeowners: Optional[ + Union[ + Iterable[models.TextqlRPCPublicPatchesCodeownerEntry], + Iterable[models.TextqlRPCPublicPatchesCodeownerEntryTypedDict], + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyAnaConfigResponse: + r"""UpsertOntologyAnaConfig + + :param connect_timeout_ms: + :param path: + :param auto_attach: + :param commit_message: + :param codeowners: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyAnaConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest( + path=path, + auto_attach=utils.get_pydantic_model( + auto_attach, + Optional[List[models.TextqlRPCPublicPatchesAutoAttachEntry]], + ), + commit_message=commit_message, + codeowners=utils.get_pydantic_model( + codeowners, + Optional[List[models.TextqlRPCPublicPatchesCodeownerEntry]], + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyAnaConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyAnaConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_upsert_ontology_ana_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + auto_attach: Optional[ + Union[ + Iterable[models.TextqlRPCPublicPatchesAutoAttachEntry], + Iterable[models.TextqlRPCPublicPatchesAutoAttachEntryTypedDict], + ] + ] = None, + commit_message: OptionalNullable[str] = UNSET, + codeowners: Optional[ + Union[ + Iterable[models.TextqlRPCPublicPatchesCodeownerEntry], + Iterable[models.TextqlRPCPublicPatchesCodeownerEntryTypedDict], + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyAnaConfigResponse: + r"""UpsertOntologyAnaConfig + + :param connect_timeout_ms: + :param path: + :param auto_attach: + :param commit_message: + :param codeowners: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyAnaConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest( + path=path, + auto_attach=utils.get_pydantic_model( + auto_attach, + Optional[List[models.TextqlRPCPublicPatchesAutoAttachEntry]], + ), + commit_message=commit_message, + codeowners=utils.get_pydantic_model( + codeowners, + Optional[List[models.TextqlRPCPublicPatchesCodeownerEntry]], + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyAnaConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyAnaConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyAnaConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_upsert_ontology_file( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + content: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyFileResponse: + r"""UpsertOntologyFile + + :param connect_timeout_ms: + :param path: + :param content: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyFileRequest( + path=path, + content=content, + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_upsert_ontology_file_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + content: Optional[str] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyFileResponse: + r"""UpsertOntologyFile + + :param connect_timeout_ms: + :param path: + :param content: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyFileRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyFileRequest( + path=path, + content=content, + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyFile", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyFileRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyFile", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyFileResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_upsert_ontology_owners( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + role_ids: Optional[Iterable[str]] = None, + permissions: Optional[ + Iterable[models.TextqlRPCPublicPatchesOntologyPermission] + ] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyOwnersResponse: + r"""UpsertOntologyOwners + + :param connect_timeout_ms: + :param path: + :param role_ids: + :param permissions: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyOwnersRequest( + path=path, + role_ids=utils.unmarshal(role_ids, Optional[List[str]]), + permissions=utils.unmarshal( + permissions, + Optional[List[models.TextqlRPCPublicPatchesOntologyPermission]], + ), + commit_message=commit_message, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyOwnersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_upsert_ontology_owners_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + path: Optional[str] = None, + role_ids: Optional[Iterable[str]] = None, + permissions: Optional[ + Iterable[models.TextqlRPCPublicPatchesOntologyPermission] + ] = None, + commit_message: OptionalNullable[str] = UNSET, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceUpsertOntologyOwnersResponse: + r"""UpsertOntologyOwners + + :param connect_timeout_ms: + :param path: + :param role_ids: + :param permissions: + :param commit_message: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceUpsertOntologyOwnersRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesUpsertOntologyOwnersRequest( + path=path, + role_ids=utils.unmarshal(role_ids, Optional[List[str]]), + permissions=utils.unmarshal( + permissions, + Optional[List[models.TextqlRPCPublicPatchesOntologyPermission]], + ), + commit_message=commit_message, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/UpsertOntologyOwners", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesUpsertOntologyOwnersRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_UpsertOntologyOwners", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesUpsertOntologyOwnersResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def ontology_management_service_validate_config( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceValidateConfigResponse: + r"""Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. \"ok\" means functionally valid, not \"guaranteed to merge\" — the merge gate re-checks authorization at approve time. + + Read-only functional validation of a proposed config: parse + dependency + resolution/reachability, no authorization and no persistence. \"ok\" means + functionally valid, not \"guaranteed to merge\" — the merge gate re-checks + authorization at approve time. + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceValidateConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesValidateConfigRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ValidateConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesValidateConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ValidateConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesValidateConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def ontology_management_service_validate_config_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + patch_id: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.OntologyManagementServiceValidateConfigResponse: + r"""Read-only functional validation of a proposed config: parse + dependency resolution/reachability, no authorization and no persistence. \"ok\" means functionally valid, not \"guaranteed to merge\" — the merge gate re-checks authorization at approve time. + + Read-only functional validation of a proposed config: parse + dependency + resolution/reachability, no authorization and no persistence. \"ok\" means + functionally valid, not \"guaranteed to merge\" — the merge gate re-checks + authorization at approve time. + + :param connect_timeout_ms: + :param patch_id: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.OntologyManagementServiceValidateConfigRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicPatchesValidateConfigRequest( + patch_id=patch_id, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.patches.OntologyManagementService/ValidateConfig", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicPatchesValidateConfigRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="OntologyManagementService_ValidateConfig", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["OntologyManagementService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicPatchesValidateConfigResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/playbooks.py b/src/textql_sdk/playbooks.py index e00e316..c9b16d6 100644 --- a/src/textql_sdk/playbooks.py +++ b/src/textql_sdk/playbooks.py @@ -8403,6 +8403,12 @@ def update( models.TextqlRPCPublicPlaybookStringListTypedDict, ] ] = None, + api_access_key_ids: Optional[ + Union[ + models.TextqlRPCPublicPlaybookStringList, + models.TextqlRPCPublicPlaybookStringListTypedDict, + ] + ] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -8440,6 +8446,7 @@ def update( :param recipient_email_column: :param teams_channel_id: :param tagged_teams_user_aad_ids: + :param api_access_key_ids: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -8513,6 +8520,10 @@ def update( tagged_teams_user_aad_ids, Optional[models.TextqlRPCPublicPlaybookStringList], ), + api_access_key_ids=utils.get_pydantic_model( + api_access_key_ids, + Optional[models.TextqlRPCPublicPlaybookStringList], + ), ), ) @@ -8671,6 +8682,12 @@ async def update_async( models.TextqlRPCPublicPlaybookStringListTypedDict, ] ] = None, + api_access_key_ids: Optional[ + Union[ + models.TextqlRPCPublicPlaybookStringList, + models.TextqlRPCPublicPlaybookStringListTypedDict, + ] + ] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, @@ -8708,6 +8725,7 @@ async def update_async( :param recipient_email_column: :param teams_channel_id: :param tagged_teams_user_aad_ids: + :param api_access_key_ids: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -8781,6 +8799,10 @@ async def update_async( tagged_teams_user_aad_ids, Optional[models.TextqlRPCPublicPlaybookStringList], ), + api_access_key_ids=utils.get_pydantic_model( + api_access_key_ids, + Optional[models.TextqlRPCPublicPlaybookStringList], + ), ), ) diff --git a/src/textql_sdk/rbacservice.py b/src/textql_sdk/rbacservice.py new file mode 100644 index 0000000..ddab321 --- /dev/null +++ b/src/textql_sdk/rbacservice.py @@ -0,0 +1,245 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .basesdk import BaseSDK +from textql_sdk import errors, models, utils +from textql_sdk._hooks import HookContext +from textql_sdk.types import OptionalNullable, UNSET +from textql_sdk.utils import get_security_from_env +from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response +from typing import Iterable, List, Mapping, Optional + + +class RBACService(BaseSDK): + r"""RBAC service for managing roles, permissions, and access control""" + + def rbac_service_set_role_permissions( + self, + *, + connect_timeout_ms: Optional[float] = None, + role_id: Optional[str] = None, + add_permission_ids: Optional[Iterable[str]] = None, + remove_permission_ids: Optional[Iterable[str]] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.RBACServiceSetRolePermissionsResponse: + r"""Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + + Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + + :param connect_timeout_ms: + :param role_id: + :param add_permission_ids: + :param remove_permission_ids: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.RBACServiceSetRolePermissionsRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicRbacSetRolePermissionsRequest( + role_id=role_id, + add_permission_ids=utils.unmarshal( + add_permission_ids, Optional[List[str]] + ), + remove_permission_ids=utils.unmarshal( + remove_permission_ids, Optional[List[str]] + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.rbac.RBACService/SetRolePermissions", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicRbacSetRolePermissionsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="RBACService_SetRolePermissions", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["RBACService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicRbacSetRolePermissionsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def rbac_service_set_role_permissions_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + role_id: Optional[str] = None, + add_permission_ids: Optional[Iterable[str]] = None, + remove_permission_ids: Optional[Iterable[str]] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.RBACServiceSetRolePermissionsResponse: + r"""Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + + Bulk add/remove permissions on a role in one call, producing a single audit entry for the whole edit. + + :param connect_timeout_ms: + :param role_id: + :param add_permission_ids: + :param remove_permission_ids: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.RBACServiceSetRolePermissionsRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicRbacSetRolePermissionsRequest( + role_id=role_id, + add_permission_ids=utils.unmarshal( + add_permission_ids, Optional[List[str]] + ), + remove_permission_ids=utils.unmarshal( + remove_permission_ids, Optional[List[str]] + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.rbac.RBACService/SetRolePermissions", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicRbacSetRolePermissionsRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="RBACService_SetRolePermissions", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["RBACService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicRbacSetRolePermissionsResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/sandboxcapabilityservice.py b/src/textql_sdk/sandboxcapabilityservice.py new file mode 100644 index 0000000..e962795 --- /dev/null +++ b/src/textql_sdk/sandboxcapabilityservice.py @@ -0,0 +1,961 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .basesdk import BaseSDK +from textql_sdk import errors, models, utils +from textql_sdk._hooks import HookContext +from textql_sdk.types import OptionalNullable, UNSET +from textql_sdk.utils import get_security_from_env +from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response +from typing import Iterable, List, Mapping, Optional, Union + + +class SandboxCapabilityService(BaseSDK): + def sandbox_capability_service_execute_write( + self, + *, + connect_timeout_ms: Optional[float] = None, + name: Optional[str] = None, + connector_id: Optional[int] = None, + statement: Optional[str] = None, + parameters: Optional[ + Union[ + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParam], + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict], + ] + ] = None, + max_rows: Optional[ + Union[ + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows, + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceExecuteWriteResponse: + r"""ExecuteWrite + + :param connect_timeout_ms: + :param name: + :param connector_id: + :param statement: + :param parameters: + :param max_rows: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceExecuteWriteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest( + name=name, + connector_id=connector_id, + statement=statement, + parameters=utils.get_pydantic_model( + parameters, + Optional[List[models.TextqlRPCPublicSandboxQuerySandboxQueryParam]], + ), + max_rows=max_rows, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/ExecuteWrite", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_ExecuteWrite", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def sandbox_capability_service_execute_write_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + name: Optional[str] = None, + connector_id: Optional[int] = None, + statement: Optional[str] = None, + parameters: Optional[ + Union[ + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParam], + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict], + ] + ] = None, + max_rows: Optional[ + Union[ + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRows, + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequestMaxRowsTypedDict, + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceExecuteWriteResponse: + r"""ExecuteWrite + + :param connect_timeout_ms: + :param name: + :param connector_id: + :param statement: + :param parameters: + :param max_rows: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceExecuteWriteRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest( + name=name, + connector_id=connector_id, + statement=statement, + parameters=utils.get_pydantic_model( + parameters, + Optional[List[models.TextqlRPCPublicSandboxQuerySandboxQueryParam]], + ), + max_rows=max_rows, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/ExecuteWrite", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_ExecuteWrite", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxExecuteWriteResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def sandbox_capability_service_put_asset( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_name: Optional[str] = None, + content_type: Optional[str] = None, + data: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServicePutAssetResponse: + r"""PutAsset + + :param connect_timeout_ms: + :param file_name: + :param content_type: + :param data: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServicePutAssetRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest( + file_name=file_name, + content_type=content_type, + data=data, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/PutAsset", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_PutAsset", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def sandbox_capability_service_put_asset_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + file_name: Optional[str] = None, + content_type: Optional[str] = None, + data: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServicePutAssetResponse: + r"""PutAsset + + :param connect_timeout_ms: + :param file_name: + :param content_type: + :param data: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServicePutAssetRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest( + file_name=file_name, + content_type=content_type, + data=data, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/PutAsset", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_PutAsset", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxPutAssetResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def sandbox_capability_service_send_notify( + self, + *, + connect_timeout_ms: Optional[float] = None, + name: Optional[str] = None, + subject: Optional[str] = None, + body: Optional[str] = None, + parameters: Optional[ + Union[ + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParam], + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict], + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceSendNotifyResponse: + r"""SendNotify + + :param connect_timeout_ms: + :param name: + :param subject: + :param body: + :param parameters: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceSendNotifyRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest( + name=name, + subject=subject, + body=body, + parameters=utils.get_pydantic_model( + parameters, + Optional[List[models.TextqlRPCPublicSandboxQuerySandboxQueryParam]], + ), + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/SendNotify", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_SendNotify", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def sandbox_capability_service_send_notify_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + name: Optional[str] = None, + subject: Optional[str] = None, + body: Optional[str] = None, + parameters: Optional[ + Union[ + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParam], + Iterable[models.TextqlRPCPublicSandboxQuerySandboxQueryParamTypedDict], + ] + ] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceSendNotifyResponse: + r"""SendNotify + + :param connect_timeout_ms: + :param name: + :param subject: + :param body: + :param parameters: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceSendNotifyRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest( + name=name, + subject=subject, + body=body, + parameters=utils.get_pydantic_model( + parameters, + Optional[List[models.TextqlRPCPublicSandboxQuerySandboxQueryParam]], + ), + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/SendNotify", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_SendNotify", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxSendNotifyResponse, + http_res, + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + def sandbox_capability_service_state_op( + self, + *, + connect_timeout_ms: Optional[float] = None, + op: Optional[str] = None, + scope: Optional[str] = None, + key: Optional[str] = None, + value: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceStateOpResponse: + r"""StateOp + + :param connect_timeout_ms: + :param op: + :param scope: + :param key: + :param value: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceStateOpRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest( + op=op, + scope=scope, + key=key, + value=value, + ), + ) + + req = self._build_request( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/StateOp", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = self.do_request( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_StateOp", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = utils.stream_to_text(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) + + async def sandbox_capability_service_state_op_async( + self, + *, + connect_timeout_ms: Optional[float] = None, + op: Optional[str] = None, + scope: Optional[str] = None, + key: Optional[str] = None, + value: Optional[str] = None, + retries: OptionalNullable[utils.RetryConfig] = UNSET, + server_url: Optional[str] = None, + timeout_ms: Optional[int] = None, + http_headers: Optional[Mapping[str, str]] = None, + ) -> models.SandboxCapabilityServiceStateOpResponse: + r"""StateOp + + :param connect_timeout_ms: + :param op: + :param scope: + :param key: + :param value: + :param retries: Override the default retry configuration for this method + :param server_url: Override the default server URL for this method + :param timeout_ms: Override the default request timeout configuration for this method in milliseconds + :param http_headers: Additional headers to set or replace on requests. + """ + base_url = None + url_variables = None + if timeout_ms is None: + timeout_ms = self.sdk_configuration.timeout_ms + + if server_url is not None: + base_url = server_url + else: + base_url = self._get_url(base_url, url_variables) + + request = models.SandboxCapabilityServiceStateOpRequest( + connect_timeout_ms=connect_timeout_ms, + body=models.TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest( + op=op, + scope=scope, + key=key, + value=value, + ), + ) + + req = self._build_request_async( + method="POST", + path="/textql.rpc.public.sandbox_capability.SandboxCapabilityService/StateOp", + base_url=base_url, + url_variables=url_variables, + request=request, + request_body_required=True, + request_has_path_params=False, + request_has_query_params=True, + user_agent_header="user-agent", + accept_header_value="application/json", + http_headers=http_headers, + security=self.sdk_configuration.security, + get_serialized_body=lambda: utils.serialize_request_body( + request.body, + False, + False, + "json", + models.TextqlRPCPublicSandboxCapabilitySandboxStateOpRequest, + ), + allow_empty_value=None, + timeout_ms=timeout_ms, + ) + + if retries == UNSET: + if self.sdk_configuration.retry_config is not UNSET: + retries = self.sdk_configuration.retry_config + + retry_config = None + if isinstance(retries, utils.RetryConfig): + retry_config = (retries, ["429", "500", "502", "503", "504"]) + + http_res = await self.do_request_async( + hook_ctx=HookContext( + config=self.sdk_configuration, + base_url=base_url or "", + operation_id="SandboxCapabilityService_StateOp", + oauth2_scopes=None, + security_source=get_security_from_env( + self.sdk_configuration.security, models.Security + ), + tags=["SandboxCapabilityService"], + extensions=None, + ), + request=req, + is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), + retry_config=retry_config, + ) + + if utils.match_response(http_res, "200", "application/json"): + return unmarshal_json_response( + models.TextqlRPCPublicSandboxCapabilitySandboxStateOpResponse, http_res + ) + if utils.match_response(http_res, "4XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "5XX", "*"): + http_res_text = await utils.stream_to_text_async(http_res) + raise errors.TextqlDefaultError( + "API error occurred", http_res, http_res_text + ) + if utils.match_response(http_res, "default", "application/json"): + return unmarshal_json_response(models.ConnectError, http_res) + + raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/src/textql_sdk/sdk.py b/src/textql_sdk/sdk.py index 588e30c..47cf931 100644 --- a/src/textql_sdk/sdk.py +++ b/src/textql_sdk/sdk.py @@ -17,21 +17,23 @@ if TYPE_CHECKING: from textql_sdk.agents import Agents from textql_sdk.apps import Apps + from textql_sdk.appservice import AppService from textql_sdk.auditlogs import AuditLogs from textql_sdk.chats import Chats from textql_sdk.connectors import Connectors from textql_sdk.dashboards import Dashboards from textql_sdk.datasets import Datasets - from textql_sdk.libraries import Libraries - from textql_sdk.libraryservice import LibraryService from textql_sdk.mcp import Mcp from textql_sdk.metricsexports import MetricsExports from textql_sdk.observability import Observability + from textql_sdk.ontologymanagementservice import OntologyManagementService from textql_sdk.playbooks import Playbooks from textql_sdk.powerbi_sdk import PowerbiSDK from textql_sdk.rbac import Rbac + from textql_sdk.rbacservice import RBACService from textql_sdk.sandbox import Sandbox from textql_sdk.sandboxadmin import SandboxAdmin + from textql_sdk.sandboxcapabilityservice import SandboxCapabilityService from textql_sdk.scim import Scim from textql_sdk.secrets import Secrets from textql_sdk.slack import Slack @@ -47,6 +49,11 @@ class Textql(BaseSDK): agents: "Agents" apps: "Apps" + app_service: "AppService" + r"""AppService manages data apps: the generative app execution primitive. + An app is agent-authored single-file HTML/JS/CSS executing in a CSP sandbox, + fed a snapshot of its declared data sources. First-class resource, not a dashboard. + """ audit_logs: "AuditLogs" chats: "Chats" connectors: "Connectors" @@ -55,12 +62,14 @@ class Textql(BaseSDK): mcp: "Mcp" metrics_exports: "MetricsExports" observability: "Observability" - libraries: "Libraries" - library_service: "LibraryService" + ontology_management_service: "OntologyManagementService" playbooks: "Playbooks" powerbi: "PowerbiSDK" rbac: "Rbac" + rbac_service: "RBACService" + r"""RBAC service for managing roles, permissions, and access control""" sandbox_admin: "SandboxAdmin" + sandbox_capability_service: "SandboxCapabilityService" sandbox: "Sandbox" scim: "Scim" secrets: "Secrets" @@ -70,6 +79,7 @@ class Textql(BaseSDK): _sub_sdk_map = { "agents": ("textql_sdk.agents", "Agents"), "apps": ("textql_sdk.apps", "Apps"), + "app_service": ("textql_sdk.appservice", "AppService"), "audit_logs": ("textql_sdk.auditlogs", "AuditLogs"), "chats": ("textql_sdk.chats", "Chats"), "connectors": ("textql_sdk.connectors", "Connectors"), @@ -78,12 +88,19 @@ class Textql(BaseSDK): "mcp": ("textql_sdk.mcp", "Mcp"), "metrics_exports": ("textql_sdk.metricsexports", "MetricsExports"), "observability": ("textql_sdk.observability", "Observability"), - "libraries": ("textql_sdk.libraries", "Libraries"), - "library_service": ("textql_sdk.libraryservice", "LibraryService"), + "ontology_management_service": ( + "textql_sdk.ontologymanagementservice", + "OntologyManagementService", + ), "playbooks": ("textql_sdk.playbooks", "Playbooks"), "powerbi": ("textql_sdk.powerbi_sdk", "PowerbiSDK"), "rbac": ("textql_sdk.rbac", "Rbac"), + "rbac_service": ("textql_sdk.rbacservice", "RBACService"), "sandbox_admin": ("textql_sdk.sandboxadmin", "SandboxAdmin"), + "sandbox_capability_service": ( + "textql_sdk.sandboxcapabilityservice", + "SandboxCapabilityService", + ), "sandbox": ("textql_sdk.sandbox", "Sandbox"), "scim": ("textql_sdk.scim", "Scim"), "secrets": ("textql_sdk.secrets", "Secrets"), diff --git a/src/textql_sdk/secrets.py b/src/textql_sdk/secrets.py index 56e6729..8741e23 100644 --- a/src/textql_sdk/secrets.py +++ b/src/textql_sdk/secrets.py @@ -1,30 +1,29 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from datetime import datetime from textql_sdk import errors, models, utils from textql_sdk._hooks import HookContext from textql_sdk.types import OptionalNullable, UNSET from textql_sdk.utils import get_security_from_env from textql_sdk.utils.unmarshal_json_response import unmarshal_json_response -from typing import Dict, Iterable, List, Mapping, Optional, Union +from typing import Mapping, Optional, Union class Secrets(BaseSDK): - def create_api_revision( + def delete_secret( self, *, connect_timeout_ms: Optional[float] = None, - api_access_key_id: OptionalNullable[str] = UNSET, + name: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceCreateAPIRevisionResponse: - r"""CreateApiRevision + ) -> models.SecretServiceDeleteSecretResponse: + r"""DeleteSecret :param connect_timeout_ms: - :param api_access_key_id: empty = new key draft + :param name: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -40,16 +39,16 @@ def create_api_revision( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceCreateAPIRevisionRequest( + request = models.SecretServiceDeleteSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretCreateAPIRevisionRequest( - api_access_key_id=api_access_key_id, + body=models.TextqlRPCPublicSecretDeleteSecretRequest( + name=name, ), ) req = self._build_request( method="POST", - path="/textql.rpc.public.secret.SecretService/CreateApiRevision", + path="/textql.rpc.public.secret.SecretService/DeleteSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -65,7 +64,7 @@ def create_api_revision( False, False, "json", - models.TextqlRPCPublicSecretCreateAPIRevisionRequest, + models.TextqlRPCPublicSecretDeleteSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -83,7 +82,7 @@ def create_api_revision( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_CreateApiRevision", + operation_id="SecretService_DeleteSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -98,7 +97,7 @@ def create_api_revision( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretCreateAPIRevisionResponse, http_res + models.TextqlRPCPublicSecretDeleteSecretResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = utils.stream_to_text(http_res) @@ -115,20 +114,20 @@ def create_api_revision( raise errors.TextqlDefaultError("Unexpected response received", http_res) - async def create_api_revision_async( + async def delete_secret_async( self, *, connect_timeout_ms: Optional[float] = None, - api_access_key_id: OptionalNullable[str] = UNSET, + name: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceCreateAPIRevisionResponse: - r"""CreateApiRevision + ) -> models.SecretServiceDeleteSecretResponse: + r"""DeleteSecret :param connect_timeout_ms: - :param api_access_key_id: empty = new key draft + :param name: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -144,16 +143,16 @@ async def create_api_revision_async( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceCreateAPIRevisionRequest( + request = models.SecretServiceDeleteSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretCreateAPIRevisionRequest( - api_access_key_id=api_access_key_id, + body=models.TextqlRPCPublicSecretDeleteSecretRequest( + name=name, ), ) req = self._build_request_async( method="POST", - path="/textql.rpc.public.secret.SecretService/CreateApiRevision", + path="/textql.rpc.public.secret.SecretService/DeleteSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -169,7 +168,7 @@ async def create_api_revision_async( False, False, "json", - models.TextqlRPCPublicSecretCreateAPIRevisionRequest, + models.TextqlRPCPublicSecretDeleteSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -187,7 +186,7 @@ async def create_api_revision_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_CreateApiRevision", + operation_id="SecretService_DeleteSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -202,7 +201,7 @@ async def create_api_revision_async( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretCreateAPIRevisionResponse, http_res + models.TextqlRPCPublicSecretDeleteSecretResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = await utils.stream_to_text_async(http_res) @@ -219,20 +218,23 @@ async def create_api_revision_async( raise errors.TextqlDefaultError("Unexpected response received", http_res) - def delete_api_access_key( + def get_members_with_secrets( self, *, + body: Union[ + models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, + models.TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict, + ], connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteAPIAccessKeyResponse: - r"""DeleteApiAccessKey + ) -> models.SecretServiceGetMembersWithSecretsResponse: + r"""GetMembersWithSecrets + :param body: :param connect_timeout_ms: - :param id: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -248,16 +250,16 @@ def delete_api_access_key( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteAPIAccessKeyRequest( + request = models.SecretServiceGetMembersWithSecretsRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteAPIAccessKeyRequest( - id=id, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicSecretGetMembersWithSecretsRequest ), ) req = self._build_request( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteApiAccessKey", + path="/textql.rpc.public.secret.SecretService/GetMembersWithSecrets", base_url=base_url, url_variables=url_variables, request=request, @@ -273,7 +275,7 @@ def delete_api_access_key( False, False, "json", - models.TextqlRPCPublicSecretDeleteAPIAccessKeyRequest, + models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -291,7 +293,7 @@ def delete_api_access_key( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteApiAccessKey", + operation_id="SecretService_GetMembersWithSecrets", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -306,7 +308,7 @@ def delete_api_access_key( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteAPIAccessKeyResponse, http_res + models.TextqlRPCPublicSecretGetMembersWithSecretsResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = utils.stream_to_text(http_res) @@ -323,20 +325,23 @@ def delete_api_access_key( raise errors.TextqlDefaultError("Unexpected response received", http_res) - async def delete_api_access_key_async( + async def get_members_with_secrets_async( self, *, + body: Union[ + models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, + models.TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict, + ], connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteAPIAccessKeyResponse: - r"""DeleteApiAccessKey + ) -> models.SecretServiceGetMembersWithSecretsResponse: + r"""GetMembersWithSecrets + :param body: :param connect_timeout_ms: - :param id: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -352,16 +357,16 @@ async def delete_api_access_key_async( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteAPIAccessKeyRequest( + request = models.SecretServiceGetMembersWithSecretsRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteAPIAccessKeyRequest( - id=id, + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicSecretGetMembersWithSecretsRequest ), ) req = self._build_request_async( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteApiAccessKey", + path="/textql.rpc.public.secret.SecretService/GetMembersWithSecrets", base_url=base_url, url_variables=url_variables, request=request, @@ -377,7 +382,7 @@ async def delete_api_access_key_async( False, False, "json", - models.TextqlRPCPublicSecretDeleteAPIAccessKeyRequest, + models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -395,7 +400,7 @@ async def delete_api_access_key_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteApiAccessKey", + operation_id="SecretService_GetMembersWithSecrets", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -410,7 +415,7 @@ async def delete_api_access_key_async( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteAPIAccessKeyResponse, http_res + models.TextqlRPCPublicSecretGetMembersWithSecretsResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = await utils.stream_to_text_async(http_res) @@ -427,25 +432,23 @@ async def delete_api_access_key_async( raise errors.TextqlDefaultError("Unexpected response received", http_res) - def delete_api_revision( + def list_secrets( self, *, + body: Union[ + models.TextqlRPCPublicSecretListSecretsRequest, + models.TextqlRPCPublicSecretListSecretsRequestTypedDict, + ], connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteAPIRevisionResponse: - r"""DeleteApiRevision + ) -> models.SecretServiceListSecretsResponse: + r"""ListSecrets + :param body: :param connect_timeout_ms: - :param ref: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -461,18 +464,16 @@ def delete_api_revision( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteAPIRevisionRequest( + request = models.SecretServiceListSecretsRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteAPIRevisionRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicSecretListSecretsRequest ), ) req = self._build_request( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteApiRevision", + path="/textql.rpc.public.secret.SecretService/ListSecrets", base_url=base_url, url_variables=url_variables, request=request, @@ -488,7 +489,7 @@ def delete_api_revision( False, False, "json", - models.TextqlRPCPublicSecretDeleteAPIRevisionRequest, + models.TextqlRPCPublicSecretListSecretsRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -506,7 +507,7 @@ def delete_api_revision( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteApiRevision", + operation_id="SecretService_ListSecrets", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -521,7 +522,7 @@ def delete_api_revision( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteAPIRevisionResponse, http_res + models.TextqlRPCPublicSecretListSecretsResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = utils.stream_to_text(http_res) @@ -538,25 +539,23 @@ def delete_api_revision( raise errors.TextqlDefaultError("Unexpected response received", http_res) - async def delete_api_revision_async( + async def list_secrets_async( self, *, + body: Union[ + models.TextqlRPCPublicSecretListSecretsRequest, + models.TextqlRPCPublicSecretListSecretsRequestTypedDict, + ], connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteAPIRevisionResponse: - r"""DeleteApiRevision + ) -> models.SecretServiceListSecretsResponse: + r"""ListSecrets + :param body: :param connect_timeout_ms: - :param ref: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -572,18 +571,16 @@ async def delete_api_revision_async( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteAPIRevisionRequest( + request = models.SecretServiceListSecretsRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteAPIRevisionRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), + body=utils.get_pydantic_model( + body, models.TextqlRPCPublicSecretListSecretsRequest ), ) req = self._build_request_async( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteApiRevision", + path="/textql.rpc.public.secret.SecretService/ListSecrets", base_url=base_url, url_variables=url_variables, request=request, @@ -599,7 +596,7 @@ async def delete_api_revision_async( False, False, "json", - models.TextqlRPCPublicSecretDeleteAPIRevisionRequest, + models.TextqlRPCPublicSecretListSecretsRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -617,7 +614,7 @@ async def delete_api_revision_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteApiRevision", + operation_id="SecretService_ListSecrets", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -632,7 +629,7 @@ async def delete_api_revision_async( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteAPIRevisionResponse, http_res + models.TextqlRPCPublicSecretListSecretsResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = await utils.stream_to_text_async(http_res) @@ -649,20 +646,28 @@ async def delete_api_revision_async( raise errors.TextqlDefaultError("Unexpected response received", http_res) - def delete_secret( + def put_secret( self, *, connect_timeout_ms: Optional[float] = None, name: Optional[str] = None, + value: Optional[str] = None, + description: OptionalNullable[str] = UNSET, + link: OptionalNullable[str] = UNSET, + is_private: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteSecretResponse: - r"""DeleteSecret + ) -> models.SecretServicePutSecretResponse: + r"""PutSecret :param connect_timeout_ms: :param name: + :param value: + :param description: + :param link: + :param is_private: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -678,16 +683,20 @@ def delete_secret( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteSecretRequest( + request = models.SecretServicePutSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteSecretRequest( + body=models.TextqlRPCPublicSecretPutSecretRequest( name=name, + value=value, + description=description, + link=link, + is_private=is_private, ), ) req = self._build_request( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteSecret", + path="/textql.rpc.public.secret.SecretService/PutSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -703,7 +712,7 @@ def delete_secret( False, False, "json", - models.TextqlRPCPublicSecretDeleteSecretRequest, + models.TextqlRPCPublicSecretPutSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -721,7 +730,7 @@ def delete_secret( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteSecret", + operation_id="SecretService_PutSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -736,7 +745,7 @@ def delete_secret( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteSecretResponse, http_res + models.TextqlRPCPublicSecretPutSecretResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = utils.stream_to_text(http_res) @@ -753,20 +762,28 @@ def delete_secret( raise errors.TextqlDefaultError("Unexpected response received", http_res) - async def delete_secret_async( + async def put_secret_async( self, *, connect_timeout_ms: Optional[float] = None, name: Optional[str] = None, + value: Optional[str] = None, + description: OptionalNullable[str] = UNSET, + link: OptionalNullable[str] = UNSET, + is_private: Optional[bool] = None, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceDeleteSecretResponse: - r"""DeleteSecret + ) -> models.SecretServicePutSecretResponse: + r"""PutSecret :param connect_timeout_ms: :param name: + :param value: + :param description: + :param link: + :param is_private: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -782,16 +799,20 @@ async def delete_secret_async( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceDeleteSecretRequest( + request = models.SecretServicePutSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretDeleteSecretRequest( + body=models.TextqlRPCPublicSecretPutSecretRequest( name=name, + value=value, + description=description, + link=link, + is_private=is_private, ), ) req = self._build_request_async( method="POST", - path="/textql.rpc.public.secret.SecretService/DeleteSecret", + path="/textql.rpc.public.secret.SecretService/PutSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -807,7 +828,7 @@ async def delete_secret_async( False, False, "json", - models.TextqlRPCPublicSecretDeleteSecretRequest, + models.TextqlRPCPublicSecretPutSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -825,7 +846,7 @@ async def delete_secret_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_DeleteSecret", + operation_id="SecretService_PutSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -840,7 +861,7 @@ async def delete_secret_async( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretDeleteSecretResponse, http_res + models.TextqlRPCPublicSecretPutSecretResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = await utils.stream_to_text_async(http_res) @@ -857,20 +878,26 @@ async def delete_secret_async( raise errors.TextqlDefaultError("Unexpected response received", http_res) - def get_api_access_key( + def update( self, *, connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, + name: Optional[str] = None, + value: OptionalNullable[str] = UNSET, + description: OptionalNullable[str] = UNSET, + link: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceGetAPIAccessKeyResponse: - r"""GetApiAccessKey + ) -> models.SecretServiceUpdateSecretResponse: + r"""UpdateSecret :param connect_timeout_ms: - :param id: + :param name: + :param value: + :param description: + :param link: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -886,16 +913,19 @@ def get_api_access_key( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceGetAPIAccessKeyRequest( + request = models.SecretServiceUpdateSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretGetAPIAccessKeyRequest( - id=id, + body=models.TextqlRPCPublicSecretUpdateSecretRequest( + name=name, + value=value, + description=description, + link=link, ), ) req = self._build_request( method="POST", - path="/textql.rpc.public.secret.SecretService/GetApiAccessKey", + path="/textql.rpc.public.secret.SecretService/UpdateSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -911,7 +941,7 @@ def get_api_access_key( False, False, "json", - models.TextqlRPCPublicSecretGetAPIAccessKeyRequest, + models.TextqlRPCPublicSecretUpdateSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -929,7 +959,7 @@ def get_api_access_key( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_GetApiAccessKey", + operation_id="SecretService_UpdateSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -944,7 +974,7 @@ def get_api_access_key( if utils.match_response(http_res, "200", "application/json"): return unmarshal_json_response( - models.TextqlRPCPublicSecretGetAPIAccessKeyResponse, http_res + models.TextqlRPCPublicSecretUpdateSecretResponse, http_res ) if utils.match_response(http_res, "4XX", "*"): http_res_text = utils.stream_to_text(http_res) @@ -961,20 +991,26 @@ def get_api_access_key( raise errors.TextqlDefaultError("Unexpected response received", http_res) - async def get_api_access_key_async( + async def update_async( self, *, connect_timeout_ms: Optional[float] = None, - id: Optional[str] = None, + name: Optional[str] = None, + value: OptionalNullable[str] = UNSET, + description: OptionalNullable[str] = UNSET, + link: OptionalNullable[str] = UNSET, retries: OptionalNullable[utils.RetryConfig] = UNSET, server_url: Optional[str] = None, timeout_ms: Optional[int] = None, http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceGetAPIAccessKeyResponse: - r"""GetApiAccessKey + ) -> models.SecretServiceUpdateSecretResponse: + r"""UpdateSecret :param connect_timeout_ms: - :param id: + :param name: + :param value: + :param description: + :param link: :param retries: Override the default retry configuration for this method :param server_url: Override the default server URL for this method :param timeout_ms: Override the default request timeout configuration for this method in milliseconds @@ -990,16 +1026,19 @@ async def get_api_access_key_async( else: base_url = self._get_url(base_url, url_variables) - request = models.SecretServiceGetAPIAccessKeyRequest( + request = models.SecretServiceUpdateSecretRequest( connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretGetAPIAccessKeyRequest( - id=id, + body=models.TextqlRPCPublicSecretUpdateSecretRequest( + name=name, + value=value, + description=description, + link=link, ), ) req = self._build_request_async( method="POST", - path="/textql.rpc.public.secret.SecretService/GetApiAccessKey", + path="/textql.rpc.public.secret.SecretService/UpdateSecret", base_url=base_url, url_variables=url_variables, request=request, @@ -1015,7 +1054,7 @@ async def get_api_access_key_async( False, False, "json", - models.TextqlRPCPublicSecretGetAPIAccessKeyRequest, + models.TextqlRPCPublicSecretUpdateSecretRequest, ), allow_empty_value=None, timeout_ms=timeout_ms, @@ -1033,1789 +1072,7 @@ async def get_api_access_key_async( hook_ctx=HookContext( config=self.sdk_configuration, base_url=base_url or "", - operation_id="SecretService_GetApiAccessKey", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretGetAPIAccessKeyResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def get_members_with_secrets( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, - models.TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceGetMembersWithSecretsResponse: - r"""GetMembersWithSecrets - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceGetMembersWithSecretsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretGetMembersWithSecretsRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/GetMembersWithSecrets", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_GetMembersWithSecrets", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretGetMembersWithSecretsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def get_members_with_secrets_async( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, - models.TextqlRPCPublicSecretGetMembersWithSecretsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceGetMembersWithSecretsResponse: - r"""GetMembersWithSecrets - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceGetMembersWithSecretsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretGetMembersWithSecretsRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/GetMembersWithSecrets", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretGetMembersWithSecretsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_GetMembersWithSecrets", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretGetMembersWithSecretsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_api_access_keys( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListAPIAccessKeysRequest, - models.TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListAPIAccessKeysResponse: - r"""ListApiAccessKeys - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListAPIAccessKeysRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListAPIAccessKeysRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListApiAccessKeys", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListAPIAccessKeysRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListApiAccessKeys", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListAPIAccessKeysResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_api_access_keys_async( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListAPIAccessKeysRequest, - models.TextqlRPCPublicSecretListAPIAccessKeysRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListAPIAccessKeysResponse: - r"""ListApiAccessKeys - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListAPIAccessKeysRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListAPIAccessKeysRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListApiAccessKeys", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListAPIAccessKeysRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListApiAccessKeys", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListAPIAccessKeysResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_api_providers( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListAPIProvidersRequest, - models.TextqlRPCPublicSecretListAPIProvidersRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListAPIProvidersResponse: - r"""ListApiProviders - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListAPIProvidersRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListAPIProvidersRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListApiProviders", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListAPIProvidersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListApiProviders", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListAPIProvidersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_api_providers_async( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListAPIProvidersRequest, - models.TextqlRPCPublicSecretListAPIProvidersRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListAPIProvidersResponse: - r"""ListApiProviders - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListAPIProvidersRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListAPIProvidersRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListApiProviders", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListAPIProvidersRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListApiProviders", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListAPIProvidersResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def list_secrets( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListSecretsRequest, - models.TextqlRPCPublicSecretListSecretsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListSecretsResponse: - r"""ListSecrets - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListSecretsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListSecretsRequest - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListSecrets", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListSecretsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListSecrets", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListSecretsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def list_secrets_async( - self, - *, - body: Union[ - models.TextqlRPCPublicSecretListSecretsRequest, - models.TextqlRPCPublicSecretListSecretsRequestTypedDict, - ], - connect_timeout_ms: Optional[float] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceListSecretsResponse: - r"""ListSecrets - - :param body: - :param connect_timeout_ms: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceListSecretsRequest( - connect_timeout_ms=connect_timeout_ms, - body=utils.get_pydantic_model( - body, models.TextqlRPCPublicSecretListSecretsRequest - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/ListSecrets", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretListSecretsRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_ListSecrets", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretListSecretsResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def migrate_secret_to_api_connector( - self, - *, - connect_timeout_ms: Optional[float] = None, - secret_name: Optional[str] = None, - api_access_key_id: Optional[str] = None, - header_name: Optional[str] = None, - hosts: Optional[Iterable[str]] = None, - description: Optional[str] = None, - value_prefix: Optional[str] = None, - name: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceMigrateSecretToAPIConnectorResponse: - r"""MigrateSecretToApiConnector - - :param connect_timeout_ms: - :param secret_name: - :param api_access_key_id: empty = create new API connector - :param header_name: - :param hosts: Fields used when creating a new API connector (api_access_key_id is empty) - :param description: - :param value_prefix: e.g. \"Bearer \", prepended to the secret value - :param name: display name for the new API connector - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceMigrateSecretToAPIConnectorRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest( - secret_name=secret_name, - api_access_key_id=api_access_key_id, - header_name=header_name, - hosts=utils.unmarshal(hosts, Optional[List[str]]), - description=description, - value_prefix=value_prefix, - name=name, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/MigrateSecretToApiConnector", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_MigrateSecretToApiConnector", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def migrate_secret_to_api_connector_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - secret_name: Optional[str] = None, - api_access_key_id: Optional[str] = None, - header_name: Optional[str] = None, - hosts: Optional[Iterable[str]] = None, - description: Optional[str] = None, - value_prefix: Optional[str] = None, - name: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceMigrateSecretToAPIConnectorResponse: - r"""MigrateSecretToApiConnector - - :param connect_timeout_ms: - :param secret_name: - :param api_access_key_id: empty = create new API connector - :param header_name: - :param hosts: Fields used when creating a new API connector (api_access_key_id is empty) - :param description: - :param value_prefix: e.g. \"Bearer \", prepended to the secret value - :param name: display name for the new API connector - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceMigrateSecretToAPIConnectorRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest( - secret_name=secret_name, - api_access_key_id=api_access_key_id, - header_name=header_name, - hosts=utils.unmarshal(hosts, Optional[List[str]]), - description=description, - value_prefix=value_prefix, - name=name, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/MigrateSecretToApiConnector", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_MigrateSecretToApiConnector", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretMigrateSecretToAPIConnectorResponse, - http_res, - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def put_secret( - self, - *, - connect_timeout_ms: Optional[float] = None, - name: Optional[str] = None, - value: Optional[str] = None, - description: OptionalNullable[str] = UNSET, - link: OptionalNullable[str] = UNSET, - is_private: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServicePutSecretResponse: - r"""PutSecret - - :param connect_timeout_ms: - :param name: - :param value: - :param description: - :param link: - :param is_private: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServicePutSecretRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretPutSecretRequest( - name=name, - value=value, - description=description, - link=link, - is_private=is_private, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/PutSecret", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretPutSecretRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_PutSecret", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretPutSecretResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def put_secret_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - name: Optional[str] = None, - value: Optional[str] = None, - description: OptionalNullable[str] = UNSET, - link: OptionalNullable[str] = UNSET, - is_private: Optional[bool] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServicePutSecretResponse: - r"""PutSecret - - :param connect_timeout_ms: - :param name: - :param value: - :param description: - :param link: - :param is_private: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServicePutSecretRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretPutSecretRequest( - name=name, - value=value, - description=description, - link=link, - is_private=is_private, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/PutSecret", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretPutSecretRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_PutSecret", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretPutSecretResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def test_api_access_key( - self, - *, - connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceTestAPIAccessKeyResponse: - r"""TestApiAccessKey - - :param connect_timeout_ms: - :param ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceTestAPIAccessKeyRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretTestAPIAccessKeyRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/TestApiAccessKey", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretTestAPIAccessKeyRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_TestApiAccessKey", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretTestAPIAccessKeyResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def test_api_access_key_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceTestAPIAccessKeyResponse: - r"""TestApiAccessKey - - :param connect_timeout_ms: - :param ref: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceTestAPIAccessKeyRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretTestAPIAccessKeyRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/TestApiAccessKey", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretTestAPIAccessKeyRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_TestApiAccessKey", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretTestAPIAccessKeyResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def update( - self, - *, - connect_timeout_ms: Optional[float] = None, - name: Optional[str] = None, - value: OptionalNullable[str] = UNSET, - description: OptionalNullable[str] = UNSET, - link: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceUpdateSecretResponse: - r"""UpdateSecret - - :param connect_timeout_ms: - :param name: - :param value: - :param description: - :param link: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceUpdateSecretRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretUpdateSecretRequest( - name=name, - value=value, - description=description, - link=link, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/UpdateSecret", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretUpdateSecretRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_UpdateSecret", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretUpdateSecretResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def update_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - name: Optional[str] = None, - value: OptionalNullable[str] = UNSET, - description: OptionalNullable[str] = UNSET, - link: OptionalNullable[str] = UNSET, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceUpdateSecretResponse: - r"""UpdateSecret - - :param connect_timeout_ms: - :param name: - :param value: - :param description: - :param link: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceUpdateSecretRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretUpdateSecretRequest( - name=name, - value=value, - description=description, - link=link, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/UpdateSecret", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretUpdateSecretRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_UpdateSecret", + operation_id="SecretService_UpdateSecret", oauth2_scopes=None, security_source=get_security_from_env( self.sdk_configuration.security, models.Security @@ -2846,505 +1103,3 @@ async def update_async( return unmarshal_json_response(models.ConnectError, http_res) raise errors.TextqlDefaultError("Unexpected response received", http_res) - - def upsert_api_access_key( - self, - *, - connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, - persist_to_db: Optional[bool] = None, - hosts: Optional[Iterable[str]] = None, - headers: Optional[Mapping[str, str]] = None, - query_params: Optional[Mapping[str, str]] = None, - description: Optional[str] = None, - expires_at: Optional[datetime] = None, - provider: Optional[str] = None, - auth_value: Optional[str] = None, - auth_value_extra: Optional[str] = None, - auth_type: Optional[str] = None, - http_basic_auth: Optional[ - Union[ - models.TextqlRPCPublicSecretHTTPBasicAuth, - models.TextqlRPCPublicSecretHTTPBasicAuthTypedDict, - ] - ] = None, - body: Optional[Mapping[str, str]] = None, - content_type: Optional[models.TextqlRPCPublicSecretBodyContentType] = None, - test_url: Optional[str] = None, - name: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceUpsertAPIAccessKeyResponse: - r"""UpsertApiAccessKey - - :param connect_timeout_ms: - :param ref: - :param persist_to_db: - :param hosts: - :param headers: - :param query_params: - :param description: - :param expires_at: A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - :param provider: - :param auth_value: - :param auth_value_extra: - :param auth_type: - :param http_basic_auth: - :param body: - :param content_type: - :param test_url: - :param name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceUpsertAPIAccessKeyRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretUpsertAPIAccessKeyRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), - persist_to_db=persist_to_db, - hosts=utils.unmarshal(hosts, Optional[List[str]]), - headers=utils.unmarshal(headers, Optional[Dict[str, str]]), - query_params=utils.unmarshal(query_params, Optional[Dict[str, str]]), - description=description, - expires_at=expires_at, - provider=provider, - auth_value=auth_value, - auth_value_extra=auth_value_extra, - auth_type=auth_type, - http_basic_auth=utils.get_pydantic_model( - http_basic_auth, Optional[models.TextqlRPCPublicSecretHTTPBasicAuth] - ), - body=utils.unmarshal(body, Optional[Dict[str, str]]), - content_type=content_type, - test_url=test_url, - name=name, - ), - ) - - req = self._build_request( - method="POST", - path="/textql.rpc.public.secret.SecretService/UpsertApiAccessKey", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretUpsertAPIAccessKeyRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = self.do_request( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_UpsertApiAccessKey", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretUpsertAPIAccessKeyResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = utils.stream_to_text(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) - - async def upsert_api_access_key_async( - self, - *, - connect_timeout_ms: Optional[float] = None, - ref: Optional[ - Union[ - models.TextqlRPCPublicSecretAPIAccessRef, - models.TextqlRPCPublicSecretAPIAccessRefTypedDict, - ] - ] = None, - persist_to_db: Optional[bool] = None, - hosts: Optional[Iterable[str]] = None, - headers: Optional[Mapping[str, str]] = None, - query_params: Optional[Mapping[str, str]] = None, - description: Optional[str] = None, - expires_at: Optional[datetime] = None, - provider: Optional[str] = None, - auth_value: Optional[str] = None, - auth_value_extra: Optional[str] = None, - auth_type: Optional[str] = None, - http_basic_auth: Optional[ - Union[ - models.TextqlRPCPublicSecretHTTPBasicAuth, - models.TextqlRPCPublicSecretHTTPBasicAuthTypedDict, - ] - ] = None, - body: Optional[Mapping[str, str]] = None, - content_type: Optional[models.TextqlRPCPublicSecretBodyContentType] = None, - test_url: Optional[str] = None, - name: Optional[str] = None, - retries: OptionalNullable[utils.RetryConfig] = UNSET, - server_url: Optional[str] = None, - timeout_ms: Optional[int] = None, - http_headers: Optional[Mapping[str, str]] = None, - ) -> models.SecretServiceUpsertAPIAccessKeyResponse: - r"""UpsertApiAccessKey - - :param connect_timeout_ms: - :param ref: - :param persist_to_db: - :param hosts: - :param headers: - :param query_params: - :param description: - :param expires_at: A Timestamp represents a point in time independent of any time zone or local - calendar, encoded as a count of seconds and fractions of seconds at - nanosecond resolution. The count is relative to an epoch at UTC midnight on - January 1, 1970, in the proleptic Gregorian calendar which extends the - Gregorian calendar backwards to year one. - - All minutes are 60 seconds long. Leap seconds are \"smeared\" so that no leap - second table is needed for interpretation, using a [24-hour linear - smear](https://developers.google.com/time/smear). - - The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By - restricting to that range, we ensure that we can convert to and from [RFC - 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. - - # Examples - - Example 1: Compute Timestamp from POSIX `time()`. - - Timestamp timestamp; - timestamp.set_seconds(time(NULL)); - timestamp.set_nanos(0); - - Example 2: Compute Timestamp from POSIX `gettimeofday()`. - - struct timeval tv; - gettimeofday(&tv, NULL); - - Timestamp timestamp; - timestamp.set_seconds(tv.tv_sec); - timestamp.set_nanos(tv.tv_usec * 1000); - - Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. - - FILETIME ft; - GetSystemTimeAsFileTime(&ft); - UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; - - // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z - // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. - Timestamp timestamp; - timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); - timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); - - Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. - - long millis = System.currentTimeMillis(); - - Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) - .setNanos((int) ((millis % 1000) * 1000000)).build(); - - Example 5: Compute Timestamp from Java `Instant.now()`. - - Instant now = Instant.now(); - - Timestamp timestamp = - Timestamp.newBuilder().setSeconds(now.getEpochSecond()) - .setNanos(now.getNano()).build(); - - Example 6: Compute Timestamp from current time in Python. - - timestamp = Timestamp() - timestamp.GetCurrentTime() - - # JSON Mapping - - In JSON format, the Timestamp type is encoded as a string in the - [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the - format is \"{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z\" - where {year} is always expressed using four digits while {month}, {day}, - {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional - seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), - are optional. The \"Z\" suffix indicates the timezone (\"UTC\"); the timezone - is required. A proto3 JSON serializer should always use UTC (as indicated by - \"Z\") when printing the Timestamp type and a proto3 JSON parser should be - able to accept both UTC and other timezones (as indicated by an offset). - - For example, \"2017-01-15T01:30:15.01Z\" encodes 15.01 seconds past - 01:30 UTC on January 15, 2017. - - In JavaScript, one can convert a Date object to this format using the - standard - [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) - method. In Python, a standard `datetime.datetime` object can be converted - to this format using - [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with - the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use - the Joda Time's [`ISODateTimeFormat.dateTime()`]( - http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() - ) to obtain a formatter capable of generating timestamps in this format. - :param provider: - :param auth_value: - :param auth_value_extra: - :param auth_type: - :param http_basic_auth: - :param body: - :param content_type: - :param test_url: - :param name: - :param retries: Override the default retry configuration for this method - :param server_url: Override the default server URL for this method - :param timeout_ms: Override the default request timeout configuration for this method in milliseconds - :param http_headers: Additional headers to set or replace on requests. - """ - base_url = None - url_variables = None - if timeout_ms is None: - timeout_ms = self.sdk_configuration.timeout_ms - - if server_url is not None: - base_url = server_url - else: - base_url = self._get_url(base_url, url_variables) - - request = models.SecretServiceUpsertAPIAccessKeyRequest( - connect_timeout_ms=connect_timeout_ms, - body=models.TextqlRPCPublicSecretUpsertAPIAccessKeyRequest( - ref=utils.get_pydantic_model( - ref, Optional[models.TextqlRPCPublicSecretAPIAccessRef] - ), - persist_to_db=persist_to_db, - hosts=utils.unmarshal(hosts, Optional[List[str]]), - headers=utils.unmarshal(headers, Optional[Dict[str, str]]), - query_params=utils.unmarshal(query_params, Optional[Dict[str, str]]), - description=description, - expires_at=expires_at, - provider=provider, - auth_value=auth_value, - auth_value_extra=auth_value_extra, - auth_type=auth_type, - http_basic_auth=utils.get_pydantic_model( - http_basic_auth, Optional[models.TextqlRPCPublicSecretHTTPBasicAuth] - ), - body=utils.unmarshal(body, Optional[Dict[str, str]]), - content_type=content_type, - test_url=test_url, - name=name, - ), - ) - - req = self._build_request_async( - method="POST", - path="/textql.rpc.public.secret.SecretService/UpsertApiAccessKey", - base_url=base_url, - url_variables=url_variables, - request=request, - request_body_required=True, - request_has_path_params=False, - request_has_query_params=True, - user_agent_header="user-agent", - accept_header_value="application/json", - http_headers=http_headers, - security=self.sdk_configuration.security, - get_serialized_body=lambda: utils.serialize_request_body( - request.body, - False, - False, - "json", - models.TextqlRPCPublicSecretUpsertAPIAccessKeyRequest, - ), - allow_empty_value=None, - timeout_ms=timeout_ms, - ) - - if retries == UNSET: - if self.sdk_configuration.retry_config is not UNSET: - retries = self.sdk_configuration.retry_config - - retry_config = None - if isinstance(retries, utils.RetryConfig): - retry_config = (retries, ["429", "500", "502", "503", "504"]) - - http_res = await self.do_request_async( - hook_ctx=HookContext( - config=self.sdk_configuration, - base_url=base_url or "", - operation_id="SecretService_UpsertApiAccessKey", - oauth2_scopes=None, - security_source=get_security_from_env( - self.sdk_configuration.security, models.Security - ), - tags=["SecretService"], - extensions=None, - ), - request=req, - is_error_status_code=lambda c: utils.match_status_codes(["4XX", "5XX"], c), - retry_config=retry_config, - ) - - if utils.match_response(http_res, "200", "application/json"): - return unmarshal_json_response( - models.TextqlRPCPublicSecretUpsertAPIAccessKeyResponse, http_res - ) - if utils.match_response(http_res, "4XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "5XX", "*"): - http_res_text = await utils.stream_to_text_async(http_res) - raise errors.TextqlDefaultError( - "API error occurred", http_res, http_res_text - ) - if utils.match_response(http_res, "default", "application/json"): - return unmarshal_json_response(models.ConnectError, http_res) - - raise errors.TextqlDefaultError("Unexpected response received", http_res) diff --git a/uv.lock b/uv.lock index 1ace2ae..1350b71 100644 --- a/uv.lock +++ b/uv.lock @@ -377,7 +377,7 @@ wheels = [ [[package]] name = "textql-sdk" -version = "1.0.0" +version = "1.0.1" source = { editable = "." } dependencies = [ { name = "httpcore" },