@segment/public-api-sdk-typescript 46.0.0-b8367 → 47.0.0-b8381
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/api/aPICallsApi.ts +1 -1
- package/api/apis.ts +2 -2
- package/api/audiencesApi.ts +1 -1
- package/api/auditTrailApi.ts +1 -1
- package/api/catalogApi.ts +1 -1
- package/api/computedTraitsApi.ts +1 -1
- package/api/deletionAndSuppressionApi.ts +1 -1
- package/api/deliveryOverviewApi.ts +457 -37
- package/api/destinationFiltersApi.ts +1 -1
- package/api/destinationsApi.ts +1 -1
- package/api/edgeFunctionsApi.ts +1 -1
- package/api/eventsApi.ts +1 -1
- package/api/functionsApi.ts +1 -1
- package/api/iAMGroupsApi.ts +1 -1
- package/api/iAMRolesApi.ts +1 -1
- package/api/iAMUsersApi.ts +1 -1
- package/api/labelsApi.ts +1 -1
- package/api/monthlyTrackedUsersApi.ts +1 -1
- package/api/profilesSyncApi.ts +1 -1
- package/api/reverseETLApi.ts +1 -1
- package/api/selectiveSyncApi.ts +1 -1
- package/api/sourcesApi.ts +1 -1
- package/api/spacesApi.ts +1 -1
- package/api/testingApi.ts +1 -1
- package/api/trackingPlansApi.ts +1 -1
- package/api/transformationsApi.ts +1 -1
- package/api/warehousesApi.ts +1 -1
- package/api/workspacesApi.ts +1 -1
- package/dist/api/apis.js +2 -2
- package/dist/api/deliveryOverviewApi.d.ts +5 -5
- package/dist/api/deliveryOverviewApi.js +177 -19
- package/dist/api/deliveryOverviewApi.js.map +1 -1
- package/dist/model/{getDeliveryOverviewMetricsAlphaOutput.d.ts → getDeliveryOverviewMetricsBetaOutput.d.ts} +1 -1
- package/dist/model/getDeliveryOverviewMetricsBetaOutput.js +31 -0
- package/dist/model/getDeliveryOverviewMetricsBetaOutput.js.map +1 -0
- package/dist/model/getEgressFailedMetricsFromDeliveryOverview200Response.d.ts +2 -2
- package/dist/model/getEgressFailedMetricsFromDeliveryOverview200Response.js +1 -1
- package/dist/model/getEgressFailedMetricsFromDeliveryOverview200Response.js.map +1 -1
- package/dist/model/models.d.ts +1 -1
- package/dist/model/models.js +3 -3
- package/dist/model/models.js.map +1 -1
- package/model/aPICallSnapshotV1.ts +1 -1
- package/model/accessPermissionV1.ts +1 -1
- package/model/addConnectionFromSourceToWarehouse201Response.ts +1 -1
- package/model/addConnectionFromSourceToWarehouseV1Output.ts +1 -1
- package/model/addLabelsToSource200Response.ts +1 -1
- package/model/addLabelsToSource200Response1.ts +1 -1
- package/model/addLabelsToSourceAlphaInput.ts +1 -1
- package/model/addLabelsToSourceAlphaOutput.ts +1 -1
- package/model/addLabelsToSourceV1Input.ts +1 -1
- package/model/addLabelsToSourceV1Output.ts +1 -1
- package/model/addPermissionsToUser200Response.ts +1 -1
- package/model/addPermissionsToUserGroup200Response.ts +1 -1
- package/model/addPermissionsToUserGroupV1Input.ts +1 -1
- package/model/addPermissionsToUserGroupV1Output.ts +1 -1
- package/model/addPermissionsToUserV1Input.ts +1 -1
- package/model/addPermissionsToUserV1Output.ts +1 -1
- package/model/addSourceToTrackingPlan200Response.ts +1 -1
- package/model/addSourceToTrackingPlanV1Input.ts +1 -1
- package/model/addSourceToTrackingPlanV1Output.ts +1 -1
- package/model/addUsersToUserGroup200Response.ts +1 -1
- package/model/addUsersToUserGroupV1Input.ts +1 -1
- package/model/addUsersToUserGroupV1Output.ts +1 -1
- package/model/advancedWarehouseSyncScheduleV1Input.ts +1 -1
- package/model/advancedWarehouseSyncScheduleV1Output.ts +1 -1
- package/model/allowedLabelBeta.ts +1 -1
- package/model/audienceDefinition.ts +1 -1
- package/model/audienceSummary.ts +1 -1
- package/model/auditEventV1.ts +1 -1
- package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +1 -1
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +1 -1
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +1 -1
- package/model/breakdownBeta.ts +1 -1
- package/model/commonSourceSettingsV1.ts +1 -1
- package/model/computedTraitSummary.ts +1 -1
- package/model/computedTraitsDefinition.ts +1 -1
- package/model/contact.ts +1 -1
- package/model/createCloudSourceRegulation200Response.ts +1 -1
- package/model/createCloudSourceRegulationV1Input.ts +1 -1
- package/model/createCloudSourceRegulationV1Output.ts +1 -1
- package/model/createDestination200Response.ts +1 -1
- package/model/createDestinationSubscription200Response.ts +1 -1
- package/model/createDestinationSubscriptionAlphaInput.ts +1 -1
- package/model/createDestinationSubscriptionAlphaOutput.ts +1 -1
- package/model/createDestinationV1Input.ts +1 -1
- package/model/createDestinationV1Output.ts +1 -1
- package/model/createEdgeFunctions200Response.ts +1 -1
- package/model/createEdgeFunctionsAlphaInput.ts +1 -1
- package/model/createEdgeFunctionsAlphaOutput.ts +1 -1
- package/model/createFilterForDestination200Response.ts +1 -1
- package/model/createFilterForDestinationV1Input.ts +1 -1
- package/model/createFilterForDestinationV1Output.ts +1 -1
- package/model/createFunction200Response.ts +1 -1
- package/model/createFunctionDeployment200Response.ts +1 -1
- package/model/createFunctionDeploymentV1Output.ts +1 -1
- package/model/createFunctionV1Input.ts +1 -1
- package/model/createFunctionV1Output.ts +1 -1
- package/model/createInsertFunctionInstance200Response.ts +1 -1
- package/model/createInsertFunctionInstanceAlphaInput.ts +1 -1
- package/model/createInsertFunctionInstanceAlphaOutput.ts +1 -1
- package/model/createInvites201Response.ts +1 -1
- package/model/createInvitesV1Input.ts +1 -1
- package/model/createInvitesV1Output.ts +1 -1
- package/model/createLabel201Response.ts +1 -1
- package/model/createLabelV1Input.ts +1 -1
- package/model/createLabelV1Output.ts +1 -1
- package/model/createProfilesWarehouse201Response.ts +1 -1
- package/model/createProfilesWarehouseAlphaInput.ts +1 -1
- package/model/createProfilesWarehouseAlphaOutput.ts +1 -1
- package/model/createReverseETLManualSync200Response.ts +1 -1
- package/model/createReverseETLManualSyncInput.ts +1 -1
- package/model/createReverseETLManualSyncOutput.ts +1 -1
- package/model/createReverseEtlModel201Response.ts +1 -1
- package/model/createReverseEtlModelInput.ts +1 -1
- package/model/createReverseEtlModelOutput.ts +1 -1
- package/model/createSource201Response.ts +1 -1
- package/model/createSource201Response1.ts +1 -1
- package/model/createSourceAlphaInput.ts +1 -1
- package/model/createSourceAlphaOutput.ts +1 -1
- package/model/createSourceRegulation200Response.ts +1 -1
- package/model/createSourceRegulationV1Input.ts +1 -1
- package/model/createSourceRegulationV1Output.ts +1 -1
- package/model/createSourceV1Input.ts +1 -1
- package/model/createSourceV1Output.ts +1 -1
- package/model/createTrackingPlan200Response.ts +1 -1
- package/model/createTrackingPlanV1Input.ts +1 -1
- package/model/createTrackingPlanV1Output.ts +1 -1
- package/model/createTransformation200Response.ts +1 -1
- package/model/createTransformationBetaInput.ts +1 -1
- package/model/createTransformationBetaOutput.ts +1 -1
- package/model/createTransformationV1Input.ts +1 -1
- package/model/createTransformationV1Output.ts +1 -1
- package/model/createUserGroup200Response.ts +1 -1
- package/model/createUserGroupV1Input.ts +1 -1
- package/model/createUserGroupV1Output.ts +1 -1
- package/model/createValidationInWarehouse200Response.ts +1 -1
- package/model/createValidationInWarehouseV1Input.ts +1 -1
- package/model/createValidationInWarehouseV1Output.ts +1 -1
- package/model/createWarehouse201Response.ts +1 -1
- package/model/createWarehouseV1Input.ts +1 -1
- package/model/createWarehouseV1Output.ts +1 -1
- package/model/createWorkspaceRegulation200Response.ts +1 -1
- package/model/createWorkspaceRegulationV1Input.ts +1 -1
- package/model/createWorkspaceRegulationV1Output.ts +1 -1
- package/model/createWriteKeyForSource200Response.ts +1 -1
- package/model/createWriteKeyForSourceAlphaOutput.ts +1 -1
- package/model/definition.ts +1 -1
- package/model/definition1.ts +1 -1
- package/model/deleteDestination200Response.ts +1 -1
- package/model/deleteDestinationV1Output.ts +1 -1
- package/model/deleteFunction200Response.ts +1 -1
- package/model/deleteFunctionV1Output.ts +1 -1
- package/model/deleteInsertFunctionInstance200Response.ts +1 -1
- package/model/deleteInsertFunctionInstanceAlphaOutput.ts +1 -1
- package/model/deleteInvites200Response.ts +1 -1
- package/model/deleteInvitesV1Output.ts +1 -1
- package/model/deleteLabel200Response.ts +1 -1
- package/model/deleteLabel200Response1.ts +1 -1
- package/model/deleteLabelAlphaOutput.ts +1 -1
- package/model/deleteLabelV1Output.ts +1 -1
- package/model/deleteRegulation200Response.ts +1 -1
- package/model/deleteRegulationV1Output.ts +1 -1
- package/model/deleteReverseEtlModel200Response.ts +1 -1
- package/model/deleteReverseEtlModelOutput.ts +1 -1
- package/model/deleteSource200Response.ts +1 -1
- package/model/deleteSource200Response1.ts +1 -1
- package/model/deleteSourceAlphaOutput.ts +1 -1
- package/model/deleteSourceV1Output.ts +1 -1
- package/model/deleteTrackingPlan200Response.ts +1 -1
- package/model/deleteTrackingPlanV1Output.ts +1 -1
- package/model/deleteTransformation200Response.ts +1 -1
- package/model/deleteTransformationBetaInput.ts +1 -1
- package/model/deleteTransformationBetaOutput.ts +1 -1
- package/model/deleteTransformationV1Output.ts +1 -1
- package/model/deleteUserGroup200Response.ts +1 -1
- package/model/deleteUserGroupV1Output.ts +1 -1
- package/model/deleteUsers200Response.ts +1 -1
- package/model/deleteUsersV1Output.ts +1 -1
- package/model/deleteWarehouse200Response.ts +1 -1
- package/model/deleteWarehouseV1Output.ts +1 -1
- package/model/deliveryMetricsSummaryBeta.ts +1 -1
- package/model/deliveryOverviewFilterBy.ts +2 -2
- package/model/deliveryOverviewMetricsDatapoint.ts +1 -1
- package/model/deliveryOverviewMetricsDataset.ts +2 -2
- package/model/destinationFilterActionV1.ts +1 -1
- package/model/destinationFilterV1.ts +1 -1
- package/model/destinationMetadataActionFieldV1.ts +1 -1
- package/model/destinationMetadataActionV1.ts +1 -1
- package/model/destinationMetadataComponentV1.ts +1 -1
- package/model/destinationMetadataFeaturesV1.ts +1 -1
- package/model/destinationMetadataMethodsV1.ts +1 -1
- package/model/destinationMetadataPlatformsV1.ts +1 -1
- package/model/destinationMetadataSubscriptionPresetV1.ts +1 -1
- package/model/destinationMetadataV1.ts +1 -1
- package/model/destinationStatusV1.ts +1 -1
- package/model/destinationSubscription.ts +1 -1
- package/model/destinationSubscriptionUpdateInput.ts +1 -1
- package/model/destinationV1.ts +1 -1
- package/model/disableEdgeFunctions200Response.ts +1 -1
- package/model/disableEdgeFunctionsAlphaOutput.ts +1 -1
- package/model/echo200Response.ts +1 -1
- package/model/echo200Response1.ts +1 -1
- package/model/echoAlphaOutput.ts +1 -1
- package/model/echoV1Output.ts +1 -1
- package/model/edgeFunctionsAlpha.ts +1 -1
- package/model/eventSourceV1.ts +1 -1
- package/model/fQLDefinedPropertyV1.ts +1 -1
- package/model/function.ts +1 -1
- package/model/functionDeployment.ts +1 -1
- package/model/functionSettingV1.ts +1 -1
- package/model/functionV1.ts +1 -1
- package/model/generateUploadURLForEdgeFunctions200Response.ts +1 -1
- package/model/generateUploadURLForEdgeFunctionsAlphaOutput.ts +1 -1
- package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +1 -1
- package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +1 -1
- package/model/getAudience200Response.ts +1 -1
- package/model/getAudienceAlphaOutput.ts +1 -1
- package/model/getComputedTrait200Response.ts +1 -1
- package/model/getComputedTraitAlphaOutput.ts +1 -1
- package/model/getConnectionStateFromWarehouse200Response.ts +1 -1
- package/model/getConnectionStateFromWarehouseV1Output.ts +1 -1
- package/model/getDailyPerSourceAPICallsUsage200Response.ts +1 -1
- package/model/getDailyPerSourceAPICallsUsageV1Output.ts +1 -1
- package/model/getDailyPerSourceMTUUsage200Response.ts +1 -1
- package/model/getDailyPerSourceMTUUsageV1Output.ts +1 -1
- package/model/getDailyWorkspaceAPICallsUsage200Response.ts +1 -1
- package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +1 -1
- package/model/getDailyWorkspaceMTUUsage200Response.ts +1 -1
- package/model/getDailyWorkspaceMTUUsageV1Output.ts +1 -1
- package/model/{getDeliveryOverviewMetricsAlphaOutput.ts → getDeliveryOverviewMetricsBetaOutput.ts} +3 -3
- package/model/getDestination200Response.ts +1 -1
- package/model/getDestinationMetadata200Response.ts +1 -1
- package/model/getDestinationMetadataV1Output.ts +1 -1
- package/model/getDestinationV1Output.ts +1 -1
- package/model/getDestinationsCatalog200Response.ts +1 -1
- package/model/getDestinationsCatalogV1Output.ts +1 -1
- package/model/getEgressFailedMetricsFromDeliveryOverview200Response.ts +4 -4
- package/model/getEventsVolumeFromWorkspace200Response.ts +1 -1
- package/model/getEventsVolumeFromWorkspaceV1Output.ts +1 -1
- package/model/getEventsVolumeFromWorkspaceV1Query.ts +1 -1
- package/model/getFilterInDestination200Response.ts +1 -1
- package/model/getFilterInDestinationV1Output.ts +1 -1
- package/model/getFunction200Response.ts +1 -1
- package/model/getFunctionV1Output.ts +1 -1
- package/model/getFunctionVersion200Response.ts +1 -1
- package/model/getFunctionVersionAlphaOutput.ts +1 -1
- package/model/getInsertFunctionInstance200Response.ts +1 -1
- package/model/getInsertFunctionInstanceAlphaOutput.ts +1 -1
- package/model/getLatestFromEdgeFunctions200Response.ts +1 -1
- package/model/getLatestFromEdgeFunctionsAlphaOutput.ts +1 -1
- package/model/getMessagingSubscriptionFailureResponse.ts +1 -1
- package/model/getMessagingSubscriptionSuccessResponse.ts +1 -1
- package/model/getRegulation200Response.ts +1 -1
- package/model/getRegulationV1Output.ts +1 -1
- package/model/getReverseETLSyncFromModel200Response.ts +1 -1
- package/model/getReverseETLSyncFromModelOutput.ts +1 -1
- package/model/getReverseEtlModel200Response.ts +1 -1
- package/model/getReverseEtlModelOutput.ts +1 -1
- package/model/getSource200Response.ts +1 -1
- package/model/getSource200Response1.ts +1 -1
- package/model/getSourceAlphaOutput.ts +1 -1
- package/model/getSourceMetadata200Response.ts +1 -1
- package/model/getSourceMetadataV1Output.ts +1 -1
- package/model/getSourceV1Output.ts +1 -1
- package/model/getSourcesCatalog200Response.ts +1 -1
- package/model/getSourcesCatalogV1Output.ts +1 -1
- package/model/getSpace200Response.ts +1 -1
- package/model/getSpaceAlphaOutput.ts +1 -1
- package/model/getSubscriptionFromDestination200Response.ts +1 -1
- package/model/getSubscriptionFromDestinationAlphaOutput.ts +1 -1
- package/model/getSubscriptionRequest.ts +1 -1
- package/model/getTrackingPlan200Response.ts +1 -1
- package/model/getTrackingPlanV1Output.ts +1 -1
- package/model/getTransformation200Response.ts +1 -1
- package/model/getTransformationBetaInput.ts +1 -1
- package/model/getTransformationBetaOutput.ts +1 -1
- package/model/getTransformationV1Output.ts +1 -1
- package/model/getUser200Response.ts +1 -1
- package/model/getUserGroup200Response.ts +1 -1
- package/model/getUserGroupV1Output.ts +1 -1
- package/model/getUserV1Output.ts +1 -1
- package/model/getWarehouse200Response.ts +1 -1
- package/model/getWarehouseMetadata200Response.ts +1 -1
- package/model/getWarehouseMetadataV1Output.ts +1 -1
- package/model/getWarehouseV1Output.ts +1 -1
- package/model/getWarehousesCatalog200Response.ts +1 -1
- package/model/getWarehousesCatalogV1Output.ts +1 -1
- package/model/getWorkspace200Response.ts +1 -1
- package/model/getWorkspaceV1Output.ts +1 -1
- package/model/groupSourceSettingsV1.ts +1 -1
- package/model/groupSubscriptionStatus.ts +1 -1
- package/model/groupSubscriptionStatusResponse.ts +1 -1
- package/model/handleWebhookInput.ts +1 -1
- package/model/handleWebhookOutput.ts +1 -1
- package/model/hashPropertiesConfiguration.ts +1 -1
- package/model/identifySourceSettingsV1.ts +1 -1
- package/model/insertFunctionInstanceAlpha.ts +1 -1
- package/model/integrationOptionBeta.ts +1 -1
- package/model/invitePermissionV1.ts +1 -1
- package/model/inviteV1.ts +1 -1
- package/model/labelAlpha.ts +1 -1
- package/model/labelV1.ts +1 -1
- package/model/listAudiences200Response.ts +1 -1
- package/model/listAudiencesAlphaOutput.ts +1 -1
- package/model/listAuditEvents200Response.ts +1 -1
- package/model/listAuditEventsV1Output.ts +1 -1
- package/model/listComputedTraits200Response.ts +1 -1
- package/model/listComputedTraitsAlphaOutput.ts +1 -1
- package/model/listConnectedDestinationsFromSource200Response.ts +1 -1
- package/model/listConnectedDestinationsFromSource200Response1.ts +1 -1
- package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +1 -1
- package/model/listConnectedDestinationsFromSourceV1Output.ts +1 -1
- package/model/listConnectedSourcesFromWarehouse200Response.ts +1 -1
- package/model/listConnectedSourcesFromWarehouseV1Output.ts +1 -1
- package/model/listConnectedWarehousesFromSource200Response.ts +1 -1
- package/model/listConnectedWarehousesFromSource200Response1.ts +1 -1
- package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +1 -1
- package/model/listConnectedWarehousesFromSourceV1Output.ts +1 -1
- package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +1 -1
- package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +1 -1
- package/model/listDestinations200Response.ts +1 -1
- package/model/listDestinationsV1Output.ts +1 -1
- package/model/listFiltersFromDestination200Response.ts +1 -1
- package/model/listFiltersFromDestinationV1Output.ts +1 -1
- package/model/listFunctionItemV1.ts +1 -1
- package/model/listFunctionVersions200Response.ts +1 -1
- package/model/listFunctionVersionsAlphaOutput.ts +1 -1
- package/model/listFunctions200Response.ts +1 -1
- package/model/listFunctionsV1Output.ts +1 -1
- package/model/listInsertFunctionInstances200Response.ts +1 -1
- package/model/listInsertFunctionInstancesAlphaOutput.ts +1 -1
- package/model/listInvites200Response.ts +1 -1
- package/model/listInvitesFromUserGroup200Response.ts +1 -1
- package/model/listInvitesFromUserGroupV1Output.ts +1 -1
- package/model/listInvitesV1Output.ts +1 -1
- package/model/listLabels200Response.ts +1 -1
- package/model/listLabels200Response1.ts +1 -1
- package/model/listLabelsAlphaOutput.ts +1 -1
- package/model/listLabelsV1Output.ts +1 -1
- package/model/listProfilesWarehouseInSpace200Response.ts +1 -1
- package/model/listProfilesWarehouseInSpaceAlphaOutput.ts +1 -1
- package/model/listRegulationsFromSource200Response.ts +1 -1
- package/model/listRegulationsFromSourceV1Output.ts +1 -1
- package/model/listReverseEtlModels200Response.ts +1 -1
- package/model/listReverseEtlModelsOutput.ts +1 -1
- package/model/listRoles200Response.ts +1 -1
- package/model/listRolesV1Output.ts +1 -1
- package/model/listRulesFromTrackingPlan200Response.ts +1 -1
- package/model/listRulesFromTrackingPlanV1Output.ts +1 -1
- package/model/listSchemaSettingsInSource200Response.ts +1 -1
- package/model/listSchemaSettingsInSourceV1Output.ts +1 -1
- package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +1 -1
- package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +1 -1
- package/model/listSelectiveSyncsFromWarehouseAndSpace200Response.ts +1 -1
- package/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.ts +1 -1
- package/model/listSources200Response.ts +1 -1
- package/model/listSources200Response1.ts +1 -1
- package/model/listSourcesAlphaOutput.ts +1 -1
- package/model/listSourcesFromTrackingPlan200Response.ts +1 -1
- package/model/listSourcesFromTrackingPlanV1Output.ts +1 -1
- package/model/listSourcesV1Output.ts +1 -1
- package/model/listSpaces200Response.ts +1 -1
- package/model/listSpacesAlphaOutput.ts +1 -1
- package/model/listSubscriptionsFromDestination200Response.ts +1 -1
- package/model/listSubscriptionsFromDestinationAlphaOutput.ts +1 -1
- package/model/listSuppressions200Response.ts +1 -1
- package/model/listSuppressionsV1Output.ts +1 -1
- package/model/listSyncsFromWarehouse200Response.ts +1 -1
- package/model/listSyncsFromWarehouseAndSource200Response.ts +1 -1
- package/model/listSyncsFromWarehouseAndSourceV1Output.ts +1 -1
- package/model/listSyncsFromWarehouseV1Output.ts +1 -1
- package/model/listTrackingPlans200Response.ts +1 -1
- package/model/listTrackingPlansV1Output.ts +1 -1
- package/model/listTransformations200Response.ts +1 -1
- package/model/listTransformationsBetaInput.ts +1 -1
- package/model/listTransformationsBetaOutput.ts +1 -1
- package/model/listTransformationsV1Output.ts +1 -1
- package/model/listUserGroups200Response.ts +1 -1
- package/model/listUserGroupsFromUser200Response.ts +1 -1
- package/model/listUserGroupsFromUserV1Output.ts +1 -1
- package/model/listUserGroupsV1Output.ts +1 -1
- package/model/listUsers200Response.ts +1 -1
- package/model/listUsersFromUserGroup200Response.ts +1 -1
- package/model/listUsersFromUserGroupV1Output.ts +1 -1
- package/model/listUsersV1Output.ts +1 -1
- package/model/listWarehouses200Response.ts +1 -1
- package/model/listWarehousesV1Output.ts +1 -1
- package/model/listWorkspaceRegulations200Response.ts +1 -1
- package/model/listWorkspaceRegulationsV1Output.ts +1 -1
- package/model/logosBeta.ts +1 -1
- package/model/messageSubscriptionResponse.ts +1 -1
- package/model/messageSubscriptionResponseError.ts +1 -1
- package/model/messagesSubscriptionRequest.ts +1 -1
- package/model/metricBeta.ts +1 -1
- package/model/minimalUserGroupV1.ts +1 -1
- package/model/minimalUserV1.ts +1 -1
- package/model/models.ts +3 -4
- package/model/mtuSnapshotV1.ts +1 -1
- package/model/paginationInput.ts +1 -1
- package/model/paginationOutput.ts +1 -1
- package/model/permissionInputV1.ts +1 -1
- package/model/permissionResourceV1.ts +1 -1
- package/model/permissionV1.ts +1 -1
- package/model/previewDestinationFilter200Response.ts +1 -1
- package/model/previewDestinationFilterV1.ts +1 -1
- package/model/previewDestinationFilterV1Input.ts +1 -1
- package/model/previewDestinationFilterV1Output.ts +1 -1
- package/model/profilesWarehouseAlpha.ts +1 -1
- package/model/propertyRenameBeta.ts +1 -1
- package/model/propertyRenameV1.ts +1 -1
- package/model/propertyValueTransformationBeta.ts +1 -1
- package/model/propertyValueTransformationV1.ts +1 -1
- package/model/regulation.ts +1 -1
- package/model/regulationListEntryV1.ts +1 -1
- package/model/removeAudienceFromSpace200Response.ts +1 -1
- package/model/removeAudienceFromSpaceAlphaOutput.ts +1 -1
- package/model/removeComputedTraitFromSpace200Response.ts +1 -1
- package/model/removeComputedTraitFromSpaceAlphaOutput.ts +1 -1
- package/model/removeFilterFromDestination200Response.ts +1 -1
- package/model/removeFilterFromDestinationV1Output.ts +1 -1
- package/model/removeProfilesWarehouseFromSpace200Response.ts +1 -1
- package/model/removeProfilesWarehouseFromSpaceAlphaOutput.ts +1 -1
- package/model/removeRuleV1.ts +1 -1
- package/model/removeRulesFromTrackingPlan200Response.ts +1 -1
- package/model/removeRulesFromTrackingPlanV1Output.ts +1 -1
- package/model/removeSourceConnectionFromWarehouse200Response.ts +1 -1
- package/model/removeSourceConnectionFromWarehouseV1Output.ts +1 -1
- package/model/removeSourceFromTrackingPlan200Response.ts +1 -1
- package/model/removeSourceFromTrackingPlanV1Output.ts +1 -1
- package/model/removeSubscriptionFromDestination200Response.ts +1 -1
- package/model/removeSubscriptionFromDestinationAlphaOutput.ts +1 -1
- package/model/removeUsersFromUserGroup200Response.ts +1 -1
- package/model/removeUsersFromUserGroupV1Output.ts +1 -1
- package/model/removeWriteKeyFromSource200Response.ts +1 -1
- package/model/removeWriteKeyFromSourceAlphaOutput.ts +1 -1
- package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +1 -1
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +1 -1
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +1 -1
- package/model/replaceLabelsInSource200Response.ts +1 -1
- package/model/replaceLabelsInSource200Response1.ts +1 -1
- package/model/replaceLabelsInSourceAlphaInput.ts +1 -1
- package/model/replaceLabelsInSourceAlphaOutput.ts +1 -1
- package/model/replaceLabelsInSourceV1Input.ts +1 -1
- package/model/replaceLabelsInSourceV1Output.ts +1 -1
- package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +1 -1
- package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +1 -1
- package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +1 -1
- package/model/replacePermissionsForUser200Response.ts +1 -1
- package/model/replacePermissionsForUserGroup200Response.ts +1 -1
- package/model/replacePermissionsForUserGroupV1Input.ts +1 -1
- package/model/replacePermissionsForUserGroupV1Output.ts +1 -1
- package/model/replacePermissionsForUserV1Input.ts +1 -1
- package/model/replacePermissionsForUserV1Output.ts +1 -1
- package/model/replaceRulesInTrackingPlan200Response.ts +1 -1
- package/model/replaceRulesInTrackingPlanV1Input.ts +1 -1
- package/model/replaceRulesInTrackingPlanV1Output.ts +1 -1
- package/model/replaceUsersInUserGroup200Response.ts +1 -1
- package/model/replaceUsersInUserGroupV1Input.ts +1 -1
- package/model/replaceUsersInUserGroupV1Output.ts +1 -1
- package/model/requestError.ts +1 -1
- package/model/requestErrorEnvelope.ts +1 -1
- package/model/resourceV1.ts +1 -1
- package/model/restoreFunctionVersion200Response.ts +1 -1
- package/model/restoreFunctionVersionAlphaInput.ts +1 -1
- package/model/restoreFunctionVersionAlphaOutput.ts +1 -1
- package/model/reverseETLManualSyncJobOutput.ts +1 -1
- package/model/reverseETLSyncOutput.ts +1 -1
- package/model/reverseEtlModel.ts +1 -1
- package/model/roleV1.ts +1 -1
- package/model/ruleInputV1.ts +1 -1
- package/model/ruleV1.ts +1 -1
- package/model/sourceAPICallSnapshotV1.ts +1 -1
- package/model/sourceAlpha.ts +1 -1
- package/model/sourceEventVolumeDatapointV1.ts +1 -1
- package/model/sourceEventVolumeV1.ts +1 -1
- package/model/sourceMetadataV1.ts +1 -1
- package/model/sourceSettingsOutputV1.ts +1 -1
- package/model/sourceV1.ts +1 -1
- package/model/space.ts +1 -1
- package/model/spaceWarehouseSchemaOverride.ts +1 -1
- package/model/spaceWarehouseSelectiveSyncItemAlpha.ts +1 -1
- package/model/streamStatusV1.ts +1 -1
- package/model/suppressedInner.ts +1 -1
- package/model/syncExtractPhase.ts +1 -1
- package/model/syncLoadPhase.ts +1 -1
- package/model/syncNoticeV1.ts +1 -1
- package/model/syncV1.ts +1 -1
- package/model/trackSourceSettingsV1.ts +1 -1
- package/model/trackingPlanV1.ts +1 -1
- package/model/transformationBeta.ts +1 -1
- package/model/transformationV1.ts +1 -1
- package/model/updateAudienceForSpace200Response.ts +1 -1
- package/model/updateAudienceForSpaceAlphaOutput.ts +1 -1
- package/model/updateAudienceForSpaceInput.ts +1 -1
- package/model/updateComputedTraitForSpace200Response.ts +1 -1
- package/model/updateComputedTraitForSpaceAlphaInput.ts +1 -1
- package/model/updateComputedTraitForSpaceAlphaOutput.ts +1 -1
- package/model/updateDestination200Response.ts +1 -1
- package/model/updateDestinationV1Input.ts +1 -1
- package/model/updateDestinationV1Output.ts +1 -1
- package/model/updateFilterForDestination200Response.ts +1 -1
- package/model/updateFilterForDestinationV1Input.ts +1 -1
- package/model/updateFilterForDestinationV1Output.ts +1 -1
- package/model/updateFunction200Response.ts +1 -1
- package/model/updateFunctionV1Input.ts +1 -1
- package/model/updateFunctionV1Output.ts +1 -1
- package/model/updateGroupSubscriptionStatusResponse.ts +1 -1
- package/model/updateInsertFunctionInstance200Response.ts +1 -1
- package/model/updateInsertFunctionInstanceAlphaInput.ts +1 -1
- package/model/updateInsertFunctionInstanceAlphaOutput.ts +1 -1
- package/model/updateProfilesWarehouseForSpaceWarehouse200Response.ts +1 -1
- package/model/updateProfilesWarehouseForSpaceWarehouseAlphaInput.ts +1 -1
- package/model/updateProfilesWarehouseForSpaceWarehouseAlphaOutput.ts +1 -1
- package/model/updateReverseEtlModel200Response.ts +1 -1
- package/model/updateReverseEtlModelInput.ts +1 -1
- package/model/updateReverseEtlModelOutput.ts +1 -1
- package/model/updateRulesInTrackingPlan200Response.ts +1 -1
- package/model/updateRulesInTrackingPlanV1Input.ts +1 -1
- package/model/updateRulesInTrackingPlanV1Output.ts +1 -1
- package/model/updateSchemaSettingsInSource200Response.ts +1 -1
- package/model/updateSchemaSettingsInSourceV1Input.ts +1 -1
- package/model/updateSchemaSettingsInSourceV1Output.ts +1 -1
- package/model/updateSelectiveSyncForWarehouse200Response.ts +1 -1
- package/model/updateSelectiveSyncForWarehouseAndSpace200Response.ts +1 -1
- package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaInput.ts +1 -1
- package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaOutput.ts +1 -1
- package/model/updateSelectiveSyncForWarehouseV1Input.ts +1 -1
- package/model/updateSelectiveSyncForWarehouseV1Output.ts +1 -1
- package/model/updateSource200Response.ts +1 -1
- package/model/updateSource200Response1.ts +1 -1
- package/model/updateSourceAlphaInput.ts +1 -1
- package/model/updateSourceAlphaOutput.ts +1 -1
- package/model/updateSourceV1Input.ts +1 -1
- package/model/updateSourceV1Output.ts +1 -1
- package/model/updateSubscriptionForDestination200Response.ts +1 -1
- package/model/updateSubscriptionForDestinationAlphaInput.ts +1 -1
- package/model/updateSubscriptionForDestinationAlphaOutput.ts +1 -1
- package/model/updateTrackingPlan200Response.ts +1 -1
- package/model/updateTrackingPlanV1Input.ts +1 -1
- package/model/updateTrackingPlanV1Output.ts +1 -1
- package/model/updateTransformation200Response.ts +1 -1
- package/model/updateTransformationBetaInput.ts +1 -1
- package/model/updateTransformationBetaOutput.ts +1 -1
- package/model/updateTransformationV1Input.ts +1 -1
- package/model/updateTransformationV1Output.ts +1 -1
- package/model/updateUserGroup200Response.ts +1 -1
- package/model/updateUserGroupV1Input.ts +1 -1
- package/model/updateUserGroupV1Output.ts +1 -1
- package/model/updateWarehouse200Response.ts +1 -1
- package/model/updateWarehouseV1Input.ts +1 -1
- package/model/updateWarehouseV1Output.ts +1 -1
- package/model/upsertRuleV1.ts +1 -1
- package/model/userGroupV1.ts +1 -1
- package/model/userV1.ts +1 -1
- package/model/usersPerSourceSnapshotV1.ts +1 -1
- package/model/version.ts +1 -1
- package/model/warehouseAdvancedSyncV1.ts +1 -1
- package/model/warehouseMetadataV1.ts +1 -1
- package/model/warehouseSelectiveSyncItemV1.ts +1 -1
- package/model/warehouseSyncOverrideV1.ts +1 -1
- package/model/warehouseV1.ts +1 -1
- package/model/workspaceV1.ts +1 -1
- package/package.json +1 -1
- package/dist/model/getDeliveryOverviewMetricsAlphaOutput.js +0 -31
- package/dist/model/getDeliveryOverviewMetricsAlphaOutput.js.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Segment Public API
|
|
3
3
|
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 47.0.0
|
|
6
6
|
* Contact: friends@segment.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -111,15 +111,15 @@ export class DeliveryOverviewApi {
|
|
|
111
111
|
/**
|
|
112
112
|
* Get events that failed to be delivered to Destination.
|
|
113
113
|
* @summary Get Egress Failed Metrics from Delivery Overview
|
|
114
|
-
* @param sourceId The sourceId for the
|
|
115
|
-
* @param destinationConfigId The
|
|
116
|
-
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in
|
|
117
|
-
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in
|
|
118
|
-
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in
|
|
119
|
-
* @param pagination Params to specify the page cursor and count. This parameter exists in
|
|
120
|
-
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in
|
|
121
|
-
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`.
|
|
122
|
-
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in
|
|
114
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
115
|
+
* @param destinationConfigId The id tied to a Workspace Destination. This parameter exists in beta.
|
|
116
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
117
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
118
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
119
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
120
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in beta.
|
|
121
|
+
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
122
|
+
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in beta.
|
|
123
123
|
*/
|
|
124
124
|
public async getEgressFailedMetricsFromDeliveryOverview(
|
|
125
125
|
sourceId: string,
|
|
@@ -144,7 +144,7 @@ export class DeliveryOverviewApi {
|
|
|
144
144
|
this._defaultHeaders
|
|
145
145
|
);
|
|
146
146
|
const produces = [
|
|
147
|
-
'application/vnd.segment.
|
|
147
|
+
'application/vnd.segment.v1beta+json',
|
|
148
148
|
'application/json',
|
|
149
149
|
];
|
|
150
150
|
// give precedence to 'application/json'
|
|
@@ -334,8 +334,26 @@ export class DeliveryOverviewApi {
|
|
|
334
334
|
/**
|
|
335
335
|
* Get events successfully delivered to Destination.
|
|
336
336
|
* @summary Get Egress Success Metrics from Delivery Overview
|
|
337
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
338
|
+
* @param destinationConfigId The id tied to a Workspace Destination. This parameter exists in beta.
|
|
339
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
340
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
341
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
342
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
343
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in beta.
|
|
344
|
+
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. If you would like to view retry attempts for a successful delivery, you can filter `discardReason` from `successes.attempt.1` through `successes.attempt.10`. This parameter exists in beta.
|
|
345
|
+
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in beta.
|
|
337
346
|
*/
|
|
338
347
|
public async getEgressSuccessMetricsFromDeliveryOverview(
|
|
348
|
+
sourceId: string,
|
|
349
|
+
destinationConfigId: string,
|
|
350
|
+
startTime: string,
|
|
351
|
+
endTime: string,
|
|
352
|
+
granularity: 'day' | 'hour' | 'minute',
|
|
353
|
+
pagination: PaginationInput,
|
|
354
|
+
groupBy?: Array<string>,
|
|
355
|
+
filter?: DeliveryOverviewFilterBy,
|
|
356
|
+
subscriptionId?: string,
|
|
339
357
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
340
358
|
): Promise<{
|
|
341
359
|
response: http.IncomingMessage;
|
|
@@ -349,7 +367,7 @@ export class DeliveryOverviewApi {
|
|
|
349
367
|
this._defaultHeaders
|
|
350
368
|
);
|
|
351
369
|
const produces = [
|
|
352
|
-
'application/vnd.segment.
|
|
370
|
+
'application/vnd.segment.v1beta+json',
|
|
353
371
|
'application/json',
|
|
354
372
|
];
|
|
355
373
|
// give precedence to 'application/json'
|
|
@@ -360,6 +378,107 @@ export class DeliveryOverviewApi {
|
|
|
360
378
|
}
|
|
361
379
|
let localVarFormParams: any = {};
|
|
362
380
|
|
|
381
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
382
|
+
if (sourceId === null || sourceId === undefined) {
|
|
383
|
+
throw new Error(
|
|
384
|
+
'Required parameter sourceId was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
385
|
+
);
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
// verify required parameter 'destinationConfigId' is not null or undefined
|
|
389
|
+
if (destinationConfigId === null || destinationConfigId === undefined) {
|
|
390
|
+
throw new Error(
|
|
391
|
+
'Required parameter destinationConfigId was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
392
|
+
);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
396
|
+
if (startTime === null || startTime === undefined) {
|
|
397
|
+
throw new Error(
|
|
398
|
+
'Required parameter startTime was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
399
|
+
);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
403
|
+
if (endTime === null || endTime === undefined) {
|
|
404
|
+
throw new Error(
|
|
405
|
+
'Required parameter endTime was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
406
|
+
);
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// verify required parameter 'granularity' is not null or undefined
|
|
410
|
+
if (granularity === null || granularity === undefined) {
|
|
411
|
+
throw new Error(
|
|
412
|
+
'Required parameter granularity was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
413
|
+
);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
// verify required parameter 'pagination' is not null or undefined
|
|
417
|
+
if (pagination === null || pagination === undefined) {
|
|
418
|
+
throw new Error(
|
|
419
|
+
'Required parameter pagination was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
420
|
+
);
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
if (sourceId !== undefined) {
|
|
424
|
+
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
425
|
+
sourceId,
|
|
426
|
+
'string'
|
|
427
|
+
);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
if (destinationConfigId !== undefined) {
|
|
431
|
+
localVarQueryParameters['destinationConfigId'] =
|
|
432
|
+
ObjectSerializer.serialize(destinationConfigId, 'string');
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
if (startTime !== undefined) {
|
|
436
|
+
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
437
|
+
startTime,
|
|
438
|
+
'string'
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
if (endTime !== undefined) {
|
|
443
|
+
localVarQueryParameters['endTime'] = ObjectSerializer.serialize(
|
|
444
|
+
endTime,
|
|
445
|
+
'string'
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
if (groupBy !== undefined) {
|
|
450
|
+
localVarQueryParameters['groupBy'] = ObjectSerializer.serialize(
|
|
451
|
+
groupBy,
|
|
452
|
+
'Array<string>'
|
|
453
|
+
);
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (granularity !== undefined) {
|
|
457
|
+
localVarQueryParameters['granularity'] = ObjectSerializer.serialize(
|
|
458
|
+
granularity,
|
|
459
|
+
"'day' | 'hour' | 'minute'"
|
|
460
|
+
);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
if (filter !== undefined) {
|
|
464
|
+
localVarQueryParameters['filter'] = ObjectSerializer.serialize(
|
|
465
|
+
filter,
|
|
466
|
+
'DeliveryOverviewFilterBy'
|
|
467
|
+
);
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
if (pagination !== undefined) {
|
|
471
|
+
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
472
|
+
pagination,
|
|
473
|
+
'PaginationInput'
|
|
474
|
+
);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
if (subscriptionId !== undefined) {
|
|
478
|
+
localVarQueryParameters['subscriptionId'] =
|
|
479
|
+
ObjectSerializer.serialize(subscriptionId, 'string');
|
|
480
|
+
}
|
|
481
|
+
|
|
363
482
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
364
483
|
|
|
365
484
|
let localVarUseFormData = false;
|
|
@@ -438,8 +557,26 @@ export class DeliveryOverviewApi {
|
|
|
438
557
|
/**
|
|
439
558
|
* Get events that were filtered at Destination.
|
|
440
559
|
* @summary Get Filtered At Destination Metrics from Delivery Overview
|
|
560
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
561
|
+
* @param destinationConfigId The id tied to a Workspace Destination. This parameter exists in beta.
|
|
562
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
563
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
564
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
565
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
566
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in beta.
|
|
567
|
+
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
568
|
+
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in beta.
|
|
441
569
|
*/
|
|
442
570
|
public async getFilteredAtDestinationMetricsFromDeliveryOverview(
|
|
571
|
+
sourceId: string,
|
|
572
|
+
destinationConfigId: string,
|
|
573
|
+
startTime: string,
|
|
574
|
+
endTime: string,
|
|
575
|
+
granularity: 'day' | 'hour' | 'minute',
|
|
576
|
+
pagination: PaginationInput,
|
|
577
|
+
groupBy?: Array<string>,
|
|
578
|
+
filter?: DeliveryOverviewFilterBy,
|
|
579
|
+
subscriptionId?: string,
|
|
443
580
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
444
581
|
): Promise<{
|
|
445
582
|
response: http.IncomingMessage;
|
|
@@ -453,7 +590,7 @@ export class DeliveryOverviewApi {
|
|
|
453
590
|
this._defaultHeaders
|
|
454
591
|
);
|
|
455
592
|
const produces = [
|
|
456
|
-
'application/vnd.segment.
|
|
593
|
+
'application/vnd.segment.v1beta+json',
|
|
457
594
|
'application/json',
|
|
458
595
|
];
|
|
459
596
|
// give precedence to 'application/json'
|
|
@@ -464,6 +601,107 @@ export class DeliveryOverviewApi {
|
|
|
464
601
|
}
|
|
465
602
|
let localVarFormParams: any = {};
|
|
466
603
|
|
|
604
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
605
|
+
if (sourceId === null || sourceId === undefined) {
|
|
606
|
+
throw new Error(
|
|
607
|
+
'Required parameter sourceId was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
608
|
+
);
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
// verify required parameter 'destinationConfigId' is not null or undefined
|
|
612
|
+
if (destinationConfigId === null || destinationConfigId === undefined) {
|
|
613
|
+
throw new Error(
|
|
614
|
+
'Required parameter destinationConfigId was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
615
|
+
);
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
619
|
+
if (startTime === null || startTime === undefined) {
|
|
620
|
+
throw new Error(
|
|
621
|
+
'Required parameter startTime was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
622
|
+
);
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
626
|
+
if (endTime === null || endTime === undefined) {
|
|
627
|
+
throw new Error(
|
|
628
|
+
'Required parameter endTime was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
629
|
+
);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
// verify required parameter 'granularity' is not null or undefined
|
|
633
|
+
if (granularity === null || granularity === undefined) {
|
|
634
|
+
throw new Error(
|
|
635
|
+
'Required parameter granularity was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
636
|
+
);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
// verify required parameter 'pagination' is not null or undefined
|
|
640
|
+
if (pagination === null || pagination === undefined) {
|
|
641
|
+
throw new Error(
|
|
642
|
+
'Required parameter pagination was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
643
|
+
);
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
if (sourceId !== undefined) {
|
|
647
|
+
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
648
|
+
sourceId,
|
|
649
|
+
'string'
|
|
650
|
+
);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
if (destinationConfigId !== undefined) {
|
|
654
|
+
localVarQueryParameters['destinationConfigId'] =
|
|
655
|
+
ObjectSerializer.serialize(destinationConfigId, 'string');
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
if (startTime !== undefined) {
|
|
659
|
+
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
660
|
+
startTime,
|
|
661
|
+
'string'
|
|
662
|
+
);
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
if (endTime !== undefined) {
|
|
666
|
+
localVarQueryParameters['endTime'] = ObjectSerializer.serialize(
|
|
667
|
+
endTime,
|
|
668
|
+
'string'
|
|
669
|
+
);
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
if (groupBy !== undefined) {
|
|
673
|
+
localVarQueryParameters['groupBy'] = ObjectSerializer.serialize(
|
|
674
|
+
groupBy,
|
|
675
|
+
'Array<string>'
|
|
676
|
+
);
|
|
677
|
+
}
|
|
678
|
+
|
|
679
|
+
if (granularity !== undefined) {
|
|
680
|
+
localVarQueryParameters['granularity'] = ObjectSerializer.serialize(
|
|
681
|
+
granularity,
|
|
682
|
+
"'day' | 'hour' | 'minute'"
|
|
683
|
+
);
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
if (filter !== undefined) {
|
|
687
|
+
localVarQueryParameters['filter'] = ObjectSerializer.serialize(
|
|
688
|
+
filter,
|
|
689
|
+
'DeliveryOverviewFilterBy'
|
|
690
|
+
);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
if (pagination !== undefined) {
|
|
694
|
+
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
695
|
+
pagination,
|
|
696
|
+
'PaginationInput'
|
|
697
|
+
);
|
|
698
|
+
}
|
|
699
|
+
|
|
700
|
+
if (subscriptionId !== undefined) {
|
|
701
|
+
localVarQueryParameters['subscriptionId'] =
|
|
702
|
+
ObjectSerializer.serialize(subscriptionId, 'string');
|
|
703
|
+
}
|
|
704
|
+
|
|
467
705
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
468
706
|
|
|
469
707
|
let localVarUseFormData = false;
|
|
@@ -542,15 +780,13 @@ export class DeliveryOverviewApi {
|
|
|
542
780
|
/**
|
|
543
781
|
* Get events that were filtered at Source.
|
|
544
782
|
* @summary Get Filtered At Source Metrics from Delivery Overview
|
|
545
|
-
* @param sourceId The sourceId for the
|
|
546
|
-
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in
|
|
547
|
-
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in
|
|
548
|
-
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in
|
|
549
|
-
* @param pagination Optional params to specify the page cursor and count. This parameter exists in
|
|
550
|
-
* @param
|
|
551
|
-
* @param
|
|
552
|
-
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. Example: `filter: {discardReason: [\'discard1\'], eventName: [\'name1\', \'name2\'], eventType: [\'type1\']}`. This parameter exists in alpha.
|
|
553
|
-
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in alpha.
|
|
783
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
784
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
785
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
786
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
787
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
788
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in beta.
|
|
789
|
+
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
554
790
|
*/
|
|
555
791
|
public async getFilteredAtSourceMetricsFromDeliveryOverview(
|
|
556
792
|
sourceId: string,
|
|
@@ -558,10 +794,8 @@ export class DeliveryOverviewApi {
|
|
|
558
794
|
endTime: string,
|
|
559
795
|
granularity: 'day' | 'hour' | 'minute',
|
|
560
796
|
pagination: PaginationInput,
|
|
561
|
-
destinationConfigId?: string,
|
|
562
797
|
groupBy?: Array<string>,
|
|
563
798
|
filter?: DeliveryOverviewFilterBy,
|
|
564
|
-
subscriptionId?: string,
|
|
565
799
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
566
800
|
): Promise<{
|
|
567
801
|
response: http.IncomingMessage;
|
|
@@ -575,7 +809,7 @@ export class DeliveryOverviewApi {
|
|
|
575
809
|
this._defaultHeaders
|
|
576
810
|
);
|
|
577
811
|
const produces = [
|
|
578
|
-
'application/vnd.segment.
|
|
812
|
+
'application/vnd.segment.v1beta+json',
|
|
579
813
|
'application/json',
|
|
580
814
|
];
|
|
581
815
|
// give precedence to 'application/json'
|
|
@@ -628,11 +862,6 @@ export class DeliveryOverviewApi {
|
|
|
628
862
|
);
|
|
629
863
|
}
|
|
630
864
|
|
|
631
|
-
if (destinationConfigId !== undefined) {
|
|
632
|
-
localVarQueryParameters['destinationConfigId'] =
|
|
633
|
-
ObjectSerializer.serialize(destinationConfigId, 'string');
|
|
634
|
-
}
|
|
635
|
-
|
|
636
865
|
if (startTime !== undefined) {
|
|
637
866
|
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
638
867
|
startTime,
|
|
@@ -675,11 +904,6 @@ export class DeliveryOverviewApi {
|
|
|
675
904
|
);
|
|
676
905
|
}
|
|
677
906
|
|
|
678
|
-
if (subscriptionId !== undefined) {
|
|
679
|
-
localVarQueryParameters['subscriptionId'] =
|
|
680
|
-
ObjectSerializer.serialize(subscriptionId, 'string');
|
|
681
|
-
}
|
|
682
|
-
|
|
683
907
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
684
908
|
|
|
685
909
|
let localVarUseFormData = false;
|
|
@@ -758,8 +982,22 @@ export class DeliveryOverviewApi {
|
|
|
758
982
|
/**
|
|
759
983
|
* Get events that failed on ingest.
|
|
760
984
|
* @summary Get Ingress Failed Metrics from Delivery Overview
|
|
985
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
986
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
987
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
988
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
989
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
990
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, and `appVersion`. This parameter exists in beta.
|
|
991
|
+
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, and/or `appVersion` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
761
992
|
*/
|
|
762
993
|
public async getIngressFailedMetricsFromDeliveryOverview(
|
|
994
|
+
sourceId: string,
|
|
995
|
+
startTime: string,
|
|
996
|
+
endTime: string,
|
|
997
|
+
granularity: 'day' | 'hour' | 'minute',
|
|
998
|
+
pagination: PaginationInput,
|
|
999
|
+
groupBy?: Array<string>,
|
|
1000
|
+
filter?: DeliveryOverviewFilterBy,
|
|
763
1001
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
764
1002
|
): Promise<{
|
|
765
1003
|
response: http.IncomingMessage;
|
|
@@ -773,7 +1011,7 @@ export class DeliveryOverviewApi {
|
|
|
773
1011
|
this._defaultHeaders
|
|
774
1012
|
);
|
|
775
1013
|
const produces = [
|
|
776
|
-
'application/vnd.segment.
|
|
1014
|
+
'application/vnd.segment.v1beta+json',
|
|
777
1015
|
'application/json',
|
|
778
1016
|
];
|
|
779
1017
|
// give precedence to 'application/json'
|
|
@@ -784,6 +1022,90 @@ export class DeliveryOverviewApi {
|
|
|
784
1022
|
}
|
|
785
1023
|
let localVarFormParams: any = {};
|
|
786
1024
|
|
|
1025
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
1026
|
+
if (sourceId === null || sourceId === undefined) {
|
|
1027
|
+
throw new Error(
|
|
1028
|
+
'Required parameter sourceId was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
1033
|
+
if (startTime === null || startTime === undefined) {
|
|
1034
|
+
throw new Error(
|
|
1035
|
+
'Required parameter startTime was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1036
|
+
);
|
|
1037
|
+
}
|
|
1038
|
+
|
|
1039
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
1040
|
+
if (endTime === null || endTime === undefined) {
|
|
1041
|
+
throw new Error(
|
|
1042
|
+
'Required parameter endTime was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
|
|
1046
|
+
// verify required parameter 'granularity' is not null or undefined
|
|
1047
|
+
if (granularity === null || granularity === undefined) {
|
|
1048
|
+
throw new Error(
|
|
1049
|
+
'Required parameter granularity was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1050
|
+
);
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
// verify required parameter 'pagination' is not null or undefined
|
|
1054
|
+
if (pagination === null || pagination === undefined) {
|
|
1055
|
+
throw new Error(
|
|
1056
|
+
'Required parameter pagination was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1057
|
+
);
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
if (sourceId !== undefined) {
|
|
1061
|
+
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
1062
|
+
sourceId,
|
|
1063
|
+
'string'
|
|
1064
|
+
);
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
if (startTime !== undefined) {
|
|
1068
|
+
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
1069
|
+
startTime,
|
|
1070
|
+
'string'
|
|
1071
|
+
);
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
if (endTime !== undefined) {
|
|
1075
|
+
localVarQueryParameters['endTime'] = ObjectSerializer.serialize(
|
|
1076
|
+
endTime,
|
|
1077
|
+
'string'
|
|
1078
|
+
);
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
if (groupBy !== undefined) {
|
|
1082
|
+
localVarQueryParameters['groupBy'] = ObjectSerializer.serialize(
|
|
1083
|
+
groupBy,
|
|
1084
|
+
'Array<string>'
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
if (granularity !== undefined) {
|
|
1089
|
+
localVarQueryParameters['granularity'] = ObjectSerializer.serialize(
|
|
1090
|
+
granularity,
|
|
1091
|
+
"'day' | 'hour' | 'minute'"
|
|
1092
|
+
);
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
if (filter !== undefined) {
|
|
1096
|
+
localVarQueryParameters['filter'] = ObjectSerializer.serialize(
|
|
1097
|
+
filter,
|
|
1098
|
+
'DeliveryOverviewFilterBy'
|
|
1099
|
+
);
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
if (pagination !== undefined) {
|
|
1103
|
+
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
1104
|
+
pagination,
|
|
1105
|
+
'PaginationInput'
|
|
1106
|
+
);
|
|
1107
|
+
}
|
|
1108
|
+
|
|
787
1109
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
788
1110
|
|
|
789
1111
|
let localVarUseFormData = false;
|
|
@@ -862,8 +1184,22 @@ export class DeliveryOverviewApi {
|
|
|
862
1184
|
/**
|
|
863
1185
|
* Get events that were successfully received by Segment.
|
|
864
1186
|
* @summary Get Ingress Success Metrics from Delivery Overview
|
|
1187
|
+
* @param sourceId The sourceId for the Workspace. This parameter exists in beta.
|
|
1188
|
+
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
1189
|
+
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
1190
|
+
* @param granularity The size of each bucket in the requested window. Based on the granularity chosen, there are restrictions on the time range you can query: **Minute**: - Max time range: 4 hours - Oldest possible start time: 48 hours in the past **Hour**: - Max Time range: 14 days - Oldest possible start time: 30 days in the past **Day**: - Max time range: 30 days - Oldest possible start time: 30 days in the past This parameter exists in beta.
|
|
1191
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
1192
|
+
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, and `appVersion`. This parameter exists in beta.
|
|
1193
|
+
* @param filter An optional filter for `eventName`, `eventType`, and/or `appVersion` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
865
1194
|
*/
|
|
866
1195
|
public async getIngressSuccessMetricsFromDeliveryOverview(
|
|
1196
|
+
sourceId: string,
|
|
1197
|
+
startTime: string,
|
|
1198
|
+
endTime: string,
|
|
1199
|
+
granularity: 'day' | 'hour' | 'minute',
|
|
1200
|
+
pagination: PaginationInput,
|
|
1201
|
+
groupBy?: Array<string>,
|
|
1202
|
+
filter?: DeliveryOverviewFilterBy,
|
|
867
1203
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
868
1204
|
): Promise<{
|
|
869
1205
|
response: http.IncomingMessage;
|
|
@@ -877,7 +1213,7 @@ export class DeliveryOverviewApi {
|
|
|
877
1213
|
this._defaultHeaders
|
|
878
1214
|
);
|
|
879
1215
|
const produces = [
|
|
880
|
-
'application/vnd.segment.
|
|
1216
|
+
'application/vnd.segment.v1beta+json',
|
|
881
1217
|
'application/json',
|
|
882
1218
|
];
|
|
883
1219
|
// give precedence to 'application/json'
|
|
@@ -888,6 +1224,90 @@ export class DeliveryOverviewApi {
|
|
|
888
1224
|
}
|
|
889
1225
|
let localVarFormParams: any = {};
|
|
890
1226
|
|
|
1227
|
+
// verify required parameter 'sourceId' is not null or undefined
|
|
1228
|
+
if (sourceId === null || sourceId === undefined) {
|
|
1229
|
+
throw new Error(
|
|
1230
|
+
'Required parameter sourceId was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1231
|
+
);
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
// verify required parameter 'startTime' is not null or undefined
|
|
1235
|
+
if (startTime === null || startTime === undefined) {
|
|
1236
|
+
throw new Error(
|
|
1237
|
+
'Required parameter startTime was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1238
|
+
);
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
// verify required parameter 'endTime' is not null or undefined
|
|
1242
|
+
if (endTime === null || endTime === undefined) {
|
|
1243
|
+
throw new Error(
|
|
1244
|
+
'Required parameter endTime was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
// verify required parameter 'granularity' is not null or undefined
|
|
1249
|
+
if (granularity === null || granularity === undefined) {
|
|
1250
|
+
throw new Error(
|
|
1251
|
+
'Required parameter granularity was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1252
|
+
);
|
|
1253
|
+
}
|
|
1254
|
+
|
|
1255
|
+
// verify required parameter 'pagination' is not null or undefined
|
|
1256
|
+
if (pagination === null || pagination === undefined) {
|
|
1257
|
+
throw new Error(
|
|
1258
|
+
'Required parameter pagination was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1259
|
+
);
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
if (sourceId !== undefined) {
|
|
1263
|
+
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
1264
|
+
sourceId,
|
|
1265
|
+
'string'
|
|
1266
|
+
);
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
if (startTime !== undefined) {
|
|
1270
|
+
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
1271
|
+
startTime,
|
|
1272
|
+
'string'
|
|
1273
|
+
);
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
if (endTime !== undefined) {
|
|
1277
|
+
localVarQueryParameters['endTime'] = ObjectSerializer.serialize(
|
|
1278
|
+
endTime,
|
|
1279
|
+
'string'
|
|
1280
|
+
);
|
|
1281
|
+
}
|
|
1282
|
+
|
|
1283
|
+
if (groupBy !== undefined) {
|
|
1284
|
+
localVarQueryParameters['groupBy'] = ObjectSerializer.serialize(
|
|
1285
|
+
groupBy,
|
|
1286
|
+
'Array<string>'
|
|
1287
|
+
);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
if (granularity !== undefined) {
|
|
1291
|
+
localVarQueryParameters['granularity'] = ObjectSerializer.serialize(
|
|
1292
|
+
granularity,
|
|
1293
|
+
"'day' | 'hour' | 'minute'"
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
if (filter !== undefined) {
|
|
1298
|
+
localVarQueryParameters['filter'] = ObjectSerializer.serialize(
|
|
1299
|
+
filter,
|
|
1300
|
+
'DeliveryOverviewFilterBy'
|
|
1301
|
+
);
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
if (pagination !== undefined) {
|
|
1305
|
+
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
1306
|
+
pagination,
|
|
1307
|
+
'PaginationInput'
|
|
1308
|
+
);
|
|
1309
|
+
}
|
|
1310
|
+
|
|
891
1311
|
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
892
1312
|
|
|
893
1313
|
let localVarUseFormData = false;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Segment Public API
|
|
3
3
|
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 47.0.0
|
|
6
6
|
* Contact: friends@segment.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/destinationsApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Segment Public API
|
|
3
3
|
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document:
|
|
5
|
+
* The version of the OpenAPI document: 47.0.0
|
|
6
6
|
* Contact: friends@segment.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|