@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
package/lib/operations/views.ts
DELETED
|
@@ -1,346 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/viewsMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a Views. */
|
|
18
|
-
export class Views {
|
|
19
|
-
private readonly client: CustomerInsightsManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a Views.
|
|
23
|
-
* @param {CustomerInsightsManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: CustomerInsightsManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Gets all available views for given user in the specified hub.
|
|
31
|
-
* @param resourceGroupName The name of the resource group.
|
|
32
|
-
* @param hubName The name of the hub.
|
|
33
|
-
* @param userId The user ID. Use * to retreive hub level views.
|
|
34
|
-
* @param [options] The optional parameters
|
|
35
|
-
* @returns Promise<Models.ViewsListByHubResponse>
|
|
36
|
-
*/
|
|
37
|
-
listByHub(resourceGroupName: string, hubName: string, userId: string, options?: msRest.RequestOptionsBase): Promise<Models.ViewsListByHubResponse>;
|
|
38
|
-
/**
|
|
39
|
-
* @param resourceGroupName The name of the resource group.
|
|
40
|
-
* @param hubName The name of the hub.
|
|
41
|
-
* @param userId The user ID. Use * to retreive hub level views.
|
|
42
|
-
* @param callback The callback
|
|
43
|
-
*/
|
|
44
|
-
listByHub(resourceGroupName: string, hubName: string, userId: string, callback: msRest.ServiceCallback<Models.ViewListResult>): void;
|
|
45
|
-
/**
|
|
46
|
-
* @param resourceGroupName The name of the resource group.
|
|
47
|
-
* @param hubName The name of the hub.
|
|
48
|
-
* @param userId The user ID. Use * to retreive hub level views.
|
|
49
|
-
* @param options The optional parameters
|
|
50
|
-
* @param callback The callback
|
|
51
|
-
*/
|
|
52
|
-
listByHub(resourceGroupName: string, hubName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ViewListResult>): void;
|
|
53
|
-
listByHub(resourceGroupName: string, hubName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ViewListResult>, callback?: msRest.ServiceCallback<Models.ViewListResult>): Promise<Models.ViewsListByHubResponse> {
|
|
54
|
-
return this.client.sendOperationRequest(
|
|
55
|
-
{
|
|
56
|
-
resourceGroupName,
|
|
57
|
-
hubName,
|
|
58
|
-
userId,
|
|
59
|
-
options
|
|
60
|
-
},
|
|
61
|
-
listByHubOperationSpec,
|
|
62
|
-
callback) as Promise<Models.ViewsListByHubResponse>;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Creates a view or updates an exisiting view in the hub.
|
|
67
|
-
* @param resourceGroupName The name of the resource group.
|
|
68
|
-
* @param hubName The name of the hub.
|
|
69
|
-
* @param viewName The name of the view.
|
|
70
|
-
* @param parameters Parameters supplied to the CreateOrUpdate View operation.
|
|
71
|
-
* @param [options] The optional parameters
|
|
72
|
-
* @returns Promise<Models.ViewsCreateOrUpdateResponse>
|
|
73
|
-
*/
|
|
74
|
-
createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options?: msRest.RequestOptionsBase): Promise<Models.ViewsCreateOrUpdateResponse>;
|
|
75
|
-
/**
|
|
76
|
-
* @param resourceGroupName The name of the resource group.
|
|
77
|
-
* @param hubName The name of the hub.
|
|
78
|
-
* @param viewName The name of the view.
|
|
79
|
-
* @param parameters Parameters supplied to the CreateOrUpdate View operation.
|
|
80
|
-
* @param callback The callback
|
|
81
|
-
*/
|
|
82
|
-
createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, callback: msRest.ServiceCallback<Models.ViewResourceFormat>): void;
|
|
83
|
-
/**
|
|
84
|
-
* @param resourceGroupName The name of the resource group.
|
|
85
|
-
* @param hubName The name of the hub.
|
|
86
|
-
* @param viewName The name of the view.
|
|
87
|
-
* @param parameters Parameters supplied to the CreateOrUpdate View operation.
|
|
88
|
-
* @param options The optional parameters
|
|
89
|
-
* @param callback The callback
|
|
90
|
-
*/
|
|
91
|
-
createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ViewResourceFormat>): void;
|
|
92
|
-
createOrUpdate(resourceGroupName: string, hubName: string, viewName: string, parameters: Models.ViewResourceFormat, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ViewResourceFormat>, callback?: msRest.ServiceCallback<Models.ViewResourceFormat>): Promise<Models.ViewsCreateOrUpdateResponse> {
|
|
93
|
-
return this.client.sendOperationRequest(
|
|
94
|
-
{
|
|
95
|
-
resourceGroupName,
|
|
96
|
-
hubName,
|
|
97
|
-
viewName,
|
|
98
|
-
parameters,
|
|
99
|
-
options
|
|
100
|
-
},
|
|
101
|
-
createOrUpdateOperationSpec,
|
|
102
|
-
callback) as Promise<Models.ViewsCreateOrUpdateResponse>;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
/**
|
|
106
|
-
* Gets a view in the hub.
|
|
107
|
-
* @param resourceGroupName The name of the resource group.
|
|
108
|
-
* @param hubName The name of the hub.
|
|
109
|
-
* @param viewName The name of the view.
|
|
110
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
111
|
-
* @param [options] The optional parameters
|
|
112
|
-
* @returns Promise<Models.ViewsGetResponse>
|
|
113
|
-
*/
|
|
114
|
-
get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase): Promise<Models.ViewsGetResponse>;
|
|
115
|
-
/**
|
|
116
|
-
* @param resourceGroupName The name of the resource group.
|
|
117
|
-
* @param hubName The name of the hub.
|
|
118
|
-
* @param viewName The name of the view.
|
|
119
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
120
|
-
* @param callback The callback
|
|
121
|
-
*/
|
|
122
|
-
get(resourceGroupName: string, hubName: string, viewName: string, userId: string, callback: msRest.ServiceCallback<Models.ViewResourceFormat>): void;
|
|
123
|
-
/**
|
|
124
|
-
* @param resourceGroupName The name of the resource group.
|
|
125
|
-
* @param hubName The name of the hub.
|
|
126
|
-
* @param viewName The name of the view.
|
|
127
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
128
|
-
* @param options The optional parameters
|
|
129
|
-
* @param callback The callback
|
|
130
|
-
*/
|
|
131
|
-
get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ViewResourceFormat>): void;
|
|
132
|
-
get(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ViewResourceFormat>, callback?: msRest.ServiceCallback<Models.ViewResourceFormat>): Promise<Models.ViewsGetResponse> {
|
|
133
|
-
return this.client.sendOperationRequest(
|
|
134
|
-
{
|
|
135
|
-
resourceGroupName,
|
|
136
|
-
hubName,
|
|
137
|
-
viewName,
|
|
138
|
-
userId,
|
|
139
|
-
options
|
|
140
|
-
},
|
|
141
|
-
getOperationSpec,
|
|
142
|
-
callback) as Promise<Models.ViewsGetResponse>;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
/**
|
|
146
|
-
* Deletes a view in the specified hub.
|
|
147
|
-
* @param resourceGroupName The name of the resource group.
|
|
148
|
-
* @param hubName The name of the hub.
|
|
149
|
-
* @param viewName The name of the view.
|
|
150
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
151
|
-
* @param [options] The optional parameters
|
|
152
|
-
* @returns Promise<msRest.RestResponse>
|
|
153
|
-
*/
|
|
154
|
-
deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase): Promise<msRest.RestResponse>;
|
|
155
|
-
/**
|
|
156
|
-
* @param resourceGroupName The name of the resource group.
|
|
157
|
-
* @param hubName The name of the hub.
|
|
158
|
-
* @param viewName The name of the view.
|
|
159
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
160
|
-
* @param callback The callback
|
|
161
|
-
*/
|
|
162
|
-
deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, callback: msRest.ServiceCallback<void>): void;
|
|
163
|
-
/**
|
|
164
|
-
* @param resourceGroupName The name of the resource group.
|
|
165
|
-
* @param hubName The name of the hub.
|
|
166
|
-
* @param viewName The name of the view.
|
|
167
|
-
* @param userId The user ID. Use * to retreive hub level view.
|
|
168
|
-
* @param options The optional parameters
|
|
169
|
-
* @param callback The callback
|
|
170
|
-
*/
|
|
171
|
-
deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<void>): void;
|
|
172
|
-
deleteMethod(resourceGroupName: string, hubName: string, viewName: string, userId: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<void>, callback?: msRest.ServiceCallback<void>): Promise<msRest.RestResponse> {
|
|
173
|
-
return this.client.sendOperationRequest(
|
|
174
|
-
{
|
|
175
|
-
resourceGroupName,
|
|
176
|
-
hubName,
|
|
177
|
-
viewName,
|
|
178
|
-
userId,
|
|
179
|
-
options
|
|
180
|
-
},
|
|
181
|
-
deleteMethodOperationSpec,
|
|
182
|
-
callback);
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
/**
|
|
186
|
-
* Gets all available views for given user in the specified hub.
|
|
187
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
188
|
-
* @param [options] The optional parameters
|
|
189
|
-
* @returns Promise<Models.ViewsListByHubNextResponse>
|
|
190
|
-
*/
|
|
191
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.ViewsListByHubNextResponse>;
|
|
192
|
-
/**
|
|
193
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
194
|
-
* @param callback The callback
|
|
195
|
-
*/
|
|
196
|
-
listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.ViewListResult>): void;
|
|
197
|
-
/**
|
|
198
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
199
|
-
* @param options The optional parameters
|
|
200
|
-
* @param callback The callback
|
|
201
|
-
*/
|
|
202
|
-
listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.ViewListResult>): void;
|
|
203
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.ViewListResult>, callback?: msRest.ServiceCallback<Models.ViewListResult>): Promise<Models.ViewsListByHubNextResponse> {
|
|
204
|
-
return this.client.sendOperationRequest(
|
|
205
|
-
{
|
|
206
|
-
nextPageLink,
|
|
207
|
-
options
|
|
208
|
-
},
|
|
209
|
-
listByHubNextOperationSpec,
|
|
210
|
-
callback) as Promise<Models.ViewsListByHubNextResponse>;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
// Operation Specifications
|
|
215
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
216
|
-
const listByHubOperationSpec: msRest.OperationSpec = {
|
|
217
|
-
httpMethod: "GET",
|
|
218
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views",
|
|
219
|
-
urlParameters: [
|
|
220
|
-
Parameters.resourceGroupName,
|
|
221
|
-
Parameters.hubName1,
|
|
222
|
-
Parameters.subscriptionId
|
|
223
|
-
],
|
|
224
|
-
queryParameters: [
|
|
225
|
-
Parameters.apiVersion,
|
|
226
|
-
Parameters.userId
|
|
227
|
-
],
|
|
228
|
-
headerParameters: [
|
|
229
|
-
Parameters.acceptLanguage
|
|
230
|
-
],
|
|
231
|
-
responses: {
|
|
232
|
-
200: {
|
|
233
|
-
bodyMapper: Mappers.ViewListResult
|
|
234
|
-
},
|
|
235
|
-
default: {
|
|
236
|
-
bodyMapper: Mappers.CloudError
|
|
237
|
-
}
|
|
238
|
-
},
|
|
239
|
-
serializer
|
|
240
|
-
};
|
|
241
|
-
|
|
242
|
-
const createOrUpdateOperationSpec: msRest.OperationSpec = {
|
|
243
|
-
httpMethod: "PUT",
|
|
244
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
245
|
-
urlParameters: [
|
|
246
|
-
Parameters.resourceGroupName,
|
|
247
|
-
Parameters.hubName1,
|
|
248
|
-
Parameters.viewName0,
|
|
249
|
-
Parameters.subscriptionId
|
|
250
|
-
],
|
|
251
|
-
queryParameters: [
|
|
252
|
-
Parameters.apiVersion
|
|
253
|
-
],
|
|
254
|
-
headerParameters: [
|
|
255
|
-
Parameters.acceptLanguage
|
|
256
|
-
],
|
|
257
|
-
requestBody: {
|
|
258
|
-
parameterPath: "parameters",
|
|
259
|
-
mapper: {
|
|
260
|
-
...Mappers.ViewResourceFormat,
|
|
261
|
-
required: true
|
|
262
|
-
}
|
|
263
|
-
},
|
|
264
|
-
responses: {
|
|
265
|
-
200: {
|
|
266
|
-
bodyMapper: Mappers.ViewResourceFormat
|
|
267
|
-
},
|
|
268
|
-
default: {
|
|
269
|
-
bodyMapper: Mappers.CloudError
|
|
270
|
-
}
|
|
271
|
-
},
|
|
272
|
-
serializer
|
|
273
|
-
};
|
|
274
|
-
|
|
275
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
276
|
-
httpMethod: "GET",
|
|
277
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
278
|
-
urlParameters: [
|
|
279
|
-
Parameters.resourceGroupName,
|
|
280
|
-
Parameters.hubName1,
|
|
281
|
-
Parameters.viewName1,
|
|
282
|
-
Parameters.subscriptionId
|
|
283
|
-
],
|
|
284
|
-
queryParameters: [
|
|
285
|
-
Parameters.apiVersion,
|
|
286
|
-
Parameters.userId
|
|
287
|
-
],
|
|
288
|
-
headerParameters: [
|
|
289
|
-
Parameters.acceptLanguage
|
|
290
|
-
],
|
|
291
|
-
responses: {
|
|
292
|
-
200: {
|
|
293
|
-
bodyMapper: Mappers.ViewResourceFormat
|
|
294
|
-
},
|
|
295
|
-
default: {
|
|
296
|
-
bodyMapper: Mappers.CloudError
|
|
297
|
-
}
|
|
298
|
-
},
|
|
299
|
-
serializer
|
|
300
|
-
};
|
|
301
|
-
|
|
302
|
-
const deleteMethodOperationSpec: msRest.OperationSpec = {
|
|
303
|
-
httpMethod: "DELETE",
|
|
304
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/views/{viewName}",
|
|
305
|
-
urlParameters: [
|
|
306
|
-
Parameters.resourceGroupName,
|
|
307
|
-
Parameters.hubName1,
|
|
308
|
-
Parameters.viewName1,
|
|
309
|
-
Parameters.subscriptionId
|
|
310
|
-
],
|
|
311
|
-
queryParameters: [
|
|
312
|
-
Parameters.apiVersion,
|
|
313
|
-
Parameters.userId
|
|
314
|
-
],
|
|
315
|
-
headerParameters: [
|
|
316
|
-
Parameters.acceptLanguage
|
|
317
|
-
],
|
|
318
|
-
responses: {
|
|
319
|
-
200: {},
|
|
320
|
-
default: {
|
|
321
|
-
bodyMapper: Mappers.CloudError
|
|
322
|
-
}
|
|
323
|
-
},
|
|
324
|
-
serializer
|
|
325
|
-
};
|
|
326
|
-
|
|
327
|
-
const listByHubNextOperationSpec: msRest.OperationSpec = {
|
|
328
|
-
httpMethod: "GET",
|
|
329
|
-
baseUrl: "https://management.azure.com",
|
|
330
|
-
path: "{nextLink}",
|
|
331
|
-
urlParameters: [
|
|
332
|
-
Parameters.nextPageLink
|
|
333
|
-
],
|
|
334
|
-
headerParameters: [
|
|
335
|
-
Parameters.acceptLanguage
|
|
336
|
-
],
|
|
337
|
-
responses: {
|
|
338
|
-
200: {
|
|
339
|
-
bodyMapper: Mappers.ViewListResult
|
|
340
|
-
},
|
|
341
|
-
default: {
|
|
342
|
-
bodyMapper: Mappers.CloudError
|
|
343
|
-
}
|
|
344
|
-
},
|
|
345
|
-
serializer
|
|
346
|
-
};
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3
|
-
* Licensed under the MIT License. See License.txt in the project root for
|
|
4
|
-
* license information.
|
|
5
|
-
*
|
|
6
|
-
* Code generated by Microsoft (R) AutoRest Code Generator.
|
|
7
|
-
* Changes may cause incorrect behavior and will be lost if the code is
|
|
8
|
-
* regenerated.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
import * as msRest from "@azure/ms-rest-js";
|
|
12
|
-
import * as Models from "../models";
|
|
13
|
-
import * as Mappers from "../models/widgetTypesMappers";
|
|
14
|
-
import * as Parameters from "../models/parameters";
|
|
15
|
-
import { CustomerInsightsManagementClientContext } from "../customerInsightsManagementClientContext";
|
|
16
|
-
|
|
17
|
-
/** Class representing a WidgetTypes. */
|
|
18
|
-
export class WidgetTypes {
|
|
19
|
-
private readonly client: CustomerInsightsManagementClientContext;
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Create a WidgetTypes.
|
|
23
|
-
* @param {CustomerInsightsManagementClientContext} client Reference to the service client.
|
|
24
|
-
*/
|
|
25
|
-
constructor(client: CustomerInsightsManagementClientContext) {
|
|
26
|
-
this.client = client;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Gets all available widget types in the specified hub.
|
|
31
|
-
* @param resourceGroupName The name of the resource group.
|
|
32
|
-
* @param hubName The name of the hub.
|
|
33
|
-
* @param [options] The optional parameters
|
|
34
|
-
* @returns Promise<Models.WidgetTypesListByHubResponse>
|
|
35
|
-
*/
|
|
36
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase): Promise<Models.WidgetTypesListByHubResponse>;
|
|
37
|
-
/**
|
|
38
|
-
* @param resourceGroupName The name of the resource group.
|
|
39
|
-
* @param hubName The name of the hub.
|
|
40
|
-
* @param callback The callback
|
|
41
|
-
*/
|
|
42
|
-
listByHub(resourceGroupName: string, hubName: string, callback: msRest.ServiceCallback<Models.WidgetTypeListResult>): void;
|
|
43
|
-
/**
|
|
44
|
-
* @param resourceGroupName The name of the resource group.
|
|
45
|
-
* @param hubName The name of the hub.
|
|
46
|
-
* @param options The optional parameters
|
|
47
|
-
* @param callback The callback
|
|
48
|
-
*/
|
|
49
|
-
listByHub(resourceGroupName: string, hubName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WidgetTypeListResult>): void;
|
|
50
|
-
listByHub(resourceGroupName: string, hubName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WidgetTypeListResult>, callback?: msRest.ServiceCallback<Models.WidgetTypeListResult>): Promise<Models.WidgetTypesListByHubResponse> {
|
|
51
|
-
return this.client.sendOperationRequest(
|
|
52
|
-
{
|
|
53
|
-
resourceGroupName,
|
|
54
|
-
hubName,
|
|
55
|
-
options
|
|
56
|
-
},
|
|
57
|
-
listByHubOperationSpec,
|
|
58
|
-
callback) as Promise<Models.WidgetTypesListByHubResponse>;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Gets a widget type in the specified hub.
|
|
63
|
-
* @param resourceGroupName The name of the resource group.
|
|
64
|
-
* @param hubName The name of the hub.
|
|
65
|
-
* @param widgetTypeName The name of the widget type.
|
|
66
|
-
* @param [options] The optional parameters
|
|
67
|
-
* @returns Promise<Models.WidgetTypesGetResponse>
|
|
68
|
-
*/
|
|
69
|
-
get(resourceGroupName: string, hubName: string, widgetTypeName: string, options?: msRest.RequestOptionsBase): Promise<Models.WidgetTypesGetResponse>;
|
|
70
|
-
/**
|
|
71
|
-
* @param resourceGroupName The name of the resource group.
|
|
72
|
-
* @param hubName The name of the hub.
|
|
73
|
-
* @param widgetTypeName The name of the widget type.
|
|
74
|
-
* @param callback The callback
|
|
75
|
-
*/
|
|
76
|
-
get(resourceGroupName: string, hubName: string, widgetTypeName: string, callback: msRest.ServiceCallback<Models.WidgetTypeResourceFormat>): void;
|
|
77
|
-
/**
|
|
78
|
-
* @param resourceGroupName The name of the resource group.
|
|
79
|
-
* @param hubName The name of the hub.
|
|
80
|
-
* @param widgetTypeName The name of the widget type.
|
|
81
|
-
* @param options The optional parameters
|
|
82
|
-
* @param callback The callback
|
|
83
|
-
*/
|
|
84
|
-
get(resourceGroupName: string, hubName: string, widgetTypeName: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WidgetTypeResourceFormat>): void;
|
|
85
|
-
get(resourceGroupName: string, hubName: string, widgetTypeName: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WidgetTypeResourceFormat>, callback?: msRest.ServiceCallback<Models.WidgetTypeResourceFormat>): Promise<Models.WidgetTypesGetResponse> {
|
|
86
|
-
return this.client.sendOperationRequest(
|
|
87
|
-
{
|
|
88
|
-
resourceGroupName,
|
|
89
|
-
hubName,
|
|
90
|
-
widgetTypeName,
|
|
91
|
-
options
|
|
92
|
-
},
|
|
93
|
-
getOperationSpec,
|
|
94
|
-
callback) as Promise<Models.WidgetTypesGetResponse>;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
/**
|
|
98
|
-
* Gets all available widget types in the specified hub.
|
|
99
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
100
|
-
* @param [options] The optional parameters
|
|
101
|
-
* @returns Promise<Models.WidgetTypesListByHubNextResponse>
|
|
102
|
-
*/
|
|
103
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase): Promise<Models.WidgetTypesListByHubNextResponse>;
|
|
104
|
-
/**
|
|
105
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
106
|
-
* @param callback The callback
|
|
107
|
-
*/
|
|
108
|
-
listByHubNext(nextPageLink: string, callback: msRest.ServiceCallback<Models.WidgetTypeListResult>): void;
|
|
109
|
-
/**
|
|
110
|
-
* @param nextPageLink The NextLink from the previous successful call to List operation.
|
|
111
|
-
* @param options The optional parameters
|
|
112
|
-
* @param callback The callback
|
|
113
|
-
*/
|
|
114
|
-
listByHubNext(nextPageLink: string, options: msRest.RequestOptionsBase, callback: msRest.ServiceCallback<Models.WidgetTypeListResult>): void;
|
|
115
|
-
listByHubNext(nextPageLink: string, options?: msRest.RequestOptionsBase | msRest.ServiceCallback<Models.WidgetTypeListResult>, callback?: msRest.ServiceCallback<Models.WidgetTypeListResult>): Promise<Models.WidgetTypesListByHubNextResponse> {
|
|
116
|
-
return this.client.sendOperationRequest(
|
|
117
|
-
{
|
|
118
|
-
nextPageLink,
|
|
119
|
-
options
|
|
120
|
-
},
|
|
121
|
-
listByHubNextOperationSpec,
|
|
122
|
-
callback) as Promise<Models.WidgetTypesListByHubNextResponse>;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
// Operation Specifications
|
|
127
|
-
const serializer = new msRest.Serializer(Mappers);
|
|
128
|
-
const listByHubOperationSpec: msRest.OperationSpec = {
|
|
129
|
-
httpMethod: "GET",
|
|
130
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes",
|
|
131
|
-
urlParameters: [
|
|
132
|
-
Parameters.resourceGroupName,
|
|
133
|
-
Parameters.hubName1,
|
|
134
|
-
Parameters.subscriptionId
|
|
135
|
-
],
|
|
136
|
-
queryParameters: [
|
|
137
|
-
Parameters.apiVersion
|
|
138
|
-
],
|
|
139
|
-
headerParameters: [
|
|
140
|
-
Parameters.acceptLanguage
|
|
141
|
-
],
|
|
142
|
-
responses: {
|
|
143
|
-
200: {
|
|
144
|
-
bodyMapper: Mappers.WidgetTypeListResult
|
|
145
|
-
},
|
|
146
|
-
default: {
|
|
147
|
-
bodyMapper: Mappers.CloudError
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
serializer
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
const getOperationSpec: msRest.OperationSpec = {
|
|
154
|
-
httpMethod: "GET",
|
|
155
|
-
path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/widgetTypes/{widgetTypeName}",
|
|
156
|
-
urlParameters: [
|
|
157
|
-
Parameters.resourceGroupName,
|
|
158
|
-
Parameters.hubName1,
|
|
159
|
-
Parameters.widgetTypeName,
|
|
160
|
-
Parameters.subscriptionId
|
|
161
|
-
],
|
|
162
|
-
queryParameters: [
|
|
163
|
-
Parameters.apiVersion
|
|
164
|
-
],
|
|
165
|
-
headerParameters: [
|
|
166
|
-
Parameters.acceptLanguage
|
|
167
|
-
],
|
|
168
|
-
responses: {
|
|
169
|
-
200: {
|
|
170
|
-
bodyMapper: Mappers.WidgetTypeResourceFormat
|
|
171
|
-
},
|
|
172
|
-
default: {
|
|
173
|
-
bodyMapper: Mappers.CloudError
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
serializer
|
|
177
|
-
};
|
|
178
|
-
|
|
179
|
-
const listByHubNextOperationSpec: msRest.OperationSpec = {
|
|
180
|
-
httpMethod: "GET",
|
|
181
|
-
baseUrl: "https://management.azure.com",
|
|
182
|
-
path: "{nextLink}",
|
|
183
|
-
urlParameters: [
|
|
184
|
-
Parameters.nextPageLink
|
|
185
|
-
],
|
|
186
|
-
headerParameters: [
|
|
187
|
-
Parameters.acceptLanguage
|
|
188
|
-
],
|
|
189
|
-
responses: {
|
|
190
|
-
200: {
|
|
191
|
-
bodyMapper: Mappers.WidgetTypeListResult
|
|
192
|
-
},
|
|
193
|
-
default: {
|
|
194
|
-
bodyMapper: Mappers.CloudError
|
|
195
|
-
}
|
|
196
|
-
},
|
|
197
|
-
serializer
|
|
198
|
-
};
|