@azure/arm-securityinsight 1.0.0-beta.1
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/CHANGELOG.md +5 -0
- package/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/index.js +20426 -0
- package/dist/index.js.map +1 -0
- package/dist/index.min.js +1 -0
- package/dist/index.min.js.map +1 -0
- package/dist-esm/src/index.d.ts +5 -0
- package/dist-esm/src/index.d.ts.map +1 -0
- package/dist-esm/src/index.js +12 -0
- package/dist-esm/src/index.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +7571 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +813 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +437 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/dist-esm/src/models/mappers.js +12661 -0
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +68 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/dist-esm/src/models/parameters.js +518 -0
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/actions.d.ts +69 -0
- package/dist-esm/src/operations/actions.d.ts.map +1 -0
- package/dist-esm/src/operations/actions.js +249 -0
- package/dist-esm/src/operations/actions.js.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts +46 -0
- package/dist-esm/src/operations/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRuleTemplates.js +169 -0
- package/dist-esm/src/operations/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operations/alertRules.d.ts +63 -0
- package/dist-esm/src/operations/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operations/alertRules.js +238 -0
- package/dist-esm/src/operations/alertRules.js.map +1 -0
- package/dist-esm/src/operations/automationRules.d.ts +63 -0
- package/dist-esm/src/operations/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operations/automationRules.js +244 -0
- package/dist-esm/src/operations/automationRules.js.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts +22 -0
- package/dist-esm/src/operations/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkOperations.js +58 -0
- package/dist-esm/src/operations/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts +69 -0
- package/dist-esm/src/operations/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarkRelations.js +268 -0
- package/dist-esm/src/operations/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operations/bookmarks.d.ts +63 -0
- package/dist-esm/src/operations/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operations/bookmarks.js +238 -0
- package/dist-esm/src/operations/bookmarks.js.map +1 -0
- package/dist-esm/src/operations/dataConnectors.d.ts +80 -0
- package/dist-esm/src/operations/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectors.js +313 -0
- package/dist-esm/src/operations/dataConnectors.js.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts +21 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js +61 -0
- package/dist-esm/src/operations/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operations/domainWhois.d.ts +20 -0
- package/dist-esm/src/operations/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operations/domainWhois.js +52 -0
- package/dist-esm/src/operations/domainWhois.js.map +1 -0
- package/dist-esm/src/operations/entities.d.ts +73 -0
- package/dist-esm/src/operations/entities.d.ts.map +1 -0
- package/dist-esm/src/operations/entities.js +272 -0
- package/dist-esm/src/operations/entities.js.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts +22 -0
- package/dist-esm/src/operations/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js +58 -0
- package/dist-esm/src/operations/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts +41 -0
- package/dist-esm/src/operations/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entitiesRelations.js +154 -0
- package/dist-esm/src/operations/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operations/entityQueries.d.ts +63 -0
- package/dist-esm/src/operations/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueries.js +238 -0
- package/dist-esm/src/operations/entityQueries.js.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts +46 -0
- package/dist-esm/src/operations/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operations/entityQueryTemplates.js +169 -0
- package/dist-esm/src/operations/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operations/entityRelations.d.ts +22 -0
- package/dist-esm/src/operations/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/entityRelations.js +57 -0
- package/dist-esm/src/operations/entityRelations.js.map +1 -0
- package/dist-esm/src/operations/iPGeodata.d.ts +20 -0
- package/dist-esm/src/operations/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operations/iPGeodata.js +52 -0
- package/dist-esm/src/operations/iPGeodata.js.map +1 -0
- package/dist-esm/src/operations/incidentComments.d.ts +69 -0
- package/dist-esm/src/operations/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentComments.js +280 -0
- package/dist-esm/src/operations/incidentComments.js.map +1 -0
- package/dist-esm/src/operations/incidentRelations.d.ts +69 -0
- package/dist-esm/src/operations/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operations/incidentRelations.js +268 -0
- package/dist-esm/src/operations/incidentRelations.js.map +1 -0
- package/dist-esm/src/operations/incidents.d.ts +97 -0
- package/dist-esm/src/operations/incidents.d.ts.map +1 -0
- package/dist-esm/src/operations/incidents.js +382 -0
- package/dist-esm/src/operations/incidents.js.map +1 -0
- package/dist-esm/src/operations/index.d.ts +33 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/dist-esm/src/operations/index.js +40 -0
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/metadata.d.ts +72 -0
- package/dist-esm/src/operations/metadata.d.ts.map +1 -0
- package/dist-esm/src/operations/metadata.js +291 -0
- package/dist-esm/src/operations/metadata.js.map +1 -0
- package/dist-esm/src/operations/officeConsents.d.ts +54 -0
- package/dist-esm/src/operations/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operations/officeConsents.js +200 -0
- package/dist-esm/src/operations/officeConsents.js.map +1 -0
- package/dist-esm/src/operations/operations.d.ts +32 -0
- package/dist-esm/src/operations/operations.d.ts.map +1 -0
- package/dist-esm/src/operations/operations.js +120 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/productSettings.d.ts +45 -0
- package/dist-esm/src/operations/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operations/productSettings.js +151 -0
- package/dist-esm/src/operations/productSettings.js.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts +44 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js +168 -0
- package/dist-esm/src/operations/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts +41 -0
- package/dist-esm/src/operations/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControlOperations.js +143 -0
- package/dist-esm/src/operations/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operations/sourceControls.d.ts +63 -0
- package/dist-esm/src/operations/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operations/sourceControls.js +244 -0
- package/dist-esm/src/operations/sourceControls.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts +97 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js +387 -0
- package/dist-esm/src/operations/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts +20 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js +53 -0
- package/dist-esm/src/operations/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts +38 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js +149 -0
- package/dist-esm/src/operations/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operations/watchlistItems.d.ts +69 -0
- package/dist-esm/src/operations/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlistItems.js +268 -0
- package/dist-esm/src/operations/watchlistItems.js.map +1 -0
- package/dist-esm/src/operations/watchlists.d.ts +65 -0
- package/dist-esm/src/operations/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operations/watchlists.js +240 -0
- package/dist-esm/src/operations/watchlists.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/actions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/actions.js +9 -0
- package/dist-esm/src/operationsInterfaces/actions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRuleTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/alertRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/alertRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/automationRules.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js +9 -0
- package/dist-esm/src/operationsInterfaces/automationRules.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarkRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js +9 -0
- package/dist-esm/src/operationsInterfaces/bookmarks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js +9 -0
- package/dist-esm/src/operationsInterfaces/domainWhois.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/entities.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entities.js +9 -0
- package/dist-esm/src/operationsInterfaces/entities.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesGetTimeline.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entitiesRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueries.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityQueryTemplates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/entityRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js +9 -0
- package/dist-esm/src/operationsInterfaces/iPGeodata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentComments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidentRelations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts +72 -0
- package/dist-esm/src/operationsInterfaces/incidents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/incidents.js +9 -0
- package/dist-esm/src/operationsInterfaces/incidents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +33 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +40 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts +47 -0
- package/dist-esm/src/operationsInterfaces/metadata.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/metadata.js +9 -0
- package/dist-esm/src/operationsInterfaces/metadata.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts +29 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js +9 -0
- package/dist-esm/src/operationsInterfaces/officeConsents.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
- package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/operations.js +9 -0
- package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts +37 -0
- package/dist-esm/src/operationsInterfaces/productSettings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js +9 -0
- package/dist-esm/src/operationsInterfaces/productSettings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts +36 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js +9 -0
- package/dist-esm/src/operationsInterfaces/sentinelOnboardingStates.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts +14 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControlOperations.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts +38 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js +9 -0
- package/dist-esm/src/operationsInterfaces/sourceControls.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts +68 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicator.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts +12 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js +9 -0
- package/dist-esm/src/operationsInterfaces/threatIntelligenceIndicators.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlistItems.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts +40 -0
- package/dist-esm/src/operationsInterfaces/watchlists.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js +9 -0
- package/dist-esm/src/operationsInterfaces/watchlists.js.map +1 -0
- package/dist-esm/src/securityInsights.d.ts +49 -0
- package/dist-esm/src/securityInsights.d.ts.map +1 -0
- package/dist-esm/src/securityInsights.js +82 -0
- package/dist-esm/src/securityInsights.js.map +1 -0
- package/dist-esm/test/sampleTest.d.ts +2 -0
- package/dist-esm/test/sampleTest.d.ts.map +1 -0
- package/dist-esm/test/sampleTest.js +40 -0
- package/dist-esm/test/sampleTest.js.map +1 -0
- package/package.json +95 -0
- package/review/arm-securityinsight.api.md +5007 -0
- package/rollup.config.js +188 -0
- package/src/index.ts +12 -0
- package/src/models/index.ts +8349 -0
- package/src/models/mappers.ts +14311 -0
- package/src/models/parameters.ts +616 -0
- package/src/operations/actions.ts +351 -0
- package/src/operations/alertRuleTemplates.ts +221 -0
- package/src/operations/alertRules.ts +314 -0
- package/src/operations/automationRules.ts +320 -0
- package/src/operations/bookmarkOperations.ts +80 -0
- package/src/operations/bookmarkRelations.ts +369 -0
- package/src/operations/bookmarks.ts +314 -0
- package/src/operations/dataConnectors.ts +413 -0
- package/src/operations/dataConnectorsCheckRequirementsOperations.ts +83 -0
- package/src/operations/domainWhois.ts +71 -0
- package/src/operations/entities.ts +366 -0
- package/src/operations/entitiesGetTimeline.ts +80 -0
- package/src/operations/entitiesRelations.ts +216 -0
- package/src/operations/entityQueries.ts +315 -0
- package/src/operations/entityQueryTemplates.ts +221 -0
- package/src/operations/entityRelations.ts +78 -0
- package/src/operations/iPGeodata.ts +68 -0
- package/src/operations/incidentComments.ts +381 -0
- package/src/operations/incidentRelations.ts +369 -0
- package/src/operations/incidents.ts +508 -0
- package/src/operations/index.ts +40 -0
- package/src/operations/metadata.ts +381 -0
- package/src/operations/officeConsents.ts +263 -0
- package/src/operations/operations.ts +137 -0
- package/src/operations/productSettings.ts +207 -0
- package/src/operations/sentinelOnboardingStates.ts +222 -0
- package/src/operations/sourceControlOperations.ts +206 -0
- package/src/operations/sourceControls.ts +320 -0
- package/src/operations/threatIntelligenceIndicator.ts +526 -0
- package/src/operations/threatIntelligenceIndicatorMetrics.ts +73 -0
- package/src/operations/threatIntelligenceIndicators.ts +190 -0
- package/src/operations/watchlistItems.ts +369 -0
- package/src/operations/watchlists.ts +316 -0
- package/src/operationsInterfaces/actions.ts +84 -0
- package/src/operationsInterfaces/alertRuleTemplates.ts +44 -0
- package/src/operationsInterfaces/alertRules.ts +75 -0
- package/src/operationsInterfaces/automationRules.ts +75 -0
- package/src/operationsInterfaces/bookmarkOperations.ts +32 -0
- package/src/operationsInterfaces/bookmarkRelations.ts +83 -0
- package/src/operationsInterfaces/bookmarks.ts +75 -0
- package/src/operationsInterfaces/dataConnectors.ts +106 -0
- package/src/operationsInterfaces/dataConnectorsCheckRequirementsOperations.ts +30 -0
- package/src/operationsInterfaces/domainWhois.ts +27 -0
- package/src/operationsInterfaces/entities.ts +98 -0
- package/src/operationsInterfaces/entitiesGetTimeline.ts +32 -0
- package/src/operationsInterfaces/entitiesRelations.ts +28 -0
- package/src/operationsInterfaces/entityQueries.ts +76 -0
- package/src/operationsInterfaces/entityQueryTemplates.ts +44 -0
- package/src/operationsInterfaces/entityRelations.ts +31 -0
- package/src/operationsInterfaces/iPGeodata.ts +24 -0
- package/src/operationsInterfaces/incidentComments.ts +83 -0
- package/src/operationsInterfaces/incidentRelations.ts +83 -0
- package/src/operationsInterfaces/incidents.ts +139 -0
- package/src/operationsInterfaces/index.ts +40 -0
- package/src/operationsInterfaces/metadata.ts +93 -0
- package/src/operationsInterfaces/officeConsents.ts +58 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/productSettings.ts +74 -0
- package/src/operationsInterfaces/sentinelOnboardingStates.ts +71 -0
- package/src/operationsInterfaces/sourceControlOperations.ts +32 -0
- package/src/operationsInterfaces/sourceControls.ts +75 -0
- package/src/operationsInterfaces/threatIntelligenceIndicator.ts +131 -0
- package/src/operationsInterfaces/threatIntelligenceIndicatorMetrics.ts +27 -0
- package/src/operationsInterfaces/threatIntelligenceIndicators.ts +29 -0
- package/src/operationsInterfaces/watchlistItems.ts +83 -0
- package/src/operationsInterfaces/watchlists.ts +77 -0
- package/src/securityInsights.ts +211 -0
- package/tsconfig.json +19 -0
- package/types/arm-securityinsight.d.ts +9299 -0
- package/types/tsdoc-metadata.json +11 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { BookmarkRelations } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityInsights } from "../securityInsights";
|
|
4
|
+
import { Relation, BookmarkRelationsListOptionalParams, BookmarkRelationsGetOptionalParams, BookmarkRelationsGetResponse, BookmarkRelationsCreateOrUpdateOptionalParams, BookmarkRelationsCreateOrUpdateResponse, BookmarkRelationsDeleteOptionalParams } from "../models";
|
|
5
|
+
/** Class containing BookmarkRelations operations. */
|
|
6
|
+
export declare class BookmarkRelationsImpl implements BookmarkRelations {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class BookmarkRelations class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityInsights);
|
|
13
|
+
/**
|
|
14
|
+
* Gets all bookmark relations.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the workspace.
|
|
17
|
+
* @param bookmarkId Bookmark ID
|
|
18
|
+
* @param options The options parameters.
|
|
19
|
+
*/
|
|
20
|
+
list(resourceGroupName: string, workspaceName: string, bookmarkId: string, options?: BookmarkRelationsListOptionalParams): PagedAsyncIterableIterator<Relation>;
|
|
21
|
+
private listPagingPage;
|
|
22
|
+
private listPagingAll;
|
|
23
|
+
/**
|
|
24
|
+
* Gets all bookmark relations.
|
|
25
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
26
|
+
* @param workspaceName The name of the workspace.
|
|
27
|
+
* @param bookmarkId Bookmark ID
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
private _list;
|
|
31
|
+
/**
|
|
32
|
+
* Gets a bookmark relation.
|
|
33
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
34
|
+
* @param workspaceName The name of the workspace.
|
|
35
|
+
* @param bookmarkId Bookmark ID
|
|
36
|
+
* @param relationName Relation Name
|
|
37
|
+
* @param options The options parameters.
|
|
38
|
+
*/
|
|
39
|
+
get(resourceGroupName: string, workspaceName: string, bookmarkId: string, relationName: string, options?: BookmarkRelationsGetOptionalParams): Promise<BookmarkRelationsGetResponse>;
|
|
40
|
+
/**
|
|
41
|
+
* Creates the bookmark relation.
|
|
42
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
43
|
+
* @param workspaceName The name of the workspace.
|
|
44
|
+
* @param bookmarkId Bookmark ID
|
|
45
|
+
* @param relationName Relation Name
|
|
46
|
+
* @param relation The relation model
|
|
47
|
+
* @param options The options parameters.
|
|
48
|
+
*/
|
|
49
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, bookmarkId: string, relationName: string, relation: Relation, options?: BookmarkRelationsCreateOrUpdateOptionalParams): Promise<BookmarkRelationsCreateOrUpdateResponse>;
|
|
50
|
+
/**
|
|
51
|
+
* Delete the bookmark relation.
|
|
52
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
53
|
+
* @param workspaceName The name of the workspace.
|
|
54
|
+
* @param bookmarkId Bookmark ID
|
|
55
|
+
* @param relationName Relation Name
|
|
56
|
+
* @param options The options parameters.
|
|
57
|
+
*/
|
|
58
|
+
delete(resourceGroupName: string, workspaceName: string, bookmarkId: string, relationName: string, options?: BookmarkRelationsDeleteOptionalParams): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* ListNext
|
|
61
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
62
|
+
* @param workspaceName The name of the workspace.
|
|
63
|
+
* @param bookmarkId Bookmark ID
|
|
64
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
65
|
+
* @param options The options parameters.
|
|
66
|
+
*/
|
|
67
|
+
private _listNext;
|
|
68
|
+
}
|
|
69
|
+
//# sourceMappingURL=bookmarkRelations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmarkRelations.d.ts","sourceRoot":"","sources":["../../../src/operations/bookmarkRelations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAI5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,QAAQ,EAER,mCAAmC,EAEnC,kCAAkC,EAClC,4BAA4B,EAC5B,6CAA6C,EAC7C,uCAAuC,EACvC,qCAAqC,EAEtC,MAAM,WAAW,CAAC;AAGnB,qDAAqD;AACrD,qBAAa,qBAAsB,YAAW,iBAAiB;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;;OAMG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,mCAAmC,GAC5C,0BAA0B,CAAC,QAAQ,CAAC;YAyBxB,cAAc;YA2Bd,aAAa;IAgB5B;;;;;;OAMG;IACH,OAAO,CAAC,KAAK;IAYb;;;;;;;OAOG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,kCAAkC,GAC3C,OAAO,CAAC,4BAA4B,CAAC;IAOxC;;;;;;;;OAQG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE,6CAA6C,GACtD,OAAO,CAAC,uCAAuC,CAAC;IAcnD;;;;;;;OAOG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,OAAO,CAAC,SAAS;CAYlB"}
|
|
@@ -0,0 +1,268 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing BookmarkRelations operations. */
|
|
14
|
+
export class BookmarkRelationsImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class BookmarkRelations class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets all bookmark relations.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param bookmarkId Bookmark ID
|
|
27
|
+
* @param options The options parameters.
|
|
28
|
+
*/
|
|
29
|
+
list(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
30
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, bookmarkId, options);
|
|
31
|
+
return {
|
|
32
|
+
next() {
|
|
33
|
+
return iter.next();
|
|
34
|
+
},
|
|
35
|
+
[Symbol.asyncIterator]() {
|
|
36
|
+
return this;
|
|
37
|
+
},
|
|
38
|
+
byPage: () => {
|
|
39
|
+
return this.listPagingPage(resourceGroupName, workspaceName, bookmarkId, options);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
listPagingPage(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
44
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
45
|
+
let result = yield __await(this._list(resourceGroupName, workspaceName, bookmarkId, options));
|
|
46
|
+
yield yield __await(result.value || []);
|
|
47
|
+
let continuationToken = result.nextLink;
|
|
48
|
+
while (continuationToken) {
|
|
49
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, bookmarkId, continuationToken, options));
|
|
50
|
+
continuationToken = result.nextLink;
|
|
51
|
+
yield yield __await(result.value || []);
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
listPagingAll(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
56
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
57
|
+
var e_1, _a;
|
|
58
|
+
try {
|
|
59
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, bookmarkId, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
60
|
+
const page = _c.value;
|
|
61
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
65
|
+
finally {
|
|
66
|
+
try {
|
|
67
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
68
|
+
}
|
|
69
|
+
finally { if (e_1) throw e_1.error; }
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Gets all bookmark relations.
|
|
75
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
76
|
+
* @param workspaceName The name of the workspace.
|
|
77
|
+
* @param bookmarkId Bookmark ID
|
|
78
|
+
* @param options The options parameters.
|
|
79
|
+
*/
|
|
80
|
+
_list(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
81
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, listOperationSpec);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Gets a bookmark relation.
|
|
85
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
86
|
+
* @param workspaceName The name of the workspace.
|
|
87
|
+
* @param bookmarkId Bookmark ID
|
|
88
|
+
* @param relationName Relation Name
|
|
89
|
+
* @param options The options parameters.
|
|
90
|
+
*/
|
|
91
|
+
get(resourceGroupName, workspaceName, bookmarkId, relationName, options) {
|
|
92
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, getOperationSpec);
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Creates the bookmark relation.
|
|
96
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
97
|
+
* @param workspaceName The name of the workspace.
|
|
98
|
+
* @param bookmarkId Bookmark ID
|
|
99
|
+
* @param relationName Relation Name
|
|
100
|
+
* @param relation The relation model
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
createOrUpdate(resourceGroupName, workspaceName, bookmarkId, relationName, relation, options) {
|
|
104
|
+
return this.client.sendOperationRequest({
|
|
105
|
+
resourceGroupName,
|
|
106
|
+
workspaceName,
|
|
107
|
+
bookmarkId,
|
|
108
|
+
relationName,
|
|
109
|
+
relation,
|
|
110
|
+
options
|
|
111
|
+
}, createOrUpdateOperationSpec);
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Delete the bookmark relation.
|
|
115
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
116
|
+
* @param workspaceName The name of the workspace.
|
|
117
|
+
* @param bookmarkId Bookmark ID
|
|
118
|
+
* @param relationName Relation Name
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
delete(resourceGroupName, workspaceName, bookmarkId, relationName, options) {
|
|
122
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, relationName, options }, deleteOperationSpec);
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* ListNext
|
|
126
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
127
|
+
* @param workspaceName The name of the workspace.
|
|
128
|
+
* @param bookmarkId Bookmark ID
|
|
129
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
130
|
+
* @param options The options parameters.
|
|
131
|
+
*/
|
|
132
|
+
_listNext(resourceGroupName, workspaceName, bookmarkId, nextLink, options) {
|
|
133
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, nextLink, options }, listNextOperationSpec);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
// Operation Specifications
|
|
137
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
138
|
+
const listOperationSpec = {
|
|
139
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations",
|
|
140
|
+
httpMethod: "GET",
|
|
141
|
+
responses: {
|
|
142
|
+
200: {
|
|
143
|
+
bodyMapper: Mappers.RelationList
|
|
144
|
+
},
|
|
145
|
+
default: {
|
|
146
|
+
bodyMapper: Mappers.CloudError
|
|
147
|
+
}
|
|
148
|
+
},
|
|
149
|
+
queryParameters: [
|
|
150
|
+
Parameters.apiVersion,
|
|
151
|
+
Parameters.filter,
|
|
152
|
+
Parameters.orderby,
|
|
153
|
+
Parameters.top,
|
|
154
|
+
Parameters.skipToken
|
|
155
|
+
],
|
|
156
|
+
urlParameters: [
|
|
157
|
+
Parameters.$host,
|
|
158
|
+
Parameters.subscriptionId,
|
|
159
|
+
Parameters.resourceGroupName,
|
|
160
|
+
Parameters.workspaceName,
|
|
161
|
+
Parameters.bookmarkId
|
|
162
|
+
],
|
|
163
|
+
headerParameters: [Parameters.accept],
|
|
164
|
+
serializer
|
|
165
|
+
};
|
|
166
|
+
const getOperationSpec = {
|
|
167
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
168
|
+
httpMethod: "GET",
|
|
169
|
+
responses: {
|
|
170
|
+
200: {
|
|
171
|
+
bodyMapper: Mappers.Relation
|
|
172
|
+
},
|
|
173
|
+
default: {
|
|
174
|
+
bodyMapper: Mappers.CloudError
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
queryParameters: [Parameters.apiVersion],
|
|
178
|
+
urlParameters: [
|
|
179
|
+
Parameters.$host,
|
|
180
|
+
Parameters.subscriptionId,
|
|
181
|
+
Parameters.resourceGroupName,
|
|
182
|
+
Parameters.workspaceName,
|
|
183
|
+
Parameters.bookmarkId,
|
|
184
|
+
Parameters.relationName
|
|
185
|
+
],
|
|
186
|
+
headerParameters: [Parameters.accept],
|
|
187
|
+
serializer
|
|
188
|
+
};
|
|
189
|
+
const createOrUpdateOperationSpec = {
|
|
190
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
191
|
+
httpMethod: "PUT",
|
|
192
|
+
responses: {
|
|
193
|
+
200: {
|
|
194
|
+
bodyMapper: Mappers.Relation
|
|
195
|
+
},
|
|
196
|
+
201: {
|
|
197
|
+
bodyMapper: Mappers.Relation
|
|
198
|
+
},
|
|
199
|
+
default: {
|
|
200
|
+
bodyMapper: Mappers.CloudError
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
requestBody: Parameters.relation,
|
|
204
|
+
queryParameters: [Parameters.apiVersion],
|
|
205
|
+
urlParameters: [
|
|
206
|
+
Parameters.$host,
|
|
207
|
+
Parameters.subscriptionId,
|
|
208
|
+
Parameters.resourceGroupName,
|
|
209
|
+
Parameters.workspaceName,
|
|
210
|
+
Parameters.bookmarkId,
|
|
211
|
+
Parameters.relationName
|
|
212
|
+
],
|
|
213
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
214
|
+
mediaType: "json",
|
|
215
|
+
serializer
|
|
216
|
+
};
|
|
217
|
+
const deleteOperationSpec = {
|
|
218
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}/relations/{relationName}",
|
|
219
|
+
httpMethod: "DELETE",
|
|
220
|
+
responses: {
|
|
221
|
+
200: {},
|
|
222
|
+
204: {},
|
|
223
|
+
default: {
|
|
224
|
+
bodyMapper: Mappers.CloudError
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
queryParameters: [Parameters.apiVersion],
|
|
228
|
+
urlParameters: [
|
|
229
|
+
Parameters.$host,
|
|
230
|
+
Parameters.subscriptionId,
|
|
231
|
+
Parameters.resourceGroupName,
|
|
232
|
+
Parameters.workspaceName,
|
|
233
|
+
Parameters.bookmarkId,
|
|
234
|
+
Parameters.relationName
|
|
235
|
+
],
|
|
236
|
+
headerParameters: [Parameters.accept],
|
|
237
|
+
serializer
|
|
238
|
+
};
|
|
239
|
+
const listNextOperationSpec = {
|
|
240
|
+
path: "{nextLink}",
|
|
241
|
+
httpMethod: "GET",
|
|
242
|
+
responses: {
|
|
243
|
+
200: {
|
|
244
|
+
bodyMapper: Mappers.RelationList
|
|
245
|
+
},
|
|
246
|
+
default: {
|
|
247
|
+
bodyMapper: Mappers.CloudError
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
queryParameters: [
|
|
251
|
+
Parameters.apiVersion,
|
|
252
|
+
Parameters.filter,
|
|
253
|
+
Parameters.orderby,
|
|
254
|
+
Parameters.top,
|
|
255
|
+
Parameters.skipToken
|
|
256
|
+
],
|
|
257
|
+
urlParameters: [
|
|
258
|
+
Parameters.$host,
|
|
259
|
+
Parameters.subscriptionId,
|
|
260
|
+
Parameters.resourceGroupName,
|
|
261
|
+
Parameters.workspaceName,
|
|
262
|
+
Parameters.nextLink,
|
|
263
|
+
Parameters.bookmarkId
|
|
264
|
+
],
|
|
265
|
+
headerParameters: [Parameters.accept],
|
|
266
|
+
serializer
|
|
267
|
+
};
|
|
268
|
+
//# sourceMappingURL=bookmarkRelations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmarkRelations.js","sourceRoot":"","sources":["../../../src/operations/bookmarkRelations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB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AAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,YAAY;SACjC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,UAAU;SAC/B;KACF;IACD,eAAe,EAAE;QACf,UAAU,CAAC,UAAU;QACrB,UAAU,CAAC,MAAM;QACjB,UAAU,CAAC,OAAO;QAClB,UAAU,CAAC,GAAG;QACd,UAAU,CAAC,SAAS;KACrB;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;QAC5B,UAAU,CAAC,aAAa;QACxB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,UAAU;KACtB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
2
|
+
import { Bookmarks } from "../operationsInterfaces";
|
|
3
|
+
import { SecurityInsights } from "../securityInsights";
|
|
4
|
+
import { Bookmark, BookmarksListOptionalParams, BookmarksGetOptionalParams, BookmarksGetResponse, BookmarksCreateOrUpdateOptionalParams, BookmarksCreateOrUpdateResponse, BookmarksDeleteOptionalParams } from "../models";
|
|
5
|
+
/** Class containing Bookmarks operations. */
|
|
6
|
+
export declare class BookmarksImpl implements Bookmarks {
|
|
7
|
+
private readonly client;
|
|
8
|
+
/**
|
|
9
|
+
* Initialize a new instance of the class Bookmarks class.
|
|
10
|
+
* @param client Reference to the service client
|
|
11
|
+
*/
|
|
12
|
+
constructor(client: SecurityInsights);
|
|
13
|
+
/**
|
|
14
|
+
* Gets all bookmarks.
|
|
15
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
16
|
+
* @param workspaceName The name of the workspace.
|
|
17
|
+
* @param options The options parameters.
|
|
18
|
+
*/
|
|
19
|
+
list(resourceGroupName: string, workspaceName: string, options?: BookmarksListOptionalParams): PagedAsyncIterableIterator<Bookmark>;
|
|
20
|
+
private listPagingPage;
|
|
21
|
+
private listPagingAll;
|
|
22
|
+
/**
|
|
23
|
+
* Gets all bookmarks.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
private _list;
|
|
29
|
+
/**
|
|
30
|
+
* Gets a bookmark.
|
|
31
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
32
|
+
* @param workspaceName The name of the workspace.
|
|
33
|
+
* @param bookmarkId Bookmark ID
|
|
34
|
+
* @param options The options parameters.
|
|
35
|
+
*/
|
|
36
|
+
get(resourceGroupName: string, workspaceName: string, bookmarkId: string, options?: BookmarksGetOptionalParams): Promise<BookmarksGetResponse>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates or updates the bookmark.
|
|
39
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
40
|
+
* @param workspaceName The name of the workspace.
|
|
41
|
+
* @param bookmarkId Bookmark ID
|
|
42
|
+
* @param bookmark The bookmark
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
createOrUpdate(resourceGroupName: string, workspaceName: string, bookmarkId: string, bookmark: Bookmark, options?: BookmarksCreateOrUpdateOptionalParams): Promise<BookmarksCreateOrUpdateResponse>;
|
|
46
|
+
/**
|
|
47
|
+
* Delete the bookmark.
|
|
48
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
49
|
+
* @param workspaceName The name of the workspace.
|
|
50
|
+
* @param bookmarkId Bookmark ID
|
|
51
|
+
* @param options The options parameters.
|
|
52
|
+
*/
|
|
53
|
+
delete(resourceGroupName: string, workspaceName: string, bookmarkId: string, options?: BookmarksDeleteOptionalParams): Promise<void>;
|
|
54
|
+
/**
|
|
55
|
+
* ListNext
|
|
56
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
57
|
+
* @param workspaceName The name of the workspace.
|
|
58
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
private _listNext;
|
|
62
|
+
}
|
|
63
|
+
//# sourceMappingURL=bookmarks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmarks.d.ts","sourceRoot":"","sources":["../../../src/operations/bookmarks.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAIpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EACL,QAAQ,EAER,2BAA2B,EAE3B,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAE9B,MAAM,WAAW,CAAC;AAGnB,6CAA6C;AAC7C,qBAAa,aAAc,YAAW,SAAS;IAC7C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAmB;IAE1C;;;OAGG;gBACS,MAAM,EAAE,gBAAgB;IAIpC;;;;;OAKG;IACI,IAAI,CACT,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,QAAQ,CAAC;YAexB,cAAc;YAoBd,aAAa;IAc5B;;;;;OAKG;IACH,OAAO,CAAC,KAAK;IAWb;;;;;;OAMG;IACH,GAAG,CACD,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAOhC;;;;;;;OAOG;IACH,cAAc,CACZ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE,qCAAqC,GAC9C,OAAO,CAAC,+BAA+B,CAAC;IAO3C;;;;;;OAMG;IACH,MAAM,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,MAAM,EAClB,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;OAMG;IACH,OAAO,CAAC,SAAS;CAWlB"}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) Microsoft Corporation.
|
|
3
|
+
* Licensed under the MIT License.
|
|
4
|
+
*
|
|
5
|
+
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
6
|
+
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
|
|
7
|
+
*/
|
|
8
|
+
import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
|
|
9
|
+
import * as coreClient from "@azure/core-client";
|
|
10
|
+
import * as Mappers from "../models/mappers";
|
|
11
|
+
import * as Parameters from "../models/parameters";
|
|
12
|
+
/// <reference lib="esnext.asynciterable" />
|
|
13
|
+
/** Class containing Bookmarks operations. */
|
|
14
|
+
export class BookmarksImpl {
|
|
15
|
+
/**
|
|
16
|
+
* Initialize a new instance of the class Bookmarks class.
|
|
17
|
+
* @param client Reference to the service client
|
|
18
|
+
*/
|
|
19
|
+
constructor(client) {
|
|
20
|
+
this.client = client;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Gets all bookmarks.
|
|
24
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
25
|
+
* @param workspaceName The name of the workspace.
|
|
26
|
+
* @param options The options parameters.
|
|
27
|
+
*/
|
|
28
|
+
list(resourceGroupName, workspaceName, options) {
|
|
29
|
+
const iter = this.listPagingAll(resourceGroupName, workspaceName, options);
|
|
30
|
+
return {
|
|
31
|
+
next() {
|
|
32
|
+
return iter.next();
|
|
33
|
+
},
|
|
34
|
+
[Symbol.asyncIterator]() {
|
|
35
|
+
return this;
|
|
36
|
+
},
|
|
37
|
+
byPage: () => {
|
|
38
|
+
return this.listPagingPage(resourceGroupName, workspaceName, options);
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
listPagingPage(resourceGroupName, workspaceName, options) {
|
|
43
|
+
return __asyncGenerator(this, arguments, function* listPagingPage_1() {
|
|
44
|
+
let result = yield __await(this._list(resourceGroupName, workspaceName, options));
|
|
45
|
+
yield yield __await(result.value || []);
|
|
46
|
+
let continuationToken = result.nextLink;
|
|
47
|
+
while (continuationToken) {
|
|
48
|
+
result = yield __await(this._listNext(resourceGroupName, workspaceName, continuationToken, options));
|
|
49
|
+
continuationToken = result.nextLink;
|
|
50
|
+
yield yield __await(result.value || []);
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
listPagingAll(resourceGroupName, workspaceName, options) {
|
|
55
|
+
return __asyncGenerator(this, arguments, function* listPagingAll_1() {
|
|
56
|
+
var e_1, _a;
|
|
57
|
+
try {
|
|
58
|
+
for (var _b = __asyncValues(this.listPagingPage(resourceGroupName, workspaceName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
|
|
59
|
+
const page = _c.value;
|
|
60
|
+
yield __await(yield* __asyncDelegator(__asyncValues(page)));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
64
|
+
finally {
|
|
65
|
+
try {
|
|
66
|
+
if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
|
|
67
|
+
}
|
|
68
|
+
finally { if (e_1) throw e_1.error; }
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Gets all bookmarks.
|
|
74
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
75
|
+
* @param workspaceName The name of the workspace.
|
|
76
|
+
* @param options The options parameters.
|
|
77
|
+
*/
|
|
78
|
+
_list(resourceGroupName, workspaceName, options) {
|
|
79
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, options }, listOperationSpec);
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Gets a bookmark.
|
|
83
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
84
|
+
* @param workspaceName The name of the workspace.
|
|
85
|
+
* @param bookmarkId Bookmark ID
|
|
86
|
+
* @param options The options parameters.
|
|
87
|
+
*/
|
|
88
|
+
get(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
89
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, getOperationSpec);
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Creates or updates the bookmark.
|
|
93
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
94
|
+
* @param workspaceName The name of the workspace.
|
|
95
|
+
* @param bookmarkId Bookmark ID
|
|
96
|
+
* @param bookmark The bookmark
|
|
97
|
+
* @param options The options parameters.
|
|
98
|
+
*/
|
|
99
|
+
createOrUpdate(resourceGroupName, workspaceName, bookmarkId, bookmark, options) {
|
|
100
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, bookmark, options }, createOrUpdateOperationSpec);
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* Delete the bookmark.
|
|
104
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
105
|
+
* @param workspaceName The name of the workspace.
|
|
106
|
+
* @param bookmarkId Bookmark ID
|
|
107
|
+
* @param options The options parameters.
|
|
108
|
+
*/
|
|
109
|
+
delete(resourceGroupName, workspaceName, bookmarkId, options) {
|
|
110
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, bookmarkId, options }, deleteOperationSpec);
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* ListNext
|
|
114
|
+
* @param resourceGroupName The name of the resource group. The name is case insensitive.
|
|
115
|
+
* @param workspaceName The name of the workspace.
|
|
116
|
+
* @param nextLink The nextLink from the previous successful call to the List method.
|
|
117
|
+
* @param options The options parameters.
|
|
118
|
+
*/
|
|
119
|
+
_listNext(resourceGroupName, workspaceName, nextLink, options) {
|
|
120
|
+
return this.client.sendOperationRequest({ resourceGroupName, workspaceName, nextLink, options }, listNextOperationSpec);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
// Operation Specifications
|
|
124
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
125
|
+
const listOperationSpec = {
|
|
126
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks",
|
|
127
|
+
httpMethod: "GET",
|
|
128
|
+
responses: {
|
|
129
|
+
200: {
|
|
130
|
+
bodyMapper: Mappers.BookmarkList
|
|
131
|
+
},
|
|
132
|
+
default: {
|
|
133
|
+
bodyMapper: Mappers.CloudError
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
queryParameters: [Parameters.apiVersion],
|
|
137
|
+
urlParameters: [
|
|
138
|
+
Parameters.$host,
|
|
139
|
+
Parameters.subscriptionId,
|
|
140
|
+
Parameters.resourceGroupName,
|
|
141
|
+
Parameters.workspaceName
|
|
142
|
+
],
|
|
143
|
+
headerParameters: [Parameters.accept],
|
|
144
|
+
serializer
|
|
145
|
+
};
|
|
146
|
+
const getOperationSpec = {
|
|
147
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
148
|
+
httpMethod: "GET",
|
|
149
|
+
responses: {
|
|
150
|
+
200: {
|
|
151
|
+
bodyMapper: Mappers.Bookmark
|
|
152
|
+
},
|
|
153
|
+
default: {
|
|
154
|
+
bodyMapper: Mappers.CloudError
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
queryParameters: [Parameters.apiVersion],
|
|
158
|
+
urlParameters: [
|
|
159
|
+
Parameters.$host,
|
|
160
|
+
Parameters.subscriptionId,
|
|
161
|
+
Parameters.resourceGroupName,
|
|
162
|
+
Parameters.workspaceName,
|
|
163
|
+
Parameters.bookmarkId
|
|
164
|
+
],
|
|
165
|
+
headerParameters: [Parameters.accept],
|
|
166
|
+
serializer
|
|
167
|
+
};
|
|
168
|
+
const createOrUpdateOperationSpec = {
|
|
169
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
170
|
+
httpMethod: "PUT",
|
|
171
|
+
responses: {
|
|
172
|
+
200: {
|
|
173
|
+
bodyMapper: Mappers.Bookmark
|
|
174
|
+
},
|
|
175
|
+
201: {
|
|
176
|
+
bodyMapper: Mappers.Bookmark
|
|
177
|
+
},
|
|
178
|
+
default: {
|
|
179
|
+
bodyMapper: Mappers.CloudError
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
requestBody: Parameters.bookmark,
|
|
183
|
+
queryParameters: [Parameters.apiVersion],
|
|
184
|
+
urlParameters: [
|
|
185
|
+
Parameters.$host,
|
|
186
|
+
Parameters.subscriptionId,
|
|
187
|
+
Parameters.resourceGroupName,
|
|
188
|
+
Parameters.workspaceName,
|
|
189
|
+
Parameters.bookmarkId
|
|
190
|
+
],
|
|
191
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
192
|
+
mediaType: "json",
|
|
193
|
+
serializer
|
|
194
|
+
};
|
|
195
|
+
const deleteOperationSpec = {
|
|
196
|
+
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/providers/Microsoft.SecurityInsights/bookmarks/{bookmarkId}",
|
|
197
|
+
httpMethod: "DELETE",
|
|
198
|
+
responses: {
|
|
199
|
+
200: {},
|
|
200
|
+
204: {},
|
|
201
|
+
default: {
|
|
202
|
+
bodyMapper: Mappers.CloudError
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
queryParameters: [Parameters.apiVersion],
|
|
206
|
+
urlParameters: [
|
|
207
|
+
Parameters.$host,
|
|
208
|
+
Parameters.subscriptionId,
|
|
209
|
+
Parameters.resourceGroupName,
|
|
210
|
+
Parameters.workspaceName,
|
|
211
|
+
Parameters.bookmarkId
|
|
212
|
+
],
|
|
213
|
+
headerParameters: [Parameters.accept],
|
|
214
|
+
serializer
|
|
215
|
+
};
|
|
216
|
+
const listNextOperationSpec = {
|
|
217
|
+
path: "{nextLink}",
|
|
218
|
+
httpMethod: "GET",
|
|
219
|
+
responses: {
|
|
220
|
+
200: {
|
|
221
|
+
bodyMapper: Mappers.BookmarkList
|
|
222
|
+
},
|
|
223
|
+
default: {
|
|
224
|
+
bodyMapper: Mappers.CloudError
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
queryParameters: [Parameters.apiVersion],
|
|
228
|
+
urlParameters: [
|
|
229
|
+
Parameters.$host,
|
|
230
|
+
Parameters.subscriptionId,
|
|
231
|
+
Parameters.resourceGroupName,
|
|
232
|
+
Parameters.workspaceName,
|
|
233
|
+
Parameters.nextLink
|
|
234
|
+
],
|
|
235
|
+
headerParameters: [Parameters.accept],
|
|
236
|
+
serializer
|
|
237
|
+
};
|
|
238
|
+
//# sourceMappingURL=bookmarks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bookmarks.js","sourceRoot":"","sources":["../../../src/operations/bookmarks.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAenD,4CAA4C;AAC5C,6CAA6C;AAC7C,MAAM,OAAO,aAAa;IAGxB;;;OAGG;IACH,YAAY,MAAwB;QAClC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;OAKG;IACI,IAAI,CACT,iBAAyB,EACzB,aAAqB,EACrB,OAAqC;QAErC,MAAM,IAAI,GAAG,IAAI,CAAC,aAAa,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAC3E,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,cAAc,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,cAAc,CAC3B,iBAAyB,EACzB,aAAqB,EACrB,OAAqC;;YAErC,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,KAAK,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,CAAC,CAAA,CAAC;YACzE,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC;YACxC,OAAO,iBAAiB,EAAE;gBACxB,MAAM,GAAG,cAAM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