@segment/public-api-sdk-typescript 58.6.0-b11709 → 58.7.0-b11724
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 +204 -75
- package/api/auditTrailApi.ts +1 -1
- package/api/catalogApi.ts +1 -1
- package/api/computedTraitsApi.ts +1 -1
- package/api/customerInsightsApi.ts +1 -1
- package/api/dbtApi.ts +1 -1
- package/api/deletionAndSuppressionApi.ts +1 -1
- package/api/deliveryOverviewApi.ts +1 -1
- 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/spaceFiltersApi.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/audiencesApi.d.ts +17 -8
- package/dist/api/audiencesApi.js +135 -46
- package/dist/api/audiencesApi.js.map +1 -1
- package/dist/model/audiencePreview.d.ts +36 -0
- package/dist/model/audiencePreview.js +70 -0
- package/dist/model/audiencePreview.js.map +1 -0
- package/dist/model/{previewAudienceOutput.d.ts → audiencePreviewIdentifier.d.ts} +2 -3
- package/dist/model/audiencePreviewIdentifier.js +21 -0
- package/dist/model/audiencePreviewIdentifier.js.map +1 -0
- package/dist/model/{preview.d.ts → audiencePreviewResult.d.ts} +1 -1
- package/dist/model/audiencePreviewResult.js +21 -0
- package/dist/model/audiencePreviewResult.js.map +1 -0
- package/dist/model/audienceSize.d.ts +21 -0
- package/dist/model/audienceSize.js +34 -0
- package/dist/model/audienceSize.js.map +1 -0
- package/dist/model/createAudiencePreview200Response.d.ts +15 -0
- package/dist/model/createAudiencePreview200Response.js +21 -0
- package/dist/model/createAudiencePreview200Response.js.map +1 -0
- package/dist/model/{previewAudienceInput.d.ts → createAudiencePreviewAlphaInput.d.ts} +5 -5
- package/dist/model/createAudiencePreviewAlphaInput.js +39 -0
- package/dist/model/createAudiencePreviewAlphaInput.js.map +1 -0
- package/dist/model/createAudiencePreviewAlphaOutput.d.ts +15 -0
- package/dist/model/createAudiencePreviewAlphaOutput.js +21 -0
- package/dist/model/createAudiencePreviewAlphaOutput.js.map +1 -0
- package/dist/model/{previewAudience200Response.d.ts → createAudiencePreviewOptions.d.ts} +3 -3
- package/dist/model/createAudiencePreviewOptions.js +26 -0
- package/dist/model/createAudiencePreviewOptions.js.map +1 -0
- package/dist/model/getAudiencePreview200Response.d.ts +15 -0
- package/dist/model/getAudiencePreview200Response.js +21 -0
- package/dist/model/getAudiencePreview200Response.js.map +1 -0
- package/dist/model/getAudiencePreviewAlphaOutput.d.ts +15 -0
- package/dist/model/getAudiencePreviewAlphaOutput.js +21 -0
- package/dist/model/getAudiencePreviewAlphaOutput.js.map +1 -0
- package/dist/model/models.d.ts +11 -4
- package/dist/model/models.js +37 -13
- package/dist/model/models.js.map +1 -1
- package/dist/model/readAudiencePreviewOptions.d.ts +16 -0
- package/dist/model/readAudiencePreviewOptions.js +31 -0
- package/dist/model/readAudiencePreviewOptions.js.map +1 -0
- 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/audienceComputeCadence.ts +1 -1
- package/model/audienceDefinition.ts +1 -1
- package/model/audienceDefinitionWithoutType.ts +1 -1
- package/model/audienceOptions.ts +1 -1
- package/model/audienceOptionsWithLookback.ts +1 -1
- package/model/audiencePreview.ts +111 -0
- package/model/{preview.ts → audiencePreviewIdentifier.ts} +7 -4
- package/model/{previewAudienceOutput.ts → audiencePreviewResult.ts} +13 -8
- package/model/audienceSize.ts +54 -0
- package/model/audienceSummary.ts +1 -1
- package/model/audienceSummaryWithAudienceTypeAndLookback.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/cancelReverseETLSyncForModel200Response.ts +1 -1
- package/model/cancelReverseETLSyncForModelInput.ts +1 -1
- package/model/cancelReverseETLSyncForModelOutput.ts +1 -1
- package/model/commonSourceSettingsV1.ts +1 -1
- package/model/computedTraitSummary.ts +1 -1
- package/model/computedTraitsDefinition.ts +1 -1
- package/model/config.ts +1 -1
- package/model/contact.ts +1 -1
- package/model/createAudience200Response.ts +1 -1
- package/model/createAudienceAlphaInput.ts +1 -1
- package/model/createAudienceAlphaOutput.ts +1 -1
- package/model/createAudiencePreview200Response.ts +36 -0
- package/model/{previewAudienceInput.ts → createAudiencePreviewAlphaInput.ts} +10 -10
- package/model/createAudiencePreviewAlphaOutput.ts +39 -0
- package/model/createAudiencePreviewOptions.ts +50 -0
- package/model/createCloudSourceRegulation200Response.ts +1 -1
- package/model/createCloudSourceRegulationV1Input.ts +1 -1
- package/model/createCloudSourceRegulationV1Output.ts +1 -1
- package/model/createComputedTrait200Response.ts +1 -1
- package/model/createComputedTraitAlphaInput.ts +1 -1
- package/model/createComputedTraitAlphaOutput.ts +1 -1
- package/model/createDbtModelSyncTrigger200Response.ts +1 -1
- package/model/createDbtModelSyncTriggerInput.ts +1 -1
- package/model/createDbtModelSyncTriggerOutput.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/createDownload200Response.ts +1 -1
- package/model/createDownloadAlphaInput.ts +1 -1
- package/model/createDownloadAlphaOutput.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/createFilterForSpace200Response.ts +1 -1
- package/model/createFilterForSpaceInput.ts +1 -1
- package/model/createFilterForSpaceOutput.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/dbtModelSyncTrigger.ts +1 -1
- package/model/deleteDestination200Response.ts +1 -1
- package/model/deleteDestinationV1Output.ts +1 -1
- package/model/deleteFilterById200Response.ts +1 -1
- package/model/deleteFilterByIdOutput.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/download.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/filter.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/getAudience200Response1.ts +1 -1
- package/model/getAudienceAlphaOutput.ts +1 -1
- package/model/getAudienceBetaOutput.ts +1 -1
- package/model/{previewAudience200Response.ts → getAudiencePreview200Response.ts} +6 -6
- package/model/getAudiencePreviewAlphaOutput.ts +39 -0
- 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/getFilterById200Response.ts +1 -1
- package/model/getFilterByIdOutput.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/listAudienceConsumersFromSpaceAndAudience200Response.ts +1 -1
- package/model/listAudienceConsumersFromSpaceAndAudienceAlphaOutput.ts +1 -1
- package/model/listAudienceConsumersSearchInput.ts +1 -1
- package/model/listAudienceConsumersSortInput.ts +1 -1
- package/model/listAudiences200Response.ts +1 -1
- package/model/listAudiences200Response1.ts +1 -1
- package/model/listAudiencesAlphaOutput.ts +1 -1
- package/model/listAudiencesBetaOutput.ts +1 -1
- package/model/listAudiencesPaginationInput.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/listFiltersForSpace200Response.ts +1 -1
- package/model/listFiltersForSpaceOutput.ts +1 -1
- package/model/listFiltersFromDestination200Response.ts +1 -1
- package/model/listFiltersFromDestinationV1Output.ts +1 -1
- package/model/listFiltersPaginationInput.ts +1 -1
- package/model/listFiltersPaginationOutput.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/listReverseETLSyncStatusesFromModelAndSubscriptionId200Response.ts +1 -1
- package/model/listReverseETLSyncStatusesFromModelAndSubscriptionIdOutput.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 +38 -14
- 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/readAudiencePreviewOptions.ts +59 -0
- 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/reverseETLSyncStatus.ts +1 -1
- package/model/reverseEtlCronScheduleConfig.ts +1 -1
- package/model/reverseEtlDbtCloudScheduleConfig.ts +1 -1
- package/model/reverseEtlModel.ts +1 -1
- package/model/reverseEtlPeriodicScheduleConfig.ts +1 -1
- package/model/reverseEtlScheduleConfig.ts +1 -1
- package/model/reverseEtlScheduleDefinition.ts +1 -1
- package/model/reverseEtlSpecificTimeScheduleConfig.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/traitDefinition.ts +1 -1
- package/model/traitOptions.ts +1 -1
- package/model/transformationBeta.ts +1 -1
- package/model/transformationV1.ts +1 -1
- package/model/updateAudienceForSpace200Response.ts +1 -1
- package/model/updateAudienceForSpaceAlphaInput.ts +1 -1
- package/model/updateAudienceForSpaceAlphaOutput.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/updateFilterById200Response.ts +1 -1
- package/model/updateFilterByIdInput.ts +1 -1
- package/model/updateFilterByIdOutput.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/preview.js +0 -21
- package/dist/model/preview.js.map +0 -1
- package/dist/model/previewAudience200Response.js +0 -21
- package/dist/model/previewAudience200Response.js.map +0 -1
- package/dist/model/previewAudienceInput.js +0 -39
- package/dist/model/previewAudienceInput.js.map +0 -1
- package/dist/model/previewAudienceOutput.js +0 -21
- package/dist/model/previewAudienceOutput.js.map +0 -1
package/api/iAMRolesApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/iAMUsersApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/labelsApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/profilesSyncApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/reverseETLApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/selectiveSyncApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/sourcesApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/spaceFiltersApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/spacesApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/testingApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/trackingPlansApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/warehousesApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/workspacesApi.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: 58.
|
5
|
+
* The version of the OpenAPI document: 58.7.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/dist/api/apis.js
CHANGED
@@ -200,7 +200,7 @@ function configureApis(token, headers) {
|
|
200
200
|
for (var _i = 0, _a = Object.keys(apis); _i < _a.length; _i++) {
|
201
201
|
var k = _a[_i];
|
202
202
|
var key = k;
|
203
|
-
headers['User-Agent'] = 'Public API SDK 58.
|
203
|
+
headers['User-Agent'] = 'Public API SDK 58.7.0 (TypeScript)';
|
204
204
|
apis[key].accessToken = token;
|
205
205
|
apis[key].defaultHeaders = headers;
|
206
206
|
}
|
@@ -237,7 +237,7 @@ function configureEuApis(token, headers) {
|
|
237
237
|
for (var _i = 0, _a = Object.keys(apis); _i < _a.length; _i++) {
|
238
238
|
var k = _a[_i];
|
239
239
|
var key = k;
|
240
|
-
headers['User-Agent'] = 'Public API SDK 58.
|
240
|
+
headers['User-Agent'] = 'Public API SDK 58.7.0 (TypeScript)';
|
241
241
|
apis[key].accessToken = token;
|
242
242
|
apis[key].defaultHeaders = headers;
|
243
243
|
}
|
@@ -2,15 +2,16 @@
|
|
2
2
|
import http from 'http';
|
3
3
|
import { CreateAudience200Response } from '../model/createAudience200Response';
|
4
4
|
import { CreateAudienceAlphaInput } from '../model/createAudienceAlphaInput';
|
5
|
+
import { CreateAudiencePreview200Response } from '../model/createAudiencePreview200Response';
|
6
|
+
import { CreateAudiencePreviewAlphaInput } from '../model/createAudiencePreviewAlphaInput';
|
5
7
|
import { GetAudience200Response } from '../model/getAudience200Response';
|
8
|
+
import { GetAudiencePreview200Response } from '../model/getAudiencePreview200Response';
|
6
9
|
import { ListAudienceConsumersFromSpaceAndAudience200Response } from '../model/listAudienceConsumersFromSpaceAndAudience200Response';
|
7
10
|
import { ListAudienceConsumersSearchInput } from '../model/listAudienceConsumersSearchInput';
|
8
11
|
import { ListAudienceConsumersSortInput } from '../model/listAudienceConsumersSortInput';
|
9
12
|
import { ListAudiences200Response } from '../model/listAudiences200Response';
|
10
13
|
import { ListAudiencesPaginationInput } from '../model/listAudiencesPaginationInput';
|
11
14
|
import { PaginationInput } from '../model/paginationInput';
|
12
|
-
import { PreviewAudience200Response } from '../model/previewAudience200Response';
|
13
|
-
import { PreviewAudienceInput } from '../model/previewAudienceInput';
|
14
15
|
import { RemoveAudienceFromSpace200Response } from '../model/removeAudienceFromSpace200Response';
|
15
16
|
import { UpdateAudienceForSpace200Response } from '../model/updateAudienceForSpace200Response';
|
16
17
|
import { UpdateAudienceForSpaceAlphaInput } from '../model/updateAudienceForSpaceAlphaInput';
|
@@ -45,6 +46,14 @@ export declare class AudiencesApi {
|
|
45
46
|
response: http.IncomingMessage;
|
46
47
|
body: CreateAudience200Response;
|
47
48
|
}>;
|
49
|
+
createAudiencePreview(spaceId: string, CreateAudiencePreviewAlphaInput: CreateAudiencePreviewAlphaInput, options?: {
|
50
|
+
headers: {
|
51
|
+
[name: string]: string;
|
52
|
+
};
|
53
|
+
}): Promise<{
|
54
|
+
response: http.IncomingMessage;
|
55
|
+
body: CreateAudiencePreview200Response;
|
56
|
+
}>;
|
48
57
|
getAudience(spaceId: string, id: string, options?: {
|
49
58
|
headers: {
|
50
59
|
[name: string]: string;
|
@@ -53,29 +62,29 @@ export declare class AudiencesApi {
|
|
53
62
|
response: http.IncomingMessage;
|
54
63
|
body: GetAudience200Response;
|
55
64
|
}>;
|
56
|
-
|
65
|
+
getAudiencePreview(spaceId: string, id: string, options?: {
|
57
66
|
headers: {
|
58
67
|
[name: string]: string;
|
59
68
|
};
|
60
69
|
}): Promise<{
|
61
70
|
response: http.IncomingMessage;
|
62
|
-
body:
|
71
|
+
body: GetAudiencePreview200Response;
|
63
72
|
}>;
|
64
|
-
|
73
|
+
listAudienceConsumersFromSpaceAndAudience(spaceId: string, id: string, pagination?: PaginationInput, search?: ListAudienceConsumersSearchInput, sort?: ListAudienceConsumersSortInput, options?: {
|
65
74
|
headers: {
|
66
75
|
[name: string]: string;
|
67
76
|
};
|
68
77
|
}): Promise<{
|
69
78
|
response: http.IncomingMessage;
|
70
|
-
body:
|
79
|
+
body: ListAudienceConsumersFromSpaceAndAudience200Response;
|
71
80
|
}>;
|
72
|
-
|
81
|
+
listAudiences(spaceId: string, pagination?: ListAudiencesPaginationInput, options?: {
|
73
82
|
headers: {
|
74
83
|
[name: string]: string;
|
75
84
|
};
|
76
85
|
}): Promise<{
|
77
86
|
response: http.IncomingMessage;
|
78
|
-
body:
|
87
|
+
body: ListAudiences200Response;
|
79
88
|
}>;
|
80
89
|
removeAudienceFromSpace(spaceId: string, id: string, options?: {
|
81
90
|
headers: {
|
package/dist/api/audiencesApi.js
CHANGED
@@ -201,20 +201,17 @@ var AudiencesApi = (function () {
|
|
201
201
|
});
|
202
202
|
});
|
203
203
|
};
|
204
|
-
AudiencesApi.prototype.
|
204
|
+
AudiencesApi.prototype.createAudiencePreview = function (spaceId, CreateAudiencePreviewAlphaInput, options) {
|
205
205
|
if (options === void 0) { options = { headers: {} }; }
|
206
206
|
return __awaiter(this, void 0, void 0, function () {
|
207
207
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_2, _i, _a, interceptor;
|
208
208
|
var _this = this;
|
209
209
|
return __generator(this, function (_b) {
|
210
210
|
localVarPath = this.basePath +
|
211
|
-
'/spaces/{spaceId}/audiences/{
|
212
|
-
.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)))
|
213
|
-
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
211
|
+
'/spaces/{spaceId}/audiences/previews'.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)));
|
214
212
|
localVarQueryParameters = {};
|
215
213
|
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
216
214
|
produces = [
|
217
|
-
'application/vnd.segment.v1beta+json',
|
218
215
|
'application/vnd.segment.v1alpha+json',
|
219
216
|
'application/json',
|
220
217
|
];
|
@@ -226,20 +223,22 @@ var AudiencesApi = (function () {
|
|
226
223
|
}
|
227
224
|
localVarFormParams = {};
|
228
225
|
if (spaceId === null || spaceId === undefined) {
|
229
|
-
throw new Error('Required parameter spaceId was null or undefined when calling
|
226
|
+
throw new Error('Required parameter spaceId was null or undefined when calling createAudiencePreview.');
|
230
227
|
}
|
231
|
-
if (
|
232
|
-
|
228
|
+
if (CreateAudiencePreviewAlphaInput === null ||
|
229
|
+
CreateAudiencePreviewAlphaInput === undefined) {
|
230
|
+
throw new Error('Required parameter CreateAudiencePreviewAlphaInput was null or undefined when calling createAudiencePreview.');
|
233
231
|
}
|
234
232
|
Object.assign(localVarHeaderParams, options.headers);
|
235
233
|
localVarUseFormData = false;
|
236
234
|
localVarRequestOptions = {
|
237
|
-
method: '
|
235
|
+
method: 'POST',
|
238
236
|
qs: localVarQueryParameters,
|
239
237
|
headers: localVarHeaderParams,
|
240
238
|
uri: localVarPath,
|
241
239
|
useQuerystring: this._useQuerystring,
|
242
240
|
json: true,
|
241
|
+
body: models_1.ObjectSerializer.serialize(CreateAudiencePreviewAlphaInput, 'CreateAudiencePreviewAlphaInput'),
|
243
242
|
};
|
244
243
|
authenticationPromise = Promise.resolve();
|
245
244
|
if (this.authentications.token.accessToken) {
|
@@ -278,7 +277,7 @@ var AudiencesApi = (function () {
|
|
278
277
|
if (response.statusCode &&
|
279
278
|
response.statusCode >= 200 &&
|
280
279
|
response.statusCode <= 299) {
|
281
|
-
body = models_1.ObjectSerializer.deserialize(body, '
|
280
|
+
body = models_1.ObjectSerializer.deserialize(body, 'CreateAudiencePreview200Response');
|
282
281
|
resolve({ response: response, body: body });
|
283
282
|
}
|
284
283
|
else {
|
@@ -291,19 +290,20 @@ var AudiencesApi = (function () {
|
|
291
290
|
});
|
292
291
|
});
|
293
292
|
};
|
294
|
-
AudiencesApi.prototype.
|
293
|
+
AudiencesApi.prototype.getAudience = function (spaceId, id, options) {
|
295
294
|
if (options === void 0) { options = { headers: {} }; }
|
296
295
|
return __awaiter(this, void 0, void 0, function () {
|
297
296
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_3, _i, _a, interceptor;
|
298
297
|
var _this = this;
|
299
298
|
return __generator(this, function (_b) {
|
300
299
|
localVarPath = this.basePath +
|
301
|
-
'/spaces/{spaceId}/audiences/{id}
|
300
|
+
'/spaces/{spaceId}/audiences/{id}'
|
302
301
|
.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)))
|
303
302
|
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
304
303
|
localVarQueryParameters = {};
|
305
304
|
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
306
305
|
produces = [
|
306
|
+
'application/vnd.segment.v1beta+json',
|
307
307
|
'application/vnd.segment.v1alpha+json',
|
308
308
|
'application/json',
|
309
309
|
];
|
@@ -315,19 +315,10 @@ var AudiencesApi = (function () {
|
|
315
315
|
}
|
316
316
|
localVarFormParams = {};
|
317
317
|
if (spaceId === null || spaceId === undefined) {
|
318
|
-
throw new Error('Required parameter spaceId was null or undefined when calling
|
318
|
+
throw new Error('Required parameter spaceId was null or undefined when calling getAudience.');
|
319
319
|
}
|
320
320
|
if (id === null || id === undefined) {
|
321
|
-
throw new Error('Required parameter id was null or undefined when calling
|
322
|
-
}
|
323
|
-
if (pagination !== undefined) {
|
324
|
-
localVarQueryParameters['pagination'] = models_1.ObjectSerializer.serialize(pagination, 'PaginationInput');
|
325
|
-
}
|
326
|
-
if (search !== undefined) {
|
327
|
-
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(search, 'ListAudienceConsumersSearchInput');
|
328
|
-
}
|
329
|
-
if (sort !== undefined) {
|
330
|
-
localVarQueryParameters['sort'] = models_1.ObjectSerializer.serialize(sort, 'ListAudienceConsumersSortInput');
|
321
|
+
throw new Error('Required parameter id was null or undefined when calling getAudience.');
|
331
322
|
}
|
332
323
|
Object.assign(localVarHeaderParams, options.headers);
|
333
324
|
localVarUseFormData = false;
|
@@ -376,7 +367,7 @@ var AudiencesApi = (function () {
|
|
376
367
|
if (response.statusCode &&
|
377
368
|
response.statusCode >= 200 &&
|
378
369
|
response.statusCode <= 299) {
|
379
|
-
body = models_1.ObjectSerializer.deserialize(body, '
|
370
|
+
body = models_1.ObjectSerializer.deserialize(body, 'GetAudience200Response');
|
380
371
|
resolve({ response: response, body: body });
|
381
372
|
}
|
382
373
|
else {
|
@@ -389,18 +380,19 @@ var AudiencesApi = (function () {
|
|
389
380
|
});
|
390
381
|
});
|
391
382
|
};
|
392
|
-
AudiencesApi.prototype.
|
383
|
+
AudiencesApi.prototype.getAudiencePreview = function (spaceId, id, options) {
|
393
384
|
if (options === void 0) { options = { headers: {} }; }
|
394
385
|
return __awaiter(this, void 0, void 0, function () {
|
395
386
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_4, _i, _a, interceptor;
|
396
387
|
var _this = this;
|
397
388
|
return __generator(this, function (_b) {
|
398
389
|
localVarPath = this.basePath +
|
399
|
-
'/spaces/{spaceId}/audiences
|
390
|
+
'/spaces/{spaceId}/audiences/previews/{id}'
|
391
|
+
.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)))
|
392
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
400
393
|
localVarQueryParameters = {};
|
401
394
|
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
402
395
|
produces = [
|
403
|
-
'application/vnd.segment.v1beta+json',
|
404
396
|
'application/vnd.segment.v1alpha+json',
|
405
397
|
'application/json',
|
406
398
|
];
|
@@ -412,10 +404,10 @@ var AudiencesApi = (function () {
|
|
412
404
|
}
|
413
405
|
localVarFormParams = {};
|
414
406
|
if (spaceId === null || spaceId === undefined) {
|
415
|
-
throw new Error('Required parameter spaceId was null or undefined when calling
|
407
|
+
throw new Error('Required parameter spaceId was null or undefined when calling getAudiencePreview.');
|
416
408
|
}
|
417
|
-
if (
|
418
|
-
|
409
|
+
if (id === null || id === undefined) {
|
410
|
+
throw new Error('Required parameter id was null or undefined when calling getAudiencePreview.');
|
419
411
|
}
|
420
412
|
Object.assign(localVarHeaderParams, options.headers);
|
421
413
|
localVarUseFormData = false;
|
@@ -464,7 +456,7 @@ var AudiencesApi = (function () {
|
|
464
456
|
if (response.statusCode &&
|
465
457
|
response.statusCode >= 200 &&
|
466
458
|
response.statusCode <= 299) {
|
467
|
-
body = models_1.ObjectSerializer.deserialize(body, '
|
459
|
+
body = models_1.ObjectSerializer.deserialize(body, 'GetAudiencePreview200Response');
|
468
460
|
resolve({ response: response, body: body });
|
469
461
|
}
|
470
462
|
else {
|
@@ -477,14 +469,16 @@ var AudiencesApi = (function () {
|
|
477
469
|
});
|
478
470
|
});
|
479
471
|
};
|
480
|
-
AudiencesApi.prototype.
|
472
|
+
AudiencesApi.prototype.listAudienceConsumersFromSpaceAndAudience = function (spaceId, id, pagination, search, sort, options) {
|
481
473
|
if (options === void 0) { options = { headers: {} }; }
|
482
474
|
return __awaiter(this, void 0, void 0, function () {
|
483
475
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_5, _i, _a, interceptor;
|
484
476
|
var _this = this;
|
485
477
|
return __generator(this, function (_b) {
|
486
478
|
localVarPath = this.basePath +
|
487
|
-
'/spaces/{spaceId}/audiences/
|
479
|
+
'/spaces/{spaceId}/audiences/{id}/audience-references'
|
480
|
+
.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)))
|
481
|
+
.replace('{' + 'id' + '}', encodeURIComponent(String(id)));
|
488
482
|
localVarQueryParameters = {};
|
489
483
|
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
490
484
|
produces = [
|
@@ -499,22 +493,29 @@ var AudiencesApi = (function () {
|
|
499
493
|
}
|
500
494
|
localVarFormParams = {};
|
501
495
|
if (spaceId === null || spaceId === undefined) {
|
502
|
-
throw new Error('Required parameter spaceId was null or undefined when calling
|
496
|
+
throw new Error('Required parameter spaceId was null or undefined when calling listAudienceConsumersFromSpaceAndAudience.');
|
497
|
+
}
|
498
|
+
if (id === null || id === undefined) {
|
499
|
+
throw new Error('Required parameter id was null or undefined when calling listAudienceConsumersFromSpaceAndAudience.');
|
500
|
+
}
|
501
|
+
if (pagination !== undefined) {
|
502
|
+
localVarQueryParameters['pagination'] = models_1.ObjectSerializer.serialize(pagination, 'PaginationInput');
|
503
|
+
}
|
504
|
+
if (search !== undefined) {
|
505
|
+
localVarQueryParameters['search'] = models_1.ObjectSerializer.serialize(search, 'ListAudienceConsumersSearchInput');
|
503
506
|
}
|
504
|
-
if (
|
505
|
-
|
506
|
-
throw new Error('Required parameter PreviewAudienceInput was null or undefined when calling previewAudience.');
|
507
|
+
if (sort !== undefined) {
|
508
|
+
localVarQueryParameters['sort'] = models_1.ObjectSerializer.serialize(sort, 'ListAudienceConsumersSortInput');
|
507
509
|
}
|
508
510
|
Object.assign(localVarHeaderParams, options.headers);
|
509
511
|
localVarUseFormData = false;
|
510
512
|
localVarRequestOptions = {
|
511
|
-
method: '
|
513
|
+
method: 'GET',
|
512
514
|
qs: localVarQueryParameters,
|
513
515
|
headers: localVarHeaderParams,
|
514
516
|
uri: localVarPath,
|
515
517
|
useQuerystring: this._useQuerystring,
|
516
518
|
json: true,
|
517
|
-
body: models_1.ObjectSerializer.serialize(PreviewAudienceInput, 'PreviewAudienceInput'),
|
518
519
|
};
|
519
520
|
authenticationPromise = Promise.resolve();
|
520
521
|
if (this.authentications.token.accessToken) {
|
@@ -553,7 +554,7 @@ var AudiencesApi = (function () {
|
|
553
554
|
if (response.statusCode &&
|
554
555
|
response.statusCode >= 200 &&
|
555
556
|
response.statusCode <= 299) {
|
556
|
-
body = models_1.ObjectSerializer.deserialize(body, '
|
557
|
+
body = models_1.ObjectSerializer.deserialize(body, 'ListAudienceConsumersFromSpaceAndAudience200Response');
|
557
558
|
resolve({ response: response, body: body });
|
558
559
|
}
|
559
560
|
else {
|
@@ -566,11 +567,99 @@ var AudiencesApi = (function () {
|
|
566
567
|
});
|
567
568
|
});
|
568
569
|
};
|
569
|
-
AudiencesApi.prototype.
|
570
|
+
AudiencesApi.prototype.listAudiences = function (spaceId, pagination, options) {
|
570
571
|
if (options === void 0) { options = { headers: {} }; }
|
571
572
|
return __awaiter(this, void 0, void 0, function () {
|
572
573
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_6, _i, _a, interceptor;
|
573
574
|
var _this = this;
|
575
|
+
return __generator(this, function (_b) {
|
576
|
+
localVarPath = this.basePath +
|
577
|
+
'/spaces/{spaceId}/audiences'.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)));
|
578
|
+
localVarQueryParameters = {};
|
579
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
580
|
+
produces = [
|
581
|
+
'application/vnd.segment.v1beta+json',
|
582
|
+
'application/vnd.segment.v1alpha+json',
|
583
|
+
'application/json',
|
584
|
+
];
|
585
|
+
if (produces.indexOf('application/json') >= 0) {
|
586
|
+
localVarHeaderParams.Accept = 'application/json';
|
587
|
+
}
|
588
|
+
else {
|
589
|
+
localVarHeaderParams.Accept = produces.join(',');
|
590
|
+
}
|
591
|
+
localVarFormParams = {};
|
592
|
+
if (spaceId === null || spaceId === undefined) {
|
593
|
+
throw new Error('Required parameter spaceId was null or undefined when calling listAudiences.');
|
594
|
+
}
|
595
|
+
if (pagination !== undefined) {
|
596
|
+
localVarQueryParameters['pagination'] = models_1.ObjectSerializer.serialize(pagination, 'ListAudiencesPaginationInput');
|
597
|
+
}
|
598
|
+
Object.assign(localVarHeaderParams, options.headers);
|
599
|
+
localVarUseFormData = false;
|
600
|
+
localVarRequestOptions = {
|
601
|
+
method: 'GET',
|
602
|
+
qs: localVarQueryParameters,
|
603
|
+
headers: localVarHeaderParams,
|
604
|
+
uri: localVarPath,
|
605
|
+
useQuerystring: this._useQuerystring,
|
606
|
+
json: true,
|
607
|
+
};
|
608
|
+
authenticationPromise = Promise.resolve();
|
609
|
+
if (this.authentications.token.accessToken) {
|
610
|
+
authenticationPromise = authenticationPromise.then(function () {
|
611
|
+
return _this.authentications.token.applyToRequest(localVarRequestOptions);
|
612
|
+
});
|
613
|
+
}
|
614
|
+
authenticationPromise = authenticationPromise.then(function () {
|
615
|
+
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
616
|
+
});
|
617
|
+
interceptorPromise = authenticationPromise;
|
618
|
+
_loop_6 = function (interceptor) {
|
619
|
+
interceptorPromise = interceptorPromise.then(function () {
|
620
|
+
return interceptor(localVarRequestOptions);
|
621
|
+
});
|
622
|
+
};
|
623
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
624
|
+
interceptor = _a[_i];
|
625
|
+
_loop_6(interceptor);
|
626
|
+
}
|
627
|
+
return [2, interceptorPromise.then(function () {
|
628
|
+
if (Object.keys(localVarFormParams).length) {
|
629
|
+
if (localVarUseFormData) {
|
630
|
+
localVarRequestOptions.formData = localVarFormParams;
|
631
|
+
}
|
632
|
+
else {
|
633
|
+
localVarRequestOptions.form = localVarFormParams;
|
634
|
+
}
|
635
|
+
}
|
636
|
+
return new Promise(function (resolve, reject) {
|
637
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
638
|
+
if (error) {
|
639
|
+
reject(error);
|
640
|
+
}
|
641
|
+
else {
|
642
|
+
if (response.statusCode &&
|
643
|
+
response.statusCode >= 200 &&
|
644
|
+
response.statusCode <= 299) {
|
645
|
+
body = models_1.ObjectSerializer.deserialize(body, 'ListAudiences200Response');
|
646
|
+
resolve({ response: response, body: body });
|
647
|
+
}
|
648
|
+
else {
|
649
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
650
|
+
}
|
651
|
+
}
|
652
|
+
});
|
653
|
+
});
|
654
|
+
})];
|
655
|
+
});
|
656
|
+
});
|
657
|
+
};
|
658
|
+
AudiencesApi.prototype.removeAudienceFromSpace = function (spaceId, id, options) {
|
659
|
+
if (options === void 0) { options = { headers: {} }; }
|
660
|
+
return __awaiter(this, void 0, void 0, function () {
|
661
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
662
|
+
var _this = this;
|
574
663
|
return __generator(this, function (_b) {
|
575
664
|
localVarPath = this.basePath +
|
576
665
|
'/spaces/{spaceId}/audiences/{id}'
|
@@ -615,14 +704,14 @@ var AudiencesApi = (function () {
|
|
615
704
|
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
616
705
|
});
|
617
706
|
interceptorPromise = authenticationPromise;
|
618
|
-
|
707
|
+
_loop_7 = function (interceptor) {
|
619
708
|
interceptorPromise = interceptorPromise.then(function () {
|
620
709
|
return interceptor(localVarRequestOptions);
|
621
710
|
});
|
622
711
|
};
|
623
712
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
624
713
|
interceptor = _a[_i];
|
625
|
-
|
714
|
+
_loop_7(interceptor);
|
626
715
|
}
|
627
716
|
return [2, interceptorPromise.then(function () {
|
628
717
|
if (Object.keys(localVarFormParams).length) {
|
@@ -658,7 +747,7 @@ var AudiencesApi = (function () {
|
|
658
747
|
AudiencesApi.prototype.updateAudienceForSpace = function (spaceId, id, UpdateAudienceForSpaceAlphaInput, options) {
|
659
748
|
if (options === void 0) { options = { headers: {} }; }
|
660
749
|
return __awaiter(this, void 0, void 0, function () {
|
661
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
750
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
662
751
|
var _this = this;
|
663
752
|
return __generator(this, function (_b) {
|
664
753
|
localVarPath = this.basePath +
|
@@ -709,14 +798,14 @@ var AudiencesApi = (function () {
|
|
709
798
|
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
710
799
|
});
|
711
800
|
interceptorPromise = authenticationPromise;
|
712
|
-
|
801
|
+
_loop_8 = function (interceptor) {
|
713
802
|
interceptorPromise = interceptorPromise.then(function () {
|
714
803
|
return interceptor(localVarRequestOptions);
|
715
804
|
});
|
716
805
|
};
|
717
806
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
718
807
|
interceptor = _a[_i];
|
719
|
-
|
808
|
+
_loop_8(interceptor);
|
720
809
|
}
|
721
810
|
return [2, interceptorPromise.then(function () {
|
722
811
|
if (Object.keys(localVarFormParams).length) {
|