@segment/public-api-sdk-typescript 1.0.0 → 1.0.1
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/package.json +2 -1
- package/api/aPICallsApi.ts +0 -1176
- package/api/apis.ts +0 -178
- package/api/auditTrailApi.ts +0 -714
- package/api/catalogApi.ts +0 -2916
- package/api/deletionAndSuppressionApi.ts +0 -4298
- package/api/destinationFiltersApi.ts +0 -3262
- package/api/destinationsApi.ts +0 -3494
- package/api/edgeFunctionsApi.ts +0 -593
- package/api/eventsApi.ts +0 -922
- package/api/functionsApi.ts +0 -3036
- package/api/iAMGroupsApi.ts +0 -6204
- package/api/iAMRolesApi.ts +0 -566
- package/api/iAMUsersApi.ts +0 -4486
- package/api/labelsApi.ts +0 -1488
- package/api/monthlyTrackedUsersApi.ts +0 -1178
- package/api/selectiveSyncApi.ts +0 -3321
- package/api/sourcesApi.ts +0 -5602
- package/api/spacesApi.ts +0 -489
- package/api/testingApi.ts +0 -568
- package/api/trackingPlansApi.ts +0 -6238
- package/api/transformationsApi.ts +0 -1316
- package/api/warehousesApi.ts +0 -5004
- package/api/workspacesApi.ts +0 -513
- package/api.ts +0 -3
- package/jest.config.js +0 -10
- package/model/aPICallSnapshotV1.ts +0 -50
- package/model/accessPermissionV1.ts +0 -60
- package/model/addConnectionFromSourceToWarehouse200Response.ts +0 -36
- package/model/addConnectionFromSourceToWarehouseV1Output.ts +0 -48
- package/model/addLabelsToSource200Response.ts +0 -36
- package/model/addLabelsToSource200Response1.ts +0 -36
- package/model/addLabelsToSourceAlphaInput.ts +0 -42
- package/model/addLabelsToSourceAlphaOutput.ts +0 -42
- package/model/addLabelsToSourceV1Input.ts +0 -42
- package/model/addLabelsToSourceV1Output.ts +0 -42
- package/model/addPermissionsToUser200Response.ts +0 -36
- package/model/addPermissionsToUserGroup200Response.ts +0 -36
- package/model/addPermissionsToUserGroupV1Input.ts +0 -42
- package/model/addPermissionsToUserGroupV1Output.ts +0 -42
- package/model/addPermissionsToUserV1Input.ts +0 -42
- package/model/addPermissionsToUserV1Output.ts +0 -42
- package/model/addSourceToTrackingPlan200Response.ts +0 -36
- package/model/addSourceToTrackingPlanV1Input.ts +0 -41
- package/model/addSourceToTrackingPlanV1Output.ts +0 -47
- package/model/addUsersToUserGroup200Response.ts +0 -36
- package/model/addUsersToUserGroupV1Input.ts +0 -41
- package/model/addUsersToUserGroupV1Output.ts +0 -39
- package/model/advancedWarehouseSyncScheduleV1Input.ts +0 -51
- package/model/advancedWarehouseSyncScheduleV1Output.ts +0 -51
- package/model/allowedLabelBeta.ts +0 -59
- package/model/auditEventV1.ts +0 -95
- package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +0 -36
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +0 -42
- package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +0 -69
- package/model/breakdownBeta.ts +0 -50
- package/model/commonSourceSettingsV1.ts +0 -68
- package/model/createCloudSourceRegulation200Response.ts +0 -36
- package/model/createCloudSourceRegulationV1Input.ts +0 -82
- package/model/createCloudSourceRegulationV1Output.ts +0 -41
- package/model/createDestination200Response.ts +0 -36
- package/model/createDestinationSubscription200Response.ts +0 -36
- package/model/createDestinationSubscriptionAlphaInput.ts +0 -77
- package/model/createDestinationSubscriptionAlphaOutput.ts +0 -39
- package/model/createDestinationV1Input.ts +0 -77
- package/model/createDestinationV1Output.ts +0 -39
- package/model/createEdgeFunctions200Response.ts +0 -36
- package/model/createEdgeFunctionsAlphaInput.ts +0 -41
- package/model/createEdgeFunctionsAlphaOutput.ts +0 -39
- package/model/createFilterForDestination200Response.ts +0 -36
- package/model/createFilterForDestinationV1Input.ts +0 -87
- package/model/createFilterForDestinationV1Output.ts +0 -39
- package/model/createFunction200Response.ts +0 -36
- package/model/createFunctionDeployment200Response.ts +0 -36
- package/model/createFunctionDeploymentV1Output.ts +0 -39
- package/model/createFunctionV1Input.ts +0 -94
- package/model/createFunctionV1Output.ts +0 -39
- package/model/createInvites200Response.ts +0 -36
- package/model/createInvitesV1Input.ts +0 -42
- package/model/createInvitesV1Output.ts +0 -41
- package/model/createLabel200Response.ts +0 -36
- package/model/createLabel200Response1.ts +0 -36
- package/model/createLabelAlphaInput.ts +0 -39
- package/model/createLabelAlphaOutput.ts +0 -42
- package/model/createLabelV1Input.ts +0 -39
- package/model/createLabelV1Output.ts +0 -39
- package/model/createSource200Response.ts +0 -36
- package/model/createSource200Response1.ts +0 -36
- package/model/createSourceAlphaInput.ts +0 -77
- package/model/createSourceAlphaOutput.ts +0 -39
- package/model/createSourceRegulation200Response.ts +0 -36
- package/model/createSourceRegulationV1Input.ts +0 -73
- package/model/createSourceRegulationV1Output.ts +0 -41
- package/model/createSourceV1Input.ts +0 -68
- package/model/createSourceV1Output.ts +0 -39
- package/model/createTrackingPlan200Response.ts +0 -36
- package/model/createTrackingPlanV1Input.ts +0 -68
- package/model/createTrackingPlanV1Output.ts +0 -39
- package/model/createTransformation200Response.ts +0 -36
- package/model/createTransformationBetaInput.ts +0 -96
- package/model/createTransformationBetaOutput.ts +0 -39
- package/model/createUserGroup200Response.ts +0 -36
- package/model/createUserGroupV1Input.ts +0 -41
- package/model/createUserGroupV1Output.ts +0 -39
- package/model/createValidationInWarehouse200Response.ts +0 -36
- package/model/createValidationInWarehouseV1Input.ts +0 -50
- package/model/createValidationInWarehouseV1Output.ts +0 -48
- package/model/createWarehouse200Response.ts +0 -36
- package/model/createWarehouseV1Input.ts +0 -68
- package/model/createWarehouseV1Output.ts +0 -39
- package/model/createWorkspaceRegulation200Response.ts +0 -36
- package/model/createWorkspaceRegulationV1Input.ts +0 -74
- package/model/createWorkspaceRegulationV1Output.ts +0 -41
- package/model/deleteDestination200Response.ts +0 -36
- package/model/deleteDestinationV1Output.ts +0 -47
- package/model/deleteFunction200Response.ts +0 -36
- package/model/deleteFunctionV1Output.ts +0 -47
- package/model/deleteInvites200Response.ts +0 -36
- package/model/deleteInvitesV1Output.ts +0 -47
- package/model/deleteLabel200Response.ts +0 -36
- package/model/deleteLabel200Response1.ts +0 -36
- package/model/deleteLabelAlphaOutput.ts +0 -47
- package/model/deleteLabelV1Output.ts +0 -47
- package/model/deleteRegulation200Response.ts +0 -36
- package/model/deleteRegulationV1Output.ts +0 -47
- package/model/deleteSource200Response.ts +0 -36
- package/model/deleteSource200Response1.ts +0 -36
- package/model/deleteSourceAlphaOutput.ts +0 -47
- package/model/deleteSourceV1Output.ts +0 -47
- package/model/deleteTrackingPlan200Response.ts +0 -36
- package/model/deleteTrackingPlanV1Output.ts +0 -47
- package/model/deleteTransformation200Response.ts +0 -36
- package/model/deleteTransformationBetaOutput.ts +0 -47
- package/model/deleteUserGroup200Response.ts +0 -36
- package/model/deleteUserGroupV1Output.ts +0 -47
- package/model/deleteUsers200Response.ts +0 -36
- package/model/deleteUsersV1Output.ts +0 -47
- package/model/deleteWarehouse200Response.ts +0 -36
- package/model/deleteWarehouseV1Output.ts +0 -47
- package/model/deliveryMetricsSummary.ts +0 -60
- package/model/deliveryMetricsSummaryBeta.ts +0 -60
- package/model/destination.ts +0 -84
- package/model/destination1.ts +0 -84
- package/model/destination2.ts +0 -84
- package/model/destinationFilterActionV1.ts +0 -77
- package/model/destinationFilterV1.ts +0 -123
- package/model/destinationMetadata.ts +0 -184
- package/model/destinationMetadataActionFieldV1.ts +0 -163
- package/model/destinationMetadataActionV1.ts +0 -113
- package/model/destinationMetadataComponentV1.ts +0 -72
- package/model/destinationMetadataFeaturesV1.ts +0 -93
- package/model/destinationMetadataMethodsV1.ts +0 -77
- package/model/destinationMetadataPlatformsV1.ts +0 -59
- package/model/destinationMetadataSubscriptionPresetV1.ts +0 -68
- package/model/destinationMetadataV1.ts +0 -184
- package/model/destinationStatusV1.ts +0 -74
- package/model/destinationSubscription.ts +0 -104
- package/model/destinationSubscriptionUpdateInput.ts +0 -68
- package/model/destinationV1.ts +0 -84
- package/model/disableEdgeFunctions200Response.ts +0 -36
- package/model/disableEdgeFunctionsAlphaOutput.ts +0 -39
- package/model/echo200Response.ts +0 -36
- package/model/echo200Response1.ts +0 -36
- package/model/echoAlphaOutput.ts +0 -66
- package/model/echoV1Output.ts +0 -66
- package/model/edgeFunctions.ts +0 -86
- package/model/edgeFunctions1.ts +0 -86
- package/model/edgeFunctionsAlpha.ts +0 -86
- package/model/eventSourceV1.ts +0 -59
- package/model/filter.ts +0 -51
- package/model/filter1.ts +0 -123
- package/model/filter2.ts +0 -123
- package/model/filter3.ts +0 -123
- package/model/function.ts +0 -166
- package/model/function1.ts +0 -166
- package/model/function2.ts +0 -166
- package/model/functionDeployment.ts +0 -44
- package/model/functionSettingV1.ts +0 -92
- package/model/functionV1.ts +0 -166
- package/model/generateUploadURLForEdgeFunctions200Response.ts +0 -36
- package/model/generateUploadURLForEdgeFunctionsAlphaOutput.ts +0 -41
- package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +0 -36
- package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +0 -48
- package/model/getConnectionStateFromWarehouse200Response.ts +0 -36
- package/model/getConnectionStateFromWarehouseV1Output.ts +0 -48
- package/model/getDailyPerSourceAPICallsUsage200Response.ts +0 -36
- package/model/getDailyPerSourceAPICallsUsageV1Output.ts +0 -49
- package/model/getDailyPerSourceMTUUsage200Response.ts +0 -36
- package/model/getDailyPerSourceMTUUsageV1Output.ts +0 -49
- package/model/getDailyWorkspaceAPICallsUsage200Response.ts +0 -36
- package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +0 -49
- package/model/getDailyWorkspaceMTUUsage200Response.ts +0 -36
- package/model/getDailyWorkspaceMTUUsageV1Output.ts +0 -49
- package/model/getDestination200Response.ts +0 -36
- package/model/getDestinationMetadata200Response.ts +0 -36
- package/model/getDestinationMetadataV1Output.ts +0 -39
- package/model/getDestinationV1Output.ts +0 -39
- package/model/getDestinationsCatalog200Response.ts +0 -36
- package/model/getDestinationsCatalogV1Output.ts +0 -49
- package/model/getEventsVolumeFromWorkspace200Response.ts +0 -36
- package/model/getEventsVolumeFromWorkspaceV1Output.ts +0 -49
- package/model/getFilterInDestination200Response.ts +0 -36
- package/model/getFilterInDestinationV1Output.ts +0 -39
- package/model/getFunction200Response.ts +0 -36
- package/model/getFunctionV1Output.ts +0 -39
- package/model/getLatestFromEdgeFunctions200Response.ts +0 -36
- package/model/getLatestFromEdgeFunctionsAlphaOutput.ts +0 -39
- package/model/getMessagingSubscriptionFailureResponse.ts +0 -57
- package/model/getMessagingSubscriptionSuccessResponse.ts +0 -68
- package/model/getRegulation200Response.ts +0 -36
- package/model/getRegulationV1Output.ts +0 -39
- package/model/getSource200Response.ts +0 -36
- package/model/getSource200Response1.ts +0 -36
- package/model/getSourceAlphaOutput.ts +0 -39
- package/model/getSourceMetadata200Response.ts +0 -36
- package/model/getSourceMetadataV1Output.ts +0 -39
- package/model/getSourceV1Output.ts +0 -39
- package/model/getSourcesCatalog200Response.ts +0 -36
- package/model/getSourcesCatalogV1Output.ts +0 -49
- package/model/getSpace200Response.ts +0 -36
- package/model/getSpaceAlphaOutput.ts +0 -39
- package/model/getSubscriptionFromDestination200Response.ts +0 -36
- package/model/getSubscriptionFromDestinationAlphaOutput.ts +0 -39
- package/model/getSubscriptionRequest.ts +0 -54
- package/model/getTrackingPlan200Response.ts +0 -36
- package/model/getTrackingPlanV1Output.ts +0 -39
- package/model/getTransformation200Response.ts +0 -36
- package/model/getTransformationBetaOutput.ts +0 -39
- package/model/getUser200Response.ts +0 -36
- package/model/getUserGroup200Response.ts +0 -36
- package/model/getUserGroupV1Output.ts +0 -39
- package/model/getUserV1Output.ts +0 -39
- package/model/getWarehouse200Response.ts +0 -36
- package/model/getWarehouseMetadata200Response.ts +0 -36
- package/model/getWarehouseMetadataV1Output.ts +0 -39
- package/model/getWarehouseV1Output.ts +0 -39
- package/model/getWarehousesCatalog200Response.ts +0 -36
- package/model/getWarehousesCatalogV1Output.ts +0 -49
- package/model/getWorkspace200Response.ts +0 -36
- package/model/getWorkspaceV1Output.ts +0 -39
- package/model/group.ts +0 -67
- package/model/groupSourceSettingsV1.ts +0 -64
- package/model/identify.ts +0 -67
- package/model/identifySourceSettingsV1.ts +0 -64
- package/model/input.ts +0 -68
- package/model/integrationOptionBeta.ts +0 -86
- package/model/invitePermissionV1.ts +0 -61
- package/model/inviteV1.ts +0 -51
- package/model/label.ts +0 -59
- package/model/label1.ts +0 -59
- package/model/label2.ts +0 -59
- package/model/labelAlpha.ts +0 -59
- package/model/labelV1.ts +0 -59
- package/model/listAuditEvents200Response.ts +0 -36
- package/model/listAuditEventsV1Output.ts +0 -49
- package/model/listConnectedDestinationsFromSource200Response.ts +0 -36
- package/model/listConnectedDestinationsFromSource200Response1.ts +0 -36
- package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +0 -49
- package/model/listConnectedDestinationsFromSourceV1Output.ts +0 -49
- package/model/listConnectedSourcesFromWarehouse200Response.ts +0 -36
- package/model/listConnectedSourcesFromWarehouseV1Output.ts +0 -49
- package/model/listConnectedWarehousesFromSource200Response.ts +0 -36
- package/model/listConnectedWarehousesFromSource200Response1.ts +0 -36
- package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +0 -49
- package/model/listConnectedWarehousesFromSourceV1Output.ts +0 -49
- package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +0 -36
- package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +0 -39
- package/model/listDestinations200Response.ts +0 -36
- package/model/listDestinationsV1Output.ts +0 -49
- package/model/listFiltersFromDestination200Response.ts +0 -36
- package/model/listFiltersFromDestinationV1Output.ts +0 -49
- package/model/listFunctionItemV1.ts +0 -111
- package/model/listFunctions200Response.ts +0 -36
- package/model/listFunctionsV1Output.ts +0 -49
- package/model/listInvites200Response.ts +0 -36
- package/model/listInvitesFromUserGroup200Response.ts +0 -36
- package/model/listInvitesFromUserGroupV1Output.ts +0 -48
- package/model/listInvitesV1Output.ts +0 -48
- package/model/listLabels200Response.ts +0 -36
- package/model/listLabels200Response1.ts +0 -36
- package/model/listLabelsAlphaOutput.ts +0 -42
- package/model/listLabelsV1Output.ts +0 -42
- package/model/listRegulationsFromSource200Response.ts +0 -36
- package/model/listRegulationsFromSourceV1Output.ts +0 -42
- package/model/listRoles200Response.ts +0 -36
- package/model/listRolesV1Output.ts +0 -49
- package/model/listRulesFromTrackingPlan200Response.ts +0 -36
- package/model/listRulesFromTrackingPlanV1Output.ts +0 -49
- package/model/listSchemaSettingsInSource200Response.ts +0 -36
- package/model/listSchemaSettingsInSourceV1Output.ts +0 -48
- package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +0 -36
- package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +0 -49
- package/model/listSources200Response.ts +0 -36
- package/model/listSources200Response1.ts +0 -36
- package/model/listSourcesAlphaOutput.ts +0 -49
- package/model/listSourcesFromTrackingPlan200Response.ts +0 -36
- package/model/listSourcesFromTrackingPlanV1Output.ts +0 -49
- package/model/listSourcesV1Output.ts +0 -49
- package/model/listSubscriptionsFromDestination200Response.ts +0 -36
- package/model/listSubscriptionsFromDestinationAlphaOutput.ts +0 -49
- package/model/listSuppressions200Response.ts +0 -36
- package/model/listSuppressionsV1Output.ts +0 -49
- package/model/listSyncsFromWarehouse200Response.ts +0 -36
- package/model/listSyncsFromWarehouseAndSource200Response.ts +0 -36
- package/model/listSyncsFromWarehouseAndSourceV1Output.ts +0 -49
- package/model/listSyncsFromWarehouseV1Output.ts +0 -49
- package/model/listTrackingPlans200Response.ts +0 -36
- package/model/listTrackingPlansV1Output.ts +0 -49
- package/model/listTransformations200Response.ts +0 -36
- package/model/listTransformationsBetaOutput.ts +0 -49
- package/model/listUserGroups200Response.ts +0 -36
- package/model/listUserGroupsFromUser200Response.ts +0 -36
- package/model/listUserGroupsFromUserV1Output.ts +0 -49
- package/model/listUserGroupsV1Output.ts +0 -49
- package/model/listUsers200Response.ts +0 -36
- package/model/listUsersFromUserGroup200Response.ts +0 -36
- package/model/listUsersFromUserGroupV1Output.ts +0 -49
- package/model/listUsersV1Output.ts +0 -49
- package/model/listWarehouses200Response.ts +0 -36
- package/model/listWarehousesV1Output.ts +0 -49
- package/model/listWorkspaceRegulations200Response.ts +0 -36
- package/model/listWorkspaceRegulationsV1Output.ts +0 -49
- package/model/logos.ts +0 -59
- package/model/logos1.ts +0 -59
- package/model/logos2.ts +0 -59
- package/model/logosBeta.ts +0 -59
- package/model/messageSubscriptionResponse.ts +0 -78
- package/model/messageSubscriptionResponseError.ts +0 -47
- package/model/messagesSubscriptionRequest.ts +0 -68
- package/model/metadata.ts +0 -184
- package/model/metadata1.ts +0 -103
- package/model/metadata2.ts +0 -85
- package/model/metricBeta.ts +0 -60
- package/model/minimalUserGroupV1.ts +0 -50
- package/model/minimalUserV1.ts +0 -59
- package/model/models.ts +0 -1835
- package/model/mtuSnapshotV1.ts +0 -95
- package/model/pagination.ts +0 -68
- package/model/paginationInput.ts +0 -50
- package/model/paginationOutput.ts +0 -68
- package/model/permissionInputV1.ts +0 -51
- package/model/permissionResourceV1.ts +0 -70
- package/model/permissionV1.ts +0 -70
- package/model/previewDestinationFilter200Response.ts +0 -36
- package/model/previewDestinationFilterV1.ts +0 -51
- package/model/previewDestinationFilterV1Input.ts +0 -48
- package/model/previewDestinationFilterV1Output.ts +0 -50
- package/model/propertyRenameBeta.ts +0 -47
- package/model/regulation.ts +0 -99
- package/model/regulationListEntryV1.ts +0 -77
- package/model/removeFilterFromDestination200Response.ts +0 -36
- package/model/removeFilterFromDestinationV1Output.ts +0 -47
- package/model/removeRuleV1.ts +0 -61
- package/model/removeRulesFromTrackingPlan200Response.ts +0 -36
- package/model/removeRulesFromTrackingPlanV1Output.ts +0 -47
- package/model/removeSourceConnectionFromWarehouse200Response.ts +0 -36
- package/model/removeSourceConnectionFromWarehouseV1Output.ts +0 -47
- package/model/removeSourceFromTrackingPlan200Response.ts +0 -36
- package/model/removeSourceFromTrackingPlanV1Output.ts +0 -47
- package/model/removeSubscriptionFromDestination200Response.ts +0 -36
- package/model/removeSubscriptionFromDestinationAlphaOutput.ts +0 -47
- package/model/removeUsersFromUserGroup200Response.ts +0 -36
- package/model/removeUsersFromUserGroupV1Output.ts +0 -47
- package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +0 -36
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +0 -48
- package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +0 -48
- package/model/replaceLabelsInSource200Response.ts +0 -36
- package/model/replaceLabelsInSource200Response1.ts +0 -36
- package/model/replaceLabelsInSourceAlphaInput.ts +0 -42
- package/model/replaceLabelsInSourceAlphaOutput.ts +0 -42
- package/model/replaceLabelsInSourceV1Input.ts +0 -42
- package/model/replaceLabelsInSourceV1Output.ts +0 -42
- package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +0 -36
- package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +0 -42
- package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +0 -58
- package/model/replacePermissionsForUser200Response.ts +0 -36
- package/model/replacePermissionsForUserGroup200Response.ts +0 -36
- package/model/replacePermissionsForUserGroupV1Input.ts +0 -42
- package/model/replacePermissionsForUserGroupV1Output.ts +0 -42
- package/model/replacePermissionsForUserV1Input.ts +0 -42
- package/model/replacePermissionsForUserV1Output.ts +0 -42
- package/model/replaceRulesInTrackingPlan200Response.ts +0 -36
- package/model/replaceRulesInTrackingPlanV1Input.ts +0 -42
- package/model/replaceRulesInTrackingPlanV1Output.ts +0 -47
- package/model/replaceUsersInUserGroup200Response.ts +0 -36
- package/model/replaceUsersInUserGroupV1Input.ts +0 -41
- package/model/replaceUsersInUserGroupV1Output.ts +0 -39
- package/model/requestError.ts +0 -77
- package/model/requestErrorEnvelope.ts +0 -39
- package/model/resourceV1.ts +0 -60
- package/model/roleV1.ts +0 -59
- package/model/ruleV1.ts +0 -106
- package/model/schedule.ts +0 -51
- package/model/schedule1.ts +0 -51
- package/model/schedule2.ts +0 -51
- package/model/settings.ts +0 -71
- package/model/settings1.ts +0 -71
- package/model/source.ts +0 -59
- package/model/source1.ts +0 -112
- package/model/source2.ts +0 -112
- package/model/source3.ts +0 -112
- package/model/source4.ts +0 -112
- package/model/source5.ts +0 -112
- package/model/source6.ts +0 -112
- package/model/sourceAPICallSnapshotV1.ts +0 -59
- package/model/sourceAlpha.ts +0 -112
- package/model/sourceEventVolumeDatapointV1.ts +0 -50
- package/model/sourceEventVolumeV1.ts +0 -76
- package/model/sourceMetadata.ts +0 -103
- package/model/sourceMetadataV1.ts +0 -103
- package/model/sourceSettingsOutputV1.ts +0 -71
- package/model/sourceV1.ts +0 -112
- package/model/space.ts +0 -50
- package/model/streamStatusV1.ts +0 -45
- package/model/subscription.ts +0 -104
- package/model/supportedFeatures.ts +0 -93
- package/model/supportedMethods.ts +0 -77
- package/model/supportedPlatforms.ts +0 -59
- package/model/suppressedInner.ts +0 -41
- package/model/syncNoticeV1.ts +0 -59
- package/model/syncV1.ts +0 -105
- package/model/track.ts +0 -85
- package/model/trackSourceSettingsV1.ts +0 -82
- package/model/trackingPlan.ts +0 -104
- package/model/trackingPlan1.ts +0 -104
- package/model/trackingPlanV1.ts +0 -104
- package/model/transformation.ts +0 -105
- package/model/transformation1.ts +0 -105
- package/model/transformation2.ts +0 -105
- package/model/transformationBeta.ts +0 -105
- package/model/updateDestination200Response.ts +0 -36
- package/model/updateDestinationV1Input.ts +0 -59
- package/model/updateDestinationV1Output.ts +0 -39
- package/model/updateFilterForDestination200Response.ts +0 -36
- package/model/updateFilterForDestinationV1Input.ts +0 -78
- package/model/updateFilterForDestinationV1Output.ts +0 -39
- package/model/updateFunction200Response.ts +0 -36
- package/model/updateFunctionV1Input.ts +0 -78
- package/model/updateFunctionV1Output.ts +0 -39
- package/model/updateRulesInTrackingPlan200Response.ts +0 -36
- package/model/updateRulesInTrackingPlanV1Input.ts +0 -42
- package/model/updateRulesInTrackingPlanV1Output.ts +0 -47
- package/model/updateSchemaSettingsInSource200Response.ts +0 -36
- package/model/updateSchemaSettingsInSourceV1Input.ts +0 -71
- package/model/updateSchemaSettingsInSourceV1Output.ts +0 -48
- package/model/updateSelectiveSyncForWarehouse200Response.ts +0 -36
- package/model/updateSelectiveSyncForWarehouseV1Input.ts +0 -42
- package/model/updateSelectiveSyncForWarehouseV1Output.ts +0 -57
- package/model/updateSource200Response.ts +0 -36
- package/model/updateSource200Response1.ts +0 -36
- package/model/updateSourceAlphaInput.ts +0 -68
- package/model/updateSourceAlphaOutput.ts +0 -39
- package/model/updateSourceV1Input.ts +0 -68
- package/model/updateSourceV1Output.ts +0 -39
- package/model/updateSubscriptionForDestination200Response.ts +0 -36
- package/model/updateSubscriptionForDestinationAlphaInput.ts +0 -39
- package/model/updateSubscriptionForDestinationAlphaOutput.ts +0 -39
- package/model/updateTrackingPlan200Response.ts +0 -36
- package/model/updateTrackingPlanV1Input.ts +0 -50
- package/model/updateTrackingPlanV1Output.ts +0 -47
- package/model/updateTransformation200Response.ts +0 -36
- package/model/updateTransformationBetaInput.ts +0 -96
- package/model/updateTransformationBetaOutput.ts +0 -39
- package/model/updateUserGroup200Response.ts +0 -36
- package/model/updateUserGroupV1Input.ts +0 -41
- package/model/updateUserGroupV1Output.ts +0 -39
- package/model/updateWarehouse200Response.ts +0 -36
- package/model/updateWarehouseV1Input.ts +0 -59
- package/model/updateWarehouseV1Output.ts +0 -39
- package/model/upsertRuleV1.ts +0 -112
- package/model/user.ts +0 -69
- package/model/userGroup.ts +0 -69
- package/model/userGroup1.ts +0 -69
- package/model/userGroup2.ts +0 -69
- package/model/userGroup3.ts +0 -69
- package/model/userGroupV1.ts +0 -69
- package/model/userV1.ts +0 -69
- package/model/usersPerSourceSnapshotV1.ts +0 -104
- package/model/warehouse.ts +0 -75
- package/model/warehouse1.ts +0 -75
- package/model/warehouse2.ts +0 -75
- package/model/warehouseAdvancedSyncV1.ts +0 -50
- package/model/warehouseMetadata.ts +0 -85
- package/model/warehouseMetadataV1.ts +0 -85
- package/model/warehouseSelectiveSyncItemV1.ts +0 -68
- package/model/warehouseSyncOverrideV1.ts +0 -68
- package/model/warehouseV1.ts +0 -75
- package/model/workspace.ts +0 -59
- package/model/workspaceV1.ts +0 -59
- package/tests/__snapshots__/smoke.test.ts.snap +0 -889
- package/tests/smoke.test.ts +0 -267
- package/tsconfig.json +0 -20
package/model/filter2.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
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.1
|
|
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 { DestinationFilterActionV1 } from './destinationFilterActionV1';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The newly created Destination filter.
|
|
18
|
-
*/
|
|
19
|
-
export class Filter2 {
|
|
20
|
-
/**
|
|
21
|
-
* The unique id of this filter.
|
|
22
|
-
*/
|
|
23
|
-
'id': string;
|
|
24
|
-
/**
|
|
25
|
-
* The id of the Source associated with this filter.
|
|
26
|
-
*/
|
|
27
|
-
'sourceId': string;
|
|
28
|
-
/**
|
|
29
|
-
* The id of the Destination associated with this filter.
|
|
30
|
-
*/
|
|
31
|
-
'destinationId': string;
|
|
32
|
-
/**
|
|
33
|
-
* A condition that defines whether to apply this filter to a payload.
|
|
34
|
-
*/
|
|
35
|
-
'if': string;
|
|
36
|
-
/**
|
|
37
|
-
* A list of actions this filter performs.
|
|
38
|
-
*/
|
|
39
|
-
'actions': Array<DestinationFilterActionV1>;
|
|
40
|
-
/**
|
|
41
|
-
* A title for this filter.
|
|
42
|
-
*/
|
|
43
|
-
'title': string;
|
|
44
|
-
/**
|
|
45
|
-
* A description for this filter.
|
|
46
|
-
*/
|
|
47
|
-
'description'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* When set to true, this filter is active.
|
|
50
|
-
*/
|
|
51
|
-
'enabled': boolean;
|
|
52
|
-
/**
|
|
53
|
-
* The timestamp of this filter\'s creation.
|
|
54
|
-
*/
|
|
55
|
-
'createdAt': string;
|
|
56
|
-
/**
|
|
57
|
-
* The timestamp of this filter\'s last change.
|
|
58
|
-
*/
|
|
59
|
-
'updatedAt': string;
|
|
60
|
-
|
|
61
|
-
static discriminator: string | undefined = undefined;
|
|
62
|
-
|
|
63
|
-
static attributeTypeMap: Array<{
|
|
64
|
-
name: string;
|
|
65
|
-
baseName: string;
|
|
66
|
-
type: string;
|
|
67
|
-
}> = [
|
|
68
|
-
{
|
|
69
|
-
name: 'id',
|
|
70
|
-
baseName: 'id',
|
|
71
|
-
type: 'string',
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: 'sourceId',
|
|
75
|
-
baseName: 'sourceId',
|
|
76
|
-
type: 'string',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: 'destinationId',
|
|
80
|
-
baseName: 'destinationId',
|
|
81
|
-
type: 'string',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'if',
|
|
85
|
-
baseName: 'if',
|
|
86
|
-
type: 'string',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'actions',
|
|
90
|
-
baseName: 'actions',
|
|
91
|
-
type: 'Array<DestinationFilterActionV1>',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: 'title',
|
|
95
|
-
baseName: 'title',
|
|
96
|
-
type: 'string',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'description',
|
|
100
|
-
baseName: 'description',
|
|
101
|
-
type: 'string',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: 'enabled',
|
|
105
|
-
baseName: 'enabled',
|
|
106
|
-
type: 'boolean',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: 'createdAt',
|
|
110
|
-
baseName: 'createdAt',
|
|
111
|
-
type: 'string',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'updatedAt',
|
|
115
|
-
baseName: 'updatedAt',
|
|
116
|
-
type: 'string',
|
|
117
|
-
},
|
|
118
|
-
];
|
|
119
|
-
|
|
120
|
-
static getAttributeTypeMap() {
|
|
121
|
-
return Filter2.attributeTypeMap;
|
|
122
|
-
}
|
|
123
|
-
}
|
package/model/filter3.ts
DELETED
|
@@ -1,123 +0,0 @@
|
|
|
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.1
|
|
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 { DestinationFilterActionV1 } from './destinationFilterActionV1';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* The updated Destination filter.
|
|
18
|
-
*/
|
|
19
|
-
export class Filter3 {
|
|
20
|
-
/**
|
|
21
|
-
* The unique id of this filter.
|
|
22
|
-
*/
|
|
23
|
-
'id': string;
|
|
24
|
-
/**
|
|
25
|
-
* The id of the Source associated with this filter.
|
|
26
|
-
*/
|
|
27
|
-
'sourceId': string;
|
|
28
|
-
/**
|
|
29
|
-
* The id of the Destination associated with this filter.
|
|
30
|
-
*/
|
|
31
|
-
'destinationId': string;
|
|
32
|
-
/**
|
|
33
|
-
* A condition that defines whether to apply this filter to a payload.
|
|
34
|
-
*/
|
|
35
|
-
'if': string;
|
|
36
|
-
/**
|
|
37
|
-
* A list of actions this filter performs.
|
|
38
|
-
*/
|
|
39
|
-
'actions': Array<DestinationFilterActionV1>;
|
|
40
|
-
/**
|
|
41
|
-
* A title for this filter.
|
|
42
|
-
*/
|
|
43
|
-
'title': string;
|
|
44
|
-
/**
|
|
45
|
-
* A description for this filter.
|
|
46
|
-
*/
|
|
47
|
-
'description'?: string;
|
|
48
|
-
/**
|
|
49
|
-
* When set to true, this filter is active.
|
|
50
|
-
*/
|
|
51
|
-
'enabled': boolean;
|
|
52
|
-
/**
|
|
53
|
-
* The timestamp of this filter\'s creation.
|
|
54
|
-
*/
|
|
55
|
-
'createdAt': string;
|
|
56
|
-
/**
|
|
57
|
-
* The timestamp of this filter\'s last change.
|
|
58
|
-
*/
|
|
59
|
-
'updatedAt': string;
|
|
60
|
-
|
|
61
|
-
static discriminator: string | undefined = undefined;
|
|
62
|
-
|
|
63
|
-
static attributeTypeMap: Array<{
|
|
64
|
-
name: string;
|
|
65
|
-
baseName: string;
|
|
66
|
-
type: string;
|
|
67
|
-
}> = [
|
|
68
|
-
{
|
|
69
|
-
name: 'id',
|
|
70
|
-
baseName: 'id',
|
|
71
|
-
type: 'string',
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
name: 'sourceId',
|
|
75
|
-
baseName: 'sourceId',
|
|
76
|
-
type: 'string',
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
name: 'destinationId',
|
|
80
|
-
baseName: 'destinationId',
|
|
81
|
-
type: 'string',
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: 'if',
|
|
85
|
-
baseName: 'if',
|
|
86
|
-
type: 'string',
|
|
87
|
-
},
|
|
88
|
-
{
|
|
89
|
-
name: 'actions',
|
|
90
|
-
baseName: 'actions',
|
|
91
|
-
type: 'Array<DestinationFilterActionV1>',
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
name: 'title',
|
|
95
|
-
baseName: 'title',
|
|
96
|
-
type: 'string',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
name: 'description',
|
|
100
|
-
baseName: 'description',
|
|
101
|
-
type: 'string',
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
name: 'enabled',
|
|
105
|
-
baseName: 'enabled',
|
|
106
|
-
type: 'boolean',
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
name: 'createdAt',
|
|
110
|
-
baseName: 'createdAt',
|
|
111
|
-
type: 'string',
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
name: 'updatedAt',
|
|
115
|
-
baseName: 'updatedAt',
|
|
116
|
-
type: 'string',
|
|
117
|
-
},
|
|
118
|
-
];
|
|
119
|
-
|
|
120
|
-
static getAttributeTypeMap() {
|
|
121
|
-
return Filter3.attributeTypeMap;
|
|
122
|
-
}
|
|
123
|
-
}
|
package/model/function.ts
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
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.1
|
|
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 { FunctionSettingV1 } from './functionSettingV1';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* A Function object.
|
|
18
|
-
*/
|
|
19
|
-
export class Function {
|
|
20
|
-
/**
|
|
21
|
-
* An identifier for this Function.
|
|
22
|
-
*/
|
|
23
|
-
'id'?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The Function type. Config API note: equal to `type`.
|
|
26
|
-
*/
|
|
27
|
-
'resourceType'?: Function.ResourceTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* The time this Function was created.
|
|
30
|
-
*/
|
|
31
|
-
'createdAt'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The id of the user who created this Function.
|
|
34
|
-
*/
|
|
35
|
-
'createdBy'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The Function code.
|
|
38
|
-
*/
|
|
39
|
-
'code'?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The time of this Function\'s last deployment.
|
|
42
|
-
*/
|
|
43
|
-
'deployedAt'?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
* The list of settings for this Function.
|
|
46
|
-
*/
|
|
47
|
-
'settings'?: Array<FunctionSettingV1>;
|
|
48
|
-
/**
|
|
49
|
-
* A display name for this Function.
|
|
50
|
-
*/
|
|
51
|
-
'displayName'?: string;
|
|
52
|
-
/**
|
|
53
|
-
* A description for this Function.
|
|
54
|
-
*/
|
|
55
|
-
'description'?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The URL of the logo for this Function.
|
|
58
|
-
*/
|
|
59
|
-
'logoUrl'?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The preview webhook URL for this Function.
|
|
62
|
-
*/
|
|
63
|
-
'previewWebhookUrl'?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The max count of the batch for this Function.
|
|
66
|
-
*/
|
|
67
|
-
'batchMaxCount'?: number;
|
|
68
|
-
/**
|
|
69
|
-
* The catalog id of this Function.
|
|
70
|
-
*/
|
|
71
|
-
'catalogId'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Whether the deployment of this Function is the latest version.
|
|
74
|
-
*/
|
|
75
|
-
'isLatestVersion'?: boolean;
|
|
76
|
-
|
|
77
|
-
static discriminator: string | undefined = undefined;
|
|
78
|
-
|
|
79
|
-
static attributeTypeMap: Array<{
|
|
80
|
-
name: string;
|
|
81
|
-
baseName: string;
|
|
82
|
-
type: string;
|
|
83
|
-
}> = [
|
|
84
|
-
{
|
|
85
|
-
name: 'id',
|
|
86
|
-
baseName: 'id',
|
|
87
|
-
type: 'string',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'resourceType',
|
|
91
|
-
baseName: 'resourceType',
|
|
92
|
-
type: 'Function.ResourceTypeEnum',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
name: 'createdAt',
|
|
96
|
-
baseName: 'createdAt',
|
|
97
|
-
type: 'string',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: 'createdBy',
|
|
101
|
-
baseName: 'createdBy',
|
|
102
|
-
type: 'string',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: 'code',
|
|
106
|
-
baseName: 'code',
|
|
107
|
-
type: 'string',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: 'deployedAt',
|
|
111
|
-
baseName: 'deployedAt',
|
|
112
|
-
type: 'string',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
name: 'settings',
|
|
116
|
-
baseName: 'settings',
|
|
117
|
-
type: 'Array<FunctionSettingV1>',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: 'displayName',
|
|
121
|
-
baseName: 'displayName',
|
|
122
|
-
type: 'string',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
name: 'description',
|
|
126
|
-
baseName: 'description',
|
|
127
|
-
type: 'string',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: 'logoUrl',
|
|
131
|
-
baseName: 'logoUrl',
|
|
132
|
-
type: 'string',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'previewWebhookUrl',
|
|
136
|
-
baseName: 'previewWebhookUrl',
|
|
137
|
-
type: 'string',
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: 'batchMaxCount',
|
|
141
|
-
baseName: 'batchMaxCount',
|
|
142
|
-
type: 'number',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: 'catalogId',
|
|
146
|
-
baseName: 'catalogId',
|
|
147
|
-
type: 'string',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'isLatestVersion',
|
|
151
|
-
baseName: 'isLatestVersion',
|
|
152
|
-
type: 'boolean',
|
|
153
|
-
},
|
|
154
|
-
];
|
|
155
|
-
|
|
156
|
-
static getAttributeTypeMap() {
|
|
157
|
-
return Function.attributeTypeMap;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export namespace Function {
|
|
162
|
-
export enum ResourceTypeEnum {
|
|
163
|
-
DESTINATION = <any>'DESTINATION',
|
|
164
|
-
SOURCE = <any>'SOURCE',
|
|
165
|
-
}
|
|
166
|
-
}
|
package/model/function1.ts
DELETED
|
@@ -1,166 +0,0 @@
|
|
|
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.1
|
|
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 { FunctionSettingV1 } from './functionSettingV1';
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* A Function object.
|
|
18
|
-
*/
|
|
19
|
-
export class Function1 {
|
|
20
|
-
/**
|
|
21
|
-
* An identifier for this Function.
|
|
22
|
-
*/
|
|
23
|
-
'id'?: string;
|
|
24
|
-
/**
|
|
25
|
-
* The Function type. Config API note: equal to `type`.
|
|
26
|
-
*/
|
|
27
|
-
'resourceType'?: Function1.ResourceTypeEnum;
|
|
28
|
-
/**
|
|
29
|
-
* The time this Function was created.
|
|
30
|
-
*/
|
|
31
|
-
'createdAt'?: string;
|
|
32
|
-
/**
|
|
33
|
-
* The id of the user who created this Function.
|
|
34
|
-
*/
|
|
35
|
-
'createdBy'?: string;
|
|
36
|
-
/**
|
|
37
|
-
* The Function code.
|
|
38
|
-
*/
|
|
39
|
-
'code'?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The time of this Function\'s last deployment.
|
|
42
|
-
*/
|
|
43
|
-
'deployedAt'?: string | null;
|
|
44
|
-
/**
|
|
45
|
-
* The list of settings for this Function.
|
|
46
|
-
*/
|
|
47
|
-
'settings'?: Array<FunctionSettingV1>;
|
|
48
|
-
/**
|
|
49
|
-
* A display name for this Function.
|
|
50
|
-
*/
|
|
51
|
-
'displayName'?: string;
|
|
52
|
-
/**
|
|
53
|
-
* A description for this Function.
|
|
54
|
-
*/
|
|
55
|
-
'description'?: string;
|
|
56
|
-
/**
|
|
57
|
-
* The URL of the logo for this Function.
|
|
58
|
-
*/
|
|
59
|
-
'logoUrl'?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The preview webhook URL for this Function.
|
|
62
|
-
*/
|
|
63
|
-
'previewWebhookUrl'?: string;
|
|
64
|
-
/**
|
|
65
|
-
* The max count of the batch for this Function.
|
|
66
|
-
*/
|
|
67
|
-
'batchMaxCount'?: number;
|
|
68
|
-
/**
|
|
69
|
-
* The catalog id of this Function.
|
|
70
|
-
*/
|
|
71
|
-
'catalogId'?: string;
|
|
72
|
-
/**
|
|
73
|
-
* Whether the deployment of this Function is the latest version.
|
|
74
|
-
*/
|
|
75
|
-
'isLatestVersion'?: boolean;
|
|
76
|
-
|
|
77
|
-
static discriminator: string | undefined = undefined;
|
|
78
|
-
|
|
79
|
-
static attributeTypeMap: Array<{
|
|
80
|
-
name: string;
|
|
81
|
-
baseName: string;
|
|
82
|
-
type: string;
|
|
83
|
-
}> = [
|
|
84
|
-
{
|
|
85
|
-
name: 'id',
|
|
86
|
-
baseName: 'id',
|
|
87
|
-
type: 'string',
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
name: 'resourceType',
|
|
91
|
-
baseName: 'resourceType',
|
|
92
|
-
type: 'Function1.ResourceTypeEnum',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
name: 'createdAt',
|
|
96
|
-
baseName: 'createdAt',
|
|
97
|
-
type: 'string',
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: 'createdBy',
|
|
101
|
-
baseName: 'createdBy',
|
|
102
|
-
type: 'string',
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
name: 'code',
|
|
106
|
-
baseName: 'code',
|
|
107
|
-
type: 'string',
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
name: 'deployedAt',
|
|
111
|
-
baseName: 'deployedAt',
|
|
112
|
-
type: 'string',
|
|
113
|
-
},
|
|
114
|
-
{
|
|
115
|
-
name: 'settings',
|
|
116
|
-
baseName: 'settings',
|
|
117
|
-
type: 'Array<FunctionSettingV1>',
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
name: 'displayName',
|
|
121
|
-
baseName: 'displayName',
|
|
122
|
-
type: 'string',
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
name: 'description',
|
|
126
|
-
baseName: 'description',
|
|
127
|
-
type: 'string',
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
name: 'logoUrl',
|
|
131
|
-
baseName: 'logoUrl',
|
|
132
|
-
type: 'string',
|
|
133
|
-
},
|
|
134
|
-
{
|
|
135
|
-
name: 'previewWebhookUrl',
|
|
136
|
-
baseName: 'previewWebhookUrl',
|
|
137
|
-
type: 'string',
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
name: 'batchMaxCount',
|
|
141
|
-
baseName: 'batchMaxCount',
|
|
142
|
-
type: 'number',
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
name: 'catalogId',
|
|
146
|
-
baseName: 'catalogId',
|
|
147
|
-
type: 'string',
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
name: 'isLatestVersion',
|
|
151
|
-
baseName: 'isLatestVersion',
|
|
152
|
-
type: 'boolean',
|
|
153
|
-
},
|
|
154
|
-
];
|
|
155
|
-
|
|
156
|
-
static getAttributeTypeMap() {
|
|
157
|
-
return Function1.attributeTypeMap;
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
export namespace Function1 {
|
|
162
|
-
export enum ResourceTypeEnum {
|
|
163
|
-
DESTINATION = <any>'DESTINATION',
|
|
164
|
-
SOURCE = <any>'SOURCE',
|
|
165
|
-
}
|
|
166
|
-
}
|