@azure/arm-customerinsights 3.1.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/LICENSE +21 -0
- package/README.md +75 -73
- package/dist/index.js +8925 -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/customerInsightsManagementClient.d.ts +35 -0
- package/dist-esm/src/customerInsightsManagementClient.d.ts.map +1 -0
- package/dist-esm/src/customerInsightsManagementClient.js +68 -0
- package/dist-esm/src/customerInsightsManagementClient.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/lroImpl.d.ts +16 -0
- package/dist-esm/src/lroImpl.d.ts.map +1 -0
- package/dist-esm/src/lroImpl.js +29 -0
- package/dist-esm/src/lroImpl.js.map +1 -0
- package/dist-esm/src/models/index.d.ts +2222 -0
- package/dist-esm/src/models/index.d.ts.map +1 -0
- package/dist-esm/src/models/index.js +72 -0
- package/dist-esm/src/models/index.js.map +1 -0
- package/dist-esm/src/models/mappers.d.ts +88 -0
- package/dist-esm/src/models/mappers.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/mappers.js +2237 -2527
- package/dist-esm/src/models/mappers.js.map +1 -0
- package/dist-esm/src/models/parameters.d.ts +53 -0
- package/dist-esm/src/models/parameters.d.ts.map +1 -0
- package/{esm → dist-esm/src}/models/parameters.js +243 -163
- package/dist-esm/src/models/parameters.js.map +1 -0
- package/dist-esm/src/operations/authorizationPolicies.d.ts +71 -0
- package/dist-esm/src/operations/authorizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operations/authorizationPolicies.js +259 -0
- package/dist-esm/src/operations/authorizationPolicies.js.map +1 -0
- package/dist-esm/src/operations/connectorMappings.d.ts +69 -0
- package/dist-esm/src/operations/connectorMappings.d.ts.map +1 -0
- package/dist-esm/src/operations/connectorMappings.js +237 -0
- package/dist-esm/src/operations/connectorMappings.js.map +1 -0
- package/dist-esm/src/operations/connectors.d.ts +81 -0
- package/dist-esm/src/operations/connectors.d.ts.map +1 -0
- package/dist-esm/src/operations/connectors.js +310 -0
- package/dist-esm/src/operations/connectors.js.map +1 -0
- package/dist-esm/src/operations/hubs.d.ts +91 -0
- package/dist-esm/src/operations/hubs.d.ts.map +1 -0
- package/dist-esm/src/operations/hubs.js +373 -0
- package/dist-esm/src/operations/hubs.js.map +1 -0
- package/dist-esm/src/operations/images.d.ts +29 -0
- package/dist-esm/src/operations/images.d.ts.map +1 -0
- package/dist-esm/src/operations/images.js +83 -0
- package/dist-esm/src/operations/images.js.map +1 -0
- package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
- package/dist-esm/src/operations/index.d.ts.map +1 -0
- package/{esm → dist-esm/src}/operations/index.js +3 -5
- package/dist-esm/src/operations/index.js.map +1 -0
- package/dist-esm/src/operations/interactions.d.ts +73 -0
- package/dist-esm/src/operations/interactions.d.ts.map +1 -0
- package/dist-esm/src/operations/interactions.js +274 -0
- package/dist-esm/src/operations/interactions.js.map +1 -0
- package/dist-esm/src/operations/kpi.d.ts +89 -0
- package/dist-esm/src/operations/kpi.d.ts.map +1 -0
- package/dist-esm/src/operations/kpi.js +334 -0
- package/dist-esm/src/operations/kpi.js.map +1 -0
- package/dist-esm/src/operations/links.d.ts +73 -0
- package/dist-esm/src/operations/links.d.ts.map +1 -0
- package/dist-esm/src/operations/links.js +269 -0
- package/dist-esm/src/operations/links.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 +114 -0
- package/dist-esm/src/operations/operations.js.map +1 -0
- package/dist-esm/src/operations/predictions.d.ts +106 -0
- package/dist-esm/src/operations/predictions.d.ts.map +1 -0
- package/dist-esm/src/operations/predictions.js +396 -0
- package/dist-esm/src/operations/predictions.js.map +1 -0
- package/dist-esm/src/operations/profiles.d.ts +91 -0
- package/dist-esm/src/operations/profiles.d.ts.map +1 -0
- package/dist-esm/src/operations/profiles.js +346 -0
- package/dist-esm/src/operations/profiles.js.map +1 -0
- package/dist-esm/src/operations/relationshipLinks.d.ts +81 -0
- package/dist-esm/src/operations/relationshipLinks.d.ts.map +1 -0
- package/dist-esm/src/operations/relationshipLinks.js +310 -0
- package/dist-esm/src/operations/relationshipLinks.js.map +1 -0
- package/dist-esm/src/operations/relationships.d.ts +81 -0
- package/dist-esm/src/operations/relationships.d.ts.map +1 -0
- package/dist-esm/src/operations/relationships.js +310 -0
- package/dist-esm/src/operations/relationships.js.map +1 -0
- package/dist-esm/src/operations/roleAssignments.d.ts +73 -0
- package/dist-esm/src/operations/roleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operations/roleAssignments.js +269 -0
- package/dist-esm/src/operations/roleAssignments.js.map +1 -0
- package/dist-esm/src/operations/roles.d.ts +38 -0
- package/dist-esm/src/operations/roles.d.ts.map +1 -0
- package/dist-esm/src/operations/roles.js +131 -0
- package/dist-esm/src/operations/roles.js.map +1 -0
- package/dist-esm/src/operations/views.d.ts +68 -0
- package/dist-esm/src/operations/views.d.ts.map +1 -0
- package/dist-esm/src/operations/views.js +221 -0
- package/dist-esm/src/operations/views.js.map +1 -0
- package/dist-esm/src/operations/widgetTypes.d.ts +46 -0
- package/dist-esm/src/operations/widgetTypes.d.ts.map +1 -0
- package/dist-esm/src/operations/widgetTypes.js +160 -0
- package/dist-esm/src/operations/widgetTypes.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts +46 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.js +9 -0
- package/dist-esm/src/operationsInterfaces/authorizationPolicies.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts +42 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectorMappings.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/connectors.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/connectors.js +9 -0
- package/dist-esm/src/operationsInterfaces/connectors.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/hubs.d.ts +55 -0
- package/dist-esm/src/operationsInterfaces/hubs.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/hubs.js +9 -0
- package/dist-esm/src/operationsInterfaces/hubs.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/images.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/images.js +9 -0
- package/dist-esm/src/operationsInterfaces/images.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts +18 -0
- package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/index.js +25 -0
- package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/interactions.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/interactions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/interactions.js +9 -0
- package/dist-esm/src/operationsInterfaces/interactions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/kpi.d.ts +64 -0
- package/dist-esm/src/operationsInterfaces/kpi.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/kpi.js +9 -0
- package/dist-esm/src/operationsInterfaces/kpi.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/links.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/links.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/links.js +9 -0
- package/dist-esm/src/operationsInterfaces/links.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/predictions.d.ts +81 -0
- package/dist-esm/src/operationsInterfaces/predictions.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/predictions.js +9 -0
- package/dist-esm/src/operationsInterfaces/predictions.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts +66 -0
- package/dist-esm/src/operationsInterfaces/profiles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/profiles.js +9 -0
- package/dist-esm/src/operationsInterfaces/profiles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.js +9 -0
- package/dist-esm/src/operationsInterfaces/relationshipLinks.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationships.d.ts +56 -0
- package/dist-esm/src/operationsInterfaces/relationships.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/relationships.js +9 -0
- package/dist-esm/src/operationsInterfaces/relationships.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts +48 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.js +9 -0
- package/dist-esm/src/operationsInterfaces/roleAssignments.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/roles.d.ts +13 -0
- package/dist-esm/src/operationsInterfaces/roles.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/roles.js +9 -0
- package/dist-esm/src/operationsInterfaces/roles.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts +41 -0
- package/dist-esm/src/operationsInterfaces/views.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/views.js +9 -0
- package/dist-esm/src/operationsInterfaces/views.js.map +1 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts +21 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.d.ts.map +1 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.js +9 -0
- package/dist-esm/src/operationsInterfaces/widgetTypes.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 +70 -34
- package/review/arm-customerinsights.api.md +1833 -0
- package/rollup.config.js +184 -27
- package/src/customerInsightsManagementClient.ts +144 -0
- package/src/index.ts +12 -0
- package/src/lroImpl.ts +34 -0
- package/src/models/index.ts +2454 -0
- package/{lib → src}/models/mappers.ts +2289 -2562
- package/src/models/parameters.ts +569 -0
- package/src/operations/authorizationPolicies.ts +348 -0
- package/src/operations/connectorMappings.ts +338 -0
- package/src/operations/connectors.ts +443 -0
- package/src/operations/hubs.ts +477 -0
- package/src/operations/images.ts +116 -0
- package/{lib → src}/operations/index.ts +3 -5
- package/src/operations/interactions.ts +383 -0
- package/src/operations/kpi.ts +478 -0
- package/src/operations/links.ts +377 -0
- package/src/operations/operations.ts +131 -0
- package/src/operations/predictions.ts +566 -0
- package/src/operations/profiles.ts +491 -0
- package/src/operations/relationshipLinks.ts +443 -0
- package/src/operations/relationships.ts +443 -0
- package/src/operations/roleAssignments.ts +377 -0
- package/src/operations/roles.ts +171 -0
- package/src/operations/views.ts +321 -0
- package/src/operations/widgetTypes.ts +212 -0
- package/src/operationsInterfaces/authorizationPolicies.ts +91 -0
- package/src/operationsInterfaces/connectorMappings.ts +83 -0
- package/src/operationsInterfaces/connectors.ts +109 -0
- package/src/operationsInterfaces/hubs.ts +100 -0
- package/src/operationsInterfaces/images.ts +45 -0
- package/src/operationsInterfaces/index.ts +25 -0
- package/src/operationsInterfaces/interactions.ts +97 -0
- package/src/operationsInterfaces/kpi.ts +123 -0
- package/src/operationsInterfaces/links.ts +96 -0
- package/src/operationsInterfaces/operations.ts +22 -0
- package/src/operationsInterfaces/predictions.ts +156 -0
- package/src/operationsInterfaces/profiles.ts +126 -0
- package/src/operationsInterfaces/relationshipLinks.ts +109 -0
- package/src/operationsInterfaces/relationships.ts +109 -0
- package/src/operationsInterfaces/roleAssignments.ts +96 -0
- package/src/operationsInterfaces/roles.ts +26 -0
- package/src/operationsInterfaces/views.ts +81 -0
- package/src/operationsInterfaces/widgetTypes.ts +44 -0
- package/tsconfig.json +4 -4
- package/types/arm-customerinsights.d.ts +3254 -0
- package/types/tsdoc-metadata.json +11 -0
- package/dist/arm-customerinsights.js +0 -9229
- package/dist/arm-customerinsights.js.map +0 -1
- package/dist/arm-customerinsights.min.js +0 -1
- package/dist/arm-customerinsights.min.js.map +0 -1
- package/esm/customerInsightsManagementClient.d.ts +0 -35
- package/esm/customerInsightsManagementClient.d.ts.map +0 -1
- package/esm/customerInsightsManagementClient.js +0 -50
- package/esm/customerInsightsManagementClient.js.map +0 -1
- package/esm/customerInsightsManagementClientContext.d.ts +0 -17
- package/esm/customerInsightsManagementClientContext.d.ts.map +0 -1
- package/esm/customerInsightsManagementClientContext.js +0 -57
- package/esm/customerInsightsManagementClientContext.js.map +0 -1
- package/esm/models/authorizationPoliciesMappers.d.ts +0 -2
- package/esm/models/authorizationPoliciesMappers.d.ts.map +0 -1
- package/esm/models/authorizationPoliciesMappers.js +0 -11
- package/esm/models/authorizationPoliciesMappers.js.map +0 -1
- package/esm/models/connectorMappingsMappers.d.ts +0 -2
- package/esm/models/connectorMappingsMappers.d.ts.map +0 -1
- package/esm/models/connectorMappingsMappers.js +0 -11
- package/esm/models/connectorMappingsMappers.js.map +0 -1
- package/esm/models/connectorsMappers.d.ts +0 -2
- package/esm/models/connectorsMappers.d.ts.map +0 -1
- package/esm/models/connectorsMappers.js +0 -11
- package/esm/models/connectorsMappers.js.map +0 -1
- package/esm/models/hubsMappers.d.ts +0 -2
- package/esm/models/hubsMappers.d.ts.map +0 -1
- package/esm/models/hubsMappers.js +0 -11
- package/esm/models/hubsMappers.js.map +0 -1
- package/esm/models/imagesMappers.d.ts +0 -2
- package/esm/models/imagesMappers.d.ts.map +0 -1
- package/esm/models/imagesMappers.js +0 -11
- package/esm/models/imagesMappers.js.map +0 -1
- package/esm/models/index.d.ts +0 -4582
- package/esm/models/index.d.ts.map +0 -1
- package/esm/models/index.js +0 -10
- package/esm/models/index.js.map +0 -1
- package/esm/models/interactionsMappers.d.ts +0 -2
- package/esm/models/interactionsMappers.d.ts.map +0 -1
- package/esm/models/interactionsMappers.js +0 -11
- package/esm/models/interactionsMappers.js.map +0 -1
- package/esm/models/kpiMappers.d.ts +0 -2
- package/esm/models/kpiMappers.d.ts.map +0 -1
- package/esm/models/kpiMappers.js +0 -11
- package/esm/models/kpiMappers.js.map +0 -1
- package/esm/models/linksMappers.d.ts +0 -2
- package/esm/models/linksMappers.d.ts.map +0 -1
- package/esm/models/linksMappers.js +0 -11
- package/esm/models/linksMappers.js.map +0 -1
- package/esm/models/mappers.d.ts +0 -88
- package/esm/models/mappers.d.ts.map +0 -1
- package/esm/models/mappers.js.map +0 -1
- package/esm/models/operationsMappers.d.ts +0 -2
- package/esm/models/operationsMappers.d.ts.map +0 -1
- package/esm/models/operationsMappers.js +0 -11
- package/esm/models/operationsMappers.js.map +0 -1
- package/esm/models/parameters.d.ts +0 -36
- package/esm/models/parameters.d.ts.map +0 -1
- package/esm/models/parameters.js.map +0 -1
- package/esm/models/predictionsMappers.d.ts +0 -2
- package/esm/models/predictionsMappers.d.ts.map +0 -1
- package/esm/models/predictionsMappers.js +0 -11
- package/esm/models/predictionsMappers.js.map +0 -1
- package/esm/models/profilesMappers.d.ts +0 -2
- package/esm/models/profilesMappers.d.ts.map +0 -1
- package/esm/models/profilesMappers.js +0 -11
- package/esm/models/profilesMappers.js.map +0 -1
- package/esm/models/relationshipLinksMappers.d.ts +0 -2
- package/esm/models/relationshipLinksMappers.d.ts.map +0 -1
- package/esm/models/relationshipLinksMappers.js +0 -11
- package/esm/models/relationshipLinksMappers.js.map +0 -1
- package/esm/models/relationshipsMappers.d.ts +0 -2
- package/esm/models/relationshipsMappers.d.ts.map +0 -1
- package/esm/models/relationshipsMappers.js +0 -11
- package/esm/models/relationshipsMappers.js.map +0 -1
- package/esm/models/roleAssignmentsMappers.d.ts +0 -2
- package/esm/models/roleAssignmentsMappers.d.ts.map +0 -1
- package/esm/models/roleAssignmentsMappers.js +0 -11
- package/esm/models/roleAssignmentsMappers.js.map +0 -1
- package/esm/models/rolesMappers.d.ts +0 -2
- package/esm/models/rolesMappers.d.ts.map +0 -1
- package/esm/models/rolesMappers.js +0 -11
- package/esm/models/rolesMappers.js.map +0 -1
- package/esm/models/viewsMappers.d.ts +0 -2
- package/esm/models/viewsMappers.d.ts.map +0 -1
- package/esm/models/viewsMappers.js +0 -11
- package/esm/models/viewsMappers.js.map +0 -1
- package/esm/models/widgetTypesMappers.d.ts +0 -2
- package/esm/models/widgetTypesMappers.d.ts.map +0 -1
- package/esm/models/widgetTypesMappers.js +0 -11
- package/esm/models/widgetTypesMappers.js.map +0 -1
- package/esm/operations/authorizationPolicies.d.ts +0 -151
- package/esm/operations/authorizationPolicies.d.ts.map +0 -1
- package/esm/operations/authorizationPolicies.js +0 -225
- package/esm/operations/authorizationPolicies.js.map +0 -1
- package/esm/operations/connectorMappings.d.ts +0 -139
- package/esm/operations/connectorMappings.d.ts.map +0 -1
- package/esm/operations/connectorMappings.js +0 -199
- package/esm/operations/connectorMappings.js.map +0 -1
- package/esm/operations/connectors.d.ts +0 -115
- package/esm/operations/connectors.d.ts.map +0 -1
- package/esm/operations/connectors.js +0 -232
- package/esm/operations/connectors.js.map +0 -1
- package/esm/operations/hubs.d.ts +0 -168
- package/esm/operations/hubs.d.ts.map +0 -1
- package/esm/operations/hubs.js +0 -291
- package/esm/operations/hubs.js.map +0 -1
- package/esm/operations/images.d.ts +0 -61
- package/esm/operations/images.d.ts.map +0 -1
- package/esm/operations/images.js +0 -100
- package/esm/operations/images.js.map +0 -1
- package/esm/operations/index.d.ts.map +0 -1
- package/esm/operations/index.js.map +0 -1
- package/esm/operations/interactions.d.ts +0 -121
- package/esm/operations/interactions.d.ts.map +0 -1
- package/esm/operations/interactions.js +0 -214
- package/esm/operations/interactions.js.map +0 -1
- package/esm/operations/kpi.d.ts +0 -139
- package/esm/operations/kpi.d.ts.map +0 -1
- package/esm/operations/kpi.js +0 -262
- package/esm/operations/kpi.js.map +0 -1
- package/esm/operations/links.d.ts +0 -121
- package/esm/operations/links.d.ts.map +0 -1
- package/esm/operations/links.js +0 -211
- package/esm/operations/links.js.map +0 -1
- package/esm/operations/operations.d.ts +0 -46
- package/esm/operations/operations.d.ts.map +0 -1
- package/esm/operations/operations.js +0 -77
- package/esm/operations/operations.js.map +0 -1
- package/esm/operations/predictions.d.ts +0 -190
- package/esm/operations/predictions.d.ts.map +0 -1
- package/esm/operations/predictions.js +0 -333
- package/esm/operations/predictions.js.map +0 -1
- package/esm/operations/profiles.d.ts +0 -141
- package/esm/operations/profiles.d.ts.map +0 -1
- package/esm/operations/profiles.js +0 -279
- package/esm/operations/profiles.js.map +0 -1
- package/esm/operations/relationshipLinks.d.ts +0 -115
- package/esm/operations/relationshipLinks.d.ts.map +0 -1
- package/esm/operations/relationshipLinks.js +0 -231
- package/esm/operations/relationshipLinks.js.map +0 -1
- package/esm/operations/relationships.d.ts +0 -115
- package/esm/operations/relationships.d.ts.map +0 -1
- package/esm/operations/relationships.js +0 -231
- package/esm/operations/relationships.js.map +0 -1
- package/esm/operations/roleAssignments.d.ts +0 -121
- package/esm/operations/roleAssignments.d.ts.map +0 -1
- package/esm/operations/roleAssignments.js +0 -212
- package/esm/operations/roleAssignments.js.map +0 -1
- package/esm/operations/roles.d.ts +0 -52
- package/esm/operations/roles.d.ts.map +0 -1
- package/esm/operations/roles.js +0 -84
- package/esm/operations/roles.js.map +0 -1
- package/esm/operations/views.d.ts +0 -136
- package/esm/operations/views.d.ts.map +0 -1
- package/esm/operations/views.js +0 -193
- package/esm/operations/views.js.map +0 -1
- package/esm/operations/widgetTypes.d.ts +0 -76
- package/esm/operations/widgetTypes.d.ts.map +0 -1
- package/esm/operations/widgetTypes.js +0 -117
- package/esm/operations/widgetTypes.js.map +0 -1
- package/lib/customerInsightsManagementClient.ts +0 -75
- package/lib/customerInsightsManagementClientContext.ts +0 -63
- package/lib/models/authorizationPoliciesMappers.ts +0 -62
- package/lib/models/connectorMappingsMappers.ts +0 -61
- package/lib/models/connectorsMappers.ts +0 -61
- package/lib/models/hubsMappers.ts +0 -61
- package/lib/models/imagesMappers.ts +0 -16
- package/lib/models/index.ts +0 -4702
- package/lib/models/interactionsMappers.ts +0 -63
- package/lib/models/kpiMappers.ts +0 -61
- package/lib/models/linksMappers.ts +0 -61
- package/lib/models/operationsMappers.ts +0 -17
- package/lib/models/parameters.ts +0 -419
- package/lib/models/predictionsMappers.ts +0 -67
- package/lib/models/profilesMappers.ts +0 -63
- package/lib/models/relationshipLinksMappers.ts +0 -61
- package/lib/models/relationshipsMappers.ts +0 -61
- package/lib/models/roleAssignmentsMappers.ts +0 -61
- package/lib/models/rolesMappers.ts +0 -61
- package/lib/models/viewsMappers.ts +0 -61
- package/lib/models/widgetTypesMappers.ts +0 -61
- package/lib/operations/authorizationPolicies.ts +0 -398
- package/lib/operations/connectorMappings.ts +0 -355
- package/lib/operations/connectors.ts +0 -328
- package/lib/operations/hubs.ts +0 -479
- package/lib/operations/images.ts +0 -166
- package/lib/operations/interactions.ts +0 -333
- package/lib/operations/kpi.ts +0 -387
- package/lib/operations/links.ts +0 -330
- package/lib/operations/operations.ts +0 -123
- package/lib/operations/predictions.ts +0 -522
- package/lib/operations/profiles.ts +0 -406
- package/lib/operations/relationshipLinks.ts +0 -327
- package/lib/operations/relationships.ts +0 -327
- package/lib/operations/roleAssignments.ts +0 -331
- package/lib/operations/roles.ts +0 -136
- package/lib/operations/views.ts +0 -346
- package/lib/operations/widgetTypes.ts +0 -198
|
@@ -0,0 +1,321 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { Views } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
ViewResourceFormat,
|
|
17
|
+
ViewsListByHubNextOptionalParams,
|
|
18
|
+
ViewsListByHubOptionalParams,
|
|
19
|
+
ViewsListByHubResponse,
|
|
20
|
+
ViewsCreateOrUpdateOptionalParams,
|
|
21
|
+
ViewsCreateOrUpdateResponse,
|
|
22
|
+
ViewsGetOptionalParams,
|
|
23
|
+
ViewsGetResponse,
|
|
24
|
+
ViewsDeleteOptionalParams,
|
|
25
|
+
ViewsListByHubNextResponse
|
|
26
|
+
} from "../models";
|
|
27
|
+
|
|
28
|
+
/// <reference lib="esnext.asynciterable" />
|
|
29
|
+
/** Class containing Views operations. */
|
|
30
|
+
export class ViewsImpl implements Views {
|
|
31
|
+
private readonly client: CustomerInsightsManagementClient;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* Initialize a new instance of the class Views class.
|
|
35
|
+
* @param client Reference to the service client
|
|
36
|
+
*/
|
|
37
|
+
constructor(client: CustomerInsightsManagementClient) {
|
|
38
|
+
this.client = client;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Gets all available views for given user in the specified hub.
|
|
43
|
+
* @param resourceGroupName The name of the resource group.
|
|
44
|
+
* @param hubName The name of the hub.
|
|
45
|
+
* @param userId The user ID. Use * to retrieve hub level views.
|
|
46
|
+
* @param options The options parameters.
|
|
47
|
+
*/
|
|
48
|
+
public listByHub(
|
|
49
|
+
resourceGroupName: string,
|
|
50
|
+
hubName: string,
|
|
51
|
+
userId: string,
|
|
52
|
+
options?: ViewsListByHubOptionalParams
|
|
53
|
+
): PagedAsyncIterableIterator<ViewResourceFormat> {
|
|
54
|
+
const iter = this.listByHubPagingAll(
|
|
55
|
+
resourceGroupName,
|
|
56
|
+
hubName,
|
|
57
|
+
userId,
|
|
58
|
+
options
|
|
59
|
+
);
|
|
60
|
+
return {
|
|
61
|
+
next() {
|
|
62
|
+
return iter.next();
|
|
63
|
+
},
|
|
64
|
+
[Symbol.asyncIterator]() {
|
|
65
|
+
return this;
|
|
66
|
+
},
|
|
67
|
+
byPage: () => {
|
|
68
|
+
return this.listByHubPagingPage(
|
|
69
|
+
resourceGroupName,
|
|
70
|
+
hubName,
|
|
71
|
+
userId,
|
|
72
|
+
options
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
private async *listByHubPagingPage(
|
|
79
|
+
resourceGroupName: string,
|
|
80
|
+
hubName: string,
|
|
81
|
+
userId: string,
|
|
82
|
+
options?: ViewsListByHubOptionalParams
|
|
83
|
+
): AsyncIterableIterator<ViewResourceFormat[]> {
|
|
84
|
+
let result = await this._listByHub(
|
|
85
|
+
resourceGroupName,
|
|
86
|
+
hubName,
|
|
87
|
+
userId,
|
|
88
|
+
options
|
|
89
|
+
);
|
|
90
|
+
yield result.value || [];
|
|
91
|
+
let continuationToken = result.nextLink;
|
|
92
|
+
while (continuationToken) {
|
|
93
|
+
result = await this._listByHubNext(
|
|
94
|
+
resourceGroupName,
|
|
95
|
+
hubName,
|
|
96
|
+
userId,
|
|
97
|
+
continuationToken,
|
|
98
|
+
options
|
|
99
|
+
);
|
|
100
|
+
continuationToken = result.nextLink;
|
|
101
|
+
yield result.value || [];
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
private async *listByHubPagingAll(
|
|
106
|
+
resourceGroupName: string,
|
|
107
|
+
hubName: string,
|
|
108
|
+
userId: string,
|
|
109
|
+
options?: ViewsListByHubOptionalParams
|
|
110
|
+
): AsyncIterableIterator<ViewResourceFormat> {
|
|
111
|
+
for await (const page of this.listByHubPagingPage(
|
|
112
|
+
resourceGroupName,
|
|
113
|
+
hubName,
|
|
114
|
+
userId,
|
|
115
|
+
options
|
|
116
|
+
)) {
|
|
117
|
+
yield* page;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Gets all available views for given user in the specified hub.
|
|
123
|
+
* @param resourceGroupName The name of the resource group.
|
|
124
|
+
* @param hubName The name of the hub.
|
|
125
|
+
* @param userId The user ID. Use * to retrieve hub level views.
|
|
126
|
+
* @param options The options parameters.
|
|
127
|
+
*/
|
|
128
|
+
private _listByHub(
|
|
129
|
+
resourceGroupName: string,
|
|
130
|
+
hubName: string,
|
|
131
|
+
userId: string,
|
|
132
|
+
options?: ViewsListByHubOptionalParams
|
|
133
|
+
): Promise<ViewsListByHubResponse> {
|
|
134
|
+
return this.client.sendOperationRequest(
|
|
135
|
+
{ resourceGroupName, hubName, userId, options },
|
|
136
|
+
listByHubOperationSpec
|
|
137
|
+
);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Creates a view or updates an existing view in the hub.
|
|
142
|
+
* @param resourceGroupName The name of the resource group.
|
|
143
|
+
* @param hubName The name of the hub.
|
|
144
|
+
* @param viewName The name of the view.
|
|
145
|
+
* @param parameters Parameters supplied to the CreateOrUpdate View operation.
|
|
146
|
+
* @param options The options parameters.
|
|
147
|
+
*/
|
|
148
|
+
createOrUpdate(
|
|
149
|
+
resourceGroupName: string,
|
|
150
|
+
hubName: string,
|
|
151
|
+
viewName: string,
|
|
152
|
+
parameters: ViewResourceFormat,
|
|
153
|
+
options?: ViewsCreateOrUpdateOptionalParams
|
|
154
|
+
): Promise<ViewsCreateOrUpdateResponse> {
|
|
155
|
+
return this.client.sendOperationRequest(
|
|
156
|
+
{ resourceGroupName, hubName, viewName, parameters, options },
|
|
157
|
+
createOrUpdateOperationSpec
|
|
158
|
+
);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Gets a view in the hub.
|
|
163
|
+
* @param resourceGroupName The name of the resource group.
|
|
164
|
+
* @param hubName The name of the hub.
|
|
165
|
+
* @param viewName The name of the view.
|
|
166
|
+
* @param userId The user ID. Use * to retrieve hub level view.
|
|
167
|
+
* @param options The options parameters.
|
|
168
|
+
*/
|
|
169
|
+
get(
|
|
170
|
+
resourceGroupName: string,
|
|
171
|
+
hubName: string,
|
|
172
|
+
viewName: string,
|
|
173
|
+
userId: string,
|
|
174
|
+
options?: ViewsGetOptionalParams
|
|
175
|
+
): Promise<ViewsGetResponse> {
|
|
176
|
+
return this.client.sendOperationRequest(
|
|
177
|
+
{ resourceGroupName, hubName, viewName, userId, options },
|
|
178
|
+
getOperationSpec
|
|
179
|
+
);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Deletes a view in the specified hub.
|
|
184
|
+
* @param resourceGroupName The name of the resource group.
|
|
185
|
+
* @param hubName The name of the hub.
|
|
186
|
+
* @param viewName The name of the view.
|
|
187
|
+
* @param userId The user ID. Use * to retrieve hub level view.
|
|
188
|
+
* @param options The options parameters.
|
|
189
|
+
*/
|
|
190
|
+
delete(
|
|
191
|
+
resourceGroupName: string,
|
|
192
|
+
hubName: string,
|
|
193
|
+
viewName: string,
|
|
194
|
+
userId: string,
|
|
195
|
+
options?: ViewsDeleteOptionalParams
|
|
196
|
+
): Promise<void> {
|
|
197
|
+
return this.client.sendOperationRequest(
|
|
198
|
+
{ resourceGroupName, hubName, viewName, userId, options },
|
|
199
|
+
deleteOperationSpec
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* ListByHubNext
|
|
205
|
+
* @param resourceGroupName The name of the resource group.
|
|
206
|
+
* @param hubName The name of the hub.
|
|
207
|
+
* @param userId The user ID. Use * to retrieve hub level views.
|
|
208
|
+
* @param nextLink The nextLink from the previous successful call to the ListByHub method.
|
|
209
|
+
* @param options The options parameters.
|
|
210
|
+
*/
|
|
211
|
+
private _listByHubNext(
|
|
212
|
+
resourceGroupName: string,
|
|
213
|
+
hubName: string,
|
|
214
|
+
userId: string,
|
|
215
|
+
nextLink: string,
|
|
216
|
+
options?: ViewsListByHubNextOptionalParams
|
|
217
|
+
): Promise<ViewsListByHubNextResponse> {
|
|
218
|
+
return this.client.sendOperationRequest(
|
|
219
|
+
{ resourceGroupName, hubName, userId, nextLink, options },
|
|
220
|
+
listByHubNextOperationSpec
|
|
221
|
+
);
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
// Operation Specifications
|
|
225
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
226
|
+
|
|
227
|
+
const listByHubOperationSpec: coreClient.OperationSpec = {
|
|
228
|
+
path:
|
|
229
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views",
|
|
230
|
+
httpMethod: "GET",
|
|
231
|
+
responses: {
|
|
232
|
+
200: {
|
|
233
|
+
bodyMapper: Mappers.ViewListResult
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
queryParameters: [Parameters.apiVersion, Parameters.userId],
|
|
237
|
+
urlParameters: [
|
|
238
|
+
Parameters.$host,
|
|
239
|
+
Parameters.resourceGroupName,
|
|
240
|
+
Parameters.subscriptionId,
|
|
241
|
+
Parameters.hubName1
|
|
242
|
+
],
|
|
243
|
+
headerParameters: [Parameters.accept],
|
|
244
|
+
serializer
|
|
245
|
+
};
|
|
246
|
+
const createOrUpdateOperationSpec: coreClient.OperationSpec = {
|
|
247
|
+
path:
|
|
248
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
249
|
+
httpMethod: "PUT",
|
|
250
|
+
responses: {
|
|
251
|
+
200: {
|
|
252
|
+
bodyMapper: Mappers.ViewResourceFormat
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
requestBody: Parameters.parameters9,
|
|
256
|
+
queryParameters: [Parameters.apiVersion],
|
|
257
|
+
urlParameters: [
|
|
258
|
+
Parameters.$host,
|
|
259
|
+
Parameters.resourceGroupName,
|
|
260
|
+
Parameters.subscriptionId,
|
|
261
|
+
Parameters.hubName1,
|
|
262
|
+
Parameters.viewName
|
|
263
|
+
],
|
|
264
|
+
headerParameters: [Parameters.accept, Parameters.contentType],
|
|
265
|
+
mediaType: "json",
|
|
266
|
+
serializer
|
|
267
|
+
};
|
|
268
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
269
|
+
path:
|
|
270
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
271
|
+
httpMethod: "GET",
|
|
272
|
+
responses: {
|
|
273
|
+
200: {
|
|
274
|
+
bodyMapper: Mappers.ViewResourceFormat
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
queryParameters: [Parameters.apiVersion, Parameters.userId],
|
|
278
|
+
urlParameters: [
|
|
279
|
+
Parameters.$host,
|
|
280
|
+
Parameters.resourceGroupName,
|
|
281
|
+
Parameters.subscriptionId,
|
|
282
|
+
Parameters.hubName1,
|
|
283
|
+
Parameters.viewName1
|
|
284
|
+
],
|
|
285
|
+
headerParameters: [Parameters.accept],
|
|
286
|
+
serializer
|
|
287
|
+
};
|
|
288
|
+
const deleteOperationSpec: coreClient.OperationSpec = {
|
|
289
|
+
path:
|
|
290
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
291
|
+
httpMethod: "DELETE",
|
|
292
|
+
responses: { 200: {} },
|
|
293
|
+
queryParameters: [Parameters.apiVersion, Parameters.userId],
|
|
294
|
+
urlParameters: [
|
|
295
|
+
Parameters.$host,
|
|
296
|
+
Parameters.resourceGroupName,
|
|
297
|
+
Parameters.subscriptionId,
|
|
298
|
+
Parameters.hubName1,
|
|
299
|
+
Parameters.viewName1
|
|
300
|
+
],
|
|
301
|
+
serializer
|
|
302
|
+
};
|
|
303
|
+
const listByHubNextOperationSpec: coreClient.OperationSpec = {
|
|
304
|
+
path: "{nextLink}",
|
|
305
|
+
httpMethod: "GET",
|
|
306
|
+
responses: {
|
|
307
|
+
200: {
|
|
308
|
+
bodyMapper: Mappers.ViewListResult
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
queryParameters: [Parameters.apiVersion, Parameters.userId],
|
|
312
|
+
urlParameters: [
|
|
313
|
+
Parameters.$host,
|
|
314
|
+
Parameters.nextLink,
|
|
315
|
+
Parameters.resourceGroupName,
|
|
316
|
+
Parameters.subscriptionId,
|
|
317
|
+
Parameters.hubName1
|
|
318
|
+
],
|
|
319
|
+
headerParameters: [Parameters.accept],
|
|
320
|
+
serializer
|
|
321
|
+
};
|
|
@@ -0,0 +1,212 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import { WidgetTypes } from "../operationsInterfaces";
|
|
11
|
+
import * as coreClient from "@azure/core-client";
|
|
12
|
+
import * as Mappers from "../models/mappers";
|
|
13
|
+
import * as Parameters from "../models/parameters";
|
|
14
|
+
import { CustomerInsightsManagementClient } from "../customerInsightsManagementClient";
|
|
15
|
+
import {
|
|
16
|
+
WidgetTypeResourceFormat,
|
|
17
|
+
WidgetTypesListByHubNextOptionalParams,
|
|
18
|
+
WidgetTypesListByHubOptionalParams,
|
|
19
|
+
WidgetTypesListByHubResponse,
|
|
20
|
+
WidgetTypesGetOptionalParams,
|
|
21
|
+
WidgetTypesGetResponse,
|
|
22
|
+
WidgetTypesListByHubNextResponse
|
|
23
|
+
} from "../models";
|
|
24
|
+
|
|
25
|
+
/// <reference lib="esnext.asynciterable" />
|
|
26
|
+
/** Class containing WidgetTypes operations. */
|
|
27
|
+
export class WidgetTypesImpl implements WidgetTypes {
|
|
28
|
+
private readonly client: CustomerInsightsManagementClient;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Initialize a new instance of the class WidgetTypes class.
|
|
32
|
+
* @param client Reference to the service client
|
|
33
|
+
*/
|
|
34
|
+
constructor(client: CustomerInsightsManagementClient) {
|
|
35
|
+
this.client = client;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Gets all available widget types in the specified hub.
|
|
40
|
+
* @param resourceGroupName The name of the resource group.
|
|
41
|
+
* @param hubName The name of the hub.
|
|
42
|
+
* @param options The options parameters.
|
|
43
|
+
*/
|
|
44
|
+
public listByHub(
|
|
45
|
+
resourceGroupName: string,
|
|
46
|
+
hubName: string,
|
|
47
|
+
options?: WidgetTypesListByHubOptionalParams
|
|
48
|
+
): PagedAsyncIterableIterator<WidgetTypeResourceFormat> {
|
|
49
|
+
const iter = this.listByHubPagingAll(resourceGroupName, hubName, options);
|
|
50
|
+
return {
|
|
51
|
+
next() {
|
|
52
|
+
return iter.next();
|
|
53
|
+
},
|
|
54
|
+
[Symbol.asyncIterator]() {
|
|
55
|
+
return this;
|
|
56
|
+
},
|
|
57
|
+
byPage: () => {
|
|
58
|
+
return this.listByHubPagingPage(resourceGroupName, hubName, options);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
private async *listByHubPagingPage(
|
|
64
|
+
resourceGroupName: string,
|
|
65
|
+
hubName: string,
|
|
66
|
+
options?: WidgetTypesListByHubOptionalParams
|
|
67
|
+
): AsyncIterableIterator<WidgetTypeResourceFormat[]> {
|
|
68
|
+
let result = await this._listByHub(resourceGroupName, hubName, options);
|
|
69
|
+
yield result.value || [];
|
|
70
|
+
let continuationToken = result.nextLink;
|
|
71
|
+
while (continuationToken) {
|
|
72
|
+
result = await this._listByHubNext(
|
|
73
|
+
resourceGroupName,
|
|
74
|
+
hubName,
|
|
75
|
+
continuationToken,
|
|
76
|
+
options
|
|
77
|
+
);
|
|
78
|
+
continuationToken = result.nextLink;
|
|
79
|
+
yield result.value || [];
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
private async *listByHubPagingAll(
|
|
84
|
+
resourceGroupName: string,
|
|
85
|
+
hubName: string,
|
|
86
|
+
options?: WidgetTypesListByHubOptionalParams
|
|
87
|
+
): AsyncIterableIterator<WidgetTypeResourceFormat> {
|
|
88
|
+
for await (const page of this.listByHubPagingPage(
|
|
89
|
+
resourceGroupName,
|
|
90
|
+
hubName,
|
|
91
|
+
options
|
|
92
|
+
)) {
|
|
93
|
+
yield* page;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/**
|
|
98
|
+
* Gets all available widget types in the specified hub.
|
|
99
|
+
* @param resourceGroupName The name of the resource group.
|
|
100
|
+
* @param hubName The name of the hub.
|
|
101
|
+
* @param options The options parameters.
|
|
102
|
+
*/
|
|
103
|
+
private _listByHub(
|
|
104
|
+
resourceGroupName: string,
|
|
105
|
+
hubName: string,
|
|
106
|
+
options?: WidgetTypesListByHubOptionalParams
|
|
107
|
+
): Promise<WidgetTypesListByHubResponse> {
|
|
108
|
+
return this.client.sendOperationRequest(
|
|
109
|
+
{ resourceGroupName, hubName, options },
|
|
110
|
+
listByHubOperationSpec
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* Gets a widget type in the specified hub.
|
|
116
|
+
* @param resourceGroupName The name of the resource group.
|
|
117
|
+
* @param hubName The name of the hub.
|
|
118
|
+
* @param widgetTypeName The name of the widget type.
|
|
119
|
+
* @param options The options parameters.
|
|
120
|
+
*/
|
|
121
|
+
get(
|
|
122
|
+
resourceGroupName: string,
|
|
123
|
+
hubName: string,
|
|
124
|
+
widgetTypeName: string,
|
|
125
|
+
options?: WidgetTypesGetOptionalParams
|
|
126
|
+
): Promise<WidgetTypesGetResponse> {
|
|
127
|
+
return this.client.sendOperationRequest(
|
|
128
|
+
{ resourceGroupName, hubName, widgetTypeName, options },
|
|
129
|
+
getOperationSpec
|
|
130
|
+
);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* ListByHubNext
|
|
135
|
+
* @param resourceGroupName The name of the resource group.
|
|
136
|
+
* @param hubName The name of the hub.
|
|
137
|
+
* @param nextLink The nextLink from the previous successful call to the ListByHub method.
|
|
138
|
+
* @param options The options parameters.
|
|
139
|
+
*/
|
|
140
|
+
private _listByHubNext(
|
|
141
|
+
resourceGroupName: string,
|
|
142
|
+
hubName: string,
|
|
143
|
+
nextLink: string,
|
|
144
|
+
options?: WidgetTypesListByHubNextOptionalParams
|
|
145
|
+
): Promise<WidgetTypesListByHubNextResponse> {
|
|
146
|
+
return this.client.sendOperationRequest(
|
|
147
|
+
{ resourceGroupName, hubName, nextLink, options },
|
|
148
|
+
listByHubNextOperationSpec
|
|
149
|
+
);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
// Operation Specifications
|
|
153
|
+
const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
|
|
154
|
+
|
|
155
|
+
const listByHubOperationSpec: coreClient.OperationSpec = {
|
|
156
|
+
path:
|
|
157
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes",
|
|
158
|
+
httpMethod: "GET",
|
|
159
|
+
responses: {
|
|
160
|
+
200: {
|
|
161
|
+
bodyMapper: Mappers.WidgetTypeListResult
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
queryParameters: [Parameters.apiVersion],
|
|
165
|
+
urlParameters: [
|
|
166
|
+
Parameters.$host,
|
|
167
|
+
Parameters.resourceGroupName,
|
|
168
|
+
Parameters.subscriptionId,
|
|
169
|
+
Parameters.hubName1
|
|
170
|
+
],
|
|
171
|
+
headerParameters: [Parameters.accept],
|
|
172
|
+
serializer
|
|
173
|
+
};
|
|
174
|
+
const getOperationSpec: coreClient.OperationSpec = {
|
|
175
|
+
path:
|
|
176
|
+
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes/{widgetTypeName}",
|
|
177
|
+
httpMethod: "GET",
|
|
178
|
+
responses: {
|
|
179
|
+
200: {
|
|
180
|
+
bodyMapper: Mappers.WidgetTypeResourceFormat
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
queryParameters: [Parameters.apiVersion],
|
|
184
|
+
urlParameters: [
|
|
185
|
+
Parameters.$host,
|
|
186
|
+
Parameters.resourceGroupName,
|
|
187
|
+
Parameters.subscriptionId,
|
|
188
|
+
Parameters.hubName1,
|
|
189
|
+
Parameters.widgetTypeName
|
|
190
|
+
],
|
|
191
|
+
headerParameters: [Parameters.accept],
|
|
192
|
+
serializer
|
|
193
|
+
};
|
|
194
|
+
const listByHubNextOperationSpec: coreClient.OperationSpec = {
|
|
195
|
+
path: "{nextLink}",
|
|
196
|
+
httpMethod: "GET",
|
|
197
|
+
responses: {
|
|
198
|
+
200: {
|
|
199
|
+
bodyMapper: Mappers.WidgetTypeListResult
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
queryParameters: [Parameters.apiVersion],
|
|
203
|
+
urlParameters: [
|
|
204
|
+
Parameters.$host,
|
|
205
|
+
Parameters.nextLink,
|
|
206
|
+
Parameters.resourceGroupName,
|
|
207
|
+
Parameters.subscriptionId,
|
|
208
|
+
Parameters.hubName1
|
|
209
|
+
],
|
|
210
|
+
headerParameters: [Parameters.accept],
|
|
211
|
+
serializer
|
|
212
|
+
};
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
AuthorizationPolicyResourceFormat,
|
|
12
|
+
AuthorizationPoliciesListByHubOptionalParams,
|
|
13
|
+
AuthorizationPoliciesCreateOrUpdateOptionalParams,
|
|
14
|
+
AuthorizationPoliciesCreateOrUpdateResponse,
|
|
15
|
+
AuthorizationPoliciesGetOptionalParams,
|
|
16
|
+
AuthorizationPoliciesGetResponse,
|
|
17
|
+
AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams,
|
|
18
|
+
AuthorizationPoliciesRegeneratePrimaryKeyResponse,
|
|
19
|
+
AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams,
|
|
20
|
+
AuthorizationPoliciesRegenerateSecondaryKeyResponse
|
|
21
|
+
} from "../models";
|
|
22
|
+
|
|
23
|
+
/// <reference lib="esnext.asynciterable" />
|
|
24
|
+
/** Interface representing a AuthorizationPolicies. */
|
|
25
|
+
export interface AuthorizationPolicies {
|
|
26
|
+
/**
|
|
27
|
+
* Gets all the authorization policies in a specified hub.
|
|
28
|
+
* @param resourceGroupName The name of the resource group.
|
|
29
|
+
* @param hubName The name of the hub.
|
|
30
|
+
* @param options The options parameters.
|
|
31
|
+
*/
|
|
32
|
+
listByHub(
|
|
33
|
+
resourceGroupName: string,
|
|
34
|
+
hubName: string,
|
|
35
|
+
options?: AuthorizationPoliciesListByHubOptionalParams
|
|
36
|
+
): PagedAsyncIterableIterator<AuthorizationPolicyResourceFormat>;
|
|
37
|
+
/**
|
|
38
|
+
* Creates an authorization policy or updates an existing authorization policy.
|
|
39
|
+
* @param resourceGroupName The name of the resource group.
|
|
40
|
+
* @param hubName The name of the hub.
|
|
41
|
+
* @param authorizationPolicyName The name of the policy.
|
|
42
|
+
* @param parameters Parameters supplied to the CreateOrUpdate authorization policy operation.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
createOrUpdate(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
hubName: string,
|
|
48
|
+
authorizationPolicyName: string,
|
|
49
|
+
parameters: AuthorizationPolicyResourceFormat,
|
|
50
|
+
options?: AuthorizationPoliciesCreateOrUpdateOptionalParams
|
|
51
|
+
): Promise<AuthorizationPoliciesCreateOrUpdateResponse>;
|
|
52
|
+
/**
|
|
53
|
+
* Gets an authorization policy in the hub.
|
|
54
|
+
* @param resourceGroupName The name of the resource group.
|
|
55
|
+
* @param hubName The name of the hub.
|
|
56
|
+
* @param authorizationPolicyName The name of the policy.
|
|
57
|
+
* @param options The options parameters.
|
|
58
|
+
*/
|
|
59
|
+
get(
|
|
60
|
+
resourceGroupName: string,
|
|
61
|
+
hubName: string,
|
|
62
|
+
authorizationPolicyName: string,
|
|
63
|
+
options?: AuthorizationPoliciesGetOptionalParams
|
|
64
|
+
): Promise<AuthorizationPoliciesGetResponse>;
|
|
65
|
+
/**
|
|
66
|
+
* Regenerates the primary policy key of the specified authorization policy.
|
|
67
|
+
* @param resourceGroupName The name of the resource group.
|
|
68
|
+
* @param hubName The name of the hub.
|
|
69
|
+
* @param authorizationPolicyName The name of the policy.
|
|
70
|
+
* @param options The options parameters.
|
|
71
|
+
*/
|
|
72
|
+
regeneratePrimaryKey(
|
|
73
|
+
resourceGroupName: string,
|
|
74
|
+
hubName: string,
|
|
75
|
+
authorizationPolicyName: string,
|
|
76
|
+
options?: AuthorizationPoliciesRegeneratePrimaryKeyOptionalParams
|
|
77
|
+
): Promise<AuthorizationPoliciesRegeneratePrimaryKeyResponse>;
|
|
78
|
+
/**
|
|
79
|
+
* Regenerates the secondary policy key of the specified authorization policy.
|
|
80
|
+
* @param resourceGroupName The name of the resource group.
|
|
81
|
+
* @param hubName The name of the hub.
|
|
82
|
+
* @param authorizationPolicyName The name of the policy.
|
|
83
|
+
* @param options The options parameters.
|
|
84
|
+
*/
|
|
85
|
+
regenerateSecondaryKey(
|
|
86
|
+
resourceGroupName: string,
|
|
87
|
+
hubName: string,
|
|
88
|
+
authorizationPolicyName: string,
|
|
89
|
+
options?: AuthorizationPoliciesRegenerateSecondaryKeyOptionalParams
|
|
90
|
+
): Promise<AuthorizationPoliciesRegenerateSecondaryKeyResponse>;
|
|
91
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
|
|
9
|
+
import { PagedAsyncIterableIterator } from "@azure/core-paging";
|
|
10
|
+
import {
|
|
11
|
+
ConnectorMappingResourceFormat,
|
|
12
|
+
ConnectorMappingsListByConnectorOptionalParams,
|
|
13
|
+
ConnectorMappingsCreateOrUpdateOptionalParams,
|
|
14
|
+
ConnectorMappingsCreateOrUpdateResponse,
|
|
15
|
+
ConnectorMappingsGetOptionalParams,
|
|
16
|
+
ConnectorMappingsGetResponse,
|
|
17
|
+
ConnectorMappingsDeleteOptionalParams
|
|
18
|
+
} from "../models";
|
|
19
|
+
|
|
20
|
+
/// <reference lib="esnext.asynciterable" />
|
|
21
|
+
/** Interface representing a ConnectorMappings. */
|
|
22
|
+
export interface ConnectorMappings {
|
|
23
|
+
/**
|
|
24
|
+
* Gets all the connector mappings in the specified connector.
|
|
25
|
+
* @param resourceGroupName The name of the resource group.
|
|
26
|
+
* @param hubName The name of the hub.
|
|
27
|
+
* @param connectorName The name of the connector.
|
|
28
|
+
* @param options The options parameters.
|
|
29
|
+
*/
|
|
30
|
+
listByConnector(
|
|
31
|
+
resourceGroupName: string,
|
|
32
|
+
hubName: string,
|
|
33
|
+
connectorName: string,
|
|
34
|
+
options?: ConnectorMappingsListByConnectorOptionalParams
|
|
35
|
+
): PagedAsyncIterableIterator<ConnectorMappingResourceFormat>;
|
|
36
|
+
/**
|
|
37
|
+
* Creates a connector mapping or updates an existing connector mapping in the connector.
|
|
38
|
+
* @param resourceGroupName The name of the resource group.
|
|
39
|
+
* @param hubName The name of the hub.
|
|
40
|
+
* @param connectorName The name of the connector.
|
|
41
|
+
* @param mappingName The name of the connector mapping.
|
|
42
|
+
* @param parameters Parameters supplied to the CreateOrUpdate Connector Mapping operation.
|
|
43
|
+
* @param options The options parameters.
|
|
44
|
+
*/
|
|
45
|
+
createOrUpdate(
|
|
46
|
+
resourceGroupName: string,
|
|
47
|
+
hubName: string,
|
|
48
|
+
connectorName: string,
|
|
49
|
+
mappingName: string,
|
|
50
|
+
parameters: ConnectorMappingResourceFormat,
|
|
51
|
+
options?: ConnectorMappingsCreateOrUpdateOptionalParams
|
|
52
|
+
): Promise<ConnectorMappingsCreateOrUpdateResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* Gets a connector mapping in the connector.
|
|
55
|
+
* @param resourceGroupName The name of the resource group.
|
|
56
|
+
* @param hubName The name of the hub.
|
|
57
|
+
* @param connectorName The name of the connector.
|
|
58
|
+
* @param mappingName The name of the connector mapping.
|
|
59
|
+
* @param options The options parameters.
|
|
60
|
+
*/
|
|
61
|
+
get(
|
|
62
|
+
resourceGroupName: string,
|
|
63
|
+
hubName: string,
|
|
64
|
+
connectorName: string,
|
|
65
|
+
mappingName: string,
|
|
66
|
+
options?: ConnectorMappingsGetOptionalParams
|
|
67
|
+
): Promise<ConnectorMappingsGetResponse>;
|
|
68
|
+
/**
|
|
69
|
+
* Deletes a connector mapping in the connector.
|
|
70
|
+
* @param resourceGroupName The name of the resource group.
|
|
71
|
+
* @param hubName The name of the hub.
|
|
72
|
+
* @param connectorName The name of the connector.
|
|
73
|
+
* @param mappingName The name of the connector mapping.
|
|
74
|
+
* @param options The options parameters.
|
|
75
|
+
*/
|
|
76
|
+
delete(
|
|
77
|
+
resourceGroupName: string,
|
|
78
|
+
hubName: string,
|
|
79
|
+
connectorName: string,
|
|
80
|
+
mappingName: string,
|
|
81
|
+
options?: ConnectorMappingsDeleteOptionalParams
|
|
82
|
+
): Promise<void>;
|
|
83
|
+
}
|