@segment/public-api-sdk-typescript 1.0.1 → 1.0.2-b1
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 +1176 -0
- package/api/apis.ts +178 -0
- package/api/auditTrailApi.ts +714 -0
- package/api/catalogApi.ts +2916 -0
- package/api/deletionAndSuppressionApi.ts +4298 -0
- package/api/destinationFiltersApi.ts +3262 -0
- package/api/destinationsApi.ts +3494 -0
- package/api/edgeFunctionsApi.ts +593 -0
- package/api/eventsApi.ts +922 -0
- package/api/functionsApi.ts +3036 -0
- package/api/iAMGroupsApi.ts +6204 -0
- package/api/iAMRolesApi.ts +566 -0
- package/api/iAMUsersApi.ts +4486 -0
- package/api/labelsApi.ts +1488 -0
- package/api/monthlyTrackedUsersApi.ts +1178 -0
- package/api/selectiveSyncApi.ts +3321 -0
- package/api/sourcesApi.ts +5602 -0
- package/api/spacesApi.ts +489 -0
- package/api/testingApi.ts +568 -0
- package/api/trackingPlansApi.ts +6238 -0
- package/api/transformationsApi.ts +1316 -0
- package/api/warehousesApi.ts +5004 -0
- package/api/workspacesApi.ts +513 -0
- package/api.ts +3 -0
- package/dist/model/contact.d.ts +17 -0
- package/dist/model/contact.js +36 -0
- package/dist/model/contact.js.map +1 -0
- package/dist/model/destinationMetadata.d.ts +3 -0
- package/dist/model/destinationMetadata.js +10 -0
- package/dist/model/destinationMetadata.js.map +1 -1
- package/dist/model/destinationMetadataV1.d.ts +3 -0
- package/dist/model/destinationMetadataV1.js +10 -0
- package/dist/model/destinationMetadataV1.js.map +1 -1
- package/dist/model/metadata.d.ts +3 -0
- package/dist/model/metadata.js +10 -0
- package/dist/model/metadata.js.map +1 -1
- package/dist/model/models.d.ts +1 -0
- package/dist/model/models.js +3 -0
- package/dist/model/models.js.map +1 -1
- package/jest.config.js +10 -0
- package/model/aPICallSnapshotV1.ts +50 -0
- package/model/accessPermissionV1.ts +60 -0
- package/model/addConnectionFromSourceToWarehouse200Response.ts +36 -0
- package/model/addConnectionFromSourceToWarehouseV1Output.ts +48 -0
- package/model/addLabelsToSource200Response.ts +36 -0
- package/model/addLabelsToSource200Response1.ts +36 -0
- package/model/addLabelsToSourceAlphaInput.ts +42 -0
- package/model/addLabelsToSourceAlphaOutput.ts +42 -0
- package/model/addLabelsToSourceV1Input.ts +42 -0
- package/model/addLabelsToSourceV1Output.ts +42 -0
- package/model/addPermissionsToUser200Response.ts +36 -0
- package/model/addPermissionsToUserGroup200Response.ts +36 -0
- package/model/addPermissionsToUserGroupV1Input.ts +42 -0
- package/model/addPermissionsToUserGroupV1Output.ts +42 -0
- package/model/addPermissionsToUserV1Input.ts +42 -0
- package/model/addPermissionsToUserV1Output.ts +42 -0
- package/model/addSourceToTrackingPlan200Response.ts +36 -0
- package/model/addSourceToTrackingPlanV1Input.ts +41 -0
- package/model/addSourceToTrackingPlanV1Output.ts +47 -0
- package/model/addUsersToUserGroup200Response.ts +36 -0
- package/model/addUsersToUserGroupV1Input.ts +41 -0
- package/model/addUsersToUserGroupV1Output.ts +39 -0
- package/model/advancedWarehouseSyncScheduleV1Input.ts +51 -0
- package/model/advancedWarehouseSyncScheduleV1Output.ts +51 -0
- package/model/allowedLabelBeta.ts +59 -0
- package/model/auditEventV1.ts +95 -0
- package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +36 -0
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +42 -0
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +69 -0
- package/model/breakdownBeta.ts +50 -0
- package/model/commonSourceSettingsV1.ts +68 -0
- package/model/contact.ts +68 -0
- package/model/createCloudSourceRegulation200Response.ts +36 -0
- package/model/createCloudSourceRegulationV1Input.ts +82 -0
- package/model/createCloudSourceRegulationV1Output.ts +41 -0
- package/model/createDestination200Response.ts +36 -0
- package/model/createDestinationSubscription200Response.ts +36 -0
- package/model/createDestinationSubscriptionAlphaInput.ts +77 -0
- package/model/createDestinationSubscriptionAlphaOutput.ts +39 -0
- package/model/createDestinationV1Input.ts +77 -0
- package/model/createDestinationV1Output.ts +39 -0
- package/model/createEdgeFunctions200Response.ts +36 -0
- package/model/createEdgeFunctionsAlphaInput.ts +41 -0
- package/model/createEdgeFunctionsAlphaOutput.ts +39 -0
- package/model/createFilterForDestination200Response.ts +36 -0
- package/model/createFilterForDestinationV1Input.ts +87 -0
- package/model/createFilterForDestinationV1Output.ts +39 -0
- package/model/createFunction200Response.ts +36 -0
- package/model/createFunctionDeployment200Response.ts +36 -0
- package/model/createFunctionDeploymentV1Output.ts +39 -0
- package/model/createFunctionV1Input.ts +94 -0
- package/model/createFunctionV1Output.ts +39 -0
- package/model/createInvites200Response.ts +36 -0
- package/model/createInvitesV1Input.ts +42 -0
- package/model/createInvitesV1Output.ts +41 -0
- package/model/createLabel200Response.ts +36 -0
- package/model/createLabel200Response1.ts +36 -0
- package/model/createLabelAlphaInput.ts +39 -0
- package/model/createLabelAlphaOutput.ts +42 -0
- package/model/createLabelV1Input.ts +39 -0
- package/model/createLabelV1Output.ts +39 -0
- package/model/createSource200Response.ts +36 -0
- package/model/createSource200Response1.ts +36 -0
- package/model/createSourceAlphaInput.ts +77 -0
- package/model/createSourceAlphaOutput.ts +39 -0
- package/model/createSourceRegulation200Response.ts +36 -0
- package/model/createSourceRegulationV1Input.ts +73 -0
- package/model/createSourceRegulationV1Output.ts +41 -0
- package/model/createSourceV1Input.ts +68 -0
- package/model/createSourceV1Output.ts +39 -0
- package/model/createTrackingPlan200Response.ts +36 -0
- package/model/createTrackingPlanV1Input.ts +68 -0
- package/model/createTrackingPlanV1Output.ts +39 -0
- package/model/createTransformation200Response.ts +36 -0
- package/model/createTransformationBetaInput.ts +96 -0
- package/model/createTransformationBetaOutput.ts +39 -0
- package/model/createUserGroup200Response.ts +36 -0
- package/model/createUserGroupV1Input.ts +41 -0
- package/model/createUserGroupV1Output.ts +39 -0
- package/model/createValidationInWarehouse200Response.ts +36 -0
- package/model/createValidationInWarehouseV1Input.ts +50 -0
- package/model/createValidationInWarehouseV1Output.ts +48 -0
- package/model/createWarehouse200Response.ts +36 -0
- package/model/createWarehouseV1Input.ts +68 -0
- package/model/createWarehouseV1Output.ts +39 -0
- package/model/createWorkspaceRegulation200Response.ts +36 -0
- package/model/createWorkspaceRegulationV1Input.ts +74 -0
- package/model/createWorkspaceRegulationV1Output.ts +41 -0
- package/model/deleteDestination200Response.ts +36 -0
- package/model/deleteDestinationV1Output.ts +47 -0
- package/model/deleteFunction200Response.ts +36 -0
- package/model/deleteFunctionV1Output.ts +47 -0
- package/model/deleteInvites200Response.ts +36 -0
- package/model/deleteInvitesV1Output.ts +47 -0
- package/model/deleteLabel200Response.ts +36 -0
- package/model/deleteLabel200Response1.ts +36 -0
- package/model/deleteLabelAlphaOutput.ts +47 -0
- package/model/deleteLabelV1Output.ts +47 -0
- package/model/deleteRegulation200Response.ts +36 -0
- package/model/deleteRegulationV1Output.ts +47 -0
- package/model/deleteSource200Response.ts +36 -0
- package/model/deleteSource200Response1.ts +36 -0
- package/model/deleteSourceAlphaOutput.ts +47 -0
- package/model/deleteSourceV1Output.ts +47 -0
- package/model/deleteTrackingPlan200Response.ts +36 -0
- package/model/deleteTrackingPlanV1Output.ts +47 -0
- package/model/deleteTransformation200Response.ts +36 -0
- package/model/deleteTransformationBetaOutput.ts +47 -0
- package/model/deleteUserGroup200Response.ts +36 -0
- package/model/deleteUserGroupV1Output.ts +47 -0
- package/model/deleteUsers200Response.ts +36 -0
- package/model/deleteUsersV1Output.ts +47 -0
- package/model/deleteWarehouse200Response.ts +36 -0
- package/model/deleteWarehouseV1Output.ts +47 -0
- package/model/deliveryMetricsSummary.ts +60 -0
- package/model/deliveryMetricsSummaryBeta.ts +60 -0
- package/model/destination.ts +84 -0
- package/model/destination1.ts +84 -0
- package/model/destination2.ts +84 -0
- package/model/destinationFilterActionV1.ts +77 -0
- package/model/destinationFilterV1.ts +123 -0
- package/model/destinationMetadata.ts +203 -0
- package/model/destinationMetadataActionFieldV1.ts +163 -0
- package/model/destinationMetadataActionV1.ts +113 -0
- package/model/destinationMetadataComponentV1.ts +72 -0
- package/model/destinationMetadataFeaturesV1.ts +93 -0
- package/model/destinationMetadataMethodsV1.ts +77 -0
- package/model/destinationMetadataPlatformsV1.ts +59 -0
- package/model/destinationMetadataSubscriptionPresetV1.ts +68 -0
- package/model/destinationMetadataV1.ts +203 -0
- package/model/destinationStatusV1.ts +74 -0
- package/model/destinationSubscription.ts +104 -0
- package/model/destinationSubscriptionUpdateInput.ts +68 -0
- package/model/destinationV1.ts +84 -0
- package/model/disableEdgeFunctions200Response.ts +36 -0
- package/model/disableEdgeFunctionsAlphaOutput.ts +39 -0
- package/model/echo200Response.ts +36 -0
- package/model/echo200Response1.ts +36 -0
- package/model/echoAlphaOutput.ts +66 -0
- package/model/echoV1Output.ts +66 -0
- package/model/edgeFunctions.ts +86 -0
- package/model/edgeFunctions1.ts +86 -0
- package/model/edgeFunctionsAlpha.ts +86 -0
- package/model/eventSourceV1.ts +59 -0
- package/model/filter.ts +51 -0
- package/model/filter1.ts +123 -0
- package/model/filter2.ts +123 -0
- package/model/filter3.ts +123 -0
- package/model/function.ts +166 -0
- package/model/function1.ts +166 -0
- package/model/function2.ts +166 -0
- package/model/functionDeployment.ts +44 -0
- package/model/functionSettingV1.ts +92 -0
- package/model/functionV1.ts +166 -0
- package/model/generateUploadURLForEdgeFunctions200Response.ts +36 -0
- package/model/generateUploadURLForEdgeFunctionsAlphaOutput.ts +41 -0
- package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +36 -0
- package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +48 -0
- package/model/getConnectionStateFromWarehouse200Response.ts +36 -0
- package/model/getConnectionStateFromWarehouseV1Output.ts +48 -0
- package/model/getDailyPerSourceAPICallsUsage200Response.ts +36 -0
- package/model/getDailyPerSourceAPICallsUsageV1Output.ts +49 -0
- package/model/getDailyPerSourceMTUUsage200Response.ts +36 -0
- package/model/getDailyPerSourceMTUUsageV1Output.ts +49 -0
- package/model/getDailyWorkspaceAPICallsUsage200Response.ts +36 -0
- package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +49 -0
- package/model/getDailyWorkspaceMTUUsage200Response.ts +36 -0
- package/model/getDailyWorkspaceMTUUsageV1Output.ts +49 -0
- package/model/getDestination200Response.ts +36 -0
- package/model/getDestinationMetadata200Response.ts +36 -0
- package/model/getDestinationMetadataV1Output.ts +39 -0
- package/model/getDestinationV1Output.ts +39 -0
- package/model/getDestinationsCatalog200Response.ts +36 -0
- package/model/getDestinationsCatalogV1Output.ts +49 -0
- package/model/getEventsVolumeFromWorkspace200Response.ts +36 -0
- package/model/getEventsVolumeFromWorkspaceV1Output.ts +49 -0
- package/model/getFilterInDestination200Response.ts +36 -0
- package/model/getFilterInDestinationV1Output.ts +39 -0
- package/model/getFunction200Response.ts +36 -0
- package/model/getFunctionV1Output.ts +39 -0
- package/model/getLatestFromEdgeFunctions200Response.ts +36 -0
- package/model/getLatestFromEdgeFunctionsAlphaOutput.ts +39 -0
- package/model/getMessagingSubscriptionFailureResponse.ts +57 -0
- package/model/getMessagingSubscriptionSuccessResponse.ts +68 -0
- package/model/getRegulation200Response.ts +36 -0
- package/model/getRegulationV1Output.ts +39 -0
- package/model/getSource200Response.ts +36 -0
- package/model/getSource200Response1.ts +36 -0
- package/model/getSourceAlphaOutput.ts +39 -0
- package/model/getSourceMetadata200Response.ts +36 -0
- package/model/getSourceMetadataV1Output.ts +39 -0
- package/model/getSourceV1Output.ts +39 -0
- package/model/getSourcesCatalog200Response.ts +36 -0
- package/model/getSourcesCatalogV1Output.ts +49 -0
- package/model/getSpace200Response.ts +36 -0
- package/model/getSpaceAlphaOutput.ts +39 -0
- package/model/getSubscriptionFromDestination200Response.ts +36 -0
- package/model/getSubscriptionFromDestinationAlphaOutput.ts +39 -0
- package/model/getSubscriptionRequest.ts +54 -0
- package/model/getTrackingPlan200Response.ts +36 -0
- package/model/getTrackingPlanV1Output.ts +39 -0
- package/model/getTransformation200Response.ts +36 -0
- package/model/getTransformationBetaOutput.ts +39 -0
- package/model/getUser200Response.ts +36 -0
- package/model/getUserGroup200Response.ts +36 -0
- package/model/getUserGroupV1Output.ts +39 -0
- package/model/getUserV1Output.ts +39 -0
- package/model/getWarehouse200Response.ts +36 -0
- package/model/getWarehouseMetadata200Response.ts +36 -0
- package/model/getWarehouseMetadataV1Output.ts +39 -0
- package/model/getWarehouseV1Output.ts +39 -0
- package/model/getWarehousesCatalog200Response.ts +36 -0
- package/model/getWarehousesCatalogV1Output.ts +49 -0
- package/model/getWorkspace200Response.ts +36 -0
- package/model/getWorkspaceV1Output.ts +39 -0
- package/model/group.ts +67 -0
- package/model/groupSourceSettingsV1.ts +64 -0
- package/model/identify.ts +67 -0
- package/model/identifySourceSettingsV1.ts +64 -0
- package/model/input.ts +68 -0
- package/model/integrationOptionBeta.ts +86 -0
- package/model/invitePermissionV1.ts +61 -0
- package/model/inviteV1.ts +51 -0
- package/model/label.ts +59 -0
- package/model/label1.ts +59 -0
- package/model/label2.ts +59 -0
- package/model/labelAlpha.ts +59 -0
- package/model/labelV1.ts +59 -0
- package/model/listAuditEvents200Response.ts +36 -0
- package/model/listAuditEventsV1Output.ts +49 -0
- package/model/listConnectedDestinationsFromSource200Response.ts +36 -0
- package/model/listConnectedDestinationsFromSource200Response1.ts +36 -0
- package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +49 -0
- package/model/listConnectedDestinationsFromSourceV1Output.ts +49 -0
- package/model/listConnectedSourcesFromWarehouse200Response.ts +36 -0
- package/model/listConnectedSourcesFromWarehouseV1Output.ts +49 -0
- package/model/listConnectedWarehousesFromSource200Response.ts +36 -0
- package/model/listConnectedWarehousesFromSource200Response1.ts +36 -0
- package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +49 -0
- package/model/listConnectedWarehousesFromSourceV1Output.ts +49 -0
- package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +36 -0
- package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +39 -0
- package/model/listDestinations200Response.ts +36 -0
- package/model/listDestinationsV1Output.ts +49 -0
- package/model/listFiltersFromDestination200Response.ts +36 -0
- package/model/listFiltersFromDestinationV1Output.ts +49 -0
- package/model/listFunctionItemV1.ts +111 -0
- package/model/listFunctions200Response.ts +36 -0
- package/model/listFunctionsV1Output.ts +49 -0
- package/model/listInvites200Response.ts +36 -0
- package/model/listInvitesFromUserGroup200Response.ts +36 -0
- package/model/listInvitesFromUserGroupV1Output.ts +48 -0
- package/model/listInvitesV1Output.ts +48 -0
- package/model/listLabels200Response.ts +36 -0
- package/model/listLabels200Response1.ts +36 -0
- package/model/listLabelsAlphaOutput.ts +42 -0
- package/model/listLabelsV1Output.ts +42 -0
- package/model/listRegulationsFromSource200Response.ts +36 -0
- package/model/listRegulationsFromSourceV1Output.ts +42 -0
- package/model/listRoles200Response.ts +36 -0
- package/model/listRolesV1Output.ts +49 -0
- package/model/listRulesFromTrackingPlan200Response.ts +36 -0
- package/model/listRulesFromTrackingPlanV1Output.ts +49 -0
- package/model/listSchemaSettingsInSource200Response.ts +36 -0
- package/model/listSchemaSettingsInSourceV1Output.ts +48 -0
- package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +36 -0
- package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +49 -0
- package/model/listSources200Response.ts +36 -0
- package/model/listSources200Response1.ts +36 -0
- package/model/listSourcesAlphaOutput.ts +49 -0
- package/model/listSourcesFromTrackingPlan200Response.ts +36 -0
- package/model/listSourcesFromTrackingPlanV1Output.ts +49 -0
- package/model/listSourcesV1Output.ts +49 -0
- package/model/listSubscriptionsFromDestination200Response.ts +36 -0
- package/model/listSubscriptionsFromDestinationAlphaOutput.ts +49 -0
- package/model/listSuppressions200Response.ts +36 -0
- package/model/listSuppressionsV1Output.ts +49 -0
- package/model/listSyncsFromWarehouse200Response.ts +36 -0
- package/model/listSyncsFromWarehouseAndSource200Response.ts +36 -0
- package/model/listSyncsFromWarehouseAndSourceV1Output.ts +49 -0
- package/model/listSyncsFromWarehouseV1Output.ts +49 -0
- package/model/listTrackingPlans200Response.ts +36 -0
- package/model/listTrackingPlansV1Output.ts +49 -0
- package/model/listTransformations200Response.ts +36 -0
- package/model/listTransformationsBetaOutput.ts +49 -0
- package/model/listUserGroups200Response.ts +36 -0
- package/model/listUserGroupsFromUser200Response.ts +36 -0
- package/model/listUserGroupsFromUserV1Output.ts +49 -0
- package/model/listUserGroupsV1Output.ts +49 -0
- package/model/listUsers200Response.ts +36 -0
- package/model/listUsersFromUserGroup200Response.ts +36 -0
- package/model/listUsersFromUserGroupV1Output.ts +49 -0
- package/model/listUsersV1Output.ts +49 -0
- package/model/listWarehouses200Response.ts +36 -0
- package/model/listWarehousesV1Output.ts +49 -0
- package/model/listWorkspaceRegulations200Response.ts +36 -0
- package/model/listWorkspaceRegulationsV1Output.ts +49 -0
- package/model/logos.ts +59 -0
- package/model/logos1.ts +59 -0
- package/model/logos2.ts +59 -0
- package/model/logosBeta.ts +59 -0
- package/model/messageSubscriptionResponse.ts +78 -0
- package/model/messageSubscriptionResponseError.ts +47 -0
- package/model/messagesSubscriptionRequest.ts +68 -0
- package/model/metadata.ts +203 -0
- package/model/metadata1.ts +103 -0
- package/model/metadata2.ts +85 -0
- package/model/metricBeta.ts +60 -0
- package/model/minimalUserGroupV1.ts +50 -0
- package/model/minimalUserV1.ts +59 -0
- package/model/models.ts +1838 -0
- package/model/mtuSnapshotV1.ts +95 -0
- package/model/pagination.ts +68 -0
- package/model/paginationInput.ts +50 -0
- package/model/paginationOutput.ts +68 -0
- package/model/permissionInputV1.ts +51 -0
- package/model/permissionResourceV1.ts +70 -0
- package/model/permissionV1.ts +70 -0
- package/model/previewDestinationFilter200Response.ts +36 -0
- package/model/previewDestinationFilterV1.ts +51 -0
- package/model/previewDestinationFilterV1Input.ts +48 -0
- package/model/previewDestinationFilterV1Output.ts +50 -0
- package/model/propertyRenameBeta.ts +47 -0
- package/model/regulation.ts +99 -0
- package/model/regulationListEntryV1.ts +77 -0
- package/model/removeFilterFromDestination200Response.ts +36 -0
- package/model/removeFilterFromDestinationV1Output.ts +47 -0
- package/model/removeRuleV1.ts +61 -0
- package/model/removeRulesFromTrackingPlan200Response.ts +36 -0
- package/model/removeRulesFromTrackingPlanV1Output.ts +47 -0
- package/model/removeSourceConnectionFromWarehouse200Response.ts +36 -0
- package/model/removeSourceConnectionFromWarehouseV1Output.ts +47 -0
- package/model/removeSourceFromTrackingPlan200Response.ts +36 -0
- package/model/removeSourceFromTrackingPlanV1Output.ts +47 -0
- package/model/removeSubscriptionFromDestination200Response.ts +36 -0
- package/model/removeSubscriptionFromDestinationAlphaOutput.ts +47 -0
- package/model/removeUsersFromUserGroup200Response.ts +36 -0
- package/model/removeUsersFromUserGroupV1Output.ts +47 -0
- package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +36 -0
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +48 -0
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +48 -0
- package/model/replaceLabelsInSource200Response.ts +36 -0
- package/model/replaceLabelsInSource200Response1.ts +36 -0
- package/model/replaceLabelsInSourceAlphaInput.ts +42 -0
- package/model/replaceLabelsInSourceAlphaOutput.ts +42 -0
- package/model/replaceLabelsInSourceV1Input.ts +42 -0
- package/model/replaceLabelsInSourceV1Output.ts +42 -0
- package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +36 -0
- package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +42 -0
- package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +58 -0
- package/model/replacePermissionsForUser200Response.ts +36 -0
- package/model/replacePermissionsForUserGroup200Response.ts +36 -0
- package/model/replacePermissionsForUserGroupV1Input.ts +42 -0
- package/model/replacePermissionsForUserGroupV1Output.ts +42 -0
- package/model/replacePermissionsForUserV1Input.ts +42 -0
- package/model/replacePermissionsForUserV1Output.ts +42 -0
- package/model/replaceRulesInTrackingPlan200Response.ts +36 -0
- package/model/replaceRulesInTrackingPlanV1Input.ts +42 -0
- package/model/replaceRulesInTrackingPlanV1Output.ts +47 -0
- package/model/replaceUsersInUserGroup200Response.ts +36 -0
- package/model/replaceUsersInUserGroupV1Input.ts +41 -0
- package/model/replaceUsersInUserGroupV1Output.ts +39 -0
- package/model/requestError.ts +77 -0
- package/model/requestErrorEnvelope.ts +39 -0
- package/model/resourceV1.ts +60 -0
- package/model/roleV1.ts +59 -0
- package/model/ruleV1.ts +106 -0
- package/model/schedule.ts +51 -0
- package/model/schedule1.ts +51 -0
- package/model/schedule2.ts +51 -0
- package/model/settings.ts +71 -0
- package/model/settings1.ts +71 -0
- package/model/source.ts +59 -0
- package/model/source1.ts +112 -0
- package/model/source2.ts +112 -0
- package/model/source3.ts +112 -0
- package/model/source4.ts +112 -0
- package/model/source5.ts +112 -0
- package/model/source6.ts +112 -0
- package/model/sourceAPICallSnapshotV1.ts +59 -0
- package/model/sourceAlpha.ts +112 -0
- package/model/sourceEventVolumeDatapointV1.ts +50 -0
- package/model/sourceEventVolumeV1.ts +76 -0
- package/model/sourceMetadata.ts +103 -0
- package/model/sourceMetadataV1.ts +103 -0
- package/model/sourceSettingsOutputV1.ts +71 -0
- package/model/sourceV1.ts +112 -0
- package/model/space.ts +50 -0
- package/model/streamStatusV1.ts +45 -0
- package/model/subscription.ts +104 -0
- package/model/supportedFeatures.ts +93 -0
- package/model/supportedMethods.ts +77 -0
- package/model/supportedPlatforms.ts +59 -0
- package/model/suppressedInner.ts +41 -0
- package/model/syncNoticeV1.ts +59 -0
- package/model/syncV1.ts +105 -0
- package/model/track.ts +85 -0
- package/model/trackSourceSettingsV1.ts +82 -0
- package/model/trackingPlan.ts +104 -0
- package/model/trackingPlan1.ts +104 -0
- package/model/trackingPlanV1.ts +104 -0
- package/model/transformation.ts +105 -0
- package/model/transformation1.ts +105 -0
- package/model/transformation2.ts +105 -0
- package/model/transformationBeta.ts +105 -0
- package/model/updateDestination200Response.ts +36 -0
- package/model/updateDestinationV1Input.ts +59 -0
- package/model/updateDestinationV1Output.ts +39 -0
- package/model/updateFilterForDestination200Response.ts +36 -0
- package/model/updateFilterForDestinationV1Input.ts +78 -0
- package/model/updateFilterForDestinationV1Output.ts +39 -0
- package/model/updateFunction200Response.ts +36 -0
- package/model/updateFunctionV1Input.ts +78 -0
- package/model/updateFunctionV1Output.ts +39 -0
- package/model/updateRulesInTrackingPlan200Response.ts +36 -0
- package/model/updateRulesInTrackingPlanV1Input.ts +42 -0
- package/model/updateRulesInTrackingPlanV1Output.ts +47 -0
- package/model/updateSchemaSettingsInSource200Response.ts +36 -0
- package/model/updateSchemaSettingsInSourceV1Input.ts +71 -0
- package/model/updateSchemaSettingsInSourceV1Output.ts +48 -0
- package/model/updateSelectiveSyncForWarehouse200Response.ts +36 -0
- package/model/updateSelectiveSyncForWarehouseV1Input.ts +42 -0
- package/model/updateSelectiveSyncForWarehouseV1Output.ts +57 -0
- package/model/updateSource200Response.ts +36 -0
- package/model/updateSource200Response1.ts +36 -0
- package/model/updateSourceAlphaInput.ts +68 -0
- package/model/updateSourceAlphaOutput.ts +39 -0
- package/model/updateSourceV1Input.ts +68 -0
- package/model/updateSourceV1Output.ts +39 -0
- package/model/updateSubscriptionForDestination200Response.ts +36 -0
- package/model/updateSubscriptionForDestinationAlphaInput.ts +39 -0
- package/model/updateSubscriptionForDestinationAlphaOutput.ts +39 -0
- package/model/updateTrackingPlan200Response.ts +36 -0
- package/model/updateTrackingPlanV1Input.ts +50 -0
- package/model/updateTrackingPlanV1Output.ts +47 -0
- package/model/updateTransformation200Response.ts +36 -0
- package/model/updateTransformationBetaInput.ts +96 -0
- package/model/updateTransformationBetaOutput.ts +39 -0
- package/model/updateUserGroup200Response.ts +36 -0
- package/model/updateUserGroupV1Input.ts +41 -0
- package/model/updateUserGroupV1Output.ts +39 -0
- package/model/updateWarehouse200Response.ts +36 -0
- package/model/updateWarehouseV1Input.ts +59 -0
- package/model/updateWarehouseV1Output.ts +39 -0
- package/model/upsertRuleV1.ts +112 -0
- package/model/user.ts +69 -0
- package/model/userGroup.ts +69 -0
- package/model/userGroup1.ts +69 -0
- package/model/userGroup2.ts +69 -0
- package/model/userGroup3.ts +69 -0
- package/model/userGroupV1.ts +69 -0
- package/model/userV1.ts +69 -0
- package/model/usersPerSourceSnapshotV1.ts +104 -0
- package/model/warehouse.ts +75 -0
- package/model/warehouse1.ts +75 -0
- package/model/warehouse2.ts +75 -0
- package/model/warehouseAdvancedSyncV1.ts +50 -0
- package/model/warehouseMetadata.ts +85 -0
- package/model/warehouseMetadataV1.ts +85 -0
- package/model/warehouseSelectiveSyncItemV1.ts +68 -0
- package/model/warehouseSyncOverrideV1.ts +68 -0
- package/model/warehouseV1.ts +75 -0
- package/model/workspace.ts +59 -0
- package/model/workspaceV1.ts +59 -0
- package/package.json +1 -2
- package/tests/__snapshots__/smoke.test.ts.snap +889 -0
- package/tests/smoke.test.ts +267 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpdateRulesInTrackingPlanV1Output } from './updateRulesInTrackingPlanV1Output';
|
|
15
|
+
|
|
16
|
+
export class UpdateRulesInTrackingPlan200Response {
|
|
17
|
+
'data'?: UpdateRulesInTrackingPlanV1Output;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
baseName: 'data',
|
|
29
|
+
type: 'UpdateRulesInTrackingPlanV1Output',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return UpdateRulesInTrackingPlan200Response.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpsertRuleV1 } from './upsertRuleV1';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Updates Tracking Plan rules. Non-existent rules are added.
|
|
18
|
+
*/
|
|
19
|
+
export class UpdateRulesInTrackingPlanV1Input {
|
|
20
|
+
/**
|
|
21
|
+
* Rules to update or insert.
|
|
22
|
+
*/
|
|
23
|
+
'rules'?: Array<UpsertRuleV1>;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}> = [
|
|
32
|
+
{
|
|
33
|
+
name: 'rules',
|
|
34
|
+
baseName: 'rules',
|
|
35
|
+
type: 'Array<UpsertRuleV1>',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return UpdateRulesInTrackingPlanV1Input.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Updates Tracking Plan rules. Non-existent rules are added.
|
|
17
|
+
*/
|
|
18
|
+
export class UpdateRulesInTrackingPlanV1Output {
|
|
19
|
+
/**
|
|
20
|
+
* The operation status.
|
|
21
|
+
*/
|
|
22
|
+
'status': UpdateRulesInTrackingPlanV1Output.StatusEnum;
|
|
23
|
+
|
|
24
|
+
static discriminator: string | undefined = undefined;
|
|
25
|
+
|
|
26
|
+
static attributeTypeMap: Array<{
|
|
27
|
+
name: string;
|
|
28
|
+
baseName: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}> = [
|
|
31
|
+
{
|
|
32
|
+
name: 'status',
|
|
33
|
+
baseName: 'status',
|
|
34
|
+
type: 'UpdateRulesInTrackingPlanV1Output.StatusEnum',
|
|
35
|
+
},
|
|
36
|
+
];
|
|
37
|
+
|
|
38
|
+
static getAttributeTypeMap() {
|
|
39
|
+
return UpdateRulesInTrackingPlanV1Output.attributeTypeMap;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export namespace UpdateRulesInTrackingPlanV1Output {
|
|
44
|
+
export enum StatusEnum {
|
|
45
|
+
SUCCESS = <any>'SUCCESS',
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpdateSchemaSettingsInSourceV1Output } from './updateSchemaSettingsInSourceV1Output';
|
|
15
|
+
|
|
16
|
+
export class UpdateSchemaSettingsInSource200Response {
|
|
17
|
+
'data'?: UpdateSchemaSettingsInSourceV1Output;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
baseName: 'data',
|
|
29
|
+
type: 'UpdateSchemaSettingsInSourceV1Output',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return UpdateSchemaSettingsInSource200Response.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { Group } from './group';
|
|
15
|
+
import { Identify } from './identify';
|
|
16
|
+
import { Track } from './track';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
* Input to update a Source\'s settings.
|
|
20
|
+
*/
|
|
21
|
+
export class UpdateSchemaSettingsInSourceV1Input {
|
|
22
|
+
'track'?: Track;
|
|
23
|
+
'identify'?: Identify;
|
|
24
|
+
'group'?: Group;
|
|
25
|
+
/**
|
|
26
|
+
* Source id to forward violations to.
|
|
27
|
+
*/
|
|
28
|
+
'forwardingViolationsTo'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Source id to forward blocked events to.
|
|
31
|
+
*/
|
|
32
|
+
'forwardingBlockedEventsTo'?: string;
|
|
33
|
+
|
|
34
|
+
static discriminator: string | undefined = undefined;
|
|
35
|
+
|
|
36
|
+
static attributeTypeMap: Array<{
|
|
37
|
+
name: string;
|
|
38
|
+
baseName: string;
|
|
39
|
+
type: string;
|
|
40
|
+
}> = [
|
|
41
|
+
{
|
|
42
|
+
name: 'track',
|
|
43
|
+
baseName: 'track',
|
|
44
|
+
type: 'Track',
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
name: 'identify',
|
|
48
|
+
baseName: 'identify',
|
|
49
|
+
type: 'Identify',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: 'group',
|
|
53
|
+
baseName: 'group',
|
|
54
|
+
type: 'Group',
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
name: 'forwardingViolationsTo',
|
|
58
|
+
baseName: 'forwardingViolationsTo',
|
|
59
|
+
type: 'string',
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
name: 'forwardingBlockedEventsTo',
|
|
63
|
+
baseName: 'forwardingBlockedEventsTo',
|
|
64
|
+
type: 'string',
|
|
65
|
+
},
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
static getAttributeTypeMap() {
|
|
69
|
+
return UpdateSchemaSettingsInSourceV1Input.attributeTypeMap;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { Settings1 } from './settings1';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Output of the Source with updated settings.
|
|
18
|
+
*/
|
|
19
|
+
export class UpdateSchemaSettingsInSourceV1Output {
|
|
20
|
+
/**
|
|
21
|
+
* The id of the updated Source. Config API note: analogous to `parent` and `name`.
|
|
22
|
+
*/
|
|
23
|
+
'sourceId': string;
|
|
24
|
+
'settings': Settings1;
|
|
25
|
+
|
|
26
|
+
static discriminator: string | undefined = undefined;
|
|
27
|
+
|
|
28
|
+
static attributeTypeMap: Array<{
|
|
29
|
+
name: string;
|
|
30
|
+
baseName: string;
|
|
31
|
+
type: string;
|
|
32
|
+
}> = [
|
|
33
|
+
{
|
|
34
|
+
name: 'sourceId',
|
|
35
|
+
baseName: 'sourceId',
|
|
36
|
+
type: 'string',
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
name: 'settings',
|
|
40
|
+
baseName: 'settings',
|
|
41
|
+
type: 'Settings1',
|
|
42
|
+
},
|
|
43
|
+
];
|
|
44
|
+
|
|
45
|
+
static getAttributeTypeMap() {
|
|
46
|
+
return UpdateSchemaSettingsInSourceV1Output.attributeTypeMap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpdateSelectiveSyncForWarehouseV1Output } from './updateSelectiveSyncForWarehouseV1Output';
|
|
15
|
+
|
|
16
|
+
export class UpdateSelectiveSyncForWarehouse200Response {
|
|
17
|
+
'data'?: UpdateSelectiveSyncForWarehouseV1Output;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
baseName: 'data',
|
|
29
|
+
type: 'UpdateSelectiveSyncForWarehouseV1Output',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return UpdateSelectiveSyncForWarehouse200Response.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { WarehouseSyncOverrideV1 } from './warehouseSyncOverrideV1';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Updates the schema for a Warehouse/sources pair.
|
|
18
|
+
*/
|
|
19
|
+
export class UpdateSelectiveSyncForWarehouseV1Input {
|
|
20
|
+
/**
|
|
21
|
+
* A list of sync schema overrides to apply to this Warehouse.
|
|
22
|
+
*/
|
|
23
|
+
'syncOverrides'?: Array<WarehouseSyncOverrideV1>;
|
|
24
|
+
|
|
25
|
+
static discriminator: string | undefined = undefined;
|
|
26
|
+
|
|
27
|
+
static attributeTypeMap: Array<{
|
|
28
|
+
name: string;
|
|
29
|
+
baseName: string;
|
|
30
|
+
type: string;
|
|
31
|
+
}> = [
|
|
32
|
+
{
|
|
33
|
+
name: 'syncOverrides',
|
|
34
|
+
baseName: 'syncOverrides',
|
|
35
|
+
type: 'Array<WarehouseSyncOverrideV1>',
|
|
36
|
+
},
|
|
37
|
+
];
|
|
38
|
+
|
|
39
|
+
static getAttributeTypeMap() {
|
|
40
|
+
return UpdateSelectiveSyncForWarehouseV1Input.attributeTypeMap;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Results from updating the schema for a Warehouse/source pair.
|
|
17
|
+
*/
|
|
18
|
+
export class UpdateSelectiveSyncForWarehouseV1Output {
|
|
19
|
+
/**
|
|
20
|
+
* Status of the update operation.
|
|
21
|
+
*/
|
|
22
|
+
'status': UpdateSelectiveSyncForWarehouseV1Output.StatusEnum;
|
|
23
|
+
/**
|
|
24
|
+
* Warnings returned by the operation.
|
|
25
|
+
*/
|
|
26
|
+
'warnings': Array<string>;
|
|
27
|
+
|
|
28
|
+
static discriminator: string | undefined = undefined;
|
|
29
|
+
|
|
30
|
+
static attributeTypeMap: Array<{
|
|
31
|
+
name: string;
|
|
32
|
+
baseName: string;
|
|
33
|
+
type: string;
|
|
34
|
+
}> = [
|
|
35
|
+
{
|
|
36
|
+
name: 'status',
|
|
37
|
+
baseName: 'status',
|
|
38
|
+
type: 'UpdateSelectiveSyncForWarehouseV1Output.StatusEnum',
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
name: 'warnings',
|
|
42
|
+
baseName: 'warnings',
|
|
43
|
+
type: 'Array<string>',
|
|
44
|
+
},
|
|
45
|
+
];
|
|
46
|
+
|
|
47
|
+
static getAttributeTypeMap() {
|
|
48
|
+
return UpdateSelectiveSyncForWarehouseV1Output.attributeTypeMap;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export namespace UpdateSelectiveSyncForWarehouseV1Output {
|
|
53
|
+
export enum StatusEnum {
|
|
54
|
+
UNCHANGED = <any>'UNCHANGED',
|
|
55
|
+
UPDATED = <any>'UPDATED',
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpdateSourceAlphaOutput } from './updateSourceAlphaOutput';
|
|
15
|
+
|
|
16
|
+
export class UpdateSource200Response {
|
|
17
|
+
'data'?: UpdateSourceAlphaOutput;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
baseName: 'data',
|
|
29
|
+
type: 'UpdateSourceAlphaOutput',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return UpdateSource200Response.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { UpdateSourceV1Output } from './updateSourceV1Output';
|
|
15
|
+
|
|
16
|
+
export class UpdateSource200Response1 {
|
|
17
|
+
'data'?: UpdateSourceV1Output;
|
|
18
|
+
|
|
19
|
+
static discriminator: string | undefined = undefined;
|
|
20
|
+
|
|
21
|
+
static attributeTypeMap: Array<{
|
|
22
|
+
name: string;
|
|
23
|
+
baseName: string;
|
|
24
|
+
type: string;
|
|
25
|
+
}> = [
|
|
26
|
+
{
|
|
27
|
+
name: 'data',
|
|
28
|
+
baseName: 'data',
|
|
29
|
+
type: 'UpdateSourceV1Output',
|
|
30
|
+
},
|
|
31
|
+
];
|
|
32
|
+
|
|
33
|
+
static getAttributeTypeMap() {
|
|
34
|
+
return UpdateSource200Response1.attributeTypeMap;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Updates an existing Source based on a set of parameters.
|
|
17
|
+
*/
|
|
18
|
+
export class UpdateSourceAlphaInput {
|
|
19
|
+
/**
|
|
20
|
+
* An optional human-readable name to associate with the Source. Config API note: equal to `displayName`.
|
|
21
|
+
*/
|
|
22
|
+
'name'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Enable to allow the Source to send data.
|
|
25
|
+
*/
|
|
26
|
+
'enabled'?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The slug that identifies the Source. Config API note: equal to `name`.
|
|
29
|
+
*/
|
|
30
|
+
'slug'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A key-value object that contains instance-specific settings for the Source. Different kinds of Sources require different kinds of input. The settings input for a Source comes from the `options` object associated with this instance of a Source. You can find the full list of required settings by accessing the Sources catalog endpoint under `/catalog/sources`.
|
|
33
|
+
*/
|
|
34
|
+
'settings'?: any;
|
|
35
|
+
|
|
36
|
+
static discriminator: string | undefined = undefined;
|
|
37
|
+
|
|
38
|
+
static attributeTypeMap: Array<{
|
|
39
|
+
name: string;
|
|
40
|
+
baseName: string;
|
|
41
|
+
type: string;
|
|
42
|
+
}> = [
|
|
43
|
+
{
|
|
44
|
+
name: 'name',
|
|
45
|
+
baseName: 'name',
|
|
46
|
+
type: 'string',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'enabled',
|
|
50
|
+
baseName: 'enabled',
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'slug',
|
|
55
|
+
baseName: 'slug',
|
|
56
|
+
type: 'string',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'settings',
|
|
60
|
+
baseName: 'settings',
|
|
61
|
+
type: 'any',
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
|
|
65
|
+
static getAttributeTypeMap() {
|
|
66
|
+
return UpdateSourceAlphaInput.attributeTypeMap;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
import { Source3 } from './source3';
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Returns the updated Source.
|
|
18
|
+
*/
|
|
19
|
+
export class UpdateSourceAlphaOutput {
|
|
20
|
+
'source': Source3;
|
|
21
|
+
|
|
22
|
+
static discriminator: string | undefined = undefined;
|
|
23
|
+
|
|
24
|
+
static attributeTypeMap: Array<{
|
|
25
|
+
name: string;
|
|
26
|
+
baseName: string;
|
|
27
|
+
type: string;
|
|
28
|
+
}> = [
|
|
29
|
+
{
|
|
30
|
+
name: 'source',
|
|
31
|
+
baseName: 'source',
|
|
32
|
+
type: 'Source3',
|
|
33
|
+
},
|
|
34
|
+
];
|
|
35
|
+
|
|
36
|
+
static getAttributeTypeMap() {
|
|
37
|
+
return UpdateSourceAlphaOutput.attributeTypeMap;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Segment Public API
|
|
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
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 32.0.2
|
|
6
|
+
* Contact: friends@segment.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
import { RequestFile } from './models';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Updates an existing Source based on a set of parameters.
|
|
17
|
+
*/
|
|
18
|
+
export class UpdateSourceV1Input {
|
|
19
|
+
/**
|
|
20
|
+
* An optional human-readable name to associate with the Source. Config API note: equal to `displayName`.
|
|
21
|
+
*/
|
|
22
|
+
'name'?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Enable to allow the Source to send data.
|
|
25
|
+
*/
|
|
26
|
+
'enabled'?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* The slug that identifies the Source. Config API note: equal to `name`.
|
|
29
|
+
*/
|
|
30
|
+
'slug'?: string;
|
|
31
|
+
/**
|
|
32
|
+
* A key-value object that contains instance-specific settings for the Source. Different kinds of Sources require different kinds of input. The settings input for a Source comes from the `options` object associated with this instance of a Source. You can find the full list of required settings by accessing the Sources catalog endpoint under `/catalog/sources`.
|
|
33
|
+
*/
|
|
34
|
+
'settings'?: any;
|
|
35
|
+
|
|
36
|
+
static discriminator: string | undefined = undefined;
|
|
37
|
+
|
|
38
|
+
static attributeTypeMap: Array<{
|
|
39
|
+
name: string;
|
|
40
|
+
baseName: string;
|
|
41
|
+
type: string;
|
|
42
|
+
}> = [
|
|
43
|
+
{
|
|
44
|
+
name: 'name',
|
|
45
|
+
baseName: 'name',
|
|
46
|
+
type: 'string',
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
name: 'enabled',
|
|
50
|
+
baseName: 'enabled',
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
name: 'slug',
|
|
55
|
+
baseName: 'slug',
|
|
56
|
+
type: 'string',
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
name: 'settings',
|
|
60
|
+
baseName: 'settings',
|
|
61
|
+
type: 'any',
|
|
62
|
+
},
|
|
63
|
+
];
|
|
64
|
+
|
|
65
|
+
static getAttributeTypeMap() {
|
|
66
|
+
return UpdateSourceV1Input.attributeTypeMap;
|
|
67
|
+
}
|
|
68
|
+
}
|