@segment/public-api-sdk-typescript 49.2.0-b8702 → 50.0.0-b8731
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 +3 -17
- package/api/apis.ts +2 -2
- package/api/audiencesApi.ts +1 -1
- package/api/auditTrailApi.ts +3 -10
- package/api/catalogApi.ts +5 -26
- package/api/computedTraitsApi.ts +1 -1
- package/api/deletionAndSuppressionApi.ts +6 -27
- package/api/deliveryOverviewApi.ts +13 -55
- package/api/destinationFiltersApi.ts +2 -9
- package/api/destinationsApi.ts +3 -17
- package/api/edgeFunctionsApi.ts +1 -1
- package/api/eventsApi.ts +1 -1
- package/api/functionsApi.ts +6 -27
- package/api/iAMGroupsApi.ts +4 -25
- package/api/iAMRolesApi.ts +2 -9
- package/api/iAMUsersApi.ts +4 -25
- package/api/labelsApi.ts +1 -1
- package/api/monthlyTrackedUsersApi.ts +3 -17
- package/api/profilesSyncApi.ts +2 -9
- package/api/reverseETLApi.ts +2 -9
- package/api/selectiveSyncApi.ts +4 -25
- package/api/sourcesApi.ts +4 -25
- package/api/spacesApi.ts +2 -9
- package/api/testingApi.ts +1 -1
- package/api/trackingPlansApi.ts +5 -26
- package/api/transformationsApi.ts +2 -9
- package/api/warehousesApi.ts +3 -17
- package/api/workspacesApi.ts +1 -1
- package/dist/api/aPICallsApi.d.ts +2 -2
- package/dist/api/aPICallsApi.js +0 -6
- package/dist/api/aPICallsApi.js.map +1 -1
- package/dist/api/apis.js +2 -2
- package/dist/api/auditTrailApi.d.ts +1 -1
- package/dist/api/auditTrailApi.js +1 -4
- package/dist/api/auditTrailApi.js.map +1 -1
- package/dist/api/catalogApi.d.ts +3 -3
- package/dist/api/catalogApi.js +0 -9
- package/dist/api/catalogApi.js.map +1 -1
- package/dist/api/deletionAndSuppressionApi.d.ts +3 -3
- package/dist/api/deletionAndSuppressionApi.js +2 -11
- package/dist/api/deletionAndSuppressionApi.js.map +1 -1
- package/dist/api/deliveryOverviewApi.d.ts +6 -6
- package/dist/api/deliveryOverviewApi.js +6 -24
- package/dist/api/deliveryOverviewApi.js.map +1 -1
- package/dist/api/destinationFiltersApi.d.ts +1 -1
- package/dist/api/destinationFiltersApi.js +0 -3
- package/dist/api/destinationFiltersApi.js.map +1 -1
- package/dist/api/destinationsApi.d.ts +2 -2
- package/dist/api/destinationsApi.js +0 -6
- package/dist/api/destinationsApi.js.map +1 -1
- package/dist/api/functionsApi.d.ts +3 -3
- package/dist/api/functionsApi.js +2 -11
- package/dist/api/functionsApi.js.map +1 -1
- package/dist/api/iAMGroupsApi.d.ts +3 -3
- package/dist/api/iAMGroupsApi.js +0 -9
- package/dist/api/iAMGroupsApi.js.map +1 -1
- package/dist/api/iAMRolesApi.d.ts +1 -1
- package/dist/api/iAMRolesApi.js +0 -3
- package/dist/api/iAMRolesApi.js.map +1 -1
- package/dist/api/iAMUsersApi.d.ts +3 -3
- package/dist/api/iAMUsersApi.js +0 -9
- package/dist/api/iAMUsersApi.js.map +1 -1
- package/dist/api/monthlyTrackedUsersApi.d.ts +2 -2
- package/dist/api/monthlyTrackedUsersApi.js +0 -6
- package/dist/api/monthlyTrackedUsersApi.js.map +1 -1
- package/dist/api/profilesSyncApi.d.ts +1 -1
- package/dist/api/profilesSyncApi.js +0 -3
- package/dist/api/profilesSyncApi.js.map +1 -1
- package/dist/api/reverseETLApi.d.ts +1 -1
- package/dist/api/reverseETLApi.js +0 -3
- package/dist/api/reverseETLApi.js.map +1 -1
- package/dist/api/selectiveSyncApi.d.ts +3 -3
- package/dist/api/selectiveSyncApi.js +0 -9
- package/dist/api/selectiveSyncApi.js.map +1 -1
- package/dist/api/sourcesApi.d.ts +3 -3
- package/dist/api/sourcesApi.js +0 -9
- package/dist/api/sourcesApi.js.map +1 -1
- package/dist/api/spacesApi.d.ts +1 -1
- package/dist/api/spacesApi.js +0 -3
- package/dist/api/spacesApi.js.map +1 -1
- package/dist/api/trackingPlansApi.d.ts +3 -3
- package/dist/api/trackingPlansApi.js +1 -10
- package/dist/api/trackingPlansApi.js.map +1 -1
- package/dist/api/transformationsApi.d.ts +1 -1
- package/dist/api/transformationsApi.js +0 -3
- package/dist/api/transformationsApi.js.map +1 -1
- package/dist/api/warehousesApi.d.ts +2 -2
- package/dist/api/warehousesApi.js +0 -6
- package/dist/api/warehousesApi.js.map +1 -1
- package/dist/model/listTransformationsBetaInput.d.ts +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/deliveryOverviewDestinationFilterBy.ts +1 -1
- package/model/deliveryOverviewMetricsDatapoint.ts +1 -1
- package/model/deliveryOverviewMetricsDataset.ts +1 -1
- package/model/deliveryOverviewSourceFilterBy.ts +1 -1
- package/model/deliveryOverviewSuccessfullyReceivedFilterBy.ts +1 -1
- 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/getDeliveryOverviewMetricsBetaOutput.ts +1 -1
- 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 +1 -1
- 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/getReverseETLSyncStatus200Response.ts +1 -1
- package/model/getReverseETLSyncStatusOutput.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 +2 -2
- 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/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/README.md
CHANGED
|
@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
|
|
|
10
10
|
|
|
11
11
|
See the next sections for more information on how to use the Segment Public API TypeScript SDK.
|
|
12
12
|
|
|
13
|
-
Latest API and SDK version:
|
|
13
|
+
Latest API and SDK version: 50.0.0
|
|
14
14
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
package/api/aPICallsApi.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: 50.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).
|
|
@@ -115,7 +115,7 @@ export class APICallsApi {
|
|
|
115
115
|
*/
|
|
116
116
|
public async getDailyPerSourceAPICallsUsage(
|
|
117
117
|
period: string,
|
|
118
|
-
pagination
|
|
118
|
+
pagination?: PaginationInput,
|
|
119
119
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
120
120
|
): Promise<{
|
|
121
121
|
response: http.IncomingMessage;
|
|
@@ -148,13 +148,6 @@ export class APICallsApi {
|
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
152
|
-
if (pagination === null || pagination === undefined) {
|
|
153
|
-
throw new Error(
|
|
154
|
-
'Required parameter pagination was null or undefined when calling getDailyPerSourceAPICallsUsage.'
|
|
155
|
-
);
|
|
156
|
-
}
|
|
157
|
-
|
|
158
151
|
if (period !== undefined) {
|
|
159
152
|
localVarQueryParameters['period'] = ObjectSerializer.serialize(
|
|
160
153
|
period,
|
|
@@ -252,7 +245,7 @@ export class APICallsApi {
|
|
|
252
245
|
*/
|
|
253
246
|
public async getDailyWorkspaceAPICallsUsage(
|
|
254
247
|
period: string,
|
|
255
|
-
pagination
|
|
248
|
+
pagination?: PaginationInput,
|
|
256
249
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
257
250
|
): Promise<{
|
|
258
251
|
response: http.IncomingMessage;
|
|
@@ -285,13 +278,6 @@ export class APICallsApi {
|
|
|
285
278
|
);
|
|
286
279
|
}
|
|
287
280
|
|
|
288
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
289
|
-
if (pagination === null || pagination === undefined) {
|
|
290
|
-
throw new Error(
|
|
291
|
-
'Required parameter pagination was null or undefined when calling getDailyWorkspaceAPICallsUsage.'
|
|
292
|
-
);
|
|
293
|
-
}
|
|
294
|
-
|
|
295
281
|
if (period !== undefined) {
|
|
296
282
|
localVarQueryParameters['period'] = ObjectSerializer.serialize(
|
|
297
283
|
period,
|
package/api/apis.ts
CHANGED
|
@@ -159,7 +159,7 @@ export function configureApis(
|
|
|
159
159
|
|
|
160
160
|
for (const k of Object.keys(apis)) {
|
|
161
161
|
const key = k as keyof typeof apis;
|
|
162
|
-
headers['User-Agent'] = 'Public API SDK
|
|
162
|
+
headers['User-Agent'] = 'Public API SDK 50.0.0 (TypeScript)';
|
|
163
163
|
apis[key].accessToken = token;
|
|
164
164
|
apis[key].defaultHeaders = headers;
|
|
165
165
|
}
|
|
@@ -206,7 +206,7 @@ export function configureEuApis(
|
|
|
206
206
|
|
|
207
207
|
for (const k of Object.keys(apis)) {
|
|
208
208
|
const key = k as keyof typeof apis;
|
|
209
|
-
headers['User-Agent'] = 'Public API SDK
|
|
209
|
+
headers['User-Agent'] = 'Public API SDK 50.0.0 (TypeScript)';
|
|
210
210
|
apis[key].accessToken = token;
|
|
211
211
|
apis[key].defaultHeaders = headers;
|
|
212
212
|
}
|
package/api/audiencesApi.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: 50.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/auditTrailApi.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: 50.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).
|
|
@@ -109,18 +109,18 @@ export class AuditTrailApi {
|
|
|
109
109
|
/**
|
|
110
110
|
* Returns a list of Audit Trail events.
|
|
111
111
|
* @summary List Audit Events
|
|
112
|
-
* @param pagination Defines the pagination parameters. This parameter exists in v1.
|
|
113
112
|
* @param startTime Filter response to events that happened after this time. This parameter exists in v1.
|
|
114
113
|
* @param endTime Filter response to events that happened before this time. Defaults to the current time, or the end time from the pagination cursor. This parameter exists in v1.
|
|
115
114
|
* @param resourceId Filter response to events that affect a specific resource, for example, a single Source. This parameter exists in v1.
|
|
116
115
|
* @param resourceType Filter response to events that affect a specific type, for example, Sources, Warehouses, and Tracking Plans. This parameter exists in v1.
|
|
116
|
+
* @param pagination Defines the pagination parameters. This parameter exists in v1.
|
|
117
117
|
*/
|
|
118
118
|
public async listAuditEvents(
|
|
119
|
-
pagination: PaginationInput,
|
|
120
119
|
startTime?: string,
|
|
121
120
|
endTime?: string,
|
|
122
121
|
resourceId?: string,
|
|
123
122
|
resourceType?: string,
|
|
123
|
+
pagination?: PaginationInput,
|
|
124
124
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
125
125
|
): Promise<{
|
|
126
126
|
response: http.IncomingMessage;
|
|
@@ -146,13 +146,6 @@ export class AuditTrailApi {
|
|
|
146
146
|
}
|
|
147
147
|
let localVarFormParams: any = {};
|
|
148
148
|
|
|
149
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
150
|
-
if (pagination === null || pagination === undefined) {
|
|
151
|
-
throw new Error(
|
|
152
|
-
'Required parameter pagination was null or undefined when calling listAuditEvents.'
|
|
153
|
-
);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
149
|
if (startTime !== undefined) {
|
|
157
150
|
localVarQueryParameters['startTime'] = ObjectSerializer.serialize(
|
|
158
151
|
startTime,
|
package/api/catalogApi.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: 50.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).
|
|
@@ -239,7 +239,7 @@ export class CatalogApi {
|
|
|
239
239
|
* @param pagination Required pagination parameters used to filter the Destinations catalog. This parameter exists in v1.
|
|
240
240
|
*/
|
|
241
241
|
public async getDestinationsCatalog(
|
|
242
|
-
pagination
|
|
242
|
+
pagination?: PaginationInput,
|
|
243
243
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
244
244
|
): Promise<{
|
|
245
245
|
response: http.IncomingMessage;
|
|
@@ -265,13 +265,6 @@ export class CatalogApi {
|
|
|
265
265
|
}
|
|
266
266
|
let localVarFormParams: any = {};
|
|
267
267
|
|
|
268
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
269
|
-
if (pagination === null || pagination === undefined) {
|
|
270
|
-
throw new Error(
|
|
271
|
-
'Required parameter pagination was null or undefined when calling getDestinationsCatalog.'
|
|
272
|
-
);
|
|
273
|
-
}
|
|
274
|
-
|
|
275
268
|
if (pagination !== undefined) {
|
|
276
269
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
277
270
|
pagination,
|
|
@@ -479,7 +472,7 @@ export class CatalogApi {
|
|
|
479
472
|
* @param pagination Defines the pagination parameters. This parameter exists in v1.
|
|
480
473
|
*/
|
|
481
474
|
public async getSourcesCatalog(
|
|
482
|
-
pagination
|
|
475
|
+
pagination?: PaginationInput,
|
|
483
476
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
484
477
|
): Promise<{
|
|
485
478
|
response: http.IncomingMessage;
|
|
@@ -505,13 +498,6 @@ export class CatalogApi {
|
|
|
505
498
|
}
|
|
506
499
|
let localVarFormParams: any = {};
|
|
507
500
|
|
|
508
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
509
|
-
if (pagination === null || pagination === undefined) {
|
|
510
|
-
throw new Error(
|
|
511
|
-
'Required parameter pagination was null or undefined when calling getSourcesCatalog.'
|
|
512
|
-
);
|
|
513
|
-
}
|
|
514
|
-
|
|
515
501
|
if (pagination !== undefined) {
|
|
516
502
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
517
503
|
pagination,
|
|
@@ -716,10 +702,10 @@ export class CatalogApi {
|
|
|
716
702
|
/**
|
|
717
703
|
* Returns a list of all available Warehouses in the Segment catalog.
|
|
718
704
|
* @summary Get Warehouses Catalog
|
|
719
|
-
* @param pagination
|
|
705
|
+
* @param pagination Optional pagination params used to filter the Warehouses catalog. This parameter exists in v1.
|
|
720
706
|
*/
|
|
721
707
|
public async getWarehousesCatalog(
|
|
722
|
-
pagination
|
|
708
|
+
pagination?: PaginationInput,
|
|
723
709
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
724
710
|
): Promise<{
|
|
725
711
|
response: http.IncomingMessage;
|
|
@@ -745,13 +731,6 @@ export class CatalogApi {
|
|
|
745
731
|
}
|
|
746
732
|
let localVarFormParams: any = {};
|
|
747
733
|
|
|
748
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
749
|
-
if (pagination === null || pagination === undefined) {
|
|
750
|
-
throw new Error(
|
|
751
|
-
'Required parameter pagination was null or undefined when calling getWarehousesCatalog.'
|
|
752
|
-
);
|
|
753
|
-
}
|
|
754
|
-
|
|
755
734
|
if (pagination !== undefined) {
|
|
756
735
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
757
736
|
pagination,
|
package/api/computedTraitsApi.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: 50.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).
|
|
@@ -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: 50.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).
|
|
@@ -751,13 +751,12 @@ export class DeletionAndSuppressionApi {
|
|
|
751
751
|
* Lists all Source-scoped regulations.
|
|
752
752
|
* @summary List Regulations from Source
|
|
753
753
|
* @param sourceId
|
|
754
|
-
* @param pagination Pagination parameters. This parameter exists in v1.
|
|
755
754
|
* @param status The status on which to filter returned regulations. This parameter exists in v1.
|
|
756
755
|
* @param regulationTypes The regulation types on which to filter returned regulations. This parameter exists in v1.
|
|
756
|
+
* @param pagination Pagination parameters. This parameter exists in v1.
|
|
757
757
|
*/
|
|
758
758
|
public async listRegulationsFromSource(
|
|
759
759
|
sourceId: string,
|
|
760
|
-
pagination: PaginationInput,
|
|
761
760
|
status?:
|
|
762
761
|
| 'FAILED'
|
|
763
762
|
| 'FINISHED'
|
|
@@ -774,6 +773,7 @@ export class DeletionAndSuppressionApi {
|
|
|
774
773
|
| 'SUPPRESS_WITH_DELETE_INTERNAL'
|
|
775
774
|
| 'UNSUPPRESS'
|
|
776
775
|
>,
|
|
776
|
+
pagination?: PaginationInput,
|
|
777
777
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
778
778
|
): Promise<{
|
|
779
779
|
response: http.IncomingMessage;
|
|
@@ -811,13 +811,6 @@ export class DeletionAndSuppressionApi {
|
|
|
811
811
|
);
|
|
812
812
|
}
|
|
813
813
|
|
|
814
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
815
|
-
if (pagination === null || pagination === undefined) {
|
|
816
|
-
throw new Error(
|
|
817
|
-
'Required parameter pagination was null or undefined when calling listRegulationsFromSource.'
|
|
818
|
-
);
|
|
819
|
-
}
|
|
820
|
-
|
|
821
814
|
if (status !== undefined) {
|
|
822
815
|
localVarQueryParameters['status'] = ObjectSerializer.serialize(
|
|
823
816
|
status,
|
|
@@ -921,7 +914,7 @@ export class DeletionAndSuppressionApi {
|
|
|
921
914
|
* @param pagination Pagination parameters. This parameter exists in v1.
|
|
922
915
|
*/
|
|
923
916
|
public async listSuppressions(
|
|
924
|
-
pagination
|
|
917
|
+
pagination?: PaginationInput,
|
|
925
918
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
926
919
|
): Promise<{
|
|
927
920
|
response: http.IncomingMessage;
|
|
@@ -947,13 +940,6 @@ export class DeletionAndSuppressionApi {
|
|
|
947
940
|
}
|
|
948
941
|
let localVarFormParams: any = {};
|
|
949
942
|
|
|
950
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
951
|
-
if (pagination === null || pagination === undefined) {
|
|
952
|
-
throw new Error(
|
|
953
|
-
'Required parameter pagination was null or undefined when calling listSuppressions.'
|
|
954
|
-
);
|
|
955
|
-
}
|
|
956
|
-
|
|
957
943
|
if (pagination !== undefined) {
|
|
958
944
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
959
945
|
pagination,
|
|
@@ -1039,12 +1025,11 @@ export class DeletionAndSuppressionApi {
|
|
|
1039
1025
|
/**
|
|
1040
1026
|
* Lists all Workspace-scoped regulations.
|
|
1041
1027
|
* @summary List Workspace Regulations
|
|
1042
|
-
* @param pagination Pagination parameters. This parameter exists in v1.
|
|
1043
1028
|
* @param status The status on which to filter the returned regulations. This parameter exists in v1.
|
|
1044
1029
|
* @param regulationTypes The regulation types on which to filter returned regulations. This parameter exists in v1.
|
|
1030
|
+
* @param pagination Pagination parameters. This parameter exists in v1.
|
|
1045
1031
|
*/
|
|
1046
1032
|
public async listWorkspaceRegulations(
|
|
1047
|
-
pagination: PaginationInput,
|
|
1048
1033
|
status?:
|
|
1049
1034
|
| 'FAILED'
|
|
1050
1035
|
| 'FINISHED'
|
|
@@ -1061,6 +1046,7 @@ export class DeletionAndSuppressionApi {
|
|
|
1061
1046
|
| 'SUPPRESS_WITH_DELETE_INTERNAL'
|
|
1062
1047
|
| 'UNSUPPRESS'
|
|
1063
1048
|
>,
|
|
1049
|
+
pagination?: PaginationInput,
|
|
1064
1050
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
1065
1051
|
): Promise<{
|
|
1066
1052
|
response: http.IncomingMessage;
|
|
@@ -1086,13 +1072,6 @@ export class DeletionAndSuppressionApi {
|
|
|
1086
1072
|
}
|
|
1087
1073
|
let localVarFormParams: any = {};
|
|
1088
1074
|
|
|
1089
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
1090
|
-
if (pagination === null || pagination === undefined) {
|
|
1091
|
-
throw new Error(
|
|
1092
|
-
'Required parameter pagination was null or undefined when calling listWorkspaceRegulations.'
|
|
1093
|
-
);
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
1075
|
if (status !== undefined) {
|
|
1097
1076
|
localVarQueryParameters['status'] = ObjectSerializer.serialize(
|
|
1098
1077
|
status,
|
|
@@ -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: 50.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).
|
|
@@ -118,9 +118,9 @@ export class DeliveryOverviewApi {
|
|
|
118
118
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
119
119
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
120
120
|
* @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.
|
|
121
|
-
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
122
121
|
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, `appVersion`, and `subscriptionId`. This parameter exists in beta.
|
|
123
122
|
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, `appVersion`, and/or `subscriptionId` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
123
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
124
124
|
*/
|
|
125
125
|
public async getEgressFailedMetricsFromDeliveryOverview(
|
|
126
126
|
sourceId: string,
|
|
@@ -128,9 +128,9 @@ export class DeliveryOverviewApi {
|
|
|
128
128
|
startTime: string,
|
|
129
129
|
endTime: string,
|
|
130
130
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
131
|
-
pagination: PaginationInput,
|
|
132
131
|
groupBy?: Array<string>,
|
|
133
132
|
filter?: DeliveryOverviewDestinationFilterBy,
|
|
133
|
+
pagination?: PaginationInput,
|
|
134
134
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
135
135
|
): Promise<{
|
|
136
136
|
response: http.IncomingMessage;
|
|
@@ -190,13 +190,6 @@ export class DeliveryOverviewApi {
|
|
|
190
190
|
);
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
194
|
-
if (pagination === null || pagination === undefined) {
|
|
195
|
-
throw new Error(
|
|
196
|
-
'Required parameter pagination was null or undefined when calling getEgressFailedMetricsFromDeliveryOverview.'
|
|
197
|
-
);
|
|
198
|
-
}
|
|
199
|
-
|
|
200
193
|
if (sourceId !== undefined) {
|
|
201
194
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
202
195
|
sourceId,
|
|
@@ -334,9 +327,9 @@ export class DeliveryOverviewApi {
|
|
|
334
327
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
335
328
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
336
329
|
* @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.
|
|
337
|
-
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
338
330
|
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, `appVersion`, and `subscriptionId`. This parameter exists in beta.
|
|
339
331
|
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, `appVersion`, and/or `subscriptionId` 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.
|
|
332
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
340
333
|
*/
|
|
341
334
|
public async getEgressSuccessMetricsFromDeliveryOverview(
|
|
342
335
|
sourceId: string,
|
|
@@ -344,9 +337,9 @@ export class DeliveryOverviewApi {
|
|
|
344
337
|
startTime: string,
|
|
345
338
|
endTime: string,
|
|
346
339
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
347
|
-
pagination: PaginationInput,
|
|
348
340
|
groupBy?: Array<string>,
|
|
349
341
|
filter?: DeliveryOverviewDestinationFilterBy,
|
|
342
|
+
pagination?: PaginationInput,
|
|
350
343
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
351
344
|
): Promise<{
|
|
352
345
|
response: http.IncomingMessage;
|
|
@@ -406,13 +399,6 @@ export class DeliveryOverviewApi {
|
|
|
406
399
|
);
|
|
407
400
|
}
|
|
408
401
|
|
|
409
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
410
|
-
if (pagination === null || pagination === undefined) {
|
|
411
|
-
throw new Error(
|
|
412
|
-
'Required parameter pagination was null or undefined when calling getEgressSuccessMetricsFromDeliveryOverview.'
|
|
413
|
-
);
|
|
414
|
-
}
|
|
415
|
-
|
|
416
402
|
if (sourceId !== undefined) {
|
|
417
403
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
418
404
|
sourceId,
|
|
@@ -550,9 +536,9 @@ export class DeliveryOverviewApi {
|
|
|
550
536
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
551
537
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
552
538
|
* @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.
|
|
553
|
-
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
554
539
|
* @param groupBy A comma-delimited list of strings representing one or more dimensions to group the result by. Valid options are: `eventName`, `eventType`, `discardReason`, `appVersion`, and `subscriptionId`. This parameter exists in beta.
|
|
555
540
|
* @param filter An optional filter for `eventName`, `eventType`, `discardReason`, `appVersion`, and/or `subscriptionId` that can be applied in addition to a `groupBy`. This parameter exists in beta.
|
|
541
|
+
* @param pagination Params to specify the page cursor and count. This parameter exists in beta.
|
|
556
542
|
* @param subscriptionId An optional filter for actions destinations, to filter by a specific action. This parameter exists in beta.
|
|
557
543
|
*/
|
|
558
544
|
public async getFilteredAtDestinationMetricsFromDeliveryOverview(
|
|
@@ -561,9 +547,9 @@ export class DeliveryOverviewApi {
|
|
|
561
547
|
startTime: string,
|
|
562
548
|
endTime: string,
|
|
563
549
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
564
|
-
pagination: PaginationInput,
|
|
565
550
|
groupBy?: Array<string>,
|
|
566
551
|
filter?: DeliveryOverviewDestinationFilterBy,
|
|
552
|
+
pagination?: PaginationInput,
|
|
567
553
|
subscriptionId?: string,
|
|
568
554
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
569
555
|
): Promise<{
|
|
@@ -624,13 +610,6 @@ export class DeliveryOverviewApi {
|
|
|
624
610
|
);
|
|
625
611
|
}
|
|
626
612
|
|
|
627
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
628
|
-
if (pagination === null || pagination === undefined) {
|
|
629
|
-
throw new Error(
|
|
630
|
-
'Required parameter pagination was null or undefined when calling getFilteredAtDestinationMetricsFromDeliveryOverview.'
|
|
631
|
-
);
|
|
632
|
-
}
|
|
633
|
-
|
|
634
613
|
if (sourceId !== undefined) {
|
|
635
614
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
636
615
|
sourceId,
|
|
@@ -772,18 +751,18 @@ export class DeliveryOverviewApi {
|
|
|
772
751
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
773
752
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
774
753
|
* @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.
|
|
775
|
-
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
776
754
|
* @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.
|
|
777
755
|
* @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.
|
|
756
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
778
757
|
*/
|
|
779
758
|
public async getFilteredAtSourceMetricsFromDeliveryOverview(
|
|
780
759
|
sourceId: string,
|
|
781
760
|
startTime: string,
|
|
782
761
|
endTime: string,
|
|
783
762
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
784
|
-
pagination: PaginationInput,
|
|
785
763
|
groupBy?: Array<string>,
|
|
786
764
|
filter?: DeliveryOverviewSourceFilterBy,
|
|
765
|
+
pagination?: PaginationInput,
|
|
787
766
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
788
767
|
): Promise<{
|
|
789
768
|
response: http.IncomingMessage;
|
|
@@ -836,13 +815,6 @@ export class DeliveryOverviewApi {
|
|
|
836
815
|
);
|
|
837
816
|
}
|
|
838
817
|
|
|
839
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
840
|
-
if (pagination === null || pagination === undefined) {
|
|
841
|
-
throw new Error(
|
|
842
|
-
'Required parameter pagination was null or undefined when calling getFilteredAtSourceMetricsFromDeliveryOverview.'
|
|
843
|
-
);
|
|
844
|
-
}
|
|
845
|
-
|
|
846
818
|
if (sourceId !== undefined) {
|
|
847
819
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
848
820
|
sourceId,
|
|
@@ -974,18 +946,18 @@ export class DeliveryOverviewApi {
|
|
|
974
946
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
975
947
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
976
948
|
* @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.
|
|
977
|
-
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
978
949
|
* @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.
|
|
979
950
|
* @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.
|
|
951
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
980
952
|
*/
|
|
981
953
|
public async getIngressFailedMetricsFromDeliveryOverview(
|
|
982
954
|
sourceId: string,
|
|
983
955
|
startTime: string,
|
|
984
956
|
endTime: string,
|
|
985
957
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
986
|
-
pagination: PaginationInput,
|
|
987
958
|
groupBy?: Array<string>,
|
|
988
959
|
filter?: DeliveryOverviewSourceFilterBy,
|
|
960
|
+
pagination?: PaginationInput,
|
|
989
961
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
990
962
|
): Promise<{
|
|
991
963
|
response: http.IncomingMessage;
|
|
@@ -1038,13 +1010,6 @@ export class DeliveryOverviewApi {
|
|
|
1038
1010
|
);
|
|
1039
1011
|
}
|
|
1040
1012
|
|
|
1041
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
1042
|
-
if (pagination === null || pagination === undefined) {
|
|
1043
|
-
throw new Error(
|
|
1044
|
-
'Required parameter pagination was null or undefined when calling getIngressFailedMetricsFromDeliveryOverview.'
|
|
1045
|
-
);
|
|
1046
|
-
}
|
|
1047
|
-
|
|
1048
1013
|
if (sourceId !== undefined) {
|
|
1049
1014
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
1050
1015
|
sourceId,
|
|
@@ -1176,18 +1141,18 @@ export class DeliveryOverviewApi {
|
|
|
1176
1141
|
* @param startTime The ISO8601 formatted timestamp corresponding to the beginning of the requested timeframe, inclusive. This parameter exists in beta.
|
|
1177
1142
|
* @param endTime The ISO8601 formatted timestamp corresponding to the end of the requested timeframe, noninclusive. This parameter exists in beta.
|
|
1178
1143
|
* @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.
|
|
1179
|
-
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
1180
1144
|
* @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.
|
|
1181
1145
|
* @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.
|
|
1146
|
+
* @param pagination Optional params to specify the page cursor and count. This parameter exists in beta.
|
|
1182
1147
|
*/
|
|
1183
1148
|
public async getIngressSuccessMetricsFromDeliveryOverview(
|
|
1184
1149
|
sourceId: string,
|
|
1185
1150
|
startTime: string,
|
|
1186
1151
|
endTime: string,
|
|
1187
1152
|
granularity: 'DAY' | 'HOUR' | 'MINUTE',
|
|
1188
|
-
pagination: PaginationInput,
|
|
1189
1153
|
groupBy?: Array<string>,
|
|
1190
1154
|
filter?: DeliveryOverviewSuccessfullyReceivedFilterBy,
|
|
1155
|
+
pagination?: PaginationInput,
|
|
1191
1156
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
1192
1157
|
): Promise<{
|
|
1193
1158
|
response: http.IncomingMessage;
|
|
@@ -1240,13 +1205,6 @@ export class DeliveryOverviewApi {
|
|
|
1240
1205
|
);
|
|
1241
1206
|
}
|
|
1242
1207
|
|
|
1243
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
1244
|
-
if (pagination === null || pagination === undefined) {
|
|
1245
|
-
throw new Error(
|
|
1246
|
-
'Required parameter pagination was null or undefined when calling getIngressSuccessMetricsFromDeliveryOverview.'
|
|
1247
|
-
);
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
1208
|
if (sourceId !== undefined) {
|
|
1251
1209
|
localVarQueryParameters['sourceId'] = ObjectSerializer.serialize(
|
|
1252
1210
|
sourceId,
|
|
@@ -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: 50.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).
|
|
@@ -392,7 +392,7 @@ export class DestinationFiltersApi {
|
|
|
392
392
|
*/
|
|
393
393
|
public async listFiltersFromDestination(
|
|
394
394
|
destinationId: string,
|
|
395
|
-
pagination
|
|
395
|
+
pagination?: PaginationInput,
|
|
396
396
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
397
397
|
): Promise<{
|
|
398
398
|
response: http.IncomingMessage;
|
|
@@ -430,13 +430,6 @@ export class DestinationFiltersApi {
|
|
|
430
430
|
);
|
|
431
431
|
}
|
|
432
432
|
|
|
433
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
434
|
-
if (pagination === null || pagination === undefined) {
|
|
435
|
-
throw new Error(
|
|
436
|
-
'Required parameter pagination was null or undefined when calling listFiltersFromDestination.'
|
|
437
|
-
);
|
|
438
|
-
}
|
|
439
|
-
|
|
440
433
|
if (pagination !== undefined) {
|
|
441
434
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
442
435
|
pagination,
|
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: 50.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).
|
|
@@ -908,7 +908,7 @@ export class DestinationsApi {
|
|
|
908
908
|
* @param pagination Required pagination params for the request. This parameter exists in v1.
|
|
909
909
|
*/
|
|
910
910
|
public async listDestinations(
|
|
911
|
-
pagination
|
|
911
|
+
pagination?: PaginationInput,
|
|
912
912
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
913
913
|
): Promise<{
|
|
914
914
|
response: http.IncomingMessage;
|
|
@@ -934,13 +934,6 @@ export class DestinationsApi {
|
|
|
934
934
|
}
|
|
935
935
|
let localVarFormParams: any = {};
|
|
936
936
|
|
|
937
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
938
|
-
if (pagination === null || pagination === undefined) {
|
|
939
|
-
throw new Error(
|
|
940
|
-
'Required parameter pagination was null or undefined when calling listDestinations.'
|
|
941
|
-
);
|
|
942
|
-
}
|
|
943
|
-
|
|
944
937
|
if (pagination !== undefined) {
|
|
945
938
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
946
939
|
pagination,
|
|
@@ -1031,7 +1024,7 @@ export class DestinationsApi {
|
|
|
1031
1024
|
*/
|
|
1032
1025
|
public async listSubscriptionsFromDestination(
|
|
1033
1026
|
destinationId: string,
|
|
1034
|
-
pagination
|
|
1027
|
+
pagination?: PaginationInput,
|
|
1035
1028
|
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
1036
1029
|
): Promise<{
|
|
1037
1030
|
response: http.IncomingMessage;
|
|
@@ -1067,13 +1060,6 @@ export class DestinationsApi {
|
|
|
1067
1060
|
);
|
|
1068
1061
|
}
|
|
1069
1062
|
|
|
1070
|
-
// verify required parameter 'pagination' is not null or undefined
|
|
1071
|
-
if (pagination === null || pagination === undefined) {
|
|
1072
|
-
throw new Error(
|
|
1073
|
-
'Required parameter pagination was null or undefined when calling listSubscriptionsFromDestination.'
|
|
1074
|
-
);
|
|
1075
|
-
}
|
|
1076
|
-
|
|
1077
1063
|
if (pagination !== undefined) {
|
|
1078
1064
|
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
1079
1065
|
pagination,
|
package/api/edgeFunctionsApi.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: 50.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).
|