@censys/platform-sdk 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -13
- package/docs/sdks/accountmanagement/README.md +113 -9
- package/docs/sdks/collections/README.md +22 -14
- package/docs/sdks/globaldata/README.md +27 -14
- package/docs/sdks/threathunting/README.md +11 -6
- package/examples/package-lock.json +3 -3
- package/funcs/accountManagementGetMemberCreditUsage.d.ts +2 -2
- package/funcs/accountManagementGetMemberCreditUsage.js +8 -3
- package/funcs/accountManagementGetMemberCreditUsage.js.map +1 -1
- package/funcs/accountManagementGetOrganizationCreditUsage.d.ts +1 -1
- package/funcs/accountManagementGetOrganizationCreditUsage.js +8 -2
- package/funcs/accountManagementGetOrganizationCreditUsage.js.map +1 -1
- package/funcs/accountManagementGetOrganizationCredits.d.ts +1 -1
- package/funcs/accountManagementGetOrganizationCredits.js +4 -2
- package/funcs/accountManagementGetOrganizationCredits.js.map +1 -1
- package/funcs/accountManagementGetOrganizationDetails.js +3 -1
- package/funcs/accountManagementGetOrganizationDetails.js.map +1 -1
- package/funcs/accountManagementGetUserCredits.d.ts +2 -2
- package/funcs/accountManagementGetUserCredits.js +5 -3
- package/funcs/accountManagementGetUserCredits.js.map +1 -1
- package/funcs/accountManagementGetUserCreditsUsage.d.ts +18 -0
- package/funcs/accountManagementGetUserCreditsUsage.d.ts.map +1 -0
- package/funcs/accountManagementGetUserCreditsUsage.js +131 -0
- package/funcs/accountManagementGetUserCreditsUsage.js.map +1 -0
- package/funcs/accountManagementInviteUserToOrganization.js +4 -2
- package/funcs/accountManagementInviteUserToOrganization.js.map +1 -1
- package/funcs/accountManagementListOrganizationMembers.js +4 -2
- package/funcs/accountManagementListOrganizationMembers.js.map +1 -1
- package/funcs/accountManagementRemoveOrganizationMember.js +3 -1
- package/funcs/accountManagementRemoveOrganizationMember.js.map +1 -1
- package/funcs/accountManagementUpdateOrganizationMember.js +4 -2
- package/funcs/accountManagementUpdateOrganizationMember.js.map +1 -1
- package/funcs/collectionsAggregate.js +4 -2
- package/funcs/collectionsAggregate.js.map +1 -1
- package/funcs/collectionsCreate.d.ts +1 -1
- package/funcs/collectionsCreate.js +5 -3
- package/funcs/collectionsCreate.js.map +1 -1
- package/funcs/collectionsDelete.d.ts +1 -1
- package/funcs/collectionsDelete.js +5 -3
- package/funcs/collectionsDelete.js.map +1 -1
- package/funcs/collectionsGet.d.ts +1 -1
- package/funcs/collectionsGet.js +5 -3
- package/funcs/collectionsGet.js.map +1 -1
- package/funcs/collectionsList.d.ts +1 -1
- package/funcs/collectionsList.js +5 -3
- package/funcs/collectionsList.js.map +1 -1
- package/funcs/collectionsListEvents.d.ts +1 -1
- package/funcs/collectionsListEvents.js +5 -3
- package/funcs/collectionsListEvents.js.map +1 -1
- package/funcs/collectionsSearch.js +4 -2
- package/funcs/collectionsSearch.js.map +1 -1
- package/funcs/collectionsUpdate.d.ts +1 -1
- package/funcs/collectionsUpdate.js +5 -3
- package/funcs/collectionsUpdate.js.map +1 -1
- package/funcs/globalDataAggregate.js +4 -2
- package/funcs/globalDataAggregate.js.map +1 -1
- package/funcs/globalDataConvertLegacySearchQueries.js +2 -2
- package/funcs/globalDataConvertLegacySearchQueries.js.map +1 -1
- package/funcs/globalDataCreateTrackedScan.js +4 -2
- package/funcs/globalDataCreateTrackedScan.js.map +1 -1
- package/funcs/globalDataGetCertificate.js +4 -2
- package/funcs/globalDataGetCertificate.js.map +1 -1
- package/funcs/globalDataGetCertificateRaw.js +4 -2
- package/funcs/globalDataGetCertificateRaw.js.map +1 -1
- package/funcs/globalDataGetCertificates.js +4 -2
- package/funcs/globalDataGetCertificates.js.map +1 -1
- package/funcs/globalDataGetCertificatesRaw.js +4 -2
- package/funcs/globalDataGetCertificatesRaw.js.map +1 -1
- package/funcs/globalDataGetHost.js +4 -2
- package/funcs/globalDataGetHost.js.map +1 -1
- package/funcs/globalDataGetHostTimeline.js +4 -2
- package/funcs/globalDataGetHostTimeline.js.map +1 -1
- package/funcs/globalDataGetHosts.js +4 -2
- package/funcs/globalDataGetHosts.js.map +1 -1
- package/funcs/globalDataGetTrackedScan.js +4 -2
- package/funcs/globalDataGetTrackedScan.js.map +1 -1
- package/funcs/globalDataGetWebProperties.js +4 -2
- package/funcs/globalDataGetWebProperties.js.map +1 -1
- package/funcs/globalDataGetWebProperty.js +4 -2
- package/funcs/globalDataGetWebProperty.js.map +1 -1
- package/funcs/globalDataSearch.js +4 -2
- package/funcs/globalDataSearch.js.map +1 -1
- package/funcs/threatHuntingCreateTrackedScan.js +4 -2
- package/funcs/threatHuntingCreateTrackedScan.js.map +1 -1
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js +4 -2
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js.map +1 -1
- package/funcs/threatHuntingGetTrackedScanThreatHunting.js +4 -2
- package/funcs/threatHuntingGetTrackedScanThreatHunting.js.map +1 -1
- package/funcs/threatHuntingListThreats.d.ts +1 -1
- package/funcs/threatHuntingListThreats.js +5 -3
- package/funcs/threatHuntingListThreats.js.map +1 -1
- package/funcs/threatHuntingValueCounts.js +4 -2
- package/funcs/threatHuntingValueCounts.js.map +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/config.js.map +1 -1
- package/lib/sdks.js +2 -2
- package/lib/sdks.js.map +1 -1
- package/models/components/alternativequery.d.ts +3 -3
- package/models/components/alternativequery.d.ts.map +1 -1
- package/models/components/alternativequery.js +2 -2
- package/models/components/alternativequery.js.map +1 -1
- package/models/components/attribute.d.ts +4 -3
- package/models/components/attribute.d.ts.map +1 -1
- package/models/components/attribute.js +3 -2
- package/models/components/attribute.js.map +1 -1
- package/models/components/certificate.d.ts +5 -5
- package/models/components/certificate.d.ts.map +1 -1
- package/models/components/certificate.js +3 -3
- package/models/components/certificate.js.map +1 -1
- package/models/components/certificaterevocationrevocationinfo.d.ts +3 -3
- package/models/components/certificaterevocationrevocationinfo.d.ts.map +1 -1
- package/models/components/certificaterevocationrevocationinfo.js +2 -2
- package/models/components/certificaterevocationrevocationinfo.js.map +1 -1
- package/models/components/collection.d.ts +9 -5
- package/models/components/collection.d.ts.map +1 -1
- package/models/components/collection.js +5 -2
- package/models/components/collection.js.map +1 -1
- package/models/components/creditexpiration.d.ts +4 -0
- package/models/components/creditexpiration.d.ts.map +1 -1
- package/models/components/creditexpiration.js +2 -0
- package/models/components/creditexpiration.js.map +1 -1
- package/models/components/creditusagereport.d.ts +44 -5
- package/models/components/creditusagereport.d.ts.map +1 -1
- package/models/components/creditusagereport.js +28 -7
- package/models/components/creditusagereport.js.map +1 -1
- package/models/components/creditusagereportperiod.d.ts +33 -0
- package/models/components/creditusagereportperiod.d.ts.map +1 -0
- package/models/components/creditusagereportperiod.js +65 -0
- package/models/components/creditusagereportperiod.js.map +1 -0
- package/models/components/cvsscomponents.d.ts +17 -17
- package/models/components/cvsscomponents.d.ts.map +1 -1
- package/models/components/cvsscomponents.js +9 -9
- package/models/components/cvsscomponents.js.map +1 -1
- package/models/components/cvssv4components.d.ts +29 -29
- package/models/components/cvssv4components.d.ts.map +1 -1
- package/models/components/cvssv4components.js +15 -17
- package/models/components/cvssv4components.js.map +1 -1
- package/models/components/dns.d.ts +5 -5
- package/models/components/dns.d.ts.map +1 -1
- package/models/components/dns.js +3 -3
- package/models/components/dns.js.map +1 -1
- package/models/components/dnsresourcerecord.d.ts +3 -3
- package/models/components/dnsresourcerecord.d.ts.map +1 -1
- package/models/components/dnsresourcerecord.js +2 -1
- package/models/components/dnsresourcerecord.js.map +1 -1
- package/models/components/endpointscan.d.ts +3 -3
- package/models/components/endpointscan.d.ts.map +1 -1
- package/models/components/endpointscan.js +2 -1
- package/models/components/endpointscan.js.map +1 -1
- package/models/components/endpointscanstate.d.ts +5 -3
- package/models/components/endpointscanstate.d.ts.map +1 -1
- package/models/components/endpointscanstate.js +4 -1
- package/models/components/endpointscanstate.js.map +1 -1
- package/models/components/eventassetchange.d.ts +3 -3
- package/models/components/eventassetchange.d.ts.map +1 -1
- package/models/components/eventassetchange.js +2 -2
- package/models/components/eventassetchange.js.map +1 -1
- package/models/components/eventstatuschange.d.ts +5 -5
- package/models/components/eventstatuschange.d.ts.map +1 -1
- package/models/components/eventstatuschange.js +3 -4
- package/models/components/eventstatuschange.js.map +1 -1
- package/models/components/extractedendpointdata.d.ts +17 -0
- package/models/components/extractedendpointdata.d.ts.map +1 -0
- package/models/components/extractedendpointdata.js +65 -0
- package/models/components/extractedendpointdata.js.map +1 -0
- package/models/components/extractedendpointdataanalyticsservice.d.ts +11 -0
- package/models/components/extractedendpointdataanalyticsservice.d.ts.map +1 -0
- package/models/components/extractedendpointdataanalyticsservice.js +51 -0
- package/models/components/extractedendpointdataanalyticsservice.js.map +1 -0
- package/models/components/extractedendpointdatacopyright.d.ts +13 -0
- package/models/components/extractedendpointdatacopyright.d.ts.map +1 -0
- package/models/components/extractedendpointdatacopyright.js +59 -0
- package/models/components/extractedendpointdatacopyright.js.map +1 -0
- package/models/components/flashsocketpolicy.d.ts +13 -0
- package/models/components/flashsocketpolicy.d.ts.map +1 -0
- package/models/components/flashsocketpolicy.js +59 -0
- package/models/components/flashsocketpolicy.js.map +1 -0
- package/models/components/flashsocketpolicyallowaccessfrom.d.ts +12 -0
- package/models/components/flashsocketpolicyallowaccessfrom.d.ts.map +1 -0
- package/models/components/flashsocketpolicyallowaccessfrom.js +57 -0
- package/models/components/flashsocketpolicyallowaccessfrom.js.map +1 -0
- package/models/components/gemini.d.ts +13 -0
- package/models/components/gemini.d.ts.map +1 -0
- package/models/components/gemini.js +60 -0
- package/models/components/gemini.js.map +1 -0
- package/models/components/greynoise.d.ts +22 -0
- package/models/components/greynoise.d.ts.map +1 -0
- package/models/components/greynoise.js +53 -0
- package/models/components/greynoise.js.map +1 -0
- package/models/components/greynoisetag.d.ts +13 -0
- package/models/components/greynoisetag.d.ts.map +1 -0
- package/models/components/greynoisetag.js +50 -0
- package/models/components/greynoisetag.js.map +1 -0
- package/models/components/hajime.d.ts +10 -0
- package/models/components/hajime.d.ts.map +1 -0
- package/models/components/hajime.js +56 -0
- package/models/components/hajime.js.map +1 -0
- package/models/components/host.d.ts +2 -0
- package/models/components/host.d.ts.map +1 -1
- package/models/components/host.js +2 -0
- package/models/components/host.js.map +1 -1
- package/models/components/hostdnsforwardresolution.d.ts +3 -3
- package/models/components/hostdnsforwardresolution.d.ts.map +1 -1
- package/models/components/hostdnsforwardresolution.js +2 -2
- package/models/components/hostdnsforwardresolution.js.map +1 -1
- package/models/components/http.d.ts +7 -0
- package/models/components/http.d.ts.map +1 -1
- package/models/components/http.js +7 -0
- package/models/components/http.js.map +1 -1
- package/models/components/httpredirectchainlink.d.ts +26 -0
- package/models/components/httpredirectchainlink.d.ts.map +1 -0
- package/models/components/httpredirectchainlink.js +71 -0
- package/models/components/httpredirectchainlink.js.map +1 -0
- package/models/components/index.d.ts +26 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +26 -0
- package/models/components/index.js.map +1 -1
- package/models/components/jarmscan.d.ts +3 -3
- package/models/components/jarmscan.d.ts.map +1 -1
- package/models/components/jarmscan.js +2 -1
- package/models/components/jarmscan.js.map +1 -1
- package/models/components/kev.d.ts +3 -3
- package/models/components/kev.d.ts.map +1 -1
- package/models/components/kev.js +2 -2
- package/models/components/kev.js.map +1 -1
- package/models/components/label.d.ts +4 -3
- package/models/components/label.d.ts.map +1 -1
- package/models/components/label.js +3 -2
- package/models/components/label.js.map +1 -1
- package/models/components/matchedservice.d.ts +3 -3
- package/models/components/matchedservice.d.ts.map +1 -1
- package/models/components/matchedservice.js +2 -1
- package/models/components/matchedservice.js.map +1 -1
- package/models/components/mavlink.d.ts +12 -0
- package/models/components/mavlink.d.ts.map +1 -0
- package/models/components/mavlink.js +57 -0
- package/models/components/mavlink.js.map +1 -0
- package/models/components/mavlinkframe.d.ts +15 -0
- package/models/components/mavlinkframe.d.ts.map +1 -0
- package/models/components/mavlinkframe.js +63 -0
- package/models/components/mavlinkframe.js.map +1 -0
- package/models/components/melsec.d.ts +10 -0
- package/models/components/melsec.d.ts.map +1 -0
- package/models/components/melsec.js +56 -0
- package/models/components/melsec.js.map +1 -0
- package/models/components/memberlist.d.ts +15 -0
- package/models/components/memberlist.d.ts.map +1 -0
- package/models/components/memberlist.js +62 -0
- package/models/components/memberlist.js.map +1 -0
- package/models/components/memberlistnodeinfo.d.ts +16 -0
- package/models/components/memberlistnodeinfo.d.ts.map +1 -0
- package/models/components/memberlistnodeinfo.js +62 -0
- package/models/components/memberlistnodeinfo.js.map +1 -0
- package/models/components/networklog.d.ts +18 -0
- package/models/components/networklog.d.ts.map +1 -0
- package/models/components/networklog.js +58 -0
- package/models/components/networklog.js.map +1 -0
- package/models/components/networklogresourceinfo.d.ts +49 -0
- package/models/components/networklogresourceinfo.d.ts.map +1 -0
- package/models/components/networklogresourceinfo.js +64 -0
- package/models/components/networklogresourceinfo.js.map +1 -0
- package/models/components/paginationinfo.d.ts +1 -1
- package/models/components/reject.d.ts +3 -3
- package/models/components/reject.d.ts.map +1 -1
- package/models/components/reject.js +2 -2
- package/models/components/reject.js.map +1 -1
- package/models/components/representativeinfo.d.ts +3 -3
- package/models/components/representativeinfo.d.ts.map +1 -1
- package/models/components/representativeinfo.js +2 -1
- package/models/components/representativeinfo.js.map +1 -1
- package/models/components/risk.d.ts +8 -7
- package/models/components/risk.d.ts.map +1 -1
- package/models/components/risk.js +5 -6
- package/models/components/risk.js.map +1 -1
- package/models/components/rootstore.d.ts +3 -3
- package/models/components/rootstore.d.ts.map +1 -1
- package/models/components/rootstore.js +2 -1
- package/models/components/rootstore.js.map +1 -1
- package/models/components/routerosapi.d.ts +12 -0
- package/models/components/routerosapi.d.ts.map +1 -0
- package/models/components/routerosapi.js +58 -0
- package/models/components/routerosapi.js.map +1 -0
- package/models/components/rustdeskheartbeat.d.ts +12 -0
- package/models/components/rustdeskheartbeat.d.ts.map +1 -0
- package/models/components/rustdeskheartbeat.js +59 -0
- package/models/components/rustdeskheartbeat.js.map +1 -0
- package/models/components/rustdeskheartbeatregisterpeerresponse.d.ts +10 -0
- package/models/components/rustdeskheartbeatregisterpeerresponse.d.ts.map +1 -0
- package/models/components/rustdeskheartbeatregisterpeerresponse.js +55 -0
- package/models/components/rustdeskheartbeatregisterpeerresponse.js.map +1 -0
- package/models/components/rustdeskrelay.d.ts +10 -0
- package/models/components/rustdeskrelay.d.ts.map +1 -0
- package/models/components/rustdeskrelay.js +55 -0
- package/models/components/rustdeskrelay.js.map +1 -0
- package/models/components/rustdeskrendezvous.d.ts +14 -0
- package/models/components/rustdeskrendezvous.d.ts.map +1 -0
- package/models/components/rustdeskrendezvous.js +61 -0
- package/models/components/rustdeskrendezvous.js.map +1 -0
- package/models/components/rustdeskrendezvousconfigupdate.d.ts +11 -0
- package/models/components/rustdeskrendezvousconfigupdate.d.ts.map +1 -0
- package/models/components/rustdeskrendezvousconfigupdate.js +56 -0
- package/models/components/rustdeskrendezvousconfigupdate.js.map +1 -0
- package/models/components/rustdeskrendezvouskeyexchange.d.ts +10 -0
- package/models/components/rustdeskrendezvouskeyexchange.d.ts.map +1 -0
- package/models/components/rustdeskrendezvouskeyexchange.js +50 -0
- package/models/components/rustdeskrendezvouskeyexchange.js.map +1 -0
- package/models/components/rustdeskrendezvoustestnatresponse.d.ts +12 -0
- package/models/components/rustdeskrendezvoustestnatresponse.d.ts.map +1 -0
- package/models/components/rustdeskrendezvoustestnatresponse.js +57 -0
- package/models/components/rustdeskrendezvoustestnatresponse.js.map +1 -0
- package/models/components/screenshot.d.ts +1 -0
- package/models/components/screenshot.d.ts.map +1 -1
- package/models/components/screenshot.js +1 -0
- package/models/components/screenshot.js.map +1 -1
- package/models/components/searchconvertqueryresponse.d.ts +3 -3
- package/models/components/searchconvertqueryresponse.d.ts.map +1 -1
- package/models/components/searchconvertqueryresponse.js +2 -1
- package/models/components/searchconvertqueryresponse.js.map +1 -1
- package/models/components/searchqueryinputbody.d.ts +1 -1
- package/models/components/service.d.ts +23 -3
- package/models/components/service.d.ts.map +1 -1
- package/models/components/service.js +27 -1
- package/models/components/service.js.map +1 -1
- package/models/components/serviceid.d.ts +3 -3
- package/models/components/serviceid.d.ts.map +1 -1
- package/models/components/serviceid.js +2 -1
- package/models/components/serviceid.js.map +1 -1
- package/models/components/servicescan.d.ts +23 -3
- package/models/components/servicescan.d.ts.map +1 -1
- package/models/components/servicescan.js +27 -1
- package/models/components/servicescan.js.map +1 -1
- package/models/components/sourceusagebreakdown.d.ts +9 -1
- package/models/components/sourceusagebreakdown.d.ts.map +1 -1
- package/models/components/sourceusagebreakdown.js +7 -0
- package/models/components/sourceusagebreakdown.js.map +1 -1
- package/models/components/threat.d.ts +4 -3
- package/models/components/threat.d.ts.map +1 -1
- package/models/components/threat.js +3 -1
- package/models/components/threat.js.map +1 -1
- package/models/components/tls.d.ts +3 -3
- package/models/components/tls.d.ts.map +1 -1
- package/models/components/tls.js +2 -1
- package/models/components/tls.js.map +1 -1
- package/models/components/tlsversiondata.d.ts +3 -3
- package/models/components/tlsversiondata.d.ts.map +1 -1
- package/models/components/tlsversiondata.js +2 -2
- package/models/components/tlsversiondata.js.map +1 -1
- package/models/components/trackedscantask.d.ts +3 -3
- package/models/components/trackedscantask.d.ts.map +1 -1
- package/models/components/trackedscantask.js +2 -1
- package/models/components/trackedscantask.js.map +1 -1
- package/models/components/vuln.d.ts +8 -7
- package/models/components/vuln.d.ts.map +1 -1
- package/models/components/vuln.js +5 -4
- package/models/components/vuln.js.map +1 -1
- package/models/operations/index.d.ts +1 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +1 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3accountmanagementmembercreditsusage.d.ts +33 -3
- package/models/operations/v3accountmanagementmembercreditsusage.d.ts.map +1 -1
- package/models/operations/v3accountmanagementmembercreditsusage.js +17 -2
- package/models/operations/v3accountmanagementmembercreditsusage.js.map +1 -1
- package/models/operations/v3accountmanagementorgcreditsusage.d.ts +38 -3
- package/models/operations/v3accountmanagementorgcreditsusage.d.ts.map +1 -1
- package/models/operations/v3accountmanagementorgcreditsusage.js +20 -2
- package/models/operations/v3accountmanagementorgcreditsusage.js.map +1 -1
- package/models/operations/v3accountmanagementusercreditsusage.d.ts +57 -0
- package/models/operations/v3accountmanagementusercreditsusage.d.ts.map +1 -0
- package/models/operations/v3accountmanagementusercreditsusage.js +85 -0
- package/models/operations/v3accountmanagementusercreditsusage.js.map +1 -0
- package/package.json +3 -3
- package/sdk/accountmanagement.d.ts +13 -6
- package/sdk/accountmanagement.d.ts.map +1 -1
- package/sdk/accountmanagement.js +16 -6
- package/sdk/accountmanagement.js.map +1 -1
- package/sdk/collections.d.ts +6 -6
- package/sdk/collections.js +6 -6
- package/sdk/threathunting.d.ts +1 -1
- package/sdk/threathunting.js +1 -1
- package/src/funcs/accountManagementGetMemberCreditUsage.ts +9 -3
- package/src/funcs/accountManagementGetOrganizationCreditUsage.ts +9 -2
- package/src/funcs/accountManagementGetOrganizationCredits.ts +5 -2
- package/src/funcs/accountManagementGetOrganizationDetails.ts +4 -1
- package/src/funcs/accountManagementGetUserCredits.ts +6 -3
- package/src/funcs/accountManagementGetUserCreditsUsage.ts +193 -0
- package/src/funcs/accountManagementInviteUserToOrganization.ts +5 -2
- package/src/funcs/accountManagementListOrganizationMembers.ts +5 -2
- package/src/funcs/accountManagementRemoveOrganizationMember.ts +4 -1
- package/src/funcs/accountManagementUpdateOrganizationMember.ts +5 -2
- package/src/funcs/collectionsAggregate.ts +5 -2
- package/src/funcs/collectionsCreate.ts +6 -3
- package/src/funcs/collectionsDelete.ts +6 -3
- package/src/funcs/collectionsGet.ts +6 -3
- package/src/funcs/collectionsList.ts +6 -3
- package/src/funcs/collectionsListEvents.ts +6 -3
- package/src/funcs/collectionsSearch.ts +5 -2
- package/src/funcs/collectionsUpdate.ts +6 -3
- package/src/funcs/globalDataAggregate.ts +5 -2
- package/src/funcs/globalDataConvertLegacySearchQueries.ts +2 -2
- package/src/funcs/globalDataCreateTrackedScan.ts +5 -2
- package/src/funcs/globalDataGetCertificate.ts +5 -2
- package/src/funcs/globalDataGetCertificateRaw.ts +5 -2
- package/src/funcs/globalDataGetCertificates.ts +5 -2
- package/src/funcs/globalDataGetCertificatesRaw.ts +5 -2
- package/src/funcs/globalDataGetHost.ts +5 -2
- package/src/funcs/globalDataGetHostTimeline.ts +5 -2
- package/src/funcs/globalDataGetHosts.ts +5 -2
- package/src/funcs/globalDataGetTrackedScan.ts +5 -2
- package/src/funcs/globalDataGetWebProperties.ts +5 -2
- package/src/funcs/globalDataGetWebProperty.ts +5 -2
- package/src/funcs/globalDataSearch.ts +5 -2
- package/src/funcs/threatHuntingCreateTrackedScan.ts +5 -2
- package/src/funcs/threatHuntingGetHostObservationsWithCertificate.ts +5 -2
- package/src/funcs/threatHuntingGetTrackedScanThreatHunting.ts +5 -2
- package/src/funcs/threatHuntingListThreats.ts +6 -3
- package/src/funcs/threatHuntingValueCounts.ts +5 -2
- package/src/lib/config.ts +4 -4
- package/src/lib/sdks.ts +2 -2
- package/src/models/components/alternativequery.ts +5 -4
- package/src/models/components/attribute.ts +6 -4
- package/src/models/components/certificate.ts +14 -8
- package/src/models/components/certificaterevocationrevocationinfo.ts +5 -4
- package/src/models/components/collection.ts +20 -8
- package/src/models/components/creditexpiration.ts +6 -0
- package/src/models/components/creditusagereport.ts +70 -11
- package/src/models/components/creditusagereportperiod.ts +69 -0
- package/src/models/components/cvsscomponents.ts +47 -30
- package/src/models/components/cvssv4components.ts +83 -53
- package/src/models/components/dns.ts +11 -8
- package/src/models/components/dnsresourcerecord.ts +8 -5
- package/src/models/components/endpointscan.ts +8 -5
- package/src/models/components/endpointscanstate.ts +14 -5
- package/src/models/components/eventassetchange.ts +8 -4
- package/src/models/components/eventstatuschange.ts +14 -7
- package/src/models/components/extractedendpointdata.ts +62 -0
- package/src/models/components/extractedendpointdataanalyticsservice.ts +34 -0
- package/src/models/components/extractedendpointdatacopyright.ts +43 -0
- package/src/models/components/flashsocketpolicy.ts +47 -0
- package/src/models/components/flashsocketpolicyallowaccessfrom.ts +40 -0
- package/src/models/components/gemini.ts +40 -0
- package/src/models/components/greynoise.ts +45 -0
- package/src/models/components/greynoisetag.ts +34 -0
- package/src/models/components/hajime.ts +33 -0
- package/src/models/components/host.ts +3 -0
- package/src/models/components/hostdnsforwardresolution.ts +8 -4
- package/src/models/components/http.ts +15 -0
- package/src/models/components/httpredirectchainlink.ts +67 -0
- package/src/models/components/index.ts +26 -0
- package/src/models/components/jarmscan.ts +8 -5
- package/src/models/components/kev.ts +8 -4
- package/src/models/components/label.ts +9 -4
- package/src/models/components/matchedservice.ts +8 -5
- package/src/models/components/mavlink.ts +36 -0
- package/src/models/components/mavlinkframe.ts +49 -0
- package/src/models/components/melsec.ts +33 -0
- package/src/models/components/memberlist.ts +50 -0
- package/src/models/components/memberlistnodeinfo.ts +49 -0
- package/src/models/components/networklog.ts +49 -0
- package/src/models/components/networklogresourceinfo.ts +84 -0
- package/src/models/components/paginationinfo.ts +1 -1
- package/src/models/components/reject.ts +8 -4
- package/src/models/components/representativeinfo.ts +8 -5
- package/src/models/components/risk.ts +21 -10
- package/src/models/components/rootstore.ts +5 -5
- package/src/models/components/routerosapi.ts +41 -0
- package/src/models/components/rustdeskheartbeat.ts +44 -0
- package/src/models/components/rustdeskheartbeatregisterpeerresponse.ts +37 -0
- package/src/models/components/rustdeskrelay.ts +36 -0
- package/src/models/components/rustdeskrendezvous.ts +50 -0
- package/src/models/components/rustdeskrendezvousconfigupdate.ts +38 -0
- package/src/models/components/rustdeskrendezvouskeyexchange.ts +31 -0
- package/src/models/components/rustdeskrendezvoustestnatresponse.ts +42 -0
- package/src/models/components/screenshot.ts +2 -0
- package/src/models/components/searchconvertqueryresponse.ts +8 -5
- package/src/models/components/searchqueryinputbody.ts +1 -1
- package/src/models/components/service.ts +52 -5
- package/src/models/components/serviceid.ts +8 -5
- package/src/models/components/servicescan.ts +52 -5
- package/src/models/components/sourceusagebreakdown.ts +16 -1
- package/src/models/components/threat.ts +9 -4
- package/src/models/components/tls.ts +8 -5
- package/src/models/components/tlsversiondata.ts +5 -4
- package/src/models/components/trackedscantask.ts +8 -5
- package/src/models/components/vuln.ts +21 -11
- package/src/models/operations/index.ts +1 -0
- package/src/models/operations/v3accountmanagementmembercreditsusage.ts +43 -4
- package/src/models/operations/v3accountmanagementorgcreditsusage.ts +49 -4
- package/src/models/operations/v3accountmanagementusercreditsusage.ts +128 -0
- package/src/sdk/accountmanagement.ts +24 -6
- package/src/sdk/collections.ts +6 -6
- package/src/sdk/threathunting.ts +1 -1
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
|
|
153
153
|
const doResult = await client._do(req, {
|
|
154
154
|
context,
|
|
155
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
155
|
+
errorCodes: ["401", "403", "404", "422", "4XX", "500", "5XX"],
|
|
156
156
|
retryConfig: context.retryConfig,
|
|
157
157
|
retryCodes: context.retryCodes,
|
|
158
158
|
});
|
|
@@ -184,7 +184,10 @@ async function $do(
|
|
|
184
184
|
{ hdrs: true, key: "Result" },
|
|
185
185
|
),
|
|
186
186
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
187
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
187
|
+
M.jsonErr([403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
190
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
188
191
|
ctype: "application/problem+json",
|
|
189
192
|
}),
|
|
190
193
|
M.fail("4XX"),
|
|
@@ -160,7 +160,7 @@ async function $do(
|
|
|
160
160
|
|
|
161
161
|
const doResult = await client._do(req, {
|
|
162
162
|
context,
|
|
163
|
-
errorCodes: ["401", "403", "404", "409", "422", "4XX", "5XX"],
|
|
163
|
+
errorCodes: ["401", "403", "404", "409", "422", "4XX", "500", "5XX"],
|
|
164
164
|
retryConfig: context.retryConfig,
|
|
165
165
|
retryCodes: context.retryCodes,
|
|
166
166
|
});
|
|
@@ -196,6 +196,9 @@ async function $do(
|
|
|
196
196
|
M.jsonErr([403, 404, 409, 422], errors.ErrorModel$inboundSchema, {
|
|
197
197
|
ctype: "application/problem+json",
|
|
198
198
|
}),
|
|
199
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
200
|
+
ctype: "application/problem+json",
|
|
201
|
+
}),
|
|
199
202
|
M.fail("4XX"),
|
|
200
203
|
M.fail("5XX"),
|
|
201
204
|
)(response, req, { extraFields: responseFields });
|
|
@@ -163,7 +163,7 @@ async function $do(
|
|
|
163
163
|
|
|
164
164
|
const doResult = await client._do(req, {
|
|
165
165
|
context,
|
|
166
|
-
errorCodes: ["400", "401", "403", "404", "422", "4XX", "5XX"],
|
|
166
|
+
errorCodes: ["400", "401", "403", "404", "409", "422", "4XX", "500", "5XX"],
|
|
167
167
|
retryConfig: context.retryConfig,
|
|
168
168
|
retryCodes: context.retryCodes,
|
|
169
169
|
});
|
|
@@ -196,7 +196,10 @@ async function $do(
|
|
|
196
196
|
{ hdrs: true },
|
|
197
197
|
),
|
|
198
198
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
199
|
-
M.jsonErr([400, 403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
199
|
+
M.jsonErr([400, 403, 404, 409, 422], errors.ErrorModel$inboundSchema, {
|
|
200
|
+
ctype: "application/problem+json",
|
|
201
|
+
}),
|
|
202
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
200
203
|
ctype: "application/problem+json",
|
|
201
204
|
}),
|
|
202
205
|
M.fail("4XX"),
|
|
@@ -155,7 +155,7 @@ async function $do(
|
|
|
155
155
|
|
|
156
156
|
const doResult = await client._do(req, {
|
|
157
157
|
context,
|
|
158
|
-
errorCodes: ["401", "403", "404", "422", "4XX", "5XX"],
|
|
158
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
|
159
159
|
retryConfig: context.retryConfig,
|
|
160
160
|
retryCodes: context.retryCodes,
|
|
161
161
|
});
|
|
@@ -186,7 +186,10 @@ async function $do(
|
|
|
186
186
|
key: "Result",
|
|
187
187
|
}),
|
|
188
188
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
189
|
-
M.jsonErr([403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
189
|
+
M.jsonErr([400, 403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
190
|
+
ctype: "application/problem+json",
|
|
191
|
+
}),
|
|
192
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
190
193
|
ctype: "application/problem+json",
|
|
191
194
|
}),
|
|
192
195
|
M.fail("4XX"),
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Create a collection
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Create a new collection.
|
|
32
|
+
* Create a new collection.<br><br>This endpoint does not cost credits to execute.
|
|
33
33
|
*/
|
|
34
34
|
export function collectionsCreate(
|
|
35
35
|
client: SDKCore,
|
|
@@ -144,7 +144,7 @@ async function $do(
|
|
|
144
144
|
|
|
145
145
|
const doResult = await client._do(req, {
|
|
146
146
|
context,
|
|
147
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
147
|
+
errorCodes: ["400", "401", "403", "409", "412", "422", "4XX", "500", "5XX"],
|
|
148
148
|
retryConfig: context.retryConfig,
|
|
149
149
|
retryCodes: context.retryCodes,
|
|
150
150
|
});
|
|
@@ -175,7 +175,10 @@ async function $do(
|
|
|
175
175
|
key: "Result",
|
|
176
176
|
}),
|
|
177
177
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
178
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 403, 409, 412, 422], errors.ErrorModel$inboundSchema, {
|
|
179
|
+
ctype: "application/problem+json",
|
|
180
|
+
}),
|
|
181
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
179
182
|
ctype: "application/problem+json",
|
|
180
183
|
}),
|
|
181
184
|
M.fail("4XX"),
|
|
@@ -34,7 +34,7 @@ export enum DeleteAcceptEnum {
|
|
|
34
34
|
* Delete a collection
|
|
35
35
|
*
|
|
36
36
|
* @remarks
|
|
37
|
-
* Delete a collection.
|
|
37
|
+
* Delete a collection.<br><br>This endpoint does not cost credits to execute.
|
|
38
38
|
*/
|
|
39
39
|
export function collectionsDelete(
|
|
40
40
|
client: SDKCore,
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
|
|
155
155
|
const doResult = await client._do(req, {
|
|
156
156
|
context,
|
|
157
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
157
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
158
158
|
retryConfig: context.retryConfig,
|
|
159
159
|
retryCodes: context.retryCodes,
|
|
160
160
|
});
|
|
@@ -186,7 +186,10 @@ async function $do(
|
|
|
186
186
|
{ hdrs: true },
|
|
187
187
|
),
|
|
188
188
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
189
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
189
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
190
|
+
ctype: "application/problem+json",
|
|
191
|
+
}),
|
|
192
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
190
193
|
ctype: "application/problem+json",
|
|
191
194
|
}),
|
|
192
195
|
M.fail("4XX"),
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Get a collection
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Retrieve information about a collection. Retrieved information includes its name, query, description, status, and asset count.
|
|
32
|
+
* Retrieve information about a collection. Retrieved information includes its name, query, description, status, and asset count.<br><br>This endpoint does not cost credits to execute.
|
|
33
33
|
*/
|
|
34
34
|
export function collectionsGet(
|
|
35
35
|
client: SDKCore,
|
|
@@ -148,7 +148,7 @@ async function $do(
|
|
|
148
148
|
|
|
149
149
|
const doResult = await client._do(req, {
|
|
150
150
|
context,
|
|
151
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
151
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
152
152
|
retryConfig: context.retryConfig,
|
|
153
153
|
retryCodes: context.retryCodes,
|
|
154
154
|
});
|
|
@@ -179,7 +179,10 @@ async function $do(
|
|
|
179
179
|
key: "Result",
|
|
180
180
|
}),
|
|
181
181
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
182
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
182
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
183
|
+
ctype: "application/problem+json",
|
|
184
|
+
}),
|
|
185
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
183
186
|
ctype: "application/problem+json",
|
|
184
187
|
}),
|
|
185
188
|
M.fail("4XX"),
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* List collections
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* List all collections for an organization. Retrieved information includes collection ID, name, query, description, status, and asset count.
|
|
32
|
+
* List all collections for an organization. Retrieved information includes collection ID, name, query, description, status, and asset count.<br><br>This endpoint does not cost credits to execute.
|
|
33
33
|
*/
|
|
34
34
|
export function collectionsList(
|
|
35
35
|
client: SDKCore,
|
|
@@ -143,7 +143,7 @@ async function $do(
|
|
|
143
143
|
|
|
144
144
|
const doResult = await client._do(req, {
|
|
145
145
|
context,
|
|
146
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
146
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
147
147
|
retryConfig: context.retryConfig,
|
|
148
148
|
retryCodes: context.retryCodes,
|
|
149
149
|
});
|
|
@@ -174,7 +174,10 @@ async function $do(
|
|
|
174
174
|
key: "Result",
|
|
175
175
|
}),
|
|
176
176
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
177
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
177
|
+
M.jsonErr([400, 403], errors.ErrorModel$inboundSchema, {
|
|
178
|
+
ctype: "application/problem+json",
|
|
179
|
+
}),
|
|
180
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
178
181
|
ctype: "application/problem+json",
|
|
179
182
|
}),
|
|
180
183
|
M.fail("4XX"),
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Get a collection's events
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Retrieve the event history for a collection. This includes the addition or removal of assets as well as collection status changes.
|
|
32
|
+
* Retrieve the event history for a collection. This includes the addition or removal of assets as well as collection status changes.<br><br>This endpoint does not cost credits to execute.
|
|
33
33
|
*/
|
|
34
34
|
export function collectionsListEvents(
|
|
35
35
|
client: SDKCore,
|
|
@@ -157,7 +157,7 @@ async function $do(
|
|
|
157
157
|
|
|
158
158
|
const doResult = await client._do(req, {
|
|
159
159
|
context,
|
|
160
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
160
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
|
161
161
|
retryConfig: context.retryConfig,
|
|
162
162
|
retryCodes: context.retryCodes,
|
|
163
163
|
});
|
|
@@ -188,7 +188,10 @@ async function $do(
|
|
|
188
188
|
key: "Result",
|
|
189
189
|
}),
|
|
190
190
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
191
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
191
|
+
M.jsonErr([400, 403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
192
|
+
ctype: "application/problem+json",
|
|
193
|
+
}),
|
|
194
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
192
195
|
ctype: "application/problem+json",
|
|
193
196
|
}),
|
|
194
197
|
M.fail("4XX"),
|
|
@@ -153,7 +153,7 @@ async function $do(
|
|
|
153
153
|
|
|
154
154
|
const doResult = await client._do(req, {
|
|
155
155
|
context,
|
|
156
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
156
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
|
157
157
|
retryConfig: context.retryConfig,
|
|
158
158
|
retryCodes: context.retryCodes,
|
|
159
159
|
});
|
|
@@ -184,7 +184,10 @@ async function $do(
|
|
|
184
184
|
key: "Result",
|
|
185
185
|
}),
|
|
186
186
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
187
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
187
|
+
M.jsonErr([400, 403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
190
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
188
191
|
ctype: "application/problem+json",
|
|
189
192
|
}),
|
|
190
193
|
M.fail("4XX"),
|
|
@@ -29,7 +29,7 @@ import { Result } from "../types/fp.js";
|
|
|
29
29
|
* Update a collection
|
|
30
30
|
*
|
|
31
31
|
* @remarks
|
|
32
|
-
* Update a collection's name, description, and/or query.
|
|
32
|
+
* Update a collection's name, description, and/or query.<br><br>This endpoint does not cost credits to execute.
|
|
33
33
|
*/
|
|
34
34
|
export function collectionsUpdate(
|
|
35
35
|
client: SDKCore,
|
|
@@ -151,7 +151,7 @@ async function $do(
|
|
|
151
151
|
|
|
152
152
|
const doResult = await client._do(req, {
|
|
153
153
|
context,
|
|
154
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
154
|
+
errorCodes: ["400", "401", "403", "404", "412", "4XX", "500", "5XX"],
|
|
155
155
|
retryConfig: context.retryConfig,
|
|
156
156
|
retryCodes: context.retryCodes,
|
|
157
157
|
});
|
|
@@ -182,7 +182,10 @@ async function $do(
|
|
|
182
182
|
key: "Result",
|
|
183
183
|
}),
|
|
184
184
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
185
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
185
|
+
M.jsonErr([400, 403, 404, 412], errors.ErrorModel$inboundSchema, {
|
|
186
|
+
ctype: "application/problem+json",
|
|
187
|
+
}),
|
|
188
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
186
189
|
ctype: "application/problem+json",
|
|
187
190
|
}),
|
|
188
191
|
M.fail("4XX"),
|
|
@@ -144,7 +144,7 @@ async function $do(
|
|
|
144
144
|
|
|
145
145
|
const doResult = await client._do(req, {
|
|
146
146
|
context,
|
|
147
|
-
errorCodes: ["401", "403", "422", "4XX", "5XX"],
|
|
147
|
+
errorCodes: ["400", "401", "403", "422", "4XX", "500", "5XX"],
|
|
148
148
|
retryConfig: context.retryConfig,
|
|
149
149
|
retryCodes: context.retryCodes,
|
|
150
150
|
});
|
|
@@ -175,7 +175,10 @@ async function $do(
|
|
|
175
175
|
key: "Result",
|
|
176
176
|
}),
|
|
177
177
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
178
|
-
M.jsonErr([403, 422], errors.ErrorModel$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 403, 422], errors.ErrorModel$inboundSchema, {
|
|
179
|
+
ctype: "application/problem+json",
|
|
180
|
+
}),
|
|
181
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
179
182
|
ctype: "application/problem+json",
|
|
180
183
|
}),
|
|
181
184
|
M.fail("4XX"),
|
|
@@ -144,7 +144,7 @@ async function $do(
|
|
|
144
144
|
|
|
145
145
|
const doResult = await client._do(req, {
|
|
146
146
|
context,
|
|
147
|
-
errorCodes: ["401", "403", "4XX", "500", "5XX"],
|
|
147
|
+
errorCodes: ["400", "401", "403", "4XX", "500", "5XX"],
|
|
148
148
|
retryConfig: context.retryConfig,
|
|
149
149
|
retryCodes: context.retryCodes,
|
|
150
150
|
});
|
|
@@ -175,7 +175,7 @@ async function $do(
|
|
|
175
175
|
key: "Result",
|
|
176
176
|
}),
|
|
177
177
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
178
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 403], errors.ErrorModel$inboundSchema, {
|
|
179
179
|
ctype: "application/problem+json",
|
|
180
180
|
}),
|
|
181
181
|
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
@@ -144,7 +144,7 @@ async function $do(
|
|
|
144
144
|
|
|
145
145
|
const doResult = await client._do(req, {
|
|
146
146
|
context,
|
|
147
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
147
|
+
errorCodes: ["400", "401", "403", "422", "4XX", "500", "5XX"],
|
|
148
148
|
retryConfig: context.retryConfig,
|
|
149
149
|
retryCodes: context.retryCodes,
|
|
150
150
|
});
|
|
@@ -175,7 +175,10 @@ async function $do(
|
|
|
175
175
|
key: "Result",
|
|
176
176
|
}),
|
|
177
177
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
178
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 403, 422], errors.ErrorModel$inboundSchema, {
|
|
179
|
+
ctype: "application/problem+json",
|
|
180
|
+
}),
|
|
181
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
179
182
|
ctype: "application/problem+json",
|
|
180
183
|
}),
|
|
181
184
|
M.fail("4XX"),
|
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
|
|
153
153
|
const doResult = await client._do(req, {
|
|
154
154
|
context,
|
|
155
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
155
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
156
156
|
retryConfig: context.retryConfig,
|
|
157
157
|
retryCodes: context.retryCodes,
|
|
158
158
|
});
|
|
@@ -184,7 +184,10 @@ async function $do(
|
|
|
184
184
|
key: "Result",
|
|
185
185
|
}),
|
|
186
186
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
187
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
187
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
190
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
188
191
|
ctype: "application/problem+json",
|
|
189
192
|
}),
|
|
190
193
|
M.fail("4XX"),
|
|
@@ -152,7 +152,7 @@ async function $do(
|
|
|
152
152
|
|
|
153
153
|
const doResult = await client._do(req, {
|
|
154
154
|
context,
|
|
155
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
155
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
156
156
|
retryConfig: context.retryConfig,
|
|
157
157
|
retryCodes: context.retryCodes,
|
|
158
158
|
});
|
|
@@ -184,7 +184,10 @@ async function $do(
|
|
|
184
184
|
{ ctype: "application/x-pem-file", hdrs: true, key: "Result" },
|
|
185
185
|
),
|
|
186
186
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
187
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
187
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
188
|
+
ctype: "application/problem+json",
|
|
189
|
+
}),
|
|
190
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
188
191
|
ctype: "application/problem+json",
|
|
189
192
|
}),
|
|
190
193
|
M.fail("4XX"),
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
|
|
146
146
|
const doResult = await client._do(req, {
|
|
147
147
|
context,
|
|
148
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
148
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
149
149
|
retryConfig: context.retryConfig,
|
|
150
150
|
retryCodes: context.retryCodes,
|
|
151
151
|
});
|
|
@@ -181,7 +181,10 @@ async function $do(
|
|
|
181
181
|
},
|
|
182
182
|
),
|
|
183
183
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
184
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
185
|
+
ctype: "application/problem+json",
|
|
186
|
+
}),
|
|
187
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
185
188
|
ctype: "application/problem+json",
|
|
186
189
|
}),
|
|
187
190
|
M.fail("4XX"),
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
|
|
146
146
|
const doResult = await client._do(req, {
|
|
147
147
|
context,
|
|
148
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
148
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
149
149
|
retryConfig: context.retryConfig,
|
|
150
150
|
retryCodes: context.retryCodes,
|
|
151
151
|
});
|
|
@@ -177,7 +177,10 @@ async function $do(
|
|
|
177
177
|
{ hdrs: true, key: "Result" },
|
|
178
178
|
),
|
|
179
179
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
180
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
180
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
181
|
+
ctype: "application/problem+json",
|
|
182
|
+
}),
|
|
183
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
181
184
|
ctype: "application/problem+json",
|
|
182
185
|
}),
|
|
183
186
|
M.fail("4XX"),
|
|
@@ -149,7 +149,7 @@ async function $do(
|
|
|
149
149
|
|
|
150
150
|
const doResult = await client._do(req, {
|
|
151
151
|
context,
|
|
152
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
152
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
153
153
|
retryConfig: context.retryConfig,
|
|
154
154
|
retryCodes: context.retryCodes,
|
|
155
155
|
});
|
|
@@ -181,7 +181,10 @@ async function $do(
|
|
|
181
181
|
key: "Result",
|
|
182
182
|
}),
|
|
183
183
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
184
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
185
|
+
ctype: "application/problem+json",
|
|
186
|
+
}),
|
|
187
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
185
188
|
ctype: "application/problem+json",
|
|
186
189
|
}),
|
|
187
190
|
M.fail("4XX"),
|
|
@@ -154,7 +154,7 @@ async function $do(
|
|
|
154
154
|
|
|
155
155
|
const doResult = await client._do(req, {
|
|
156
156
|
context,
|
|
157
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
157
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
158
158
|
retryConfig: context.retryConfig,
|
|
159
159
|
retryCodes: context.retryCodes,
|
|
160
160
|
});
|
|
@@ -190,7 +190,10 @@ async function $do(
|
|
|
190
190
|
},
|
|
191
191
|
),
|
|
192
192
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
193
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
193
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
194
|
+
ctype: "application/problem+json",
|
|
195
|
+
}),
|
|
196
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
194
197
|
ctype: "application/problem+json",
|
|
195
198
|
}),
|
|
196
199
|
M.fail("4XX"),
|
|
@@ -146,7 +146,7 @@ async function $do(
|
|
|
146
146
|
|
|
147
147
|
const doResult = await client._do(req, {
|
|
148
148
|
context,
|
|
149
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
149
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
150
150
|
retryConfig: context.retryConfig,
|
|
151
151
|
retryCodes: context.retryCodes,
|
|
152
152
|
});
|
|
@@ -182,7 +182,10 @@ async function $do(
|
|
|
182
182
|
},
|
|
183
183
|
),
|
|
184
184
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
185
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
185
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
186
|
+
ctype: "application/problem+json",
|
|
187
|
+
}),
|
|
188
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
186
189
|
ctype: "application/problem+json",
|
|
187
190
|
}),
|
|
188
191
|
M.fail("4XX"),
|
|
@@ -148,7 +148,7 @@ async function $do(
|
|
|
148
148
|
|
|
149
149
|
const doResult = await client._do(req, {
|
|
150
150
|
context,
|
|
151
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
151
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
152
152
|
retryConfig: context.retryConfig,
|
|
153
153
|
retryCodes: context.retryCodes,
|
|
154
154
|
});
|
|
@@ -180,7 +180,10 @@ async function $do(
|
|
|
180
180
|
key: "Result",
|
|
181
181
|
}),
|
|
182
182
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
183
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
183
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
184
|
+
ctype: "application/problem+json",
|
|
185
|
+
}),
|
|
186
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
184
187
|
ctype: "application/problem+json",
|
|
185
188
|
}),
|
|
186
189
|
M.fail("4XX"),
|
|
@@ -145,7 +145,7 @@ async function $do(
|
|
|
145
145
|
|
|
146
146
|
const doResult = await client._do(req, {
|
|
147
147
|
context,
|
|
148
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
148
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
149
149
|
retryConfig: context.retryConfig,
|
|
150
150
|
retryCodes: context.retryCodes,
|
|
151
151
|
});
|
|
@@ -181,7 +181,10 @@ async function $do(
|
|
|
181
181
|
},
|
|
182
182
|
),
|
|
183
183
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
184
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
184
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
185
|
+
ctype: "application/problem+json",
|
|
186
|
+
}),
|
|
187
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
185
188
|
ctype: "application/problem+json",
|
|
186
189
|
}),
|
|
187
190
|
M.fail("4XX"),
|
|
@@ -153,7 +153,7 @@ async function $do(
|
|
|
153
153
|
|
|
154
154
|
const doResult = await client._do(req, {
|
|
155
155
|
context,
|
|
156
|
-
errorCodes: ["401", "403", "422", "4XX", "5XX"],
|
|
156
|
+
errorCodes: ["400", "401", "403", "404", "422", "4XX", "500", "5XX"],
|
|
157
157
|
retryConfig: context.retryConfig,
|
|
158
158
|
retryCodes: context.retryCodes,
|
|
159
159
|
});
|
|
@@ -185,7 +185,10 @@ async function $do(
|
|
|
185
185
|
key: "Result",
|
|
186
186
|
}),
|
|
187
187
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
188
|
-
M.jsonErr([403, 422], errors.ErrorModel$inboundSchema, {
|
|
188
|
+
M.jsonErr([400, 403, 404, 422], errors.ErrorModel$inboundSchema, {
|
|
189
|
+
ctype: "application/problem+json",
|
|
190
|
+
}),
|
|
191
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
189
192
|
ctype: "application/problem+json",
|
|
190
193
|
}),
|
|
191
194
|
M.fail("4XX"),
|
|
@@ -144,7 +144,7 @@ async function $do(
|
|
|
144
144
|
|
|
145
145
|
const doResult = await client._do(req, {
|
|
146
146
|
context,
|
|
147
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
147
|
+
errorCodes: ["400", "401", "403", "422", "4XX", "500", "5XX"],
|
|
148
148
|
retryConfig: context.retryConfig,
|
|
149
149
|
retryCodes: context.retryCodes,
|
|
150
150
|
});
|
|
@@ -175,7 +175,10 @@ async function $do(
|
|
|
175
175
|
key: "Result",
|
|
176
176
|
}),
|
|
177
177
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
178
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
178
|
+
M.jsonErr([400, 403, 422], errors.ErrorModel$inboundSchema, {
|
|
179
|
+
ctype: "application/problem+json",
|
|
180
|
+
}),
|
|
181
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
179
182
|
ctype: "application/problem+json",
|
|
180
183
|
}),
|
|
181
184
|
M.fail("4XX"),
|
|
@@ -146,7 +146,7 @@ async function $do(
|
|
|
146
146
|
|
|
147
147
|
const doResult = await client._do(req, {
|
|
148
148
|
context,
|
|
149
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
149
|
+
errorCodes: ["400", "401", "403", "422", "4XX", "500", "5XX"],
|
|
150
150
|
retryConfig: context.retryConfig,
|
|
151
151
|
retryCodes: context.retryCodes,
|
|
152
152
|
});
|
|
@@ -178,7 +178,10 @@ async function $do(
|
|
|
178
178
|
{ hdrs: true, key: "Result" },
|
|
179
179
|
),
|
|
180
180
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
181
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
181
|
+
M.jsonErr([400, 403, 422], errors.ErrorModel$inboundSchema, {
|
|
182
|
+
ctype: "application/problem+json",
|
|
183
|
+
}),
|
|
184
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
182
185
|
ctype: "application/problem+json",
|
|
183
186
|
}),
|
|
184
187
|
M.fail("4XX"),
|
|
@@ -158,7 +158,7 @@ async function $do(
|
|
|
158
158
|
|
|
159
159
|
const doResult = await client._do(req, {
|
|
160
160
|
context,
|
|
161
|
-
errorCodes: ["401", "403", "4XX", "5XX"],
|
|
161
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
162
162
|
retryConfig: context.retryConfig,
|
|
163
163
|
retryCodes: context.retryCodes,
|
|
164
164
|
});
|
|
@@ -191,7 +191,10 @@ async function $do(
|
|
|
191
191
|
{ hdrs: true, key: "Result" },
|
|
192
192
|
),
|
|
193
193
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
194
|
-
M.jsonErr(403, errors.ErrorModel$inboundSchema, {
|
|
194
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
195
|
+
ctype: "application/problem+json",
|
|
196
|
+
}),
|
|
197
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
195
198
|
ctype: "application/problem+json",
|
|
196
199
|
}),
|
|
197
200
|
M.fail("4XX"),
|
|
@@ -148,7 +148,7 @@ async function $do(
|
|
|
148
148
|
|
|
149
149
|
const doResult = await client._do(req, {
|
|
150
150
|
context,
|
|
151
|
-
errorCodes: ["401", "403", "404", "4XX", "5XX"],
|
|
151
|
+
errorCodes: ["400", "401", "403", "404", "4XX", "500", "5XX"],
|
|
152
152
|
retryConfig: context.retryConfig,
|
|
153
153
|
retryCodes: context.retryCodes,
|
|
154
154
|
});
|
|
@@ -180,7 +180,10 @@ async function $do(
|
|
|
180
180
|
key: "Result",
|
|
181
181
|
}),
|
|
182
182
|
M.jsonErr(401, errors.AuthenticationError$inboundSchema),
|
|
183
|
-
M.jsonErr([403, 404], errors.ErrorModel$inboundSchema, {
|
|
183
|
+
M.jsonErr([400, 403, 404], errors.ErrorModel$inboundSchema, {
|
|
184
|
+
ctype: "application/problem+json",
|
|
185
|
+
}),
|
|
186
|
+
M.jsonErr(500, errors.ErrorModel$inboundSchema, {
|
|
184
187
|
ctype: "application/problem+json",
|
|
185
188
|
}),
|
|
186
189
|
M.fail("4XX"),
|