@segment/public-api-sdk-typescript 34.3.4-b6608 → 34.3.5-b6642
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 +1 -1
- package/api/auditTrailApi.ts +1 -1
- package/api/catalogApi.ts +1 -1
- package/api/deletionAndSuppressionApi.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 +149 -1
- package/api/reverseETLApi.ts +1 -1
- package/api/selectiveSyncApi.ts +1 -1
- package/api/sourcesApi.ts +1 -1
- package/api/spacesApi.ts +1 -1
- package/api/testingApi.ts +1 -1
- package/api/trackingPlansApi.ts +1 -1
- package/api/transformationsApi.ts +1 -1
- package/api/warehousesApi.ts +1 -1
- package/api/workspacesApi.ts +1 -1
- package/dist/api/apis.js +1 -1
- package/dist/api/profilesSyncApi.d.ts +9 -0
- package/dist/api/profilesSyncApi.js +101 -6
- package/dist/api/profilesSyncApi.js.map +1 -1
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpace200Response.d.ts +15 -0
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpace200Response.js +21 -0
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpace200Response.js.map +1 -0
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.d.ts +17 -0
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.js +26 -0
- package/dist/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.js.map +1 -0
- package/dist/model/models.d.ts +3 -0
- package/dist/model/models.js +9 -0
- package/dist/model/models.js.map +1 -1
- package/dist/model/spaceWarehouseSelectiveSyncItemAlpha.d.ts +21 -0
- package/dist/model/spaceWarehouseSelectiveSyncItemAlpha.js +46 -0
- package/dist/model/spaceWarehouseSelectiveSyncItemAlpha.js.map +1 -0
- package/model/aPICallSnapshotV1.ts +1 -1
- package/model/accessPermissionV1.ts +1 -1
- package/model/addConnectionFromSourceToWarehouse200Response.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/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/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/createInvites200Response.ts +1 -1
- package/model/createInvitesV1Input.ts +1 -1
- package/model/createInvitesV1Output.ts +1 -1
- package/model/createLabel200Response.ts +1 -1
- package/model/createLabel200Response1.ts +1 -1
- package/model/createLabelAlphaInput.ts +1 -1
- package/model/createLabelAlphaOutput.ts +1 -1
- package/model/createLabelV1Input.ts +1 -1
- package/model/createLabelV1Output.ts +1 -1
- package/model/createProfilesWarehouse200Response.ts +1 -1
- package/model/createProfilesWarehouseAlphaInput.ts +1 -1
- package/model/createProfilesWarehouseAlphaOutput.ts +1 -1
- package/model/createReverseEtlModel200Response.ts +1 -1
- package/model/createReverseEtlModelInput.ts +1 -1
- package/model/createReverseEtlModelOutput.ts +1 -1
- package/model/createSource200Response.ts +1 -1
- package/model/createSource200Response1.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/createWarehouse200Response.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/deleteDestination200Response.ts +1 -1
- package/model/deleteDestinationV1Output.ts +1 -1
- package/model/deleteFunction200Response.ts +1 -1
- package/model/deleteFunctionV1Output.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/deliveryMetricsSummary.ts +1 -1
- package/model/deliveryMetricsSummaryBeta.ts +1 -1
- package/model/destination.ts +1 -1
- package/model/destination1.ts +1 -1
- package/model/destination2.ts +1 -1
- package/model/destinationFilterActionV1.ts +1 -1
- package/model/destinationFilterV1.ts +1 -1
- package/model/destinationMetadata.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/edgeFunctions.ts +1 -1
- package/model/edgeFunctions1.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/filter1.ts +1 -1
- package/model/filter2.ts +1 -1
- package/model/filter3.ts +1 -1
- package/model/function.ts +1 -1
- package/model/function1.ts +1 -1
- package/model/function2.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/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/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/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/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/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/group.ts +1 -1
- package/model/groupSourceSettingsV1.ts +1 -1
- package/model/handleWebhookInput.ts +1 -1
- package/model/handleWebhookOutput.ts +1 -1
- package/model/identify.ts +1 -1
- package/model/identifySourceSettingsV1.ts +1 -1
- package/model/input.ts +1 -1
- package/model/integrationOptionBeta.ts +1 -1
- package/model/invitePermissionV1.ts +1 -1
- package/model/inviteV1.ts +1 -1
- package/model/label.ts +1 -1
- package/model/label1.ts +1 -1
- package/model/label2.ts +1 -1
- package/model/labelAlpha.ts +1 -1
- package/model/labelV1.ts +1 -1
- package/model/listAuditEvents200Response.ts +1 -1
- package/model/listAuditEventsV1Output.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/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 +36 -0
- package/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.ts +49 -0
- 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/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/logos.ts +1 -1
- package/model/logos1.ts +1 -1
- package/model/logos2.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/metadata.ts +1 -1
- package/model/metadata1.ts +1 -1
- package/model/metadata2.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 +11 -0
- package/model/mtuSnapshotV1.ts +1 -1
- package/model/pagination.ts +1 -1
- package/model/pagination1.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/profilesWarehouse.ts +1 -1
- package/model/profilesWarehouse1.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/query.ts +1 -1
- package/model/regulation.ts +1 -1
- package/model/regulationListEntryV1.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/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/reverseEtlModel.ts +1 -1
- package/model/reverseEtlModel1.ts +1 -1
- package/model/roleV1.ts +1 -1
- package/model/ruleV1.ts +1 -1
- package/model/schedule.ts +1 -1
- package/model/schedule1.ts +1 -1
- package/model/schedule2.ts +1 -1
- package/model/settings.ts +1 -1
- package/model/settings1.ts +1 -1
- package/model/source.ts +1 -1
- package/model/source1.ts +1 -1
- package/model/source2.ts +1 -1
- package/model/source3.ts +1 -1
- package/model/source4.ts +1 -1
- package/model/source5.ts +1 -1
- package/model/source6.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/sourceMetadata.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/spaceWarehouseSelectiveSyncItemAlpha.ts +86 -0
- package/model/streamStatusV1.ts +1 -1
- package/model/subscription.ts +1 -1
- package/model/supportedFeatures.ts +1 -1
- package/model/supportedMethods.ts +1 -1
- package/model/supportedPlatforms.ts +1 -1
- package/model/suppressedInner.ts +1 -1
- package/model/syncNoticeV1.ts +1 -1
- package/model/syncV1.ts +1 -1
- package/model/track.ts +1 -1
- package/model/trackSourceSettingsV1.ts +1 -1
- package/model/trackingPlan.ts +1 -1
- package/model/trackingPlan1.ts +1 -1
- package/model/trackingPlanV1.ts +1 -1
- package/model/transformation.ts +1 -1
- package/model/transformation1.ts +1 -1
- package/model/transformation2.ts +1 -1
- package/model/transformation3.ts +1 -1
- package/model/transformation4.ts +1 -1
- package/model/transformation5.ts +1 -1
- package/model/transformationBeta.ts +1 -1
- package/model/transformationV1.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/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/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/user.ts +1 -1
- package/model/userGroup.ts +1 -1
- package/model/userGroup1.ts +1 -1
- package/model/userGroup2.ts +1 -1
- package/model/userGroup3.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/version1.ts +1 -1
- package/model/warehouse.ts +1 -1
- package/model/warehouse1.ts +1 -1
- package/model/warehouse2.ts +1 -1
- package/model/warehouseAdvancedSyncV1.ts +1 -1
- package/model/warehouseMetadata.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/workspace.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: 34.3.
|
|
13
|
+
Latest API and SDK version: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/apis.ts
CHANGED
|
@@ -150,7 +150,7 @@ export function configureApis(
|
|
|
150
150
|
|
|
151
151
|
for (const k of Object.keys(apis)) {
|
|
152
152
|
const key = k as keyof typeof apis;
|
|
153
|
-
headers['User-Agent'] = 'Public API SDK 34.3.
|
|
153
|
+
headers['User-Agent'] = 'Public API SDK 34.3.5 (TypeScript)';
|
|
154
154
|
apis[key].accessToken = token;
|
|
155
155
|
apis[key].defaultHeaders = headers;
|
|
156
156
|
}
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
6
6
|
* Contact: friends@segment.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/api/destinationsApi.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Segment Public API
|
|
3
3
|
* The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/eventsApi.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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/functionsApi.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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/iAMGroupsApi.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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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/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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
6
6
|
* Contact: friends@segment.com
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,6 +17,7 @@ import http from 'http';
|
|
|
17
17
|
import { CreateProfilesWarehouse200Response } from '../model/createProfilesWarehouse200Response';
|
|
18
18
|
import { CreateProfilesWarehouseAlphaInput } from '../model/createProfilesWarehouseAlphaInput';
|
|
19
19
|
import { ListProfilesWarehouseInSpace200Response } from '../model/listProfilesWarehouseInSpace200Response';
|
|
20
|
+
import { ListSelectiveSyncsFromWarehouseAndSpace200Response } from '../model/listSelectiveSyncsFromWarehouseAndSpace200Response';
|
|
20
21
|
import { PaginationInput } from '../model/paginationInput';
|
|
21
22
|
import { RemoveProfilesWarehouseFromSpace200Response } from '../model/removeProfilesWarehouseFromSpace200Response';
|
|
22
23
|
import { RequestErrorEnvelope } from '../model/requestErrorEnvelope';
|
|
@@ -371,6 +372,153 @@ export class ProfilesSyncApi {
|
|
|
371
372
|
});
|
|
372
373
|
});
|
|
373
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* Returns the schema for a Space Warehouse connection, including Sources, Collections, and Properties. • When called, this endpoint may generate the `Profiles Sync Warehouse Schema Retrieved` event in the [audit trail](/tag/Audit-Trail).
|
|
377
|
+
* @summary List Selective Syncs from Warehouse And Space
|
|
378
|
+
* @param spaceId
|
|
379
|
+
* @param warehouseId
|
|
380
|
+
* @param pagination Defines the pagination parameters. This parameter exists in alpha.
|
|
381
|
+
*/
|
|
382
|
+
public async listSelectiveSyncsFromWarehouseAndSpace(
|
|
383
|
+
spaceId: string,
|
|
384
|
+
warehouseId: string,
|
|
385
|
+
pagination: PaginationInput,
|
|
386
|
+
options: { headers: { [name: string]: string } } = { headers: {} }
|
|
387
|
+
): Promise<{
|
|
388
|
+
response: http.IncomingMessage;
|
|
389
|
+
body: ListSelectiveSyncsFromWarehouseAndSpace200Response;
|
|
390
|
+
}> {
|
|
391
|
+
const localVarPath =
|
|
392
|
+
this.basePath +
|
|
393
|
+
'/spaces/{spaceId}/profiles-warehouses/{warehouseId}/selective-syncs'
|
|
394
|
+
.replace(
|
|
395
|
+
'{' + 'spaceId' + '}',
|
|
396
|
+
encodeURIComponent(String(spaceId))
|
|
397
|
+
)
|
|
398
|
+
.replace(
|
|
399
|
+
'{' + 'warehouseId' + '}',
|
|
400
|
+
encodeURIComponent(String(warehouseId))
|
|
401
|
+
);
|
|
402
|
+
let localVarQueryParameters: any = {};
|
|
403
|
+
let localVarHeaderParams: any = (<any>Object).assign(
|
|
404
|
+
{},
|
|
405
|
+
this._defaultHeaders
|
|
406
|
+
);
|
|
407
|
+
const produces = [
|
|
408
|
+
'application/vnd.segment.v1alpha+json',
|
|
409
|
+
'application/json',
|
|
410
|
+
];
|
|
411
|
+
// give precedence to 'application/json'
|
|
412
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
413
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
414
|
+
} else {
|
|
415
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
416
|
+
}
|
|
417
|
+
let localVarFormParams: any = {};
|
|
418
|
+
|
|
419
|
+
// verify required parameter 'spaceId' is not null or undefined
|
|
420
|
+
if (spaceId === null || spaceId === undefined) {
|
|
421
|
+
throw new Error(
|
|
422
|
+
'Required parameter spaceId was null or undefined when calling listSelectiveSyncsFromWarehouseAndSpace.'
|
|
423
|
+
);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// verify required parameter 'warehouseId' is not null or undefined
|
|
427
|
+
if (warehouseId === null || warehouseId === undefined) {
|
|
428
|
+
throw new Error(
|
|
429
|
+
'Required parameter warehouseId was null or undefined when calling listSelectiveSyncsFromWarehouseAndSpace.'
|
|
430
|
+
);
|
|
431
|
+
}
|
|
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 listSelectiveSyncsFromWarehouseAndSpace.'
|
|
437
|
+
);
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
if (pagination !== undefined) {
|
|
441
|
+
localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
|
|
442
|
+
pagination,
|
|
443
|
+
'PaginationInput'
|
|
444
|
+
);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
(<any>Object).assign(localVarHeaderParams, options.headers);
|
|
448
|
+
|
|
449
|
+
let localVarUseFormData = false;
|
|
450
|
+
|
|
451
|
+
let localVarRequestOptions: localVarRequest.Options = {
|
|
452
|
+
method: 'GET',
|
|
453
|
+
qs: localVarQueryParameters,
|
|
454
|
+
headers: localVarHeaderParams,
|
|
455
|
+
uri: localVarPath,
|
|
456
|
+
useQuerystring: this._useQuerystring,
|
|
457
|
+
json: true,
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
let authenticationPromise = Promise.resolve();
|
|
461
|
+
if (this.authentications.token.accessToken) {
|
|
462
|
+
authenticationPromise = authenticationPromise.then(() =>
|
|
463
|
+
this.authentications.token.applyToRequest(
|
|
464
|
+
localVarRequestOptions
|
|
465
|
+
)
|
|
466
|
+
);
|
|
467
|
+
}
|
|
468
|
+
authenticationPromise = authenticationPromise.then(() =>
|
|
469
|
+
this.authentications.default.applyToRequest(localVarRequestOptions)
|
|
470
|
+
);
|
|
471
|
+
|
|
472
|
+
let interceptorPromise = authenticationPromise;
|
|
473
|
+
for (const interceptor of this.interceptors) {
|
|
474
|
+
interceptorPromise = interceptorPromise.then(() =>
|
|
475
|
+
interceptor(localVarRequestOptions)
|
|
476
|
+
);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
return interceptorPromise.then(() => {
|
|
480
|
+
if (Object.keys(localVarFormParams).length) {
|
|
481
|
+
if (localVarUseFormData) {
|
|
482
|
+
(<any>localVarRequestOptions).formData = localVarFormParams;
|
|
483
|
+
} else {
|
|
484
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
return new Promise<{
|
|
488
|
+
response: http.IncomingMessage;
|
|
489
|
+
body: ListSelectiveSyncsFromWarehouseAndSpace200Response;
|
|
490
|
+
}>((resolve, reject) => {
|
|
491
|
+
localVarRequest(
|
|
492
|
+
localVarRequestOptions,
|
|
493
|
+
(error, response, body) => {
|
|
494
|
+
if (error) {
|
|
495
|
+
reject(error);
|
|
496
|
+
} else {
|
|
497
|
+
if (
|
|
498
|
+
response.statusCode &&
|
|
499
|
+
response.statusCode >= 200 &&
|
|
500
|
+
response.statusCode <= 299
|
|
501
|
+
) {
|
|
502
|
+
body = ObjectSerializer.deserialize(
|
|
503
|
+
body,
|
|
504
|
+
'ListSelectiveSyncsFromWarehouseAndSpace200Response'
|
|
505
|
+
);
|
|
506
|
+
resolve({ response: response, body: body });
|
|
507
|
+
} else {
|
|
508
|
+
reject(
|
|
509
|
+
new HttpError(
|
|
510
|
+
response,
|
|
511
|
+
body,
|
|
512
|
+
response.statusCode
|
|
513
|
+
)
|
|
514
|
+
);
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
);
|
|
519
|
+
});
|
|
520
|
+
});
|
|
521
|
+
}
|
|
374
522
|
/**
|
|
375
523
|
* Deletes an existing Profiles Warehouse. • When called, this endpoint may generate the `Profiles Sync Warehouse Deleted` event in the [audit trail](/tag/Audit-Trail).
|
|
376
524
|
* @summary Remove Profiles Warehouse from Space
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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: 34.3.
|
|
5
|
+
* The version of the OpenAPI document: 34.3.5
|
|
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
|
@@ -182,7 +182,7 @@ function configureApis(token, headers) {
|
|
|
182
182
|
for (var _i = 0, _a = Object.keys(apis); _i < _a.length; _i++) {
|
|
183
183
|
var k = _a[_i];
|
|
184
184
|
var key = k;
|
|
185
|
-
headers['User-Agent'] = 'Public API SDK 34.3.
|
|
185
|
+
headers['User-Agent'] = 'Public API SDK 34.3.5 (TypeScript)';
|
|
186
186
|
apis[key].accessToken = token;
|
|
187
187
|
apis[key].defaultHeaders = headers;
|
|
188
188
|
}
|
|
@@ -3,6 +3,7 @@ import http from 'http';
|
|
|
3
3
|
import { CreateProfilesWarehouse200Response } from '../model/createProfilesWarehouse200Response';
|
|
4
4
|
import { CreateProfilesWarehouseAlphaInput } from '../model/createProfilesWarehouseAlphaInput';
|
|
5
5
|
import { ListProfilesWarehouseInSpace200Response } from '../model/listProfilesWarehouseInSpace200Response';
|
|
6
|
+
import { ListSelectiveSyncsFromWarehouseAndSpace200Response } from '../model/listSelectiveSyncsFromWarehouseAndSpace200Response';
|
|
6
7
|
import { PaginationInput } from '../model/paginationInput';
|
|
7
8
|
import { RemoveProfilesWarehouseFromSpace200Response } from '../model/removeProfilesWarehouseFromSpace200Response';
|
|
8
9
|
import { UpdateProfilesWarehouseForSpaceWarehouse200Response } from '../model/updateProfilesWarehouseForSpaceWarehouse200Response';
|
|
@@ -46,6 +47,14 @@ export declare class ProfilesSyncApi {
|
|
|
46
47
|
response: http.IncomingMessage;
|
|
47
48
|
body: ListProfilesWarehouseInSpace200Response;
|
|
48
49
|
}>;
|
|
50
|
+
listSelectiveSyncsFromWarehouseAndSpace(spaceId: string, warehouseId: string, pagination: PaginationInput, options?: {
|
|
51
|
+
headers: {
|
|
52
|
+
[name: string]: string;
|
|
53
|
+
};
|
|
54
|
+
}): Promise<{
|
|
55
|
+
response: http.IncomingMessage;
|
|
56
|
+
body: ListSelectiveSyncsFromWarehouseAndSpace200Response;
|
|
57
|
+
}>;
|
|
49
58
|
removeProfilesWarehouseFromSpace(spaceId: string, warehouseId: string, options?: {
|
|
50
59
|
headers: {
|
|
51
60
|
[name: string]: string;
|
|
@@ -289,11 +289,106 @@ var ProfilesSyncApi = (function () {
|
|
|
289
289
|
});
|
|
290
290
|
});
|
|
291
291
|
};
|
|
292
|
-
ProfilesSyncApi.prototype.
|
|
292
|
+
ProfilesSyncApi.prototype.listSelectiveSyncsFromWarehouseAndSpace = function (spaceId, warehouseId, pagination, options) {
|
|
293
293
|
if (options === void 0) { options = { headers: {} }; }
|
|
294
294
|
return __awaiter(this, void 0, void 0, function () {
|
|
295
295
|
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_3, _i, _a, interceptor;
|
|
296
296
|
var _this = this;
|
|
297
|
+
return __generator(this, function (_b) {
|
|
298
|
+
localVarPath = this.basePath +
|
|
299
|
+
'/spaces/{spaceId}/profiles-warehouses/{warehouseId}/selective-syncs'
|
|
300
|
+
.replace('{' + 'spaceId' + '}', encodeURIComponent(String(spaceId)))
|
|
301
|
+
.replace('{' + 'warehouseId' + '}', encodeURIComponent(String(warehouseId)));
|
|
302
|
+
localVarQueryParameters = {};
|
|
303
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
304
|
+
produces = [
|
|
305
|
+
'application/vnd.segment.v1alpha+json',
|
|
306
|
+
'application/json',
|
|
307
|
+
];
|
|
308
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
309
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
310
|
+
}
|
|
311
|
+
else {
|
|
312
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
313
|
+
}
|
|
314
|
+
localVarFormParams = {};
|
|
315
|
+
if (spaceId === null || spaceId === undefined) {
|
|
316
|
+
throw new Error('Required parameter spaceId was null or undefined when calling listSelectiveSyncsFromWarehouseAndSpace.');
|
|
317
|
+
}
|
|
318
|
+
if (warehouseId === null || warehouseId === undefined) {
|
|
319
|
+
throw new Error('Required parameter warehouseId was null or undefined when calling listSelectiveSyncsFromWarehouseAndSpace.');
|
|
320
|
+
}
|
|
321
|
+
if (pagination === null || pagination === undefined) {
|
|
322
|
+
throw new Error('Required parameter pagination was null or undefined when calling listSelectiveSyncsFromWarehouseAndSpace.');
|
|
323
|
+
}
|
|
324
|
+
if (pagination !== undefined) {
|
|
325
|
+
localVarQueryParameters['pagination'] = models_1.ObjectSerializer.serialize(pagination, 'PaginationInput');
|
|
326
|
+
}
|
|
327
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
328
|
+
localVarUseFormData = false;
|
|
329
|
+
localVarRequestOptions = {
|
|
330
|
+
method: 'GET',
|
|
331
|
+
qs: localVarQueryParameters,
|
|
332
|
+
headers: localVarHeaderParams,
|
|
333
|
+
uri: localVarPath,
|
|
334
|
+
useQuerystring: this._useQuerystring,
|
|
335
|
+
json: true,
|
|
336
|
+
};
|
|
337
|
+
authenticationPromise = Promise.resolve();
|
|
338
|
+
if (this.authentications.token.accessToken) {
|
|
339
|
+
authenticationPromise = authenticationPromise.then(function () {
|
|
340
|
+
return _this.authentications.token.applyToRequest(localVarRequestOptions);
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
authenticationPromise = authenticationPromise.then(function () {
|
|
344
|
+
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
345
|
+
});
|
|
346
|
+
interceptorPromise = authenticationPromise;
|
|
347
|
+
_loop_3 = function (interceptor) {
|
|
348
|
+
interceptorPromise = interceptorPromise.then(function () {
|
|
349
|
+
return interceptor(localVarRequestOptions);
|
|
350
|
+
});
|
|
351
|
+
};
|
|
352
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
353
|
+
interceptor = _a[_i];
|
|
354
|
+
_loop_3(interceptor);
|
|
355
|
+
}
|
|
356
|
+
return [2, interceptorPromise.then(function () {
|
|
357
|
+
if (Object.keys(localVarFormParams).length) {
|
|
358
|
+
if (localVarUseFormData) {
|
|
359
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
360
|
+
}
|
|
361
|
+
else {
|
|
362
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
return new Promise(function (resolve, reject) {
|
|
366
|
+
(0, request_1.default)(localVarRequestOptions, function (error, response, body) {
|
|
367
|
+
if (error) {
|
|
368
|
+
reject(error);
|
|
369
|
+
}
|
|
370
|
+
else {
|
|
371
|
+
if (response.statusCode &&
|
|
372
|
+
response.statusCode >= 200 &&
|
|
373
|
+
response.statusCode <= 299) {
|
|
374
|
+
body = models_1.ObjectSerializer.deserialize(body, 'ListSelectiveSyncsFromWarehouseAndSpace200Response');
|
|
375
|
+
resolve({ response: response, body: body });
|
|
376
|
+
}
|
|
377
|
+
else {
|
|
378
|
+
reject(new apis_1.HttpError(response, body, response.statusCode));
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
});
|
|
382
|
+
});
|
|
383
|
+
})];
|
|
384
|
+
});
|
|
385
|
+
});
|
|
386
|
+
};
|
|
387
|
+
ProfilesSyncApi.prototype.removeProfilesWarehouseFromSpace = function (spaceId, warehouseId, options) {
|
|
388
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
389
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
390
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_4, _i, _a, interceptor;
|
|
391
|
+
var _this = this;
|
|
297
392
|
return __generator(this, function (_b) {
|
|
298
393
|
localVarPath = this.basePath +
|
|
299
394
|
'/spaces/{spaceId}/profiles-warehouses/{warehouseId}'
|
|
@@ -338,14 +433,14 @@ var ProfilesSyncApi = (function () {
|
|
|
338
433
|
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
339
434
|
});
|
|
340
435
|
interceptorPromise = authenticationPromise;
|
|
341
|
-
|
|
436
|
+
_loop_4 = function (interceptor) {
|
|
342
437
|
interceptorPromise = interceptorPromise.then(function () {
|
|
343
438
|
return interceptor(localVarRequestOptions);
|
|
344
439
|
});
|
|
345
440
|
};
|
|
346
441
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
347
442
|
interceptor = _a[_i];
|
|
348
|
-
|
|
443
|
+
_loop_4(interceptor);
|
|
349
444
|
}
|
|
350
445
|
return [2, interceptorPromise.then(function () {
|
|
351
446
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -381,7 +476,7 @@ var ProfilesSyncApi = (function () {
|
|
|
381
476
|
ProfilesSyncApi.prototype.updateProfilesWarehouseForSpaceWarehouse = function (spaceId, warehouseId, UpdateProfilesWarehouseForSpaceWarehouseAlphaInput, options) {
|
|
382
477
|
if (options === void 0) { options = { headers: {} }; }
|
|
383
478
|
return __awaiter(this, void 0, void 0, function () {
|
|
384
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
479
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_5, _i, _a, interceptor;
|
|
385
480
|
var _this = this;
|
|
386
481
|
return __generator(this, function (_b) {
|
|
387
482
|
localVarPath = this.basePath +
|
|
@@ -432,14 +527,14 @@ var ProfilesSyncApi = (function () {
|
|
|
432
527
|
return _this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
433
528
|
});
|
|
434
529
|
interceptorPromise = authenticationPromise;
|
|
435
|
-
|
|
530
|
+
_loop_5 = function (interceptor) {
|
|
436
531
|
interceptorPromise = interceptorPromise.then(function () {
|
|
437
532
|
return interceptor(localVarRequestOptions);
|
|
438
533
|
});
|
|
439
534
|
};
|
|
440
535
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
441
536
|
interceptor = _a[_i];
|
|
442
|
-
|
|
537
|
+
_loop_5(interceptor);
|
|
443
538
|
}
|
|
444
539
|
return [2, interceptorPromise.then(function () {
|
|
445
540
|
if (Object.keys(localVarFormParams).length) {
|