@censys/platform-sdk 0.10.5 → 0.12.12
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/FUNCTIONS.md +3 -3
- package/README.md +86 -9
- package/docs/sdks/accountmanagement/README.md +179 -11
- package/docs/sdks/adversaryinvestigation/README.md +510 -16
- package/docs/sdks/collections/README.md +16 -16
- package/docs/sdks/globaldata/README.md +560 -31
- package/docs/sdks/tagsandcomments/README.md +1385 -0
- package/docs/sdks/threathunting/README.md +514 -20
- package/examples/globalDataSearch.example.ts +1 -1
- package/funcs/accountManagementGetMemberCreditUsage.d.ts +2 -2
- package/funcs/accountManagementGetMemberCreditUsage.js +2 -2
- package/funcs/accountManagementGetOrganizationCreditUsage.d.ts +1 -1
- package/funcs/accountManagementGetOrganizationCreditUsage.js +1 -1
- package/funcs/accountManagementGetOrganizationDetails.d.ts +1 -1
- package/funcs/accountManagementGetOrganizationDetails.js +2 -1
- package/funcs/accountManagementGetOrganizationDetails.js.map +1 -1
- package/funcs/accountManagementInviteUserToOrganization.d.ts +1 -1
- package/funcs/accountManagementInviteUserToOrganization.js +1 -1
- package/funcs/accountManagementListOrganizationMembers.d.ts +2 -2
- package/funcs/accountManagementListOrganizationMembers.js +2 -2
- package/funcs/accountManagementRemoveOrganizationMember.d.ts +2 -2
- package/funcs/accountManagementRemoveOrganizationMember.js +2 -2
- package/funcs/accountManagementRemoveOrganizationMemberModule.d.ts +24 -0
- package/funcs/accountManagementRemoveOrganizationMemberModule.d.ts.map +1 -0
- package/funcs/accountManagementRemoveOrganizationMemberModule.js +147 -0
- package/funcs/accountManagementRemoveOrganizationMemberModule.js.map +1 -0
- package/funcs/accountManagementSetOrganizationMemberModuleRole.d.ts +24 -0
- package/funcs/accountManagementSetOrganizationMemberModuleRole.d.ts.map +1 -0
- package/funcs/accountManagementSetOrganizationMemberModuleRole.js +150 -0
- package/funcs/accountManagementSetOrganizationMemberModuleRole.js.map +1 -0
- package/funcs/accountManagementUpdateOrganizationMember.d.ts +2 -2
- package/funcs/accountManagementUpdateOrganizationMember.js +2 -2
- package/funcs/globalDataCreateTrackedScan.js +1 -1
- package/funcs/globalDataCreateTrackedScan.js.map +1 -1
- package/funcs/globalDataGetHostEnrichment.d.ts +18 -0
- package/funcs/globalDataGetHostEnrichment.d.ts.map +1 -0
- package/funcs/globalDataGetHostEnrichment.js +142 -0
- package/funcs/globalDataGetHostEnrichment.js.map +1 -0
- package/funcs/globalDataGetWebPropertyTimeline.d.ts +18 -0
- package/funcs/globalDataGetWebPropertyTimeline.d.ts.map +1 -0
- package/funcs/globalDataGetWebPropertyTimeline.js +142 -0
- package/funcs/globalDataGetWebPropertyTimeline.js.map +1 -0
- package/funcs/globalDataListDnsIpResolutionBounds.d.ts +18 -0
- package/funcs/globalDataListDnsIpResolutionBounds.d.ts.map +1 -0
- package/funcs/globalDataListDnsIpResolutionBounds.js +140 -0
- package/funcs/globalDataListDnsIpResolutionBounds.js.map +1 -0
- package/funcs/globalDataListDnsIpResolutionRanges.d.ts +18 -0
- package/funcs/globalDataListDnsIpResolutionRanges.d.ts.map +1 -0
- package/funcs/globalDataListDnsIpResolutionRanges.js +141 -0
- package/funcs/globalDataListDnsIpResolutionRanges.js.map +1 -0
- package/funcs/globalDataListDnsNameResolutionBounds.d.ts +18 -0
- package/funcs/globalDataListDnsNameResolutionBounds.d.ts.map +1 -0
- package/funcs/globalDataListDnsNameResolutionBounds.js +140 -0
- package/funcs/globalDataListDnsNameResolutionBounds.js.map +1 -0
- package/funcs/globalDataListDnsNameResolutionRanges.d.ts +18 -0
- package/funcs/globalDataListDnsNameResolutionRanges.d.ts.map +1 -0
- package/funcs/globalDataListDnsNameResolutionRanges.js +141 -0
- package/funcs/globalDataListDnsNameResolutionRanges.js.map +1 -0
- package/funcs/tagsAndCommentsBulkCreateTagAssignments.d.ts +18 -0
- package/funcs/tagsAndCommentsBulkCreateTagAssignments.d.ts.map +1 -0
- package/funcs/tagsAndCommentsBulkCreateTagAssignments.js +141 -0
- package/funcs/tagsAndCommentsBulkCreateTagAssignments.js.map +1 -0
- package/funcs/tagsAndCommentsBulkDeleteTagAssignments.d.ts +18 -0
- package/funcs/tagsAndCommentsBulkDeleteTagAssignments.d.ts.map +1 -0
- package/funcs/tagsAndCommentsBulkDeleteTagAssignments.js +141 -0
- package/funcs/tagsAndCommentsBulkDeleteTagAssignments.js.map +1 -0
- package/funcs/tagsAndCommentsCancelTagOperation.d.ts +18 -0
- package/funcs/tagsAndCommentsCancelTagOperation.d.ts.map +1 -0
- package/funcs/tagsAndCommentsCancelTagOperation.js +142 -0
- package/funcs/tagsAndCommentsCancelTagOperation.js.map +1 -0
- package/funcs/tagsAndCommentsCreateComment.d.ts +18 -0
- package/funcs/tagsAndCommentsCreateComment.d.ts.map +1 -0
- package/funcs/tagsAndCommentsCreateComment.js +135 -0
- package/funcs/tagsAndCommentsCreateComment.js.map +1 -0
- package/funcs/tagsAndCommentsCreateTag.d.ts +18 -0
- package/funcs/tagsAndCommentsCreateTag.d.ts.map +1 -0
- package/funcs/tagsAndCommentsCreateTag.js +135 -0
- package/funcs/tagsAndCommentsCreateTag.js.map +1 -0
- package/funcs/tagsAndCommentsCreateTagAssignment.d.ts +18 -0
- package/funcs/tagsAndCommentsCreateTagAssignment.d.ts.map +1 -0
- package/funcs/tagsAndCommentsCreateTagAssignment.js +141 -0
- package/funcs/tagsAndCommentsCreateTagAssignment.js.map +1 -0
- package/funcs/tagsAndCommentsDeleteComment.d.ts +24 -0
- package/funcs/tagsAndCommentsDeleteComment.d.ts.map +1 -0
- package/funcs/tagsAndCommentsDeleteComment.js +142 -0
- package/funcs/tagsAndCommentsDeleteComment.js.map +1 -0
- package/funcs/tagsAndCommentsDeleteTag.d.ts +24 -0
- package/funcs/tagsAndCommentsDeleteTag.d.ts.map +1 -0
- package/funcs/tagsAndCommentsDeleteTag.js +144 -0
- package/funcs/tagsAndCommentsDeleteTag.js.map +1 -0
- package/funcs/tagsAndCommentsDeleteTagAssignment.d.ts +24 -0
- package/funcs/tagsAndCommentsDeleteTagAssignment.d.ts.map +1 -0
- package/funcs/tagsAndCommentsDeleteTagAssignment.js +146 -0
- package/funcs/tagsAndCommentsDeleteTagAssignment.js.map +1 -0
- package/funcs/tagsAndCommentsGetTag.d.ts +18 -0
- package/funcs/tagsAndCommentsGetTag.d.ts.map +1 -0
- package/funcs/tagsAndCommentsGetTag.js +138 -0
- package/funcs/tagsAndCommentsGetTag.js.map +1 -0
- package/funcs/tagsAndCommentsGetTagOperation.d.ts +18 -0
- package/funcs/tagsAndCommentsGetTagOperation.d.ts.map +1 -0
- package/funcs/tagsAndCommentsGetTagOperation.js +142 -0
- package/funcs/tagsAndCommentsGetTagOperation.js.map +1 -0
- package/funcs/tagsAndCommentsListComments.d.ts +18 -0
- package/funcs/tagsAndCommentsListComments.d.ts.map +1 -0
- package/funcs/tagsAndCommentsListComments.js +139 -0
- package/funcs/tagsAndCommentsListComments.js.map +1 -0
- package/funcs/tagsAndCommentsListTagAssignments.d.ts +18 -0
- package/funcs/tagsAndCommentsListTagAssignments.d.ts.map +1 -0
- package/funcs/tagsAndCommentsListTagAssignments.js +146 -0
- package/funcs/tagsAndCommentsListTagAssignments.js.map +1 -0
- package/funcs/tagsAndCommentsListTagOperations.d.ts +18 -0
- package/funcs/tagsAndCommentsListTagOperations.d.ts.map +1 -0
- package/funcs/tagsAndCommentsListTagOperations.js +143 -0
- package/funcs/tagsAndCommentsListTagOperations.js.map +1 -0
- package/funcs/tagsAndCommentsListTags.d.ts +18 -0
- package/funcs/tagsAndCommentsListTags.d.ts.map +1 -0
- package/funcs/tagsAndCommentsListTags.js +138 -0
- package/funcs/tagsAndCommentsListTags.js.map +1 -0
- package/funcs/tagsAndCommentsUpdateComment.d.ts +18 -0
- package/funcs/tagsAndCommentsUpdateComment.d.ts.map +1 -0
- package/funcs/tagsAndCommentsUpdateComment.js +141 -0
- package/funcs/tagsAndCommentsUpdateComment.js.map +1 -0
- package/funcs/tagsAndCommentsUpdateTag.d.ts +18 -0
- package/funcs/tagsAndCommentsUpdateTag.d.ts.map +1 -0
- package/funcs/tagsAndCommentsUpdateTag.js +141 -0
- package/funcs/tagsAndCommentsUpdateTag.js.map +1 -0
- package/funcs/threatHuntingCreateCenseyeJob.d.ts +1 -1
- package/funcs/threatHuntingCreateCenseyeJob.js +1 -1
- package/funcs/threatHuntingCreateInvestigationFileUpload.d.ts +18 -0
- package/funcs/threatHuntingCreateInvestigationFileUpload.d.ts.map +1 -0
- package/funcs/threatHuntingCreateInvestigationFileUpload.js +133 -0
- package/funcs/threatHuntingCreateInvestigationFileUpload.js.map +1 -0
- package/funcs/threatHuntingCreateInvestigationJob.d.ts +18 -0
- package/funcs/threatHuntingCreateInvestigationJob.d.ts.map +1 -0
- package/funcs/threatHuntingCreateInvestigationJob.js +133 -0
- package/funcs/threatHuntingCreateInvestigationJob.js.map +1 -0
- package/funcs/threatHuntingGetHostObservationsWithCertificate.d.ts +1 -1
- package/funcs/threatHuntingGetHostObservationsWithCertificate.js +1 -1
- package/funcs/threatHuntingGetInvestigationJob.d.ts +18 -0
- package/funcs/threatHuntingGetInvestigationJob.d.ts.map +1 -0
- package/funcs/threatHuntingGetInvestigationJob.js +136 -0
- package/funcs/threatHuntingGetInvestigationJob.js.map +1 -0
- package/funcs/threatHuntingGetInvestigationJobResults.d.ts +18 -0
- package/funcs/threatHuntingGetInvestigationJobResults.d.ts.map +1 -0
- package/funcs/threatHuntingGetInvestigationJobResults.js +136 -0
- package/funcs/threatHuntingGetInvestigationJobResults.js.map +1 -0
- package/funcs/threatHuntingGetInvestigationUsage.d.ts +18 -0
- package/funcs/threatHuntingGetInvestigationUsage.d.ts.map +1 -0
- package/funcs/threatHuntingGetInvestigationUsage.js +130 -0
- package/funcs/threatHuntingGetInvestigationUsage.js.map +1 -0
- package/funcs/threatHuntingListInvestigationJobs.d.ts +18 -0
- package/funcs/threatHuntingListInvestigationJobs.d.ts.map +1 -0
- package/funcs/threatHuntingListInvestigationJobs.js +132 -0
- package/funcs/threatHuntingListInvestigationJobs.js.map +1 -0
- package/hooks/types.d.ts +1 -0
- package/hooks/types.d.ts.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/encodings.d.ts +10 -9
- package/lib/encodings.d.ts.map +1 -1
- package/lib/encodings.js +41 -25
- package/lib/encodings.js.map +1 -1
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/matchers.js +3 -3
- package/lib/matchers.js.map +1 -1
- package/lib/primitives.d.ts +1 -0
- package/lib/primitives.d.ts.map +1 -1
- package/lib/primitives.js +18 -0
- package/lib/primitives.js.map +1 -1
- package/lib/retries.js +7 -0
- package/lib/retries.js.map +1 -1
- package/lib/sdks.d.ts.map +1 -1
- package/lib/sdks.js +50 -16
- package/lib/sdks.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- package/models/components/argocd.d.ts +14 -0
- package/models/components/argocd.d.ts.map +1 -0
- package/models/components/argocd.js +60 -0
- package/models/components/argocd.js.map +1 -0
- package/models/components/argocdanonymousexposure.d.ts +13 -0
- package/models/components/argocdanonymousexposure.d.ts.map +1 -0
- package/models/components/argocdanonymousexposure.js +61 -0
- package/models/components/argocdanonymousexposure.js.map +1 -0
- package/models/components/argocdsettings.d.ts +18 -0
- package/models/components/argocdsettings.d.ts.map +1 -0
- package/models/components/argocdsettings.js +69 -0
- package/models/components/argocdsettings.js.map +1 -0
- package/models/components/argocdsettingsoidcconfig.d.ts +11 -0
- package/models/components/argocdsettingsoidcconfig.d.ts.map +1 -0
- package/models/components/argocdsettingsoidcconfig.js +56 -0
- package/models/components/argocdsettingsoidcconfig.js.map +1 -0
- package/models/components/bluemaxnuttcp.d.ts +10 -0
- package/models/components/bluemaxnuttcp.d.ts.map +1 -0
- package/models/components/bluemaxnuttcp.js +50 -0
- package/models/components/bluemaxnuttcp.js.map +1 -0
- package/models/components/bulkcreatetagassignmentsinputbody.d.ts +20 -0
- package/models/components/bulkcreatetagassignmentsinputbody.d.ts.map +1 -0
- package/models/components/bulkcreatetagassignmentsinputbody.js +55 -0
- package/models/components/bulkcreatetagassignmentsinputbody.js.map +1 -0
- package/models/components/bulkdeletetagassignmentsinputbody.d.ts +20 -0
- package/models/components/bulkdeletetagassignmentsinputbody.d.ts.map +1 -0
- package/models/components/bulkdeletetagassignmentsinputbody.js +56 -0
- package/models/components/bulkdeletetagassignmentsinputbody.js.map +1 -0
- package/models/components/ciscosdwanvdaemon.d.ts +13 -0
- package/models/components/ciscosdwanvdaemon.d.ts.map +1 -0
- package/models/components/ciscosdwanvdaemon.js +61 -0
- package/models/components/ciscosdwanvdaemon.js.map +1 -0
- package/models/components/clamav.d.ts +12 -0
- package/models/components/clamav.d.ts.map +1 -0
- package/models/components/clamav.js +60 -0
- package/models/components/clamav.js.map +1 -0
- package/models/components/clickhousehttp.d.ts +16 -0
- package/models/components/clickhousehttp.d.ts.map +1 -0
- package/models/components/clickhousehttp.js +62 -0
- package/models/components/clickhousehttp.js.map +1 -0
- package/models/components/clickhousehttperror.d.ts +11 -0
- package/models/components/clickhousehttperror.d.ts.map +1 -0
- package/models/components/clickhousehttperror.js +51 -0
- package/models/components/clickhousehttperror.js.map +1 -0
- package/models/components/clickhousenative.d.ts +19 -0
- package/models/components/clickhousenative.d.ts.map +1 -0
- package/models/components/clickhousenative.js +68 -0
- package/models/components/clickhousenative.js.map +1 -0
- package/models/components/clickhousenativeerror.d.ts +12 -0
- package/models/components/clickhousenativeerror.d.ts.map +1 -0
- package/models/components/clickhousenativeerror.js +52 -0
- package/models/components/clickhousenativeerror.js.map +1 -0
- package/models/components/cnordsecuritycenter.d.ts +17 -0
- package/models/components/cnordsecuritycenter.d.ts.map +1 -0
- package/models/components/cnordsecuritycenter.js +67 -0
- package/models/components/cnordsecuritycenter.js.map +1 -0
- package/models/components/cnordsecuritycenterevent.d.ts +12 -0
- package/models/components/cnordsecuritycenterevent.d.ts.map +1 -0
- package/models/components/cnordsecuritycenterevent.js +52 -0
- package/models/components/cnordsecuritycenterevent.js.map +1 -0
- package/models/components/comeliticona.d.ts +10 -0
- package/models/components/comeliticona.d.ts.map +1 -0
- package/models/components/comeliticona.js +55 -0
- package/models/components/comeliticona.js.map +1 -0
- package/models/components/comment.d.ts +57 -0
- package/models/components/comment.d.ts.map +1 -0
- package/models/components/comment.js +79 -0
- package/models/components/comment.js.map +1 -0
- package/models/components/commentslist.d.ts +22 -0
- package/models/components/commentslist.d.ts.map +1 -0
- package/models/components/commentslist.js +59 -0
- package/models/components/commentslist.js.map +1 -0
- package/models/components/cortexxdrp2p.d.ts +10 -0
- package/models/components/cortexxdrp2p.d.ts.map +1 -0
- package/models/components/cortexxdrp2p.js +50 -0
- package/models/components/cortexxdrp2p.js.map +1 -0
- package/models/components/createcommentinputbody.d.ts +20 -0
- package/models/components/createcommentinputbody.d.ts.map +1 -0
- package/models/components/createcommentinputbody.js +55 -0
- package/models/components/createcommentinputbody.js.map +1 -0
- package/models/components/createdinvestigationjob.d.ts +57 -0
- package/models/components/createdinvestigationjob.d.ts.map +1 -0
- package/models/components/createdinvestigationjob.js +82 -0
- package/models/components/createdinvestigationjob.js.map +1 -0
- package/models/components/createinvestigationfileinputbody.d.ts +44 -0
- package/models/components/createinvestigationfileinputbody.d.ts.map +1 -0
- package/models/components/createinvestigationfileinputbody.js +72 -0
- package/models/components/createinvestigationfileinputbody.js.map +1 -0
- package/models/components/createinvestigationjobinputbody.d.ts +30 -0
- package/models/components/createinvestigationjobinputbody.d.ts.map +1 -0
- package/models/components/createinvestigationjobinputbody.js +59 -0
- package/models/components/createinvestigationjobinputbody.js.map +1 -0
- package/models/components/createtagassignmentinputbody.d.ts +15 -0
- package/models/components/createtagassignmentinputbody.d.ts.map +1 -0
- package/models/components/createtagassignmentinputbody.js +54 -0
- package/models/components/createtagassignmentinputbody.js.map +1 -0
- package/models/components/createtaginputbody.d.ts +39 -0
- package/models/components/createtaginputbody.d.ts.map +1 -0
- package/models/components/createtaginputbody.js +60 -0
- package/models/components/createtaginputbody.js.map +1 -0
- package/models/components/creditusagereport.d.ts +3 -1
- package/models/components/creditusagereport.d.ts.map +1 -1
- package/models/components/creditusagereport.js +1 -1
- package/models/components/creditusagereport.js.map +1 -1
- package/models/components/denonheos.d.ts +10 -0
- package/models/components/denonheos.d.ts.map +1 -0
- package/models/components/denonheos.js +55 -0
- package/models/components/denonheos.js.map +1 -0
- package/models/components/dicom.d.ts +16 -0
- package/models/components/dicom.d.ts.map +1 -0
- package/models/components/dicom.js +65 -0
- package/models/components/dicom.js.map +1 -0
- package/models/components/dicomaabort.d.ts +11 -0
- package/models/components/dicomaabort.d.ts.map +1 -0
- package/models/components/dicomaabort.js +57 -0
- package/models/components/dicomaabort.js.map +1 -0
- package/models/components/dicomassociateac.d.ts +11 -0
- package/models/components/dicomassociateac.d.ts.map +1 -0
- package/models/components/dicomassociateac.js +57 -0
- package/models/components/dicomassociateac.js.map +1 -0
- package/models/components/dicomassociaterj.d.ts +12 -0
- package/models/components/dicomassociaterj.d.ts.map +1 -0
- package/models/components/dicomassociaterj.js +59 -0
- package/models/components/dicomassociaterj.js.map +1 -0
- package/models/components/dlt.d.ts +16 -0
- package/models/components/dlt.d.ts.map +1 -0
- package/models/components/dlt.js +67 -0
- package/models/components/dlt.js.map +1 -0
- package/models/components/dnsipresolutionboundresponse.d.ts +26 -0
- package/models/components/dnsipresolutionboundresponse.d.ts.map +1 -0
- package/models/components/dnsipresolutionboundresponse.js +60 -0
- package/models/components/dnsipresolutionboundresponse.js.map +1 -0
- package/models/components/dnsipresolutionrangerecord.d.ts +39 -0
- package/models/components/dnsipresolutionrangerecord.d.ts.map +1 -0
- package/models/components/dnsipresolutionrangerecord.js +70 -0
- package/models/components/dnsipresolutionrangerecord.js.map +1 -0
- package/models/components/dnsipresolutionrangeresponse.d.ts +26 -0
- package/models/components/dnsipresolutionrangeresponse.d.ts.map +1 -0
- package/models/components/dnsipresolutionrangeresponse.js +60 -0
- package/models/components/dnsipresolutionrangeresponse.js.map +1 -0
- package/models/components/dnsipresolutionrecord.d.ts +39 -0
- package/models/components/dnsipresolutionrecord.d.ts.map +1 -0
- package/models/components/dnsipresolutionrecord.js +70 -0
- package/models/components/dnsipresolutionrecord.js.map +1 -0
- package/models/components/dnsnameresolutionboundresponse.d.ts +26 -0
- package/models/components/dnsnameresolutionboundresponse.d.ts.map +1 -0
- package/models/components/dnsnameresolutionboundresponse.js +60 -0
- package/models/components/dnsnameresolutionboundresponse.js.map +1 -0
- package/models/components/dnsnameresolutionrangeresponse.d.ts +26 -0
- package/models/components/dnsnameresolutionrangeresponse.d.ts.map +1 -0
- package/models/components/dnsnameresolutionrangeresponse.js +60 -0
- package/models/components/dnsnameresolutionrangeresponse.js.map +1 -0
- package/models/components/dnsresolutionrangerecord.d.ts +67 -0
- package/models/components/dnsresolutionrangerecord.d.ts.map +1 -0
- package/models/components/dnsresolutionrangerecord.js +82 -0
- package/models/components/dnsresolutionrangerecord.js.map +1 -0
- package/models/components/dnsresolutionrecord.d.ts +67 -0
- package/models/components/dnsresolutionrecord.d.ts.map +1 -0
- package/models/components/dnsresolutionrecord.js +82 -0
- package/models/components/dnsresolutionrecord.js.map +1 -0
- package/models/components/dotnetnegotiatestream.d.ts +14 -0
- package/models/components/dotnetnegotiatestream.d.ts.map +1 -0
- package/models/components/dotnetnegotiatestream.js +62 -0
- package/models/components/dotnetnegotiatestream.js.map +1 -0
- package/models/components/dubbo.d.ts +8 -0
- package/models/components/dubbo.d.ts.map +1 -0
- package/models/components/dubbo.js +49 -0
- package/models/components/dubbo.js.map +1 -0
- package/models/components/elasticsearchtransport.d.ts +13 -0
- package/models/components/elasticsearchtransport.d.ts.map +1 -0
- package/models/components/elasticsearchtransport.js +60 -0
- package/models/components/elasticsearchtransport.js.map +1 -0
- package/models/components/endpointscan.d.ts +24 -0
- package/models/components/endpointscan.d.ts.map +1 -1
- package/models/components/endpointscan.js +30 -0
- package/models/components/endpointscan.js.map +1 -1
- package/models/components/endpointscanstate.d.ts +24 -0
- package/models/components/endpointscanstate.d.ts.map +1 -1
- package/models/components/endpointscanstate.js +30 -0
- package/models/components/endpointscanstate.js.map +1 -1
- package/models/components/fins.d.ts +13 -0
- package/models/components/fins.d.ts.map +1 -0
- package/models/components/fins.js +60 -0
- package/models/components/fins.js.map +1 -0
- package/models/components/fourdserver.d.ts +13 -0
- package/models/components/fourdserver.d.ts.map +1 -0
- package/models/components/fourdserver.js +61 -0
- package/models/components/fourdserver.js.map +1 -0
- package/models/components/geovisionaudio.d.ts +11 -0
- package/models/components/geovisionaudio.d.ts.map +1 -0
- package/models/components/geovisionaudio.js +51 -0
- package/models/components/geovisionaudio.js.map +1 -0
- package/models/components/giop.d.ts +16 -0
- package/models/components/giop.d.ts.map +1 -0
- package/models/components/giop.js +65 -0
- package/models/components/giop.js.map +1 -0
- package/models/components/giopiiopprofile.d.ts +15 -0
- package/models/components/giopiiopprofile.d.ts.map +1 -0
- package/models/components/giopiiopprofile.js +62 -0
- package/models/components/giopiiopprofile.js.map +1 -0
- package/models/components/giopior.d.ts +12 -0
- package/models/components/giopior.d.ts.map +1 -0
- package/models/components/giopior.js +58 -0
- package/models/components/giopior.js.map +1 -0
- package/models/components/gioptaggedcomponent.d.ts +14 -0
- package/models/components/gioptaggedcomponent.d.ts.map +1 -0
- package/models/components/gioptaggedcomponent.js +62 -0
- package/models/components/gioptaggedcomponent.js.map +1 -0
- package/models/components/gopher.d.ts +13 -0
- package/models/components/gopher.d.ts.map +1 -0
- package/models/components/gopher.js +54 -0
- package/models/components/gopher.js.map +1 -0
- package/models/components/gopheritem.d.ts +14 -0
- package/models/components/gopheritem.d.ts.map +1 -0
- package/models/components/gopheritem.js +60 -0
- package/models/components/gopheritem.js.map +1 -0
- package/models/components/grilconsole.d.ts +14 -0
- package/models/components/grilconsole.d.ts.map +1 -0
- package/models/components/grilconsole.js +60 -0
- package/models/components/grilconsole.js.map +1 -0
- package/models/components/hoosathtndgrpc.d.ts +15 -0
- package/models/components/hoosathtndgrpc.d.ts.map +1 -0
- package/models/components/hoosathtndgrpc.js +65 -0
- package/models/components/hoosathtndgrpc.js.map +1 -0
- package/models/components/hostenrichment.d.ts +39 -0
- package/models/components/hostenrichment.d.ts.map +1 -0
- package/models/components/hostenrichment.js +80 -0
- package/models/components/hostenrichment.js.map +1 -0
- package/models/components/hostenrichmentasset.d.ts +14 -0
- package/models/components/hostenrichmentasset.d.ts.map +1 -0
- package/models/components/hostenrichmentasset.js +52 -0
- package/models/components/hostenrichmentasset.js.map +1 -0
- package/models/components/hostenrichmentgreynoise.d.ts +21 -0
- package/models/components/hostenrichmentgreynoise.d.ts.map +1 -0
- package/models/components/hostenrichmentgreynoise.js +57 -0
- package/models/components/hostenrichmentgreynoise.js.map +1 -0
- package/models/components/hostenrichmentservice.d.ts +16 -0
- package/models/components/hostenrichmentservice.d.ts.map +1 -0
- package/models/components/hostenrichmentservice.js +61 -0
- package/models/components/hostenrichmentservice.js.map +1 -0
- package/models/components/httpredirectchainlink.d.ts +2 -0
- package/models/components/httpredirectchainlink.d.ts.map +1 -1
- package/models/components/httpredirectchainlink.js +3 -0
- package/models/components/httpredirectchainlink.js.map +1 -1
- package/models/components/httpredirectchainlinkhttpstatus.d.ts +17 -0
- package/models/components/httpredirectchainlinkhttpstatus.d.ts.map +1 -0
- package/models/components/httpredirectchainlinkhttpstatus.js +51 -0
- package/models/components/httpredirectchainlinkhttpstatus.js.map +1 -0
- package/models/components/iec608705104.d.ts +13 -0
- package/models/components/iec608705104.d.ts.map +1 -0
- package/models/components/iec608705104.js +53 -0
- package/models/components/iec608705104.js.map +1 -0
- package/models/components/iec608705104apci.d.ts +11 -0
- package/models/components/iec608705104apci.d.ts.map +1 -0
- package/models/components/iec608705104apci.js +56 -0
- package/models/components/iec608705104apci.js.map +1 -0
- package/models/components/iec608705104asdu.d.ts +12 -0
- package/models/components/iec608705104asdu.d.ts.map +1 -0
- package/models/components/iec608705104asdu.js +59 -0
- package/models/components/iec608705104asdu.js.map +1 -0
- package/models/components/index.d.ts +171 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +171 -0
- package/models/components/index.js.map +1 -1
- package/models/components/influxdb.d.ts +12 -0
- package/models/components/influxdb.d.ts.map +1 -0
- package/models/components/influxdb.js +57 -0
- package/models/components/influxdb.js.map +1 -0
- package/models/components/investigationfileupload.d.ts +27 -0
- package/models/components/investigationfileupload.d.ts.map +1 -0
- package/models/components/investigationfileupload.js +61 -0
- package/models/components/investigationfileupload.js.map +1 -0
- package/models/components/investigationjob.d.ts +49 -0
- package/models/components/investigationjob.d.ts.map +1 -0
- package/models/components/investigationjob.js +76 -0
- package/models/components/investigationjob.js.map +1 -0
- package/models/components/investigationjobslist.d.ts +18 -0
- package/models/components/investigationjobslist.d.ts.map +1 -0
- package/models/components/investigationjobslist.js +57 -0
- package/models/components/investigationjobslist.js.map +1 -0
- package/models/components/investigationusage.d.ts +29 -0
- package/models/components/investigationusage.d.ts.map +1 -0
- package/models/components/investigationusage.js +60 -0
- package/models/components/investigationusage.js.map +1 -0
- package/models/components/iperf3.d.ts +10 -0
- package/models/components/iperf3.d.ts.map +1 -0
- package/models/components/iperf3.js +56 -0
- package/models/components/iperf3.js.map +1 -0
- package/models/components/iscdhcpomapi.d.ts +17 -0
- package/models/components/iscdhcpomapi.d.ts.map +1 -0
- package/models/components/iscdhcpomapi.js +68 -0
- package/models/components/iscdhcpomapi.js.map +1 -0
- package/models/components/iscdhcpomapireplyheader.d.ts +14 -0
- package/models/components/iscdhcpomapireplyheader.d.ts.map +1 -0
- package/models/components/iscdhcpomapireplyheader.js +54 -0
- package/models/components/iscdhcpomapireplyheader.js.map +1 -0
- package/models/components/javarmi.d.ts +14 -0
- package/models/components/javarmi.d.ts.map +1 -0
- package/models/components/javarmi.js +62 -0
- package/models/components/javarmi.js.map +1 -0
- package/models/components/javarmiunicastref.d.ts +12 -0
- package/models/components/javarmiunicastref.d.ts.map +1 -0
- package/models/components/javarmiunicastref.js +52 -0
- package/models/components/javarmiunicastref.js.map +1 -0
- package/models/components/jupyter.d.ts +10 -0
- package/models/components/jupyter.d.ts.map +1 -0
- package/models/components/jupyter.js +50 -0
- package/models/components/jupyter.js.map +1 -0
- package/models/components/kcodesnetusb.d.ts +13 -0
- package/models/components/kcodesnetusb.d.ts.map +1 -0
- package/models/components/kcodesnetusb.js +59 -0
- package/models/components/kcodesnetusb.js.map +1 -0
- package/models/components/keycloak.d.ts +14 -0
- package/models/components/keycloak.d.ts.map +1 -0
- package/models/components/keycloak.js +64 -0
- package/models/components/keycloak.js.map +1 -0
- package/models/components/knxip.d.ts +15 -0
- package/models/components/knxip.d.ts.map +1 -0
- package/models/components/knxip.js +64 -0
- package/models/components/knxip.js.map +1 -0
- package/models/components/knxipdeviceinfo.d.ts +17 -0
- package/models/components/knxipdeviceinfo.d.ts.map +1 -0
- package/models/components/knxipdeviceinfo.js +69 -0
- package/models/components/knxipdeviceinfo.js.map +1 -0
- package/models/components/knxipservicefamily.d.ts +11 -0
- package/models/components/knxipservicefamily.d.ts.map +1 -0
- package/models/components/knxipservicefamily.js +51 -0
- package/models/components/knxipservicefamily.js.map +1 -0
- package/models/components/libp2p.d.ts +11 -0
- package/models/components/libp2p.d.ts.map +1 -0
- package/models/components/libp2p.js +58 -0
- package/models/components/libp2p.js.map +1 -0
- package/models/components/malloryai.d.ts +21 -0
- package/models/components/malloryai.d.ts.map +1 -0
- package/models/components/malloryai.js +71 -0
- package/models/components/malloryai.js.map +1 -0
- package/models/components/malloryaiobservable.d.ts +16 -0
- package/models/components/malloryaiobservable.d.ts.map +1 -0
- package/models/components/malloryaiobservable.js +62 -0
- package/models/components/malloryaiobservable.js.map +1 -0
- package/models/components/malloryaiopinion.d.ts +22 -0
- package/models/components/malloryaiopinion.d.ts.map +1 -0
- package/models/components/malloryaiopinion.js +72 -0
- package/models/components/malloryaiopinion.js.map +1 -0
- package/models/components/malloryaiopinionattributes.d.ts +13 -0
- package/models/components/malloryaiopinionattributes.d.ts.map +1 -0
- package/models/components/malloryaiopinionattributes.js +60 -0
- package/models/components/malloryaiopinionattributes.js.map +1 -0
- package/models/components/malloryaiverdictsummary.d.ts +11 -0
- package/models/components/malloryaiverdictsummary.d.ts.map +1 -0
- package/models/components/malloryaiverdictsummary.js +51 -0
- package/models/components/malloryaiverdictsummary.js.map +1 -0
- package/models/components/managesieve.d.ts +18 -0
- package/models/components/managesieve.d.ts.map +1 -0
- package/models/components/managesieve.js +67 -0
- package/models/components/managesieve.js.map +1 -0
- package/models/components/manticoresphinxapi.d.ts +13 -0
- package/models/components/manticoresphinxapi.d.ts.map +1 -0
- package/models/components/manticoresphinxapi.js +60 -0
- package/models/components/manticoresphinxapi.js.map +1 -0
- package/models/components/manticoresphinxapistatusentry.d.ts +11 -0
- package/models/components/manticoresphinxapistatusentry.d.ts.map +1 -0
- package/models/components/manticoresphinxapistatusentry.js +51 -0
- package/models/components/manticoresphinxapistatusentry.js.map +1 -0
- package/models/components/membercounts.d.ts +3 -3
- package/models/components/membermodulerole.d.ts +25 -0
- package/models/components/membermodulerole.d.ts.map +1 -0
- package/models/components/membermodulerole.js +59 -0
- package/models/components/membermodulerole.js.map +1 -0
- package/models/components/moduleroleoption.d.ts +17 -0
- package/models/components/moduleroleoption.d.ts.map +1 -0
- package/models/components/moduleroleoption.js +56 -0
- package/models/components/moduleroleoption.js.map +1 -0
- package/models/components/mplsldp.d.ts +13 -0
- package/models/components/mplsldp.d.ts.map +1 -0
- package/models/components/mplsldp.js +53 -0
- package/models/components/mplsldp.js.map +1 -0
- package/models/components/mplsldpheader.d.ts +11 -0
- package/models/components/mplsldpheader.d.ts.map +1 -0
- package/models/components/mplsldpheader.js +57 -0
- package/models/components/mplsldpheader.js.map +1 -0
- package/models/components/mplsldpnotification.d.ts +11 -0
- package/models/components/mplsldpnotification.d.ts.map +1 -0
- package/models/components/mplsldpnotification.js +57 -0
- package/models/components/mplsldpnotification.js.map +1 -0
- package/models/components/mysqlx.d.ts +15 -0
- package/models/components/mysqlx.d.ts.map +1 -0
- package/models/components/mysqlx.js +65 -0
- package/models/components/mysqlx.js.map +1 -0
- package/models/components/netflixnrdp.d.ts +10 -0
- package/models/components/netflixnrdp.d.ts.map +1 -0
- package/models/components/netflixnrdp.js +50 -0
- package/models/components/netflixnrdp.js.map +1 -0
- package/models/components/nginxproxymanager.d.ts +11 -0
- package/models/components/nginxproxymanager.d.ts.map +1 -0
- package/models/components/nginxproxymanager.js +51 -0
- package/models/components/nginxproxymanager.js.map +1 -0
- package/models/components/nrpe.d.ts +11 -0
- package/models/components/nrpe.d.ts.map +1 -0
- package/models/components/nrpe.js +57 -0
- package/models/components/nrpe.js.map +1 -0
- package/models/components/openflow.d.ts +27 -0
- package/models/components/openflow.d.ts.map +1 -0
- package/models/components/openflow.js +87 -0
- package/models/components/openflow.js.map +1 -0
- package/models/components/openflowhelloelement.d.ts +11 -0
- package/models/components/openflowhelloelement.d.ts.map +1 -0
- package/models/components/openflowhelloelement.js +57 -0
- package/models/components/openflowhelloelement.js.map +1 -0
- package/models/components/opwfsc3000.d.ts +10 -0
- package/models/components/opwfsc3000.d.ts.map +1 -0
- package/models/components/opwfsc3000.js +55 -0
- package/models/components/opwfsc3000.js.map +1 -0
- package/models/components/orencoatrtu.d.ts +17 -0
- package/models/components/orencoatrtu.d.ts.map +1 -0
- package/models/components/orencoatrtu.js +68 -0
- package/models/components/orencoatrtu.js.map +1 -0
- package/models/components/organizationdetails.d.ts +5 -0
- package/models/components/organizationdetails.d.ts.map +1 -1
- package/models/components/organizationdetails.js +2 -0
- package/models/components/organizationdetails.js.map +1 -1
- package/models/components/organizationmember.d.ts +6 -1
- package/models/components/organizationmember.d.ts.map +1 -1
- package/models/components/organizationmember.js +3 -0
- package/models/components/organizationmember.js.map +1 -1
- package/models/components/organizationmemberslist.d.ts +1 -1
- package/models/components/organizationmodule.d.ts +34 -0
- package/models/components/organizationmodule.d.ts.map +1 -0
- package/models/components/organizationmodule.js +64 -0
- package/models/components/organizationmodule.js.map +1 -0
- package/models/components/otlpgrpc.d.ts +11 -0
- package/models/components/otlpgrpc.d.ts.map +1 -0
- package/models/components/otlpgrpc.js +56 -0
- package/models/components/otlpgrpc.js.map +1 -0
- package/models/components/perforcep4d.d.ts +13 -0
- package/models/components/perforcep4d.d.ts.map +1 -0
- package/models/components/perforcep4d.js +53 -0
- package/models/components/perforcep4d.js.map +1 -0
- package/models/components/perforcep4dinfo.d.ts +20 -0
- package/models/components/perforcep4dinfo.d.ts.map +1 -0
- package/models/components/perforcep4dinfo.js +75 -0
- package/models/components/perforcep4dinfo.js.map +1 -0
- package/models/components/perforcep4dprotocol.d.ts +15 -0
- package/models/components/perforcep4dprotocol.d.ts.map +1 -0
- package/models/components/perforcep4dprotocol.js +65 -0
- package/models/components/perforcep4dprotocol.js.map +1 -0
- package/models/components/pigeonhole.d.ts +18 -0
- package/models/components/pigeonhole.d.ts.map +1 -0
- package/models/components/pigeonhole.js +67 -0
- package/models/components/pigeonhole.js.map +1 -0
- package/models/components/proxmoxve.d.ts +12 -0
- package/models/components/proxmoxve.d.ts.map +1 -0
- package/models/components/proxmoxve.js +57 -0
- package/models/components/proxmoxve.js.map +1 -0
- package/models/components/proxmoxverealm.d.ts +13 -0
- package/models/components/proxmoxverealm.d.ts.map +1 -0
- package/models/components/proxmoxverealm.js +53 -0
- package/models/components/proxmoxverealm.js.map +1 -0
- package/models/components/qdrantgrpc.d.ts +11 -0
- package/models/components/qdrantgrpc.d.ts.map +1 -0
- package/models/components/qdrantgrpc.js +51 -0
- package/models/components/qdrantgrpc.js.map +1 -0
- package/models/components/r1softbuagent.d.ts +12 -0
- package/models/components/r1softbuagent.d.ts.map +1 -0
- package/models/components/r1softbuagent.js +59 -0
- package/models/components/r1softbuagent.js.map +1 -0
- package/models/components/redshift.d.ts +11 -0
- package/models/components/redshift.d.ts.map +1 -0
- package/models/components/redshift.js +51 -0
- package/models/components/redshift.js.map +1 -0
- package/models/components/reolinkbaichuan.d.ts +17 -0
- package/models/components/reolinkbaichuan.d.ts.map +1 -0
- package/models/components/reolinkbaichuan.js +68 -0
- package/models/components/reolinkbaichuan.js.map +1 -0
- package/models/components/reolinkbaichuanalarmchannel.d.ts +14 -0
- package/models/components/reolinkbaichuanalarmchannel.d.ts.map +1 -0
- package/models/components/reolinkbaichuanalarmchannel.js +60 -0
- package/models/components/reolinkbaichuanalarmchannel.js.map +1 -0
- package/models/components/reputation.d.ts +4 -0
- package/models/components/reputation.d.ts.map +1 -1
- package/models/components/reputation.js +6 -0
- package/models/components/reputation.js.map +1 -1
- package/models/components/reputationclassprobability.d.ts +11 -0
- package/models/components/reputationclassprobability.d.ts.map +1 -0
- package/models/components/reputationclassprobability.js +51 -0
- package/models/components/reputationclassprobability.js.map +1 -0
- package/models/components/reputationevidence.d.ts +2 -0
- package/models/components/reputationevidence.d.ts.map +1 -1
- package/models/components/reputationevidence.js +2 -0
- package/models/components/reputationevidence.js.map +1 -1
- package/models/components/reputationevidencefeature.d.ts +14 -0
- package/models/components/reputationevidencefeature.d.ts.map +1 -0
- package/models/components/reputationevidencefeature.js +54 -0
- package/models/components/reputationevidencefeature.js.map +1 -0
- package/models/components/responseenvelopecomment.d.ts +11 -0
- package/models/components/responseenvelopecomment.d.ts.map +1 -0
- package/models/components/responseenvelopecomment.js +51 -0
- package/models/components/responseenvelopecomment.js.map +1 -0
- package/models/components/responseenvelopecommentslist.d.ts +11 -0
- package/models/components/responseenvelopecommentslist.d.ts.map +1 -0
- package/models/components/responseenvelopecommentslist.js +51 -0
- package/models/components/responseenvelopecommentslist.js.map +1 -0
- package/models/components/responseenvelopecreatedinvestigationjob.d.ts +11 -0
- package/models/components/responseenvelopecreatedinvestigationjob.d.ts.map +1 -0
- package/models/components/responseenvelopecreatedinvestigationjob.js +51 -0
- package/models/components/responseenvelopecreatedinvestigationjob.js.map +1 -0
- package/models/components/responseenvelopednsipresolutionboundresponse.d.ts +11 -0
- package/models/components/responseenvelopednsipresolutionboundresponse.d.ts.map +1 -0
- package/models/components/responseenvelopednsipresolutionboundresponse.js +51 -0
- package/models/components/responseenvelopednsipresolutionboundresponse.js.map +1 -0
- package/models/components/responseenvelopednsipresolutionrangeresponse.d.ts +11 -0
- package/models/components/responseenvelopednsipresolutionrangeresponse.d.ts.map +1 -0
- package/models/components/responseenvelopednsipresolutionrangeresponse.js +51 -0
- package/models/components/responseenvelopednsipresolutionrangeresponse.js.map +1 -0
- package/models/components/responseenvelopednsnameresolutionboundresponse.d.ts +11 -0
- package/models/components/responseenvelopednsnameresolutionboundresponse.d.ts.map +1 -0
- package/models/components/responseenvelopednsnameresolutionboundresponse.js +51 -0
- package/models/components/responseenvelopednsnameresolutionboundresponse.js.map +1 -0
- package/models/components/responseenvelopednsnameresolutionrangeresponse.d.ts +11 -0
- package/models/components/responseenvelopednsnameresolutionrangeresponse.d.ts.map +1 -0
- package/models/components/responseenvelopednsnameresolutionrangeresponse.js +51 -0
- package/models/components/responseenvelopednsnameresolutionrangeresponse.js.map +1 -0
- package/models/components/responseenvelopehostenrichmentasset.d.ts +11 -0
- package/models/components/responseenvelopehostenrichmentasset.d.ts.map +1 -0
- package/models/components/responseenvelopehostenrichmentasset.js +51 -0
- package/models/components/responseenvelopehostenrichmentasset.js.map +1 -0
- package/models/components/responseenvelopeinvestigationfileupload.d.ts +11 -0
- package/models/components/responseenvelopeinvestigationfileupload.d.ts.map +1 -0
- package/models/components/responseenvelopeinvestigationfileupload.js +51 -0
- package/models/components/responseenvelopeinvestigationfileupload.js.map +1 -0
- package/models/components/responseenvelopeinvestigationjob.d.ts +11 -0
- package/models/components/responseenvelopeinvestigationjob.d.ts.map +1 -0
- package/models/components/responseenvelopeinvestigationjob.js +51 -0
- package/models/components/responseenvelopeinvestigationjob.js.map +1 -0
- package/models/components/responseenvelopeinvestigationjobslist.d.ts +11 -0
- package/models/components/responseenvelopeinvestigationjobslist.d.ts.map +1 -0
- package/models/components/responseenvelopeinvestigationjobslist.js +51 -0
- package/models/components/responseenvelopeinvestigationjobslist.js.map +1 -0
- package/models/components/responseenvelopeinvestigationusage.d.ts +11 -0
- package/models/components/responseenvelopeinvestigationusage.d.ts.map +1 -0
- package/models/components/responseenvelopeinvestigationusage.js +51 -0
- package/models/components/responseenvelopeinvestigationusage.js.map +1 -0
- package/models/components/responseenvelopetag.d.ts +11 -0
- package/models/components/responseenvelopetag.d.ts.map +1 -0
- package/models/components/responseenvelopetag.js +51 -0
- package/models/components/responseenvelopetag.js.map +1 -0
- package/models/components/responseenvelopetagassignment.d.ts +11 -0
- package/models/components/responseenvelopetagassignment.d.ts.map +1 -0
- package/models/components/responseenvelopetagassignment.js +51 -0
- package/models/components/responseenvelopetagassignment.js.map +1 -0
- package/models/components/responseenvelopetagassignmentslist.d.ts +11 -0
- package/models/components/responseenvelopetagassignmentslist.d.ts.map +1 -0
- package/models/components/responseenvelopetagassignmentslist.js +51 -0
- package/models/components/responseenvelopetagassignmentslist.js.map +1 -0
- package/models/components/responseenvelopetagoperation.d.ts +11 -0
- package/models/components/responseenvelopetagoperation.d.ts.map +1 -0
- package/models/components/responseenvelopetagoperation.js +51 -0
- package/models/components/responseenvelopetagoperation.js.map +1 -0
- package/models/components/responseenvelopetagoperationslist.d.ts +11 -0
- package/models/components/responseenvelopetagoperationslist.d.ts.map +1 -0
- package/models/components/responseenvelopetagoperationslist.js +51 -0
- package/models/components/responseenvelopetagoperationslist.js.map +1 -0
- package/models/components/responseenvelopetagslist.d.ts +11 -0
- package/models/components/responseenvelopetagslist.d.ts.map +1 -0
- package/models/components/responseenvelopetagslist.js +51 -0
- package/models/components/responseenvelopetagslist.js.map +1 -0
- package/models/components/responseenvelopewebpropertytimeline.d.ts +11 -0
- package/models/components/responseenvelopewebpropertytimeline.d.ts.map +1 -0
- package/models/components/responseenvelopewebpropertytimeline.js +51 -0
- package/models/components/responseenvelopewebpropertytimeline.js.map +1 -0
- package/models/components/risk.d.ts +1 -0
- package/models/components/risk.d.ts.map +1 -1
- package/models/components/risk.js +1 -0
- package/models/components/risk.js.map +1 -1
- package/models/components/rtmp.d.ts +17 -0
- package/models/components/rtmp.d.ts.map +1 -0
- package/models/components/rtmp.js +66 -0
- package/models/components/rtmp.js.map +1 -0
- package/models/components/rtmpconnectstatus.d.ts +13 -0
- package/models/components/rtmpconnectstatus.d.ts.map +1 -0
- package/models/components/rtmpconnectstatus.js +58 -0
- package/models/components/rtmpconnectstatus.js.map +1 -0
- package/models/components/searchqueryhit.d.ts +5 -0
- package/models/components/searchqueryhit.d.ts.map +1 -1
- package/models/components/searchqueryhit.js +2 -0
- package/models/components/searchqueryhit.js.map +1 -1
- package/models/components/searchquerytaginfo.d.ts +17 -0
- package/models/components/searchquerytaginfo.d.ts.map +1 -0
- package/models/components/searchquerytaginfo.js +56 -0
- package/models/components/searchquerytaginfo.js.map +1 -0
- package/models/components/service.d.ts +119 -0
- package/models/components/service.d.ts.map +1 -1
- package/models/components/service.js +156 -0
- package/models/components/service.js.map +1 -1
- package/models/components/servicescan.d.ts +118 -0
- package/models/components/servicescan.d.ts.map +1 -1
- package/models/components/servicescan.js +155 -0
- package/models/components/servicescan.js.map +1 -1
- package/models/components/setmembermoduleroleinputbody.d.ts +15 -0
- package/models/components/setmembermoduleroleinputbody.d.ts.map +1 -0
- package/models/components/setmembermoduleroleinputbody.js +49 -0
- package/models/components/setmembermoduleroleinputbody.js.map +1 -0
- package/models/components/smux.d.ts +10 -0
- package/models/components/smux.d.ts.map +1 -0
- package/models/components/smux.js +56 -0
- package/models/components/smux.js.map +1 -0
- package/models/components/spotifyconnect.d.ts +22 -0
- package/models/components/spotifyconnect.d.ts.map +1 -0
- package/models/components/spotifyconnect.js +75 -0
- package/models/components/spotifyconnect.js.map +1 -0
- package/models/components/stomp.d.ts +14 -0
- package/models/components/stomp.d.ts.map +1 -0
- package/models/components/stomp.js +62 -0
- package/models/components/stomp.js.map +1 -0
- package/models/components/syncthingbep.d.ts +14 -0
- package/models/components/syncthingbep.d.ts.map +1 -0
- package/models/components/syncthingbep.js +61 -0
- package/models/components/syncthingbep.js.map +1 -0
- package/models/components/synergy.d.ts +12 -0
- package/models/components/synergy.d.ts.map +1 -0
- package/models/components/synergy.js +59 -0
- package/models/components/synergy.js.map +1 -0
- package/models/components/synologydsm.d.ts +10 -0
- package/models/components/synologydsm.d.ts.map +1 -0
- package/models/components/synologydsm.js +50 -0
- package/models/components/synologydsm.js.map +1 -0
- package/models/components/tag.d.ts +51 -0
- package/models/components/tag.d.ts.map +1 -0
- package/models/components/tag.js +74 -0
- package/models/components/tag.js.map +1 -0
- package/models/components/tagassignment.d.ts +53 -0
- package/models/components/tagassignment.d.ts.map +1 -0
- package/models/components/tagassignment.js +78 -0
- package/models/components/tagassignment.js.map +1 -0
- package/models/components/tagassignmentslist.d.ts +22 -0
- package/models/components/tagassignmentslist.d.ts.map +1 -0
- package/models/components/tagassignmentslist.js +59 -0
- package/models/components/tagassignmentslist.js.map +1 -0
- package/models/components/tagoperation.d.ts +92 -0
- package/models/components/tagoperation.d.ts.map +1 -0
- package/models/components/tagoperation.js +99 -0
- package/models/components/tagoperation.js.map +1 -0
- package/models/components/tagoperationslist.d.ts +22 -0
- package/models/components/tagoperationslist.d.ts.map +1 -0
- package/models/components/tagoperationslist.js +59 -0
- package/models/components/tagoperationslist.js.map +1 -0
- package/models/components/tagslist.d.ts +22 -0
- package/models/components/tagslist.d.ts.map +1 -0
- package/models/components/tagslist.js +59 -0
- package/models/components/tagslist.js.map +1 -0
- package/models/components/tailscalederp.d.ts +10 -0
- package/models/components/tailscalederp.d.ts.map +1 -0
- package/models/components/tailscalederp.js +55 -0
- package/models/components/tailscalederp.js.map +1 -0
- package/models/components/tarantool.d.ts +20 -0
- package/models/components/tarantool.d.ts.map +1 -0
- package/models/components/tarantool.js +73 -0
- package/models/components/tarantool.js.map +1 -0
- package/models/components/taurusstb.d.ts +11 -0
- package/models/components/taurusstb.d.ts.map +1 -0
- package/models/components/taurusstb.js +51 -0
- package/models/components/taurusstb.js.map +1 -0
- package/models/components/taurusstbgroup.d.ts +11 -0
- package/models/components/taurusstbgroup.d.ts.map +1 -0
- package/models/components/taurusstbgroup.js +51 -0
- package/models/components/taurusstbgroup.js.map +1 -0
- package/models/components/telexpertlxp.d.ts +12 -0
- package/models/components/telexpertlxp.d.ts.map +1 -0
- package/models/components/telexpertlxp.js +59 -0
- package/models/components/telexpertlxp.js.map +1 -0
- package/models/components/thirdparty.d.ts +14 -0
- package/models/components/thirdparty.d.ts.map +1 -0
- package/models/components/thirdparty.js +51 -0
- package/models/components/thirdparty.js.map +1 -0
- package/models/components/thrulay.d.ts +12 -0
- package/models/components/thrulay.d.ts.map +1 -0
- package/models/components/thrulay.js +59 -0
- package/models/components/thrulay.js.map +1 -0
- package/models/components/tls.d.ts +8 -0
- package/models/components/tls.d.ts.map +1 -1
- package/models/components/tls.js +4 -0
- package/models/components/tls.js.map +1 -1
- package/models/components/tvtcontrol.d.ts +11 -0
- package/models/components/tvtcontrol.d.ts.map +1 -0
- package/models/components/tvtcontrol.js +56 -0
- package/models/components/tvtcontrol.js.map +1 -0
- package/models/components/twampcontrol.d.ts +11 -0
- package/models/components/twampcontrol.d.ts.map +1 -0
- package/models/components/twampcontrol.js +56 -0
- package/models/components/twampcontrol.js.map +1 -0
- package/models/components/updatecommentinputbody.d.ts +15 -0
- package/models/components/updatecommentinputbody.d.ts.map +1 -0
- package/models/components/updatecommentinputbody.js +49 -0
- package/models/components/updatecommentinputbody.js.map +1 -0
- package/models/components/updatememberroleinputbody.d.ts +1 -1
- package/models/components/updatetaginputbody.d.ts +39 -0
- package/models/components/updatetaginputbody.d.ts.map +1 -0
- package/models/components/updatetaginputbody.js +60 -0
- package/models/components/updatetaginputbody.js.map +1 -0
- package/models/components/utilinetlpp.d.ts +16 -0
- package/models/components/utilinetlpp.d.ts.map +1 -0
- package/models/components/utilinetlpp.js +67 -0
- package/models/components/utilinetlpp.js.map +1 -0
- package/models/components/vantageinfusion.d.ts +12 -0
- package/models/components/vantageinfusion.d.ts.map +1 -0
- package/models/components/vantageinfusion.js +59 -0
- package/models/components/vantageinfusion.js.map +1 -0
- package/models/components/vault.d.ts +15 -0
- package/models/components/vault.d.ts.map +1 -0
- package/models/components/vault.js +62 -0
- package/models/components/vault.js.map +1 -0
- package/models/components/visionhitechipcam.d.ts +18 -0
- package/models/components/visionhitechipcam.d.ts.map +1 -0
- package/models/components/visionhitechipcam.js +68 -0
- package/models/components/visionhitechipcam.js.map +1 -0
- package/models/components/visionhitechipcamseiuserdata.d.ts +12 -0
- package/models/components/visionhitechipcamseiuserdata.d.ts.map +1 -0
- package/models/components/visionhitechipcamseiuserdata.js +57 -0
- package/models/components/visionhitechipcamseiuserdata.js.map +1 -0
- package/models/components/vuln.d.ts +1 -0
- package/models/components/vuln.d.ts.map +1 -1
- package/models/components/vuln.js +1 -0
- package/models/components/vuln.js.map +1 -1
- package/models/components/webproperty.d.ts +1 -0
- package/models/components/webproperty.d.ts.map +1 -1
- package/models/components/webproperty.js +1 -0
- package/models/components/webproperty.js.map +1 -1
- package/models/components/webpropertytimeline.d.ts +12 -0
- package/models/components/webpropertytimeline.d.ts.map +1 -0
- package/models/components/webpropertytimeline.js +57 -0
- package/models/components/webpropertytimeline.js.map +1 -0
- package/models/components/webtimelineevent.d.ts +14 -0
- package/models/components/webtimelineevent.d.ts.map +1 -0
- package/models/components/webtimelineevent.js +61 -0
- package/models/components/webtimelineevent.js.map +1 -0
- package/models/components/webtimelineeventasset.d.ts +14 -0
- package/models/components/webtimelineeventasset.d.ts.map +1 -0
- package/models/components/webtimelineeventasset.js +52 -0
- package/models/components/webtimelineeventasset.js.map +1 -0
- package/models/components/wincecerdisp.d.ts +17 -0
- package/models/components/wincecerdisp.d.ts.map +1 -0
- package/models/components/wincecerdisp.js +66 -0
- package/models/components/wincecerdisp.js.map +1 -0
- package/models/components/wordpress.d.ts +15 -0
- package/models/components/wordpress.d.ts.map +1 -0
- package/models/components/wordpress.js +61 -0
- package/models/components/wordpress.js.map +1 -0
- package/models/components/wowrealmd.d.ts +11 -0
- package/models/components/wowrealmd.d.ts.map +1 -0
- package/models/components/wowrealmd.js +57 -0
- package/models/components/wowrealmd.js.map +1 -0
- package/models/operations/index.d.ts +31 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +31 -0
- package/models/operations/index.js.map +1 -1
- package/models/operations/v3accountmanagementlistorgmembers.d.ts +1 -1
- package/models/operations/v3accountmanagementmembercreditsusage.d.ts +1 -1
- package/models/operations/v3accountmanagementorgdetails.d.ts +6 -1
- package/models/operations/v3accountmanagementorgdetails.d.ts.map +1 -1
- package/models/operations/v3accountmanagementorgdetails.js +2 -0
- package/models/operations/v3accountmanagementorgdetails.js.map +1 -1
- package/models/operations/v3accountmanagementremovemembermodule.d.ts +35 -0
- package/models/operations/v3accountmanagementremovemembermodule.d.ts.map +1 -0
- package/models/operations/v3accountmanagementremovemembermodule.js +70 -0
- package/models/operations/v3accountmanagementremovemembermodule.js.map +1 -0
- package/models/operations/v3accountmanagementremoveorgmember.d.ts +1 -1
- package/models/operations/v3accountmanagementsetmembermodulerole.d.ts +38 -0
- package/models/operations/v3accountmanagementsetmembermodulerole.d.ts.map +1 -0
- package/models/operations/v3accountmanagementsetmembermodulerole.js +73 -0
- package/models/operations/v3accountmanagementsetmembermodulerole.js.map +1 -0
- package/models/operations/v3accountmanagementupdateorgmember.d.ts +1 -1
- package/models/operations/v3commentscreatecomment.d.ts +32 -0
- package/models/operations/v3commentscreatecomment.d.ts.map +1 -0
- package/models/operations/v3commentscreatecomment.js +72 -0
- package/models/operations/v3commentscreatecomment.js.map +1 -0
- package/models/operations/v3commentsdeletecomment.d.ts +33 -0
- package/models/operations/v3commentsdeletecomment.d.ts.map +1 -0
- package/models/operations/v3commentsdeletecomment.js +69 -0
- package/models/operations/v3commentsdeletecomment.js.map +1 -0
- package/models/operations/v3commentslistcomments.d.ts +79 -0
- package/models/operations/v3commentslistcomments.d.ts.map +1 -0
- package/models/operations/v3commentslistcomments.js +94 -0
- package/models/operations/v3commentslistcomments.js.map +1 -0
- package/models/operations/v3commentsupdatecomment.d.ts +37 -0
- package/models/operations/v3commentsupdatecomment.d.ts.map +1 -0
- package/models/operations/v3commentsupdatecomment.js +74 -0
- package/models/operations/v3commentsupdatecomment.js.map +1 -0
- package/models/operations/v3globaldataassethostenrichment.d.ts +35 -0
- package/models/operations/v3globaldataassethostenrichment.d.ts.map +1 -0
- package/models/operations/v3globaldataassethostenrichment.js +72 -0
- package/models/operations/v3globaldataassethostenrichment.js.map +1 -0
- package/models/operations/v3globaldataassetwebpropertytimeline.d.ts +45 -0
- package/models/operations/v3globaldataassetwebpropertytimeline.d.ts.map +1 -0
- package/models/operations/v3globaldataassetwebpropertytimeline.js +76 -0
- package/models/operations/v3globaldataassetwebpropertytimeline.js.map +1 -0
- package/models/operations/v3globaldatadnsipresolutionbound.d.ts +68 -0
- package/models/operations/v3globaldatadnsipresolutionbound.d.ts.map +1 -0
- package/models/operations/v3globaldatadnsipresolutionbound.js +88 -0
- package/models/operations/v3globaldatadnsipresolutionbound.js.map +1 -0
- package/models/operations/v3globaldatadnsipresolutionranges.d.ts +73 -0
- package/models/operations/v3globaldatadnsipresolutionranges.d.ts.map +1 -0
- package/models/operations/v3globaldatadnsipresolutionranges.js +89 -0
- package/models/operations/v3globaldatadnsipresolutionranges.js.map +1 -0
- package/models/operations/v3globaldatadnsnameresolutionbound.d.ts +72 -0
- package/models/operations/v3globaldatadnsnameresolutionbound.d.ts.map +1 -0
- package/models/operations/v3globaldatadnsnameresolutionbound.js +91 -0
- package/models/operations/v3globaldatadnsnameresolutionbound.js.map +1 -0
- package/models/operations/v3globaldatadnsnameresolutionranges.d.ts +72 -0
- package/models/operations/v3globaldatadnsnameresolutionranges.d.ts.map +1 -0
- package/models/operations/v3globaldatadnsnameresolutionranges.js +91 -0
- package/models/operations/v3globaldatadnsnameresolutionranges.js.map +1 -0
- package/models/operations/v3globaldataserviceonhost.d.ts +4 -4
- package/models/operations/v3globaldataserviceonhost.d.ts.map +1 -1
- package/models/operations/v3globaldataserviceonhost.js +4 -5
- package/models/operations/v3globaldataserviceonhost.js.map +1 -1
- package/models/operations/v3tagsbulkcreateassignments.d.ts +37 -0
- package/models/operations/v3tagsbulkcreateassignments.d.ts.map +1 -0
- package/models/operations/v3tagsbulkcreateassignments.js +74 -0
- package/models/operations/v3tagsbulkcreateassignments.js.map +1 -0
- package/models/operations/v3tagsbulkdeleteassignments.d.ts +37 -0
- package/models/operations/v3tagsbulkdeleteassignments.d.ts.map +1 -0
- package/models/operations/v3tagsbulkdeleteassignments.js +74 -0
- package/models/operations/v3tagsbulkdeleteassignments.js.map +1 -0
- package/models/operations/v3tagscanceloperation.d.ts +40 -0
- package/models/operations/v3tagscanceloperation.d.ts.map +1 -0
- package/models/operations/v3tagscanceloperation.js +74 -0
- package/models/operations/v3tagscanceloperation.js.map +1 -0
- package/models/operations/v3tagscreateassignment.d.ts +37 -0
- package/models/operations/v3tagscreateassignment.d.ts.map +1 -0
- package/models/operations/v3tagscreateassignment.js +74 -0
- package/models/operations/v3tagscreateassignment.js.map +1 -0
- package/models/operations/v3tagscreatetag.d.ts +32 -0
- package/models/operations/v3tagscreatetag.d.ts.map +1 -0
- package/models/operations/v3tagscreatetag.js +72 -0
- package/models/operations/v3tagscreatetag.js.map +1 -0
- package/models/operations/v3tagsdeleteassignment.d.ts +38 -0
- package/models/operations/v3tagsdeleteassignment.d.ts.map +1 -0
- package/models/operations/v3tagsdeleteassignment.js +71 -0
- package/models/operations/v3tagsdeleteassignment.js.map +1 -0
- package/models/operations/v3tagsdeletetag.d.ts +33 -0
- package/models/operations/v3tagsdeletetag.d.ts.map +1 -0
- package/models/operations/v3tagsdeletetag.js +69 -0
- package/models/operations/v3tagsdeletetag.js.map +1 -0
- package/models/operations/v3tagsgetoperation.d.ts +40 -0
- package/models/operations/v3tagsgetoperation.d.ts.map +1 -0
- package/models/operations/v3tagsgetoperation.js +74 -0
- package/models/operations/v3tagsgetoperation.js.map +1 -0
- package/models/operations/v3tagsgettag.d.ts +35 -0
- package/models/operations/v3tagsgettag.d.ts.map +1 -0
- package/models/operations/v3tagsgettag.js +72 -0
- package/models/operations/v3tagsgettag.js.map +1 -0
- package/models/operations/v3tagslistassignments.d.ts +103 -0
- package/models/operations/v3tagslistassignments.d.ts.map +1 -0
- package/models/operations/v3tagslistassignments.js +108 -0
- package/models/operations/v3tagslistassignments.js.map +1 -0
- package/models/operations/v3tagslistoperations.d.ts +104 -0
- package/models/operations/v3tagslistoperations.d.ts.map +1 -0
- package/models/operations/v3tagslistoperations.js +112 -0
- package/models/operations/v3tagslistoperations.js.map +1 -0
- package/models/operations/v3tagslisttags.d.ts +91 -0
- package/models/operations/v3tagslisttags.d.ts.map +1 -0
- package/models/operations/v3tagslisttags.js +103 -0
- package/models/operations/v3tagslisttags.js.map +1 -0
- package/models/operations/v3tagsupdatetag.d.ts +37 -0
- package/models/operations/v3tagsupdatetag.d.ts.map +1 -0
- package/models/operations/v3tagsupdatetag.js +74 -0
- package/models/operations/v3tagsupdatetag.js.map +1 -0
- package/models/operations/v3threathuntinggethostobservationswithcertificate.d.ts +1 -1
- package/models/operations/v3threathuntinginvestigationsfilescreate.d.ts +32 -0
- package/models/operations/v3threathuntinginvestigationsfilescreate.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsfilescreate.js +72 -0
- package/models/operations/v3threathuntinginvestigationsfilescreate.js.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobscreate.d.ts +32 -0
- package/models/operations/v3threathuntinginvestigationsjobscreate.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobscreate.js +72 -0
- package/models/operations/v3threathuntinginvestigationsjobscreate.js.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobsget.d.ts +35 -0
- package/models/operations/v3threathuntinginvestigationsjobsget.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobsget.js +72 -0
- package/models/operations/v3threathuntinginvestigationsjobsget.js.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobslist.d.ts +40 -0
- package/models/operations/v3threathuntinginvestigationsjobslist.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobslist.js +74 -0
- package/models/operations/v3threathuntinginvestigationsjobslist.js.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobsresults.d.ts +34 -0
- package/models/operations/v3threathuntinginvestigationsjobsresults.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsjobsresults.js +71 -0
- package/models/operations/v3threathuntinginvestigationsjobsresults.js.map +1 -0
- package/models/operations/v3threathuntinginvestigationsusageget.d.ts +30 -0
- package/models/operations/v3threathuntinginvestigationsusageget.d.ts.map +1 -0
- package/models/operations/v3threathuntinginvestigationsusageget.js +70 -0
- package/models/operations/v3threathuntinginvestigationsusageget.js.map +1 -0
- package/package.json +1 -1
- package/sdk/accountmanagement.d.ts +33 -11
- package/sdk/accountmanagement.d.ts.map +1 -1
- package/sdk/accountmanagement.js +36 -12
- package/sdk/accountmanagement.js.map +1 -1
- package/sdk/adversaryinvestigation.d.ts +44 -2
- package/sdk/adversaryinvestigation.d.ts.map +1 -1
- package/sdk/adversaryinvestigation.js +62 -2
- package/sdk/adversaryinvestigation.js.map +1 -1
- package/sdk/globaldata.d.ts +42 -0
- package/sdk/globaldata.d.ts.map +1 -1
- package/sdk/globaldata.js +60 -0
- package/sdk/globaldata.js.map +1 -1
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/sdk/tagsandcomments.d.ts +136 -0
- package/sdk/tagsandcomments.d.ts.map +1 -0
- package/sdk/tagsandcomments.js +188 -0
- package/sdk/tagsandcomments.js.map +1 -0
- package/sdk/threathunting.d.ts +44 -2
- package/sdk/threathunting.d.ts.map +1 -1
- package/sdk/threathunting.js +62 -2
- package/sdk/threathunting.js.map +1 -1
- package/src/funcs/accountManagementGetMemberCreditUsage.ts +2 -2
- package/src/funcs/accountManagementGetOrganizationCreditUsage.ts +1 -1
- package/src/funcs/accountManagementGetOrganizationDetails.ts +2 -1
- package/src/funcs/accountManagementInviteUserToOrganization.ts +1 -1
- package/src/funcs/accountManagementListOrganizationMembers.ts +2 -2
- package/src/funcs/accountManagementRemoveOrganizationMember.ts +2 -2
- package/src/funcs/accountManagementRemoveOrganizationMemberModule.ts +214 -0
- package/src/funcs/accountManagementSetOrganizationMemberModuleRole.ts +217 -0
- package/src/funcs/accountManagementUpdateOrganizationMember.ts +2 -2
- package/src/funcs/globalDataCreateTrackedScan.ts +1 -1
- package/src/funcs/globalDataGetHostEnrichment.ts +210 -0
- package/src/funcs/globalDataGetWebPropertyTimeline.ts +207 -0
- package/src/funcs/globalDataListDnsIpResolutionBounds.ts +207 -0
- package/src/funcs/globalDataListDnsIpResolutionRanges.ts +208 -0
- package/src/funcs/globalDataListDnsNameResolutionBounds.ts +207 -0
- package/src/funcs/globalDataListDnsNameResolutionRanges.ts +206 -0
- package/src/funcs/tagsAndCommentsBulkCreateTagAssignments.ts +202 -0
- package/src/funcs/tagsAndCommentsBulkDeleteTagAssignments.ts +202 -0
- package/src/funcs/tagsAndCommentsCancelTagOperation.ts +203 -0
- package/src/funcs/tagsAndCommentsCreateComment.ts +194 -0
- package/src/funcs/tagsAndCommentsCreateTag.ts +193 -0
- package/src/funcs/tagsAndCommentsCreateTagAssignment.ts +200 -0
- package/src/funcs/tagsAndCommentsDeleteComment.ts +204 -0
- package/src/funcs/tagsAndCommentsDeleteTag.ts +201 -0
- package/src/funcs/tagsAndCommentsDeleteTagAssignment.ts +214 -0
- package/src/funcs/tagsAndCommentsGetTag.ts +196 -0
- package/src/funcs/tagsAndCommentsGetTagOperation.ts +202 -0
- package/src/funcs/tagsAndCommentsListComments.ts +198 -0
- package/src/funcs/tagsAndCommentsListTagAssignments.ts +205 -0
- package/src/funcs/tagsAndCommentsListTagOperations.ts +202 -0
- package/src/funcs/tagsAndCommentsListTags.ts +196 -0
- package/src/funcs/tagsAndCommentsUpdateComment.ts +200 -0
- package/src/funcs/tagsAndCommentsUpdateTag.ts +199 -0
- package/src/funcs/threatHuntingCreateCenseyeJob.ts +1 -1
- package/src/funcs/threatHuntingCreateInvestigationFileUpload.ts +196 -0
- package/src/funcs/threatHuntingCreateInvestigationJob.ts +196 -0
- package/src/funcs/threatHuntingGetHostObservationsWithCertificate.ts +1 -1
- package/src/funcs/threatHuntingGetInvestigationJob.ts +201 -0
- package/src/funcs/threatHuntingGetInvestigationJobResults.ts +201 -0
- package/src/funcs/threatHuntingGetInvestigationUsage.ts +193 -0
- package/src/funcs/threatHuntingListInvestigationJobs.ts +195 -0
- package/src/hooks/types.ts +1 -0
- package/src/lib/config.ts +4 -4
- package/src/lib/encodings.ts +59 -24
- package/src/lib/http.ts +3 -1
- package/src/lib/matchers.ts +1 -1
- package/src/lib/primitives.ts +16 -0
- package/src/lib/retries.ts +8 -0
- package/src/lib/sdks.ts +54 -17
- package/src/lib/security.ts +10 -5
- package/src/models/components/argocd.ts +45 -0
- package/src/models/components/argocdanonymousexposure.ts +45 -0
- package/src/models/components/argocdsettings.ts +60 -0
- package/src/models/components/argocdsettingsoidcconfig.ts +38 -0
- package/src/models/components/bluemaxnuttcp.ts +31 -0
- package/src/models/components/bulkcreatetagassignmentsinputbody.ts +47 -0
- package/src/models/components/bulkdeletetagassignmentsinputbody.ts +48 -0
- package/src/models/components/ciscosdwanvdaemon.ts +45 -0
- package/src/models/components/clamav.ts +39 -0
- package/src/models/components/clickhousehttp.ts +51 -0
- package/src/models/components/clickhousehttperror.ts +33 -0
- package/src/models/components/clickhousenative.ts +60 -0
- package/src/models/components/clickhousenativeerror.ts +35 -0
- package/src/models/components/cnordsecuritycenter.ts +57 -0
- package/src/models/components/cnordsecuritycenterevent.ts +35 -0
- package/src/models/components/comeliticona.ts +36 -0
- package/src/models/components/comment.ts +103 -0
- package/src/models/components/commentslist.ts +51 -0
- package/src/models/components/cortexxdrp2p.ts +31 -0
- package/src/models/components/createcommentinputbody.ts +45 -0
- package/src/models/components/createdinvestigationjob.ts +111 -0
- package/src/models/components/createinvestigationfileinputbody.ts +76 -0
- package/src/models/components/createinvestigationjobinputbody.ts +61 -0
- package/src/models/components/createtagassignmentinputbody.ts +41 -0
- package/src/models/components/createtaginputbody.ts +66 -0
- package/src/models/components/creditusagereport.ts +2 -2
- package/src/models/components/denonheos.ts +36 -0
- package/src/models/components/dicom.ts +51 -0
- package/src/models/components/dicomaabort.ts +39 -0
- package/src/models/components/dicomassociateac.ts +39 -0
- package/src/models/components/dicomassociaterj.ts +42 -0
- package/src/models/components/dlt.ts +50 -0
- package/src/models/components/dnsipresolutionboundresponse.ts +59 -0
- package/src/models/components/dnsipresolutionrangerecord.ts +79 -0
- package/src/models/components/dnsipresolutionrangeresponse.ts +59 -0
- package/src/models/components/dnsipresolutionrecord.ts +79 -0
- package/src/models/components/dnsnameresolutionboundresponse.ts +59 -0
- package/src/models/components/dnsnameresolutionrangeresponse.ts +59 -0
- package/src/models/components/dnsresolutionrangerecord.ts +119 -0
- package/src/models/components/dnsresolutionrecord.ts +115 -0
- package/src/models/components/dotnetnegotiatestream.ts +47 -0
- package/src/models/components/dubbo.ts +24 -0
- package/src/models/components/elasticsearchtransport.ts +44 -0
- package/src/models/components/endpointscan.ts +48 -0
- package/src/models/components/endpointscanstate.ts +48 -0
- package/src/models/components/fins.ts +40 -0
- package/src/models/components/fourdserver.ts +45 -0
- package/src/models/components/geovisionaudio.ts +33 -0
- package/src/models/components/giop.ts +47 -0
- package/src/models/components/giopiiopprofile.ts +50 -0
- package/src/models/components/giopior.ts +40 -0
- package/src/models/components/gioptaggedcomponent.ts +47 -0
- package/src/models/components/gopher.ts +33 -0
- package/src/models/components/gopheritem.ts +45 -0
- package/src/models/components/grilconsole.ts +45 -0
- package/src/models/components/hoosathtndgrpc.ts +51 -0
- package/src/models/components/hostenrichment.ts +88 -0
- package/src/models/components/hostenrichmentasset.ts +37 -0
- package/src/models/components/hostenrichmentgreynoise.ts +49 -0
- package/src/models/components/hostenrichmentservice.ts +46 -0
- package/src/models/components/httpredirectchainlink.ts +7 -0
- package/src/models/components/httpredirectchainlinkhttpstatus.ts +39 -0
- package/src/models/components/iec608705104.ts +41 -0
- package/src/models/components/iec608705104apci.ts +38 -0
- package/src/models/components/iec608705104asdu.ts +42 -0
- package/src/models/components/index.ts +171 -0
- package/src/models/components/influxdb.ts +40 -0
- package/src/models/components/investigationfileupload.ts +59 -0
- package/src/models/components/investigationjob.ts +95 -0
- package/src/models/components/investigationjobslist.ts +48 -0
- package/src/models/components/investigationusage.ts +62 -0
- package/src/models/components/iperf3.ts +33 -0
- package/src/models/components/iscdhcpomapi.ts +58 -0
- package/src/models/components/iscdhcpomapireplyheader.ts +39 -0
- package/src/models/components/javarmi.ts +46 -0
- package/src/models/components/javarmiunicastref.ts +35 -0
- package/src/models/components/jupyter.ts +28 -0
- package/src/models/components/kcodesnetusb.ts +43 -0
- package/src/models/components/keycloak.ts +49 -0
- package/src/models/components/knxip.ts +52 -0
- package/src/models/components/knxipdeviceinfo.ts +57 -0
- package/src/models/components/knxipservicefamily.ts +33 -0
- package/src/models/components/libp2p.ts +36 -0
- package/src/models/components/malloryai.ts +69 -0
- package/src/models/components/malloryaiobservable.ts +49 -0
- package/src/models/components/malloryaiopinion.ts +67 -0
- package/src/models/components/malloryaiopinionattributes.ts +44 -0
- package/src/models/components/malloryaiverdictsummary.ts +33 -0
- package/src/models/components/managesieve.ts +56 -0
- package/src/models/components/manticoresphinxapi.ts +46 -0
- package/src/models/components/manticoresphinxapistatusentry.ts +33 -0
- package/src/models/components/membercounts.ts +3 -3
- package/src/models/components/membermodulerole.ts +55 -0
- package/src/models/components/moduleroleoption.ts +44 -0
- package/src/models/components/mplsldp.ts +35 -0
- package/src/models/components/mplsldpheader.ts +39 -0
- package/src/models/components/mplsldpnotification.ts +39 -0
- package/src/models/components/mysqlx.ts +47 -0
- package/src/models/components/netflixnrdp.ts +31 -0
- package/src/models/components/nginxproxymanager.ts +33 -0
- package/src/models/components/nrpe.ts +35 -0
- package/src/models/components/openflow.ts +87 -0
- package/src/models/components/openflowhelloelement.ts +39 -0
- package/src/models/components/opwfsc3000.ts +36 -0
- package/src/models/components/orencoatrtu.ts +56 -0
- package/src/models/components/organizationdetails.ts +9 -0
- package/src/models/components/organizationmember.ts +11 -1
- package/src/models/components/organizationmemberslist.ts +1 -1
- package/src/models/components/organizationmodule.ts +71 -0
- package/src/models/components/otlpgrpc.ts +38 -0
- package/src/models/components/perforcep4d.ts +41 -0
- package/src/models/components/perforcep4dinfo.ts +66 -0
- package/src/models/components/perforcep4dprotocol.ts +51 -0
- package/src/models/components/pigeonhole.ts +56 -0
- package/src/models/components/proxmoxve.ts +42 -0
- package/src/models/components/proxmoxverealm.ts +37 -0
- package/src/models/components/qdrantgrpc.ts +33 -0
- package/src/models/components/r1softbuagent.ts +42 -0
- package/src/models/components/redshift.ts +33 -0
- package/src/models/components/reolinkbaichuan.ts +58 -0
- package/src/models/components/reolinkbaichuanalarmchannel.ts +45 -0
- package/src/models/components/reputation.ts +14 -0
- package/src/models/components/reputationclassprobability.ts +33 -0
- package/src/models/components/reputationevidence.ts +6 -0
- package/src/models/components/reputationevidencefeature.ts +39 -0
- package/src/models/components/responseenvelopecomment.ts +32 -0
- package/src/models/components/responseenvelopecommentslist.ts +32 -0
- package/src/models/components/responseenvelopecreatedinvestigationjob.ts +41 -0
- package/src/models/components/responseenvelopednsipresolutionboundresponse.ts +42 -0
- package/src/models/components/responseenvelopednsipresolutionrangeresponse.ts +42 -0
- package/src/models/components/responseenvelopednsnameresolutionboundresponse.ts +42 -0
- package/src/models/components/responseenvelopednsnameresolutionrangeresponse.ts +42 -0
- package/src/models/components/responseenvelopehostenrichmentasset.ts +36 -0
- package/src/models/components/responseenvelopeinvestigationfileupload.ts +41 -0
- package/src/models/components/responseenvelopeinvestigationjob.ts +35 -0
- package/src/models/components/responseenvelopeinvestigationjobslist.ts +36 -0
- package/src/models/components/responseenvelopeinvestigationusage.ts +36 -0
- package/src/models/components/responseenvelopetag.ts +32 -0
- package/src/models/components/responseenvelopetagassignment.ts +32 -0
- package/src/models/components/responseenvelopetagassignmentslist.ts +36 -0
- package/src/models/components/responseenvelopetagoperation.ts +32 -0
- package/src/models/components/responseenvelopetagoperationslist.ts +35 -0
- package/src/models/components/responseenvelopetagslist.ts +32 -0
- package/src/models/components/responseenvelopewebpropertytimeline.ts +36 -0
- package/src/models/components/risk.ts +2 -0
- package/src/models/components/rtmp.ts +52 -0
- package/src/models/components/rtmpconnectstatus.ts +42 -0
- package/src/models/components/searchqueryhit.ts +9 -0
- package/src/models/components/searchquerytaginfo.ts +44 -0
- package/src/models/components/service.ts +252 -0
- package/src/models/components/servicescan.ts +250 -0
- package/src/models/components/setmembermoduleroleinputbody.ts +36 -0
- package/src/models/components/smux.ts +33 -0
- package/src/models/components/spotifyconnect.ts +68 -0
- package/src/models/components/stomp.ts +43 -0
- package/src/models/components/syncthingbep.ts +46 -0
- package/src/models/components/synergy.ts +39 -0
- package/src/models/components/synologydsm.ts +31 -0
- package/src/models/components/tag.ts +93 -0
- package/src/models/components/tagassignment.ts +97 -0
- package/src/models/components/tagassignmentslist.ts +51 -0
- package/src/models/components/tagoperation.ts +152 -0
- package/src/models/components/tagoperationslist.ts +51 -0
- package/src/models/components/tagslist.ts +51 -0
- package/src/models/components/tailscalederp.ts +36 -0
- package/src/models/components/tarantool.ts +64 -0
- package/src/models/components/taurusstb.ts +35 -0
- package/src/models/components/taurusstbgroup.ts +33 -0
- package/src/models/components/telexpertlxp.ts +42 -0
- package/src/models/components/thirdparty.ts +35 -0
- package/src/models/components/thrulay.ts +39 -0
- package/src/models/components/tls.ts +12 -0
- package/src/models/components/tvtcontrol.ts +38 -0
- package/src/models/components/twampcontrol.ts +38 -0
- package/src/models/components/updatecommentinputbody.ts +34 -0
- package/src/models/components/updatememberroleinputbody.ts +1 -1
- package/src/models/components/updatetaginputbody.ts +66 -0
- package/src/models/components/utilinetlpp.ts +54 -0
- package/src/models/components/vantageinfusion.ts +42 -0
- package/src/models/components/vault.ts +44 -0
- package/src/models/components/visionhitechipcam.ts +59 -0
- package/src/models/components/visionhitechipcamseiuserdata.ts +40 -0
- package/src/models/components/vuln.ts +2 -0
- package/src/models/components/webproperty.ts +2 -0
- package/src/models/components/webpropertytimeline.ts +42 -0
- package/src/models/components/webtimelineevent.ts +47 -0
- package/src/models/components/webtimelineeventasset.ts +37 -0
- package/src/models/components/wincecerdisp.ts +54 -0
- package/src/models/components/wordpress.ts +47 -0
- package/src/models/components/wowrealmd.ts +39 -0
- package/src/models/operations/index.ts +31 -0
- package/src/models/operations/v3accountmanagementlistorgmembers.ts +1 -1
- package/src/models/operations/v3accountmanagementmembercreditsusage.ts +1 -1
- package/src/models/operations/v3accountmanagementorgdetails.ts +8 -1
- package/src/models/operations/v3accountmanagementremovemembermodule.ts +93 -0
- package/src/models/operations/v3accountmanagementremoveorgmember.ts +1 -1
- package/src/models/operations/v3accountmanagementsetmembermodulerole.ts +100 -0
- package/src/models/operations/v3accountmanagementupdateorgmember.ts +1 -1
- package/src/models/operations/v3commentscreatecomment.ts +83 -0
- package/src/models/operations/v3commentsdeletecomment.ts +82 -0
- package/src/models/operations/v3commentslistcomments.ts +145 -0
- package/src/models/operations/v3commentsupdatecomment.ts +90 -0
- package/src/models/operations/v3globaldataassethostenrichment.ts +93 -0
- package/src/models/operations/v3globaldataassetwebpropertytimeline.ts +109 -0
- package/src/models/operations/v3globaldatadnsipresolutionbound.ts +138 -0
- package/src/models/operations/v3globaldatadnsipresolutionranges.ts +146 -0
- package/src/models/operations/v3globaldatadnsnameresolutionbound.ts +152 -0
- package/src/models/operations/v3globaldatadnsnameresolutionranges.ts +155 -0
- package/src/models/operations/v3globaldataserviceonhost.ts +7 -6
- package/src/models/operations/v3tagsbulkcreateassignments.ts +94 -0
- package/src/models/operations/v3tagsbulkdeleteassignments.ts +94 -0
- package/src/models/operations/v3tagscanceloperation.ts +93 -0
- package/src/models/operations/v3tagscreateassignment.ts +92 -0
- package/src/models/operations/v3tagscreatetag.ts +81 -0
- package/src/models/operations/v3tagsdeleteassignment.ts +89 -0
- package/src/models/operations/v3tagsdeletetag.ts +80 -0
- package/src/models/operations/v3tagsgetoperation.ts +91 -0
- package/src/models/operations/v3tagsgettag.ts +84 -0
- package/src/models/operations/v3tagslistassignments.ts +182 -0
- package/src/models/operations/v3tagslistoperations.ts +179 -0
- package/src/models/operations/v3tagslisttags.ts +157 -0
- package/src/models/operations/v3tagsupdatetag.ts +88 -0
- package/src/models/operations/v3threathuntinggethostobservationswithcertificate.ts +1 -1
- package/src/models/operations/v3threathuntinginvestigationsfilescreate.ts +94 -0
- package/src/models/operations/v3threathuntinginvestigationsjobscreate.ts +94 -0
- package/src/models/operations/v3threathuntinginvestigationsjobsget.ts +95 -0
- package/src/models/operations/v3threathuntinginvestigationsjobslist.ts +102 -0
- package/src/models/operations/v3threathuntinginvestigationsjobsresults.ts +94 -0
- package/src/models/operations/v3threathuntinginvestigationsusageget.ts +88 -0
- package/src/sdk/accountmanagement.ts +65 -11
- package/src/sdk/adversaryinvestigation.ts +110 -2
- package/src/sdk/globaldata.ts +108 -0
- package/src/sdk/sdk.ts +6 -0
- package/src/sdk/tagsandcomments.ts +334 -0
- package/src/sdk/threathunting.ts +110 -2
- package/src/types/async.ts +8 -7
- package/types/async.d.ts.map +1 -1
- package/types/async.js +8 -7
- package/types/async.js.map +1 -1
- package/lib/dlv.d.ts +0 -14
- package/lib/dlv.d.ts.map +0 -1
- package/lib/dlv.js +0 -49
- package/lib/dlv.js.map +0 -1
- package/lib/is-plain-object.d.ts +0 -2
- package/lib/is-plain-object.d.ts.map +0 -1
- package/lib/is-plain-object.js +0 -41
- package/lib/is-plain-object.js.map +0 -1
- package/src/lib/dlv.ts +0 -53
- package/src/lib/is-plain-object.ts +0 -43
|
@@ -0,0 +1,1385 @@
|
|
|
1
|
+
# TagsAndComments
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Endpoints related to asset tagging and commenting
|
|
6
|
+
|
|
7
|
+
### Available Operations
|
|
8
|
+
|
|
9
|
+
* [listComments](#listcomments) - List comments
|
|
10
|
+
* [createComment](#createcomment) - Create a comment
|
|
11
|
+
* [deleteComment](#deletecomment) - Delete a comment
|
|
12
|
+
* [updateComment](#updatecomment) - Update a comment
|
|
13
|
+
* [listTags](#listtags) - List tags
|
|
14
|
+
* [createTag](#createtag) - Create a tag
|
|
15
|
+
* [deleteTag](#deletetag) - Delete a tag
|
|
16
|
+
* [getTag](#gettag) - Get a tag
|
|
17
|
+
* [updateTag](#updatetag) - Update a tag
|
|
18
|
+
* [listTagAssignments](#listtagassignments) - List tag assignments
|
|
19
|
+
* [createTagAssignment](#createtagassignment) - Create a tag assignment
|
|
20
|
+
* [bulkCreateTagAssignments](#bulkcreatetagassignments) - Bulk create tag assignments
|
|
21
|
+
* [bulkDeleteTagAssignments](#bulkdeletetagassignments) - Bulk delete tag assignments
|
|
22
|
+
* [deleteTagAssignment](#deletetagassignment) - Delete a tag assignment
|
|
23
|
+
* [listTagOperations](#listtagoperations) - List tag operations
|
|
24
|
+
* [getTagOperation](#gettagoperation) - Get a tag operation
|
|
25
|
+
* [cancelTagOperation](#canceltagoperation) - Cancel a tag operation
|
|
26
|
+
|
|
27
|
+
## listComments
|
|
28
|
+
|
|
29
|
+
Retrieve a paginated list of comments in your organization. Use query parameters to filter by asset, creator, or creation time.<br><br>This endpoint does not cost any credits to execute.
|
|
30
|
+
|
|
31
|
+
### Example Usage
|
|
32
|
+
|
|
33
|
+
<!-- UsageSnippet language="typescript" operationID="v3-comments-list-comments" method="get" path="/v3/comments" -->
|
|
34
|
+
```typescript
|
|
35
|
+
import { SDK } from "@censys/platform-sdk";
|
|
36
|
+
|
|
37
|
+
const sdk = new SDK({
|
|
38
|
+
organizationId: "<id>",
|
|
39
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
async function run() {
|
|
43
|
+
const result = await sdk.tagsAndComments.listComments({});
|
|
44
|
+
|
|
45
|
+
console.log(result);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
run();
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Standalone function
|
|
52
|
+
|
|
53
|
+
The standalone function version of this method:
|
|
54
|
+
|
|
55
|
+
```typescript
|
|
56
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
57
|
+
import { tagsAndCommentsListComments } from "@censys/platform-sdk/funcs/tagsAndCommentsListComments.js";
|
|
58
|
+
|
|
59
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
60
|
+
// You can create one instance of it to use across an application.
|
|
61
|
+
const sdk = new SDKCore({
|
|
62
|
+
organizationId: "<id>",
|
|
63
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
async function run() {
|
|
67
|
+
const res = await tagsAndCommentsListComments(sdk, {});
|
|
68
|
+
if (res.ok) {
|
|
69
|
+
const { value: result } = res;
|
|
70
|
+
console.log(result);
|
|
71
|
+
} else {
|
|
72
|
+
console.log("tagsAndCommentsListComments failed:", res.error);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
run();
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
### Parameters
|
|
80
|
+
|
|
81
|
+
| Parameter | Type | Required | Description |
|
|
82
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
83
|
+
| `request` | [operations.V3CommentsListCommentsRequest](../../models/operations/v3commentslistcommentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
84
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
85
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
86
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
87
|
+
|
|
88
|
+
### Response
|
|
89
|
+
|
|
90
|
+
**Promise\<[operations.V3CommentsListCommentsResponse](../../models/operations/v3commentslistcommentsresponse.md)\>**
|
|
91
|
+
|
|
92
|
+
### Errors
|
|
93
|
+
|
|
94
|
+
| Error Type | Status Code | Content Type |
|
|
95
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
96
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
97
|
+
| errors.ErrorModel | 403, 422 | application/problem+json |
|
|
98
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
99
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
100
|
+
|
|
101
|
+
## createComment
|
|
102
|
+
|
|
103
|
+
Add a comment on an asset in your organization.<br><br>This endpoint does not cost any credits to execute.
|
|
104
|
+
|
|
105
|
+
### Example Usage
|
|
106
|
+
|
|
107
|
+
<!-- UsageSnippet language="typescript" operationID="v3-comments-create-comment" method="post" path="/v3/comments" -->
|
|
108
|
+
```typescript
|
|
109
|
+
import { SDK } from "@censys/platform-sdk";
|
|
110
|
+
|
|
111
|
+
const sdk = new SDK({
|
|
112
|
+
organizationId: "<id>",
|
|
113
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
async function run() {
|
|
117
|
+
const result = await sdk.tagsAndComments.createComment({
|
|
118
|
+
createCommentInputBody: {
|
|
119
|
+
assetId: "8.8.8.8",
|
|
120
|
+
body: "<value>",
|
|
121
|
+
},
|
|
122
|
+
});
|
|
123
|
+
|
|
124
|
+
console.log(result);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
run();
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
### Standalone function
|
|
131
|
+
|
|
132
|
+
The standalone function version of this method:
|
|
133
|
+
|
|
134
|
+
```typescript
|
|
135
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
136
|
+
import { tagsAndCommentsCreateComment } from "@censys/platform-sdk/funcs/tagsAndCommentsCreateComment.js";
|
|
137
|
+
|
|
138
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
139
|
+
// You can create one instance of it to use across an application.
|
|
140
|
+
const sdk = new SDKCore({
|
|
141
|
+
organizationId: "<id>",
|
|
142
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
async function run() {
|
|
146
|
+
const res = await tagsAndCommentsCreateComment(sdk, {
|
|
147
|
+
createCommentInputBody: {
|
|
148
|
+
assetId: "8.8.8.8",
|
|
149
|
+
body: "<value>",
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
if (res.ok) {
|
|
153
|
+
const { value: result } = res;
|
|
154
|
+
console.log(result);
|
|
155
|
+
} else {
|
|
156
|
+
console.log("tagsAndCommentsCreateComment failed:", res.error);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
run();
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
### Parameters
|
|
164
|
+
|
|
165
|
+
| Parameter | Type | Required | Description |
|
|
166
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
167
|
+
| `request` | [operations.V3CommentsCreateCommentRequest](../../models/operations/v3commentscreatecommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
168
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
169
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
170
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
171
|
+
|
|
172
|
+
### Response
|
|
173
|
+
|
|
174
|
+
**Promise\<[operations.V3CommentsCreateCommentResponse](../../models/operations/v3commentscreatecommentresponse.md)\>**
|
|
175
|
+
|
|
176
|
+
### Errors
|
|
177
|
+
|
|
178
|
+
| Error Type | Status Code | Content Type |
|
|
179
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
180
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
181
|
+
| errors.ErrorModel | 403, 422 | application/problem+json |
|
|
182
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
183
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
184
|
+
|
|
185
|
+
## deleteComment
|
|
186
|
+
|
|
187
|
+
Delete a comment. Only the comment's creator or an organization admin can delete a comment. This action is permanent and cannot be undone.<br><br>This endpoint does not cost any credits to execute.
|
|
188
|
+
|
|
189
|
+
### Example Usage
|
|
190
|
+
|
|
191
|
+
<!-- UsageSnippet language="typescript" operationID="v3-comments-delete-comment" method="delete" path="/v3/comments/{comment_id}" -->
|
|
192
|
+
```typescript
|
|
193
|
+
import { SDK } from "@censys/platform-sdk";
|
|
194
|
+
|
|
195
|
+
const sdk = new SDK({
|
|
196
|
+
organizationId: "<id>",
|
|
197
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
198
|
+
});
|
|
199
|
+
|
|
200
|
+
async function run() {
|
|
201
|
+
const result = await sdk.tagsAndComments.deleteComment({
|
|
202
|
+
commentId: "e6faeec1-9f2b-49af-a7e6-119b37d54575",
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
console.log(result);
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
run();
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
### Standalone function
|
|
212
|
+
|
|
213
|
+
The standalone function version of this method:
|
|
214
|
+
|
|
215
|
+
```typescript
|
|
216
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
217
|
+
import { tagsAndCommentsDeleteComment } from "@censys/platform-sdk/funcs/tagsAndCommentsDeleteComment.js";
|
|
218
|
+
|
|
219
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
220
|
+
// You can create one instance of it to use across an application.
|
|
221
|
+
const sdk = new SDKCore({
|
|
222
|
+
organizationId: "<id>",
|
|
223
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
224
|
+
});
|
|
225
|
+
|
|
226
|
+
async function run() {
|
|
227
|
+
const res = await tagsAndCommentsDeleteComment(sdk, {
|
|
228
|
+
commentId: "e6faeec1-9f2b-49af-a7e6-119b37d54575",
|
|
229
|
+
});
|
|
230
|
+
if (res.ok) {
|
|
231
|
+
const { value: result } = res;
|
|
232
|
+
console.log(result);
|
|
233
|
+
} else {
|
|
234
|
+
console.log("tagsAndCommentsDeleteComment failed:", res.error);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
run();
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Parameters
|
|
242
|
+
|
|
243
|
+
| Parameter | Type | Required | Description |
|
|
244
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
245
|
+
| `request` | [operations.V3CommentsDeleteCommentRequest](../../models/operations/v3commentsdeletecommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
246
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
247
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
248
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
249
|
+
|
|
250
|
+
### Response
|
|
251
|
+
|
|
252
|
+
**Promise\<[operations.V3CommentsDeleteCommentResponse](../../models/operations/v3commentsdeletecommentresponse.md)\>**
|
|
253
|
+
|
|
254
|
+
### Errors
|
|
255
|
+
|
|
256
|
+
| Error Type | Status Code | Content Type |
|
|
257
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
258
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
259
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
260
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
261
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
262
|
+
|
|
263
|
+
## updateComment
|
|
264
|
+
|
|
265
|
+
Update the body of an existing comment. Only the comment's creator can update it.<br><br>This endpoint does not cost any credits to execute.
|
|
266
|
+
|
|
267
|
+
### Example Usage
|
|
268
|
+
|
|
269
|
+
<!-- UsageSnippet language="typescript" operationID="v3-comments-update-comment" method="put" path="/v3/comments/{comment_id}" -->
|
|
270
|
+
```typescript
|
|
271
|
+
import { SDK } from "@censys/platform-sdk";
|
|
272
|
+
|
|
273
|
+
const sdk = new SDK({
|
|
274
|
+
organizationId: "<id>",
|
|
275
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
276
|
+
});
|
|
277
|
+
|
|
278
|
+
async function run() {
|
|
279
|
+
const result = await sdk.tagsAndComments.updateComment({
|
|
280
|
+
commentId: "361c6ff7-2549-4a6d-b212-8ce011a86612",
|
|
281
|
+
updateCommentInputBody: {
|
|
282
|
+
body: "<value>",
|
|
283
|
+
},
|
|
284
|
+
});
|
|
285
|
+
|
|
286
|
+
console.log(result);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
run();
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
### Standalone function
|
|
293
|
+
|
|
294
|
+
The standalone function version of this method:
|
|
295
|
+
|
|
296
|
+
```typescript
|
|
297
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
298
|
+
import { tagsAndCommentsUpdateComment } from "@censys/platform-sdk/funcs/tagsAndCommentsUpdateComment.js";
|
|
299
|
+
|
|
300
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
301
|
+
// You can create one instance of it to use across an application.
|
|
302
|
+
const sdk = new SDKCore({
|
|
303
|
+
organizationId: "<id>",
|
|
304
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
305
|
+
});
|
|
306
|
+
|
|
307
|
+
async function run() {
|
|
308
|
+
const res = await tagsAndCommentsUpdateComment(sdk, {
|
|
309
|
+
commentId: "361c6ff7-2549-4a6d-b212-8ce011a86612",
|
|
310
|
+
updateCommentInputBody: {
|
|
311
|
+
body: "<value>",
|
|
312
|
+
},
|
|
313
|
+
});
|
|
314
|
+
if (res.ok) {
|
|
315
|
+
const { value: result } = res;
|
|
316
|
+
console.log(result);
|
|
317
|
+
} else {
|
|
318
|
+
console.log("tagsAndCommentsUpdateComment failed:", res.error);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
run();
|
|
323
|
+
```
|
|
324
|
+
|
|
325
|
+
### Parameters
|
|
326
|
+
|
|
327
|
+
| Parameter | Type | Required | Description |
|
|
328
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
329
|
+
| `request` | [operations.V3CommentsUpdateCommentRequest](../../models/operations/v3commentsupdatecommentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
330
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
331
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
332
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
333
|
+
|
|
334
|
+
### Response
|
|
335
|
+
|
|
336
|
+
**Promise\<[operations.V3CommentsUpdateCommentResponse](../../models/operations/v3commentsupdatecommentresponse.md)\>**
|
|
337
|
+
|
|
338
|
+
### Errors
|
|
339
|
+
|
|
340
|
+
| Error Type | Status Code | Content Type |
|
|
341
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
342
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
343
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
344
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
345
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
346
|
+
|
|
347
|
+
## listTags
|
|
348
|
+
|
|
349
|
+
Retrieve a paginated list of tags in your organization. Private tags created by other users are not included in the results unless your account is an organization admin.<br><br>This endpoint does not cost any credits to execute.
|
|
350
|
+
|
|
351
|
+
### Example Usage
|
|
352
|
+
|
|
353
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-list-tags" method="get" path="/v3/tags" -->
|
|
354
|
+
```typescript
|
|
355
|
+
import { SDK } from "@censys/platform-sdk";
|
|
356
|
+
|
|
357
|
+
const sdk = new SDK({
|
|
358
|
+
organizationId: "<id>",
|
|
359
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
360
|
+
});
|
|
361
|
+
|
|
362
|
+
async function run() {
|
|
363
|
+
const result = await sdk.tagsAndComments.listTags({});
|
|
364
|
+
|
|
365
|
+
console.log(result);
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
run();
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
### Standalone function
|
|
372
|
+
|
|
373
|
+
The standalone function version of this method:
|
|
374
|
+
|
|
375
|
+
```typescript
|
|
376
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
377
|
+
import { tagsAndCommentsListTags } from "@censys/platform-sdk/funcs/tagsAndCommentsListTags.js";
|
|
378
|
+
|
|
379
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
380
|
+
// You can create one instance of it to use across an application.
|
|
381
|
+
const sdk = new SDKCore({
|
|
382
|
+
organizationId: "<id>",
|
|
383
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
384
|
+
});
|
|
385
|
+
|
|
386
|
+
async function run() {
|
|
387
|
+
const res = await tagsAndCommentsListTags(sdk, {});
|
|
388
|
+
if (res.ok) {
|
|
389
|
+
const { value: result } = res;
|
|
390
|
+
console.log(result);
|
|
391
|
+
} else {
|
|
392
|
+
console.log("tagsAndCommentsListTags failed:", res.error);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
run();
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
### Parameters
|
|
400
|
+
|
|
401
|
+
| Parameter | Type | Required | Description |
|
|
402
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
403
|
+
| `request` | [operations.V3TagsListTagsRequest](../../models/operations/v3tagslisttagsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
404
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
405
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
406
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
407
|
+
|
|
408
|
+
### Response
|
|
409
|
+
|
|
410
|
+
**Promise\<[operations.V3TagsListTagsResponse](../../models/operations/v3tagslisttagsresponse.md)\>**
|
|
411
|
+
|
|
412
|
+
### Errors
|
|
413
|
+
|
|
414
|
+
| Error Type | Status Code | Content Type |
|
|
415
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
416
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
417
|
+
| errors.ErrorModel | 403, 422 | application/problem+json |
|
|
418
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
419
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
420
|
+
|
|
421
|
+
## createTag
|
|
422
|
+
|
|
423
|
+
Create a new tag in your organization. Tags can be used to label and organize assets.<br><br>Specify a privacy setting to control visibility: `private` tags are only visible to you and organization admins, while `shared` tags are visible and manageable by all organization members.<br><br>Tag names must be unique within your organization.<br><br>This endpoint does not cost any credits to execute.
|
|
424
|
+
|
|
425
|
+
### Example Usage
|
|
426
|
+
|
|
427
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-create-tag" method="post" path="/v3/tags" -->
|
|
428
|
+
```typescript
|
|
429
|
+
import { SDK } from "@censys/platform-sdk";
|
|
430
|
+
|
|
431
|
+
const sdk = new SDK({
|
|
432
|
+
organizationId: "<id>",
|
|
433
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
434
|
+
});
|
|
435
|
+
|
|
436
|
+
async function run() {
|
|
437
|
+
const result = await sdk.tagsAndComments.createTag({
|
|
438
|
+
createTagInputBody: {
|
|
439
|
+
name: "<value>",
|
|
440
|
+
privacy: "private",
|
|
441
|
+
},
|
|
442
|
+
});
|
|
443
|
+
|
|
444
|
+
console.log(result);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
run();
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
### Standalone function
|
|
451
|
+
|
|
452
|
+
The standalone function version of this method:
|
|
453
|
+
|
|
454
|
+
```typescript
|
|
455
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
456
|
+
import { tagsAndCommentsCreateTag } from "@censys/platform-sdk/funcs/tagsAndCommentsCreateTag.js";
|
|
457
|
+
|
|
458
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
459
|
+
// You can create one instance of it to use across an application.
|
|
460
|
+
const sdk = new SDKCore({
|
|
461
|
+
organizationId: "<id>",
|
|
462
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
async function run() {
|
|
466
|
+
const res = await tagsAndCommentsCreateTag(sdk, {
|
|
467
|
+
createTagInputBody: {
|
|
468
|
+
name: "<value>",
|
|
469
|
+
privacy: "private",
|
|
470
|
+
},
|
|
471
|
+
});
|
|
472
|
+
if (res.ok) {
|
|
473
|
+
const { value: result } = res;
|
|
474
|
+
console.log(result);
|
|
475
|
+
} else {
|
|
476
|
+
console.log("tagsAndCommentsCreateTag failed:", res.error);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
run();
|
|
481
|
+
```
|
|
482
|
+
|
|
483
|
+
### Parameters
|
|
484
|
+
|
|
485
|
+
| Parameter | Type | Required | Description |
|
|
486
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
487
|
+
| `request` | [operations.V3TagsCreateTagRequest](../../models/operations/v3tagscreatetagrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
488
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
489
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
490
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
491
|
+
|
|
492
|
+
### Response
|
|
493
|
+
|
|
494
|
+
**Promise\<[operations.V3TagsCreateTagResponse](../../models/operations/v3tagscreatetagresponse.md)\>**
|
|
495
|
+
|
|
496
|
+
### Errors
|
|
497
|
+
|
|
498
|
+
| Error Type | Status Code | Content Type |
|
|
499
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
500
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
501
|
+
| errors.ErrorModel | 403, 409, 422 | application/problem+json |
|
|
502
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
503
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
504
|
+
|
|
505
|
+
## deleteTag
|
|
506
|
+
|
|
507
|
+
Delete a tag and all of its assignments from your organization. This action is permanent and cannot be undone.<br><br>Only the tag's creator or an organization admin can delete a `private` tag. Tags that are `shared` can be deleted by any organization member.<br><br>This endpoint does not cost any credits to execute.
|
|
508
|
+
|
|
509
|
+
### Example Usage
|
|
510
|
+
|
|
511
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-delete-tag" method="delete" path="/v3/tags/{tag_id}" -->
|
|
512
|
+
```typescript
|
|
513
|
+
import { SDK } from "@censys/platform-sdk";
|
|
514
|
+
|
|
515
|
+
const sdk = new SDK({
|
|
516
|
+
organizationId: "<id>",
|
|
517
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
518
|
+
});
|
|
519
|
+
|
|
520
|
+
async function run() {
|
|
521
|
+
const result = await sdk.tagsAndComments.deleteTag({
|
|
522
|
+
tagId: "8e09cd66-475a-4284-88f2-228e9d76dd20",
|
|
523
|
+
});
|
|
524
|
+
|
|
525
|
+
console.log(result);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
run();
|
|
529
|
+
```
|
|
530
|
+
|
|
531
|
+
### Standalone function
|
|
532
|
+
|
|
533
|
+
The standalone function version of this method:
|
|
534
|
+
|
|
535
|
+
```typescript
|
|
536
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
537
|
+
import { tagsAndCommentsDeleteTag } from "@censys/platform-sdk/funcs/tagsAndCommentsDeleteTag.js";
|
|
538
|
+
|
|
539
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
540
|
+
// You can create one instance of it to use across an application.
|
|
541
|
+
const sdk = new SDKCore({
|
|
542
|
+
organizationId: "<id>",
|
|
543
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
544
|
+
});
|
|
545
|
+
|
|
546
|
+
async function run() {
|
|
547
|
+
const res = await tagsAndCommentsDeleteTag(sdk, {
|
|
548
|
+
tagId: "8e09cd66-475a-4284-88f2-228e9d76dd20",
|
|
549
|
+
});
|
|
550
|
+
if (res.ok) {
|
|
551
|
+
const { value: result } = res;
|
|
552
|
+
console.log(result);
|
|
553
|
+
} else {
|
|
554
|
+
console.log("tagsAndCommentsDeleteTag failed:", res.error);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
run();
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
### Parameters
|
|
562
|
+
|
|
563
|
+
| Parameter | Type | Required | Description |
|
|
564
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
565
|
+
| `request` | [operations.V3TagsDeleteTagRequest](../../models/operations/v3tagsdeletetagrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
566
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
567
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
568
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
569
|
+
|
|
570
|
+
### Response
|
|
571
|
+
|
|
572
|
+
**Promise\<[operations.V3TagsDeleteTagResponse](../../models/operations/v3tagsdeletetagresponse.md)\>**
|
|
573
|
+
|
|
574
|
+
### Errors
|
|
575
|
+
|
|
576
|
+
| Error Type | Status Code | Content Type |
|
|
577
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
578
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
579
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
580
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
581
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
582
|
+
|
|
583
|
+
## getTag
|
|
584
|
+
|
|
585
|
+
Retrieve a tag by its ID or name. Tag names are unique within an organization and can be used interchangeably with the tag ID in the path parameter.<br><br>Only tags that are visible to the caller are returned: private tags created by other users are not accessible unless your account is an organization admin.<br><br>This endpoint does not cost any credits to execute.
|
|
586
|
+
|
|
587
|
+
### Example Usage
|
|
588
|
+
|
|
589
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-get-tag" method="get" path="/v3/tags/{tag_id}" -->
|
|
590
|
+
```typescript
|
|
591
|
+
import { SDK } from "@censys/platform-sdk";
|
|
592
|
+
|
|
593
|
+
const sdk = new SDK({
|
|
594
|
+
organizationId: "<id>",
|
|
595
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
596
|
+
});
|
|
597
|
+
|
|
598
|
+
async function run() {
|
|
599
|
+
const result = await sdk.tagsAndComments.getTag({
|
|
600
|
+
tagId: "123e4567-e89b-12d3-a456-426614174000",
|
|
601
|
+
});
|
|
602
|
+
|
|
603
|
+
console.log(result);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
run();
|
|
607
|
+
```
|
|
608
|
+
|
|
609
|
+
### Standalone function
|
|
610
|
+
|
|
611
|
+
The standalone function version of this method:
|
|
612
|
+
|
|
613
|
+
```typescript
|
|
614
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
615
|
+
import { tagsAndCommentsGetTag } from "@censys/platform-sdk/funcs/tagsAndCommentsGetTag.js";
|
|
616
|
+
|
|
617
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
618
|
+
// You can create one instance of it to use across an application.
|
|
619
|
+
const sdk = new SDKCore({
|
|
620
|
+
organizationId: "<id>",
|
|
621
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
async function run() {
|
|
625
|
+
const res = await tagsAndCommentsGetTag(sdk, {
|
|
626
|
+
tagId: "123e4567-e89b-12d3-a456-426614174000",
|
|
627
|
+
});
|
|
628
|
+
if (res.ok) {
|
|
629
|
+
const { value: result } = res;
|
|
630
|
+
console.log(result);
|
|
631
|
+
} else {
|
|
632
|
+
console.log("tagsAndCommentsGetTag failed:", res.error);
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
run();
|
|
637
|
+
```
|
|
638
|
+
|
|
639
|
+
### Parameters
|
|
640
|
+
|
|
641
|
+
| Parameter | Type | Required | Description |
|
|
642
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
643
|
+
| `request` | [operations.V3TagsGetTagRequest](../../models/operations/v3tagsgettagrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
644
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
645
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
646
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
647
|
+
|
|
648
|
+
### Response
|
|
649
|
+
|
|
650
|
+
**Promise\<[operations.V3TagsGetTagResponse](../../models/operations/v3tagsgettagresponse.md)\>**
|
|
651
|
+
|
|
652
|
+
### Errors
|
|
653
|
+
|
|
654
|
+
| Error Type | Status Code | Content Type |
|
|
655
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
656
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
657
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
658
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
659
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
660
|
+
|
|
661
|
+
## updateTag
|
|
662
|
+
|
|
663
|
+
Update an existing tag in your organization. Only the fields provided in the request body will be updated; omitted fields are left unchanged.<br><br>Only the tag's creator or an organization admin can update a `private` tag. Tags with the `shared` setting can be updated by any organization member.<br><br>This endpoint does not cost any credits to execute.
|
|
664
|
+
|
|
665
|
+
### Example Usage
|
|
666
|
+
|
|
667
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-update-tag" method="put" path="/v3/tags/{tag_id}" -->
|
|
668
|
+
```typescript
|
|
669
|
+
import { SDK } from "@censys/platform-sdk";
|
|
670
|
+
|
|
671
|
+
const sdk = new SDK({
|
|
672
|
+
organizationId: "<id>",
|
|
673
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
674
|
+
});
|
|
675
|
+
|
|
676
|
+
async function run() {
|
|
677
|
+
const result = await sdk.tagsAndComments.updateTag({
|
|
678
|
+
tagId: "8367b125-0db2-4688-accc-c2a97a4bdc56",
|
|
679
|
+
updateTagInputBody: {},
|
|
680
|
+
});
|
|
681
|
+
|
|
682
|
+
console.log(result);
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
run();
|
|
686
|
+
```
|
|
687
|
+
|
|
688
|
+
### Standalone function
|
|
689
|
+
|
|
690
|
+
The standalone function version of this method:
|
|
691
|
+
|
|
692
|
+
```typescript
|
|
693
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
694
|
+
import { tagsAndCommentsUpdateTag } from "@censys/platform-sdk/funcs/tagsAndCommentsUpdateTag.js";
|
|
695
|
+
|
|
696
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
697
|
+
// You can create one instance of it to use across an application.
|
|
698
|
+
const sdk = new SDKCore({
|
|
699
|
+
organizationId: "<id>",
|
|
700
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
701
|
+
});
|
|
702
|
+
|
|
703
|
+
async function run() {
|
|
704
|
+
const res = await tagsAndCommentsUpdateTag(sdk, {
|
|
705
|
+
tagId: "8367b125-0db2-4688-accc-c2a97a4bdc56",
|
|
706
|
+
updateTagInputBody: {},
|
|
707
|
+
});
|
|
708
|
+
if (res.ok) {
|
|
709
|
+
const { value: result } = res;
|
|
710
|
+
console.log(result);
|
|
711
|
+
} else {
|
|
712
|
+
console.log("tagsAndCommentsUpdateTag failed:", res.error);
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
run();
|
|
717
|
+
```
|
|
718
|
+
|
|
719
|
+
### Parameters
|
|
720
|
+
|
|
721
|
+
| Parameter | Type | Required | Description |
|
|
722
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
723
|
+
| `request` | [operations.V3TagsUpdateTagRequest](../../models/operations/v3tagsupdatetagrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
724
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
725
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
726
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
727
|
+
|
|
728
|
+
### Response
|
|
729
|
+
|
|
730
|
+
**Promise\<[operations.V3TagsUpdateTagResponse](../../models/operations/v3tagsupdatetagresponse.md)\>**
|
|
731
|
+
|
|
732
|
+
### Errors
|
|
733
|
+
|
|
734
|
+
| Error Type | Status Code | Content Type |
|
|
735
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
736
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
737
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
738
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
739
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
740
|
+
|
|
741
|
+
## listTagAssignments
|
|
742
|
+
|
|
743
|
+
Retrieve a paginated list of assignments for a tag in your organization. Use query parameters to filter results by asset, created_by, or creation time. Only assignments for tags visible to your account are returned.<br><br>This endpoint does not cost any credits to execute.
|
|
744
|
+
|
|
745
|
+
### Example Usage
|
|
746
|
+
|
|
747
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-list-assignments" method="get" path="/v3/tags/{tag_id}/assignments" -->
|
|
748
|
+
```typescript
|
|
749
|
+
import { SDK } from "@censys/platform-sdk";
|
|
750
|
+
|
|
751
|
+
const sdk = new SDK({
|
|
752
|
+
organizationId: "<id>",
|
|
753
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
754
|
+
});
|
|
755
|
+
|
|
756
|
+
async function run() {
|
|
757
|
+
const result = await sdk.tagsAndComments.listTagAssignments({
|
|
758
|
+
tagId: "8b1458f5-044a-4cc5-a600-d602c09ca004",
|
|
759
|
+
assetId: "8.8.8.8",
|
|
760
|
+
});
|
|
761
|
+
|
|
762
|
+
console.log(result);
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
run();
|
|
766
|
+
```
|
|
767
|
+
|
|
768
|
+
### Standalone function
|
|
769
|
+
|
|
770
|
+
The standalone function version of this method:
|
|
771
|
+
|
|
772
|
+
```typescript
|
|
773
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
774
|
+
import { tagsAndCommentsListTagAssignments } from "@censys/platform-sdk/funcs/tagsAndCommentsListTagAssignments.js";
|
|
775
|
+
|
|
776
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
777
|
+
// You can create one instance of it to use across an application.
|
|
778
|
+
const sdk = new SDKCore({
|
|
779
|
+
organizationId: "<id>",
|
|
780
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
781
|
+
});
|
|
782
|
+
|
|
783
|
+
async function run() {
|
|
784
|
+
const res = await tagsAndCommentsListTagAssignments(sdk, {
|
|
785
|
+
tagId: "8b1458f5-044a-4cc5-a600-d602c09ca004",
|
|
786
|
+
assetId: "8.8.8.8",
|
|
787
|
+
});
|
|
788
|
+
if (res.ok) {
|
|
789
|
+
const { value: result } = res;
|
|
790
|
+
console.log(result);
|
|
791
|
+
} else {
|
|
792
|
+
console.log("tagsAndCommentsListTagAssignments failed:", res.error);
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
run();
|
|
797
|
+
```
|
|
798
|
+
|
|
799
|
+
### Parameters
|
|
800
|
+
|
|
801
|
+
| Parameter | Type | Required | Description |
|
|
802
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
803
|
+
| `request` | [operations.V3TagsListAssignmentsRequest](../../models/operations/v3tagslistassignmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
804
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
805
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
806
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
807
|
+
|
|
808
|
+
### Response
|
|
809
|
+
|
|
810
|
+
**Promise\<[operations.V3TagsListAssignmentsResponse](../../models/operations/v3tagslistassignmentsresponse.md)\>**
|
|
811
|
+
|
|
812
|
+
### Errors
|
|
813
|
+
|
|
814
|
+
| Error Type | Status Code | Content Type |
|
|
815
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
816
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
817
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
818
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
819
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
820
|
+
|
|
821
|
+
## createTagAssignment
|
|
822
|
+
|
|
823
|
+
Assign a tag to an asset. Tag assignments are only visible to members of your organization, depending on the tag's privacy settings. You must have access to the tag to assign it to an asset.<br><br>This endpoint does not cost any credits to execute.
|
|
824
|
+
|
|
825
|
+
### Example Usage
|
|
826
|
+
|
|
827
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-create-assignment" method="post" path="/v3/tags/{tag_id}/assignments" -->
|
|
828
|
+
```typescript
|
|
829
|
+
import { SDK } from "@censys/platform-sdk";
|
|
830
|
+
|
|
831
|
+
const sdk = new SDK({
|
|
832
|
+
organizationId: "<id>",
|
|
833
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
834
|
+
});
|
|
835
|
+
|
|
836
|
+
async function run() {
|
|
837
|
+
const result = await sdk.tagsAndComments.createTagAssignment({
|
|
838
|
+
tagId: "2063be9e-6fe8-43db-9f99-815ede3d1b5c",
|
|
839
|
+
createTagAssignmentInputBody: {
|
|
840
|
+
assetId: "8.8.8.8",
|
|
841
|
+
},
|
|
842
|
+
});
|
|
843
|
+
|
|
844
|
+
console.log(result);
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
run();
|
|
848
|
+
```
|
|
849
|
+
|
|
850
|
+
### Standalone function
|
|
851
|
+
|
|
852
|
+
The standalone function version of this method:
|
|
853
|
+
|
|
854
|
+
```typescript
|
|
855
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
856
|
+
import { tagsAndCommentsCreateTagAssignment } from "@censys/platform-sdk/funcs/tagsAndCommentsCreateTagAssignment.js";
|
|
857
|
+
|
|
858
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
859
|
+
// You can create one instance of it to use across an application.
|
|
860
|
+
const sdk = new SDKCore({
|
|
861
|
+
organizationId: "<id>",
|
|
862
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
863
|
+
});
|
|
864
|
+
|
|
865
|
+
async function run() {
|
|
866
|
+
const res = await tagsAndCommentsCreateTagAssignment(sdk, {
|
|
867
|
+
tagId: "2063be9e-6fe8-43db-9f99-815ede3d1b5c",
|
|
868
|
+
createTagAssignmentInputBody: {
|
|
869
|
+
assetId: "8.8.8.8",
|
|
870
|
+
},
|
|
871
|
+
});
|
|
872
|
+
if (res.ok) {
|
|
873
|
+
const { value: result } = res;
|
|
874
|
+
console.log(result);
|
|
875
|
+
} else {
|
|
876
|
+
console.log("tagsAndCommentsCreateTagAssignment failed:", res.error);
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
run();
|
|
881
|
+
```
|
|
882
|
+
|
|
883
|
+
### Parameters
|
|
884
|
+
|
|
885
|
+
| Parameter | Type | Required | Description |
|
|
886
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
887
|
+
| `request` | [operations.V3TagsCreateAssignmentRequest](../../models/operations/v3tagscreateassignmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
888
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
889
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
890
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
891
|
+
|
|
892
|
+
### Response
|
|
893
|
+
|
|
894
|
+
**Promise\<[operations.V3TagsCreateAssignmentResponse](../../models/operations/v3tagscreateassignmentresponse.md)\>**
|
|
895
|
+
|
|
896
|
+
### Errors
|
|
897
|
+
|
|
898
|
+
| Error Type | Status Code | Content Type |
|
|
899
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
900
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
901
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
902
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
903
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
904
|
+
|
|
905
|
+
## bulkCreateTagAssignments
|
|
906
|
+
|
|
907
|
+
Start a long-running operation that assigns a tag to every asset matching a CenQL query. The operation runs asynchronously; use the returned operation to track its progress.<br><br>A tag can hold a limited number of asset assignments, and the limit depends on your plan. If the operation reaches that limit before every matching asset is tagged, it finishes with status `limit_reached`.<br><br>This endpoint does not cost any credits to execute.
|
|
908
|
+
|
|
909
|
+
### Example Usage
|
|
910
|
+
|
|
911
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-bulk-create-assignments" method="post" path="/v3/tags/{tag_id}/assignments/bulk-create" -->
|
|
912
|
+
```typescript
|
|
913
|
+
import { SDK } from "@censys/platform-sdk";
|
|
914
|
+
|
|
915
|
+
const sdk = new SDK({
|
|
916
|
+
organizationId: "<id>",
|
|
917
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
918
|
+
});
|
|
919
|
+
|
|
920
|
+
async function run() {
|
|
921
|
+
const result = await sdk.tagsAndComments.bulkCreateTagAssignments({
|
|
922
|
+
tagId: "1de943e6-02d8-47bb-8655-559621fc968c",
|
|
923
|
+
bulkCreateTagAssignmentsInputBody: {
|
|
924
|
+
query: "<value>",
|
|
925
|
+
},
|
|
926
|
+
});
|
|
927
|
+
|
|
928
|
+
console.log(result);
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
run();
|
|
932
|
+
```
|
|
933
|
+
|
|
934
|
+
### Standalone function
|
|
935
|
+
|
|
936
|
+
The standalone function version of this method:
|
|
937
|
+
|
|
938
|
+
```typescript
|
|
939
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
940
|
+
import { tagsAndCommentsBulkCreateTagAssignments } from "@censys/platform-sdk/funcs/tagsAndCommentsBulkCreateTagAssignments.js";
|
|
941
|
+
|
|
942
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
943
|
+
// You can create one instance of it to use across an application.
|
|
944
|
+
const sdk = new SDKCore({
|
|
945
|
+
organizationId: "<id>",
|
|
946
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
947
|
+
});
|
|
948
|
+
|
|
949
|
+
async function run() {
|
|
950
|
+
const res = await tagsAndCommentsBulkCreateTagAssignments(sdk, {
|
|
951
|
+
tagId: "1de943e6-02d8-47bb-8655-559621fc968c",
|
|
952
|
+
bulkCreateTagAssignmentsInputBody: {
|
|
953
|
+
query: "<value>",
|
|
954
|
+
},
|
|
955
|
+
});
|
|
956
|
+
if (res.ok) {
|
|
957
|
+
const { value: result } = res;
|
|
958
|
+
console.log(result);
|
|
959
|
+
} else {
|
|
960
|
+
console.log("tagsAndCommentsBulkCreateTagAssignments failed:", res.error);
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
run();
|
|
965
|
+
```
|
|
966
|
+
|
|
967
|
+
### Parameters
|
|
968
|
+
|
|
969
|
+
| Parameter | Type | Required | Description |
|
|
970
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
971
|
+
| `request` | [operations.V3TagsBulkCreateAssignmentsRequest](../../models/operations/v3tagsbulkcreateassignmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
972
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
973
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
974
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
975
|
+
|
|
976
|
+
### Response
|
|
977
|
+
|
|
978
|
+
**Promise\<[operations.V3TagsBulkCreateAssignmentsResponse](../../models/operations/v3tagsbulkcreateassignmentsresponse.md)\>**
|
|
979
|
+
|
|
980
|
+
### Errors
|
|
981
|
+
|
|
982
|
+
| Error Type | Status Code | Content Type |
|
|
983
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
984
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
985
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
986
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
987
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
988
|
+
|
|
989
|
+
## bulkDeleteTagAssignments
|
|
990
|
+
|
|
991
|
+
Start a long-running operation that removes a tag from its assigned assets, optionally restricted to a creation-time window. The operation runs asynchronously; use the returned operation to track its progress.<br><br>This endpoint does not cost any credits to execute.
|
|
992
|
+
|
|
993
|
+
### Example Usage
|
|
994
|
+
|
|
995
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-bulk-delete-assignments" method="post" path="/v3/tags/{tag_id}/assignments/bulk-delete" -->
|
|
996
|
+
```typescript
|
|
997
|
+
import { SDK } from "@censys/platform-sdk";
|
|
998
|
+
|
|
999
|
+
const sdk = new SDK({
|
|
1000
|
+
organizationId: "<id>",
|
|
1001
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1002
|
+
});
|
|
1003
|
+
|
|
1004
|
+
async function run() {
|
|
1005
|
+
const result = await sdk.tagsAndComments.bulkDeleteTagAssignments({
|
|
1006
|
+
tagId: "4fb0c28f-5f77-4d94-8d15-c0c621009061",
|
|
1007
|
+
bulkDeleteTagAssignmentsInputBody: {},
|
|
1008
|
+
});
|
|
1009
|
+
|
|
1010
|
+
console.log(result);
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
run();
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
### Standalone function
|
|
1017
|
+
|
|
1018
|
+
The standalone function version of this method:
|
|
1019
|
+
|
|
1020
|
+
```typescript
|
|
1021
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
1022
|
+
import { tagsAndCommentsBulkDeleteTagAssignments } from "@censys/platform-sdk/funcs/tagsAndCommentsBulkDeleteTagAssignments.js";
|
|
1023
|
+
|
|
1024
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
1025
|
+
// You can create one instance of it to use across an application.
|
|
1026
|
+
const sdk = new SDKCore({
|
|
1027
|
+
organizationId: "<id>",
|
|
1028
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1029
|
+
});
|
|
1030
|
+
|
|
1031
|
+
async function run() {
|
|
1032
|
+
const res = await tagsAndCommentsBulkDeleteTagAssignments(sdk, {
|
|
1033
|
+
tagId: "4fb0c28f-5f77-4d94-8d15-c0c621009061",
|
|
1034
|
+
bulkDeleteTagAssignmentsInputBody: {},
|
|
1035
|
+
});
|
|
1036
|
+
if (res.ok) {
|
|
1037
|
+
const { value: result } = res;
|
|
1038
|
+
console.log(result);
|
|
1039
|
+
} else {
|
|
1040
|
+
console.log("tagsAndCommentsBulkDeleteTagAssignments failed:", res.error);
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
run();
|
|
1045
|
+
```
|
|
1046
|
+
|
|
1047
|
+
### Parameters
|
|
1048
|
+
|
|
1049
|
+
| Parameter | Type | Required | Description |
|
|
1050
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1051
|
+
| `request` | [operations.V3TagsBulkDeleteAssignmentsRequest](../../models/operations/v3tagsbulkdeleteassignmentsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1052
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1053
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1054
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1055
|
+
|
|
1056
|
+
### Response
|
|
1057
|
+
|
|
1058
|
+
**Promise\<[operations.V3TagsBulkDeleteAssignmentsResponse](../../models/operations/v3tagsbulkdeleteassignmentsresponse.md)\>**
|
|
1059
|
+
|
|
1060
|
+
### Errors
|
|
1061
|
+
|
|
1062
|
+
| Error Type | Status Code | Content Type |
|
|
1063
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
1064
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
1065
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
1066
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1067
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1068
|
+
|
|
1069
|
+
## deleteTagAssignment
|
|
1070
|
+
|
|
1071
|
+
Remove a tag assignment from an asset. This action is permanent and cannot be undone. Removing an assignment only detaches the tag from the specified asset; the tag itself is not deleted. Only the tag's creator or an organization admin can delete an assignment for a `private` tag. Assignments for `shared` tags can be deleted by any organization member.<br><br>This endpoint does not cost any credits to execute.
|
|
1072
|
+
|
|
1073
|
+
### Example Usage
|
|
1074
|
+
|
|
1075
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-delete-assignment" method="delete" path="/v3/tags/{tag_id}/assignments/{assignment_id}" -->
|
|
1076
|
+
```typescript
|
|
1077
|
+
import { SDK } from "@censys/platform-sdk";
|
|
1078
|
+
|
|
1079
|
+
const sdk = new SDK({
|
|
1080
|
+
organizationId: "<id>",
|
|
1081
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1082
|
+
});
|
|
1083
|
+
|
|
1084
|
+
async function run() {
|
|
1085
|
+
const result = await sdk.tagsAndComments.deleteTagAssignment({
|
|
1086
|
+
tagId: "ad98c1dc-289b-4487-b11f-d41cd4391806",
|
|
1087
|
+
assignmentId: "35060ce7-9fe8-4c5f-9889-efb0572473c2",
|
|
1088
|
+
});
|
|
1089
|
+
|
|
1090
|
+
console.log(result);
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
run();
|
|
1094
|
+
```
|
|
1095
|
+
|
|
1096
|
+
### Standalone function
|
|
1097
|
+
|
|
1098
|
+
The standalone function version of this method:
|
|
1099
|
+
|
|
1100
|
+
```typescript
|
|
1101
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
1102
|
+
import { tagsAndCommentsDeleteTagAssignment } from "@censys/platform-sdk/funcs/tagsAndCommentsDeleteTagAssignment.js";
|
|
1103
|
+
|
|
1104
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
1105
|
+
// You can create one instance of it to use across an application.
|
|
1106
|
+
const sdk = new SDKCore({
|
|
1107
|
+
organizationId: "<id>",
|
|
1108
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1109
|
+
});
|
|
1110
|
+
|
|
1111
|
+
async function run() {
|
|
1112
|
+
const res = await tagsAndCommentsDeleteTagAssignment(sdk, {
|
|
1113
|
+
tagId: "ad98c1dc-289b-4487-b11f-d41cd4391806",
|
|
1114
|
+
assignmentId: "35060ce7-9fe8-4c5f-9889-efb0572473c2",
|
|
1115
|
+
});
|
|
1116
|
+
if (res.ok) {
|
|
1117
|
+
const { value: result } = res;
|
|
1118
|
+
console.log(result);
|
|
1119
|
+
} else {
|
|
1120
|
+
console.log("tagsAndCommentsDeleteTagAssignment failed:", res.error);
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
run();
|
|
1125
|
+
```
|
|
1126
|
+
|
|
1127
|
+
### Parameters
|
|
1128
|
+
|
|
1129
|
+
| Parameter | Type | Required | Description |
|
|
1130
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1131
|
+
| `request` | [operations.V3TagsDeleteAssignmentRequest](../../models/operations/v3tagsdeleteassignmentrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1132
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1133
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1134
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1135
|
+
|
|
1136
|
+
### Response
|
|
1137
|
+
|
|
1138
|
+
**Promise\<[operations.V3TagsDeleteAssignmentResponse](../../models/operations/v3tagsdeleteassignmentresponse.md)\>**
|
|
1139
|
+
|
|
1140
|
+
### Errors
|
|
1141
|
+
|
|
1142
|
+
| Error Type | Status Code | Content Type |
|
|
1143
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
1144
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
1145
|
+
| errors.ErrorModel | 403, 404, 422 | application/problem+json |
|
|
1146
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1147
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1148
|
+
|
|
1149
|
+
## listTagOperations
|
|
1150
|
+
|
|
1151
|
+
Retrieve a paginated list of bulk tag operations. Provide a tag ID in the path to scope the listing to a single tag, or `-` to list operations across all tags in your organization. Use query parameters to filter by type or status.<br><br>This endpoint does not cost any credits to execute.
|
|
1152
|
+
|
|
1153
|
+
### Example Usage
|
|
1154
|
+
|
|
1155
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-list-operations" method="get" path="/v3/tags/{tag_id}/operations" -->
|
|
1156
|
+
```typescript
|
|
1157
|
+
import { SDK } from "@censys/platform-sdk";
|
|
1158
|
+
|
|
1159
|
+
const sdk = new SDK({
|
|
1160
|
+
organizationId: "<id>",
|
|
1161
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1162
|
+
});
|
|
1163
|
+
|
|
1164
|
+
async function run() {
|
|
1165
|
+
const result = await sdk.tagsAndComments.listTagOperations({
|
|
1166
|
+
tagId: "123e4567-e89b-12d3-a456-426614174000",
|
|
1167
|
+
});
|
|
1168
|
+
|
|
1169
|
+
console.log(result);
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
run();
|
|
1173
|
+
```
|
|
1174
|
+
|
|
1175
|
+
### Standalone function
|
|
1176
|
+
|
|
1177
|
+
The standalone function version of this method:
|
|
1178
|
+
|
|
1179
|
+
```typescript
|
|
1180
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
1181
|
+
import { tagsAndCommentsListTagOperations } from "@censys/platform-sdk/funcs/tagsAndCommentsListTagOperations.js";
|
|
1182
|
+
|
|
1183
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
1184
|
+
// You can create one instance of it to use across an application.
|
|
1185
|
+
const sdk = new SDKCore({
|
|
1186
|
+
organizationId: "<id>",
|
|
1187
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1188
|
+
});
|
|
1189
|
+
|
|
1190
|
+
async function run() {
|
|
1191
|
+
const res = await tagsAndCommentsListTagOperations(sdk, {
|
|
1192
|
+
tagId: "123e4567-e89b-12d3-a456-426614174000",
|
|
1193
|
+
});
|
|
1194
|
+
if (res.ok) {
|
|
1195
|
+
const { value: result } = res;
|
|
1196
|
+
console.log(result);
|
|
1197
|
+
} else {
|
|
1198
|
+
console.log("tagsAndCommentsListTagOperations failed:", res.error);
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
run();
|
|
1203
|
+
```
|
|
1204
|
+
|
|
1205
|
+
### Parameters
|
|
1206
|
+
|
|
1207
|
+
| Parameter | Type | Required | Description |
|
|
1208
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1209
|
+
| `request` | [operations.V3TagsListOperationsRequest](../../models/operations/v3tagslistoperationsrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1210
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1211
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1212
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1213
|
+
|
|
1214
|
+
### Response
|
|
1215
|
+
|
|
1216
|
+
**Promise\<[operations.V3TagsListOperationsResponse](../../models/operations/v3tagslistoperationsresponse.md)\>**
|
|
1217
|
+
|
|
1218
|
+
### Errors
|
|
1219
|
+
|
|
1220
|
+
| Error Type | Status Code | Content Type |
|
|
1221
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
1222
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
1223
|
+
| errors.ErrorModel | 403, 409, 422 | application/problem+json |
|
|
1224
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1225
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1226
|
+
|
|
1227
|
+
## getTagOperation
|
|
1228
|
+
|
|
1229
|
+
Retrieve a single bulk tag operation by ID, including its current status and progress counts. Use this to poll the status of an operation started by the bulk-create or bulk-delete endpoints.<br><br>This endpoint does not cost any credits to execute.
|
|
1230
|
+
|
|
1231
|
+
### Example Usage
|
|
1232
|
+
|
|
1233
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-get-operation" method="get" path="/v3/tags/{tag_id}/operations/{operation_id}" -->
|
|
1234
|
+
```typescript
|
|
1235
|
+
import { SDK } from "@censys/platform-sdk";
|
|
1236
|
+
|
|
1237
|
+
const sdk = new SDK({
|
|
1238
|
+
organizationId: "<id>",
|
|
1239
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1240
|
+
});
|
|
1241
|
+
|
|
1242
|
+
async function run() {
|
|
1243
|
+
const result = await sdk.tagsAndComments.getTagOperation({
|
|
1244
|
+
tagId: "7fd3732a-0f74-46ae-9b99-cf8d471365c7",
|
|
1245
|
+
operationId: "1d645480-2c36-4fbe-b3ee-eabcaa515ece",
|
|
1246
|
+
});
|
|
1247
|
+
|
|
1248
|
+
console.log(result);
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
run();
|
|
1252
|
+
```
|
|
1253
|
+
|
|
1254
|
+
### Standalone function
|
|
1255
|
+
|
|
1256
|
+
The standalone function version of this method:
|
|
1257
|
+
|
|
1258
|
+
```typescript
|
|
1259
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
1260
|
+
import { tagsAndCommentsGetTagOperation } from "@censys/platform-sdk/funcs/tagsAndCommentsGetTagOperation.js";
|
|
1261
|
+
|
|
1262
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
1263
|
+
// You can create one instance of it to use across an application.
|
|
1264
|
+
const sdk = new SDKCore({
|
|
1265
|
+
organizationId: "<id>",
|
|
1266
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1267
|
+
});
|
|
1268
|
+
|
|
1269
|
+
async function run() {
|
|
1270
|
+
const res = await tagsAndCommentsGetTagOperation(sdk, {
|
|
1271
|
+
tagId: "7fd3732a-0f74-46ae-9b99-cf8d471365c7",
|
|
1272
|
+
operationId: "1d645480-2c36-4fbe-b3ee-eabcaa515ece",
|
|
1273
|
+
});
|
|
1274
|
+
if (res.ok) {
|
|
1275
|
+
const { value: result } = res;
|
|
1276
|
+
console.log(result);
|
|
1277
|
+
} else {
|
|
1278
|
+
console.log("tagsAndCommentsGetTagOperation failed:", res.error);
|
|
1279
|
+
}
|
|
1280
|
+
}
|
|
1281
|
+
|
|
1282
|
+
run();
|
|
1283
|
+
```
|
|
1284
|
+
|
|
1285
|
+
### Parameters
|
|
1286
|
+
|
|
1287
|
+
| Parameter | Type | Required | Description |
|
|
1288
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1289
|
+
| `request` | [operations.V3TagsGetOperationRequest](../../models/operations/v3tagsgetoperationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1290
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1291
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1292
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1293
|
+
|
|
1294
|
+
### Response
|
|
1295
|
+
|
|
1296
|
+
**Promise\<[operations.V3TagsGetOperationResponse](../../models/operations/v3tagsgetoperationresponse.md)\>**
|
|
1297
|
+
|
|
1298
|
+
### Errors
|
|
1299
|
+
|
|
1300
|
+
| Error Type | Status Code | Content Type |
|
|
1301
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
1302
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
1303
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
1304
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1305
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|
|
1306
|
+
|
|
1307
|
+
## cancelTagOperation
|
|
1308
|
+
|
|
1309
|
+
Request cancellation of an in-progress bulk tag operation. Cancellation is cooperative: the operation finishes the page it is currently processing, then stops. Work already committed before cancellation is preserved.<br><br>Cancellation is not a rollback — it stops further work but does not remove assignments the operation already created. To remove assignments, use the bulk-delete endpoint. An operation that has already finished cannot be cancelled.<br><br>This endpoint does not cost any credits to execute.
|
|
1310
|
+
|
|
1311
|
+
### Example Usage
|
|
1312
|
+
|
|
1313
|
+
<!-- UsageSnippet language="typescript" operationID="v3-tags-cancel-operation" method="post" path="/v3/tags/{tag_id}/operations/{operation_id}/cancel" -->
|
|
1314
|
+
```typescript
|
|
1315
|
+
import { SDK } from "@censys/platform-sdk";
|
|
1316
|
+
|
|
1317
|
+
const sdk = new SDK({
|
|
1318
|
+
organizationId: "<id>",
|
|
1319
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1320
|
+
});
|
|
1321
|
+
|
|
1322
|
+
async function run() {
|
|
1323
|
+
const result = await sdk.tagsAndComments.cancelTagOperation({
|
|
1324
|
+
tagId: "59da45bf-13dd-4601-8b86-c3af7e33fd9a",
|
|
1325
|
+
operationId: "174d4e39-b9c5-4b3f-aa69-5937abd03e40",
|
|
1326
|
+
});
|
|
1327
|
+
|
|
1328
|
+
console.log(result);
|
|
1329
|
+
}
|
|
1330
|
+
|
|
1331
|
+
run();
|
|
1332
|
+
```
|
|
1333
|
+
|
|
1334
|
+
### Standalone function
|
|
1335
|
+
|
|
1336
|
+
The standalone function version of this method:
|
|
1337
|
+
|
|
1338
|
+
```typescript
|
|
1339
|
+
import { SDKCore } from "@censys/platform-sdk/core.js";
|
|
1340
|
+
import { tagsAndCommentsCancelTagOperation } from "@censys/platform-sdk/funcs/tagsAndCommentsCancelTagOperation.js";
|
|
1341
|
+
|
|
1342
|
+
// Use `SDKCore` for best tree-shaking performance.
|
|
1343
|
+
// You can create one instance of it to use across an application.
|
|
1344
|
+
const sdk = new SDKCore({
|
|
1345
|
+
organizationId: "<id>",
|
|
1346
|
+
personalAccessToken: "<YOUR_BEARER_TOKEN_HERE>",
|
|
1347
|
+
});
|
|
1348
|
+
|
|
1349
|
+
async function run() {
|
|
1350
|
+
const res = await tagsAndCommentsCancelTagOperation(sdk, {
|
|
1351
|
+
tagId: "59da45bf-13dd-4601-8b86-c3af7e33fd9a",
|
|
1352
|
+
operationId: "174d4e39-b9c5-4b3f-aa69-5937abd03e40",
|
|
1353
|
+
});
|
|
1354
|
+
if (res.ok) {
|
|
1355
|
+
const { value: result } = res;
|
|
1356
|
+
console.log(result);
|
|
1357
|
+
} else {
|
|
1358
|
+
console.log("tagsAndCommentsCancelTagOperation failed:", res.error);
|
|
1359
|
+
}
|
|
1360
|
+
}
|
|
1361
|
+
|
|
1362
|
+
run();
|
|
1363
|
+
```
|
|
1364
|
+
|
|
1365
|
+
### Parameters
|
|
1366
|
+
|
|
1367
|
+
| Parameter | Type | Required | Description |
|
|
1368
|
+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
|
|
1369
|
+
| `request` | [operations.V3TagsCancelOperationRequest](../../models/operations/v3tagscanceloperationrequest.md) | :heavy_check_mark: | The request object to use for the request. |
|
|
1370
|
+
| `options` | RequestOptions | :heavy_minus_sign: | Used to set various options for making HTTP requests. |
|
|
1371
|
+
| `options.fetchOptions` | [RequestInit](https://developer.mozilla.org/en-US/docs/Web/API/Request/Request#options) | :heavy_minus_sign: | Options that are passed to the underlying HTTP request. This can be used to inject extra headers for examples. All `Request` options, except `method` and `body`, are allowed. |
|
|
1372
|
+
| `options.retries` | [RetryConfig](../../lib/utils/retryconfig.md) | :heavy_minus_sign: | Enables retrying HTTP requests under certain failure conditions. |
|
|
1373
|
+
|
|
1374
|
+
### Response
|
|
1375
|
+
|
|
1376
|
+
**Promise\<[operations.V3TagsCancelOperationResponse](../../models/operations/v3tagscanceloperationresponse.md)\>**
|
|
1377
|
+
|
|
1378
|
+
### Errors
|
|
1379
|
+
|
|
1380
|
+
| Error Type | Status Code | Content Type |
|
|
1381
|
+
| -------------------------- | -------------------------- | -------------------------- |
|
|
1382
|
+
| errors.AuthenticationError | 401 | application/json |
|
|
1383
|
+
| errors.ErrorModel | 403, 404, 409, 422 | application/problem+json |
|
|
1384
|
+
| errors.ErrorModel | 500 | application/problem+json |
|
|
1385
|
+
| errors.SDKError | 4XX, 5XX | \*/\* |
|