@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.
Files changed (492) hide show
  1. package/package.json +2 -1
  2. package/api/aPICallsApi.ts +0 -1176
  3. package/api/apis.ts +0 -178
  4. package/api/auditTrailApi.ts +0 -714
  5. package/api/catalogApi.ts +0 -2916
  6. package/api/deletionAndSuppressionApi.ts +0 -4298
  7. package/api/destinationFiltersApi.ts +0 -3262
  8. package/api/destinationsApi.ts +0 -3494
  9. package/api/edgeFunctionsApi.ts +0 -593
  10. package/api/eventsApi.ts +0 -922
  11. package/api/functionsApi.ts +0 -3036
  12. package/api/iAMGroupsApi.ts +0 -6204
  13. package/api/iAMRolesApi.ts +0 -566
  14. package/api/iAMUsersApi.ts +0 -4486
  15. package/api/labelsApi.ts +0 -1488
  16. package/api/monthlyTrackedUsersApi.ts +0 -1178
  17. package/api/selectiveSyncApi.ts +0 -3321
  18. package/api/sourcesApi.ts +0 -5602
  19. package/api/spacesApi.ts +0 -489
  20. package/api/testingApi.ts +0 -568
  21. package/api/trackingPlansApi.ts +0 -6238
  22. package/api/transformationsApi.ts +0 -1316
  23. package/api/warehousesApi.ts +0 -5004
  24. package/api/workspacesApi.ts +0 -513
  25. package/api.ts +0 -3
  26. package/jest.config.js +0 -10
  27. package/model/aPICallSnapshotV1.ts +0 -50
  28. package/model/accessPermissionV1.ts +0 -60
  29. package/model/addConnectionFromSourceToWarehouse200Response.ts +0 -36
  30. package/model/addConnectionFromSourceToWarehouseV1Output.ts +0 -48
  31. package/model/addLabelsToSource200Response.ts +0 -36
  32. package/model/addLabelsToSource200Response1.ts +0 -36
  33. package/model/addLabelsToSourceAlphaInput.ts +0 -42
  34. package/model/addLabelsToSourceAlphaOutput.ts +0 -42
  35. package/model/addLabelsToSourceV1Input.ts +0 -42
  36. package/model/addLabelsToSourceV1Output.ts +0 -42
  37. package/model/addPermissionsToUser200Response.ts +0 -36
  38. package/model/addPermissionsToUserGroup200Response.ts +0 -36
  39. package/model/addPermissionsToUserGroupV1Input.ts +0 -42
  40. package/model/addPermissionsToUserGroupV1Output.ts +0 -42
  41. package/model/addPermissionsToUserV1Input.ts +0 -42
  42. package/model/addPermissionsToUserV1Output.ts +0 -42
  43. package/model/addSourceToTrackingPlan200Response.ts +0 -36
  44. package/model/addSourceToTrackingPlanV1Input.ts +0 -41
  45. package/model/addSourceToTrackingPlanV1Output.ts +0 -47
  46. package/model/addUsersToUserGroup200Response.ts +0 -36
  47. package/model/addUsersToUserGroupV1Input.ts +0 -41
  48. package/model/addUsersToUserGroupV1Output.ts +0 -39
  49. package/model/advancedWarehouseSyncScheduleV1Input.ts +0 -51
  50. package/model/advancedWarehouseSyncScheduleV1Output.ts +0 -51
  51. package/model/allowedLabelBeta.ts +0 -59
  52. package/model/auditEventV1.ts +0 -95
  53. package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +0 -36
  54. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +0 -42
  55. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +0 -69
  56. package/model/breakdownBeta.ts +0 -50
  57. package/model/commonSourceSettingsV1.ts +0 -68
  58. package/model/createCloudSourceRegulation200Response.ts +0 -36
  59. package/model/createCloudSourceRegulationV1Input.ts +0 -82
  60. package/model/createCloudSourceRegulationV1Output.ts +0 -41
  61. package/model/createDestination200Response.ts +0 -36
  62. package/model/createDestinationSubscription200Response.ts +0 -36
  63. package/model/createDestinationSubscriptionAlphaInput.ts +0 -77
  64. package/model/createDestinationSubscriptionAlphaOutput.ts +0 -39
  65. package/model/createDestinationV1Input.ts +0 -77
  66. package/model/createDestinationV1Output.ts +0 -39
  67. package/model/createEdgeFunctions200Response.ts +0 -36
  68. package/model/createEdgeFunctionsAlphaInput.ts +0 -41
  69. package/model/createEdgeFunctionsAlphaOutput.ts +0 -39
  70. package/model/createFilterForDestination200Response.ts +0 -36
  71. package/model/createFilterForDestinationV1Input.ts +0 -87
  72. package/model/createFilterForDestinationV1Output.ts +0 -39
  73. package/model/createFunction200Response.ts +0 -36
  74. package/model/createFunctionDeployment200Response.ts +0 -36
  75. package/model/createFunctionDeploymentV1Output.ts +0 -39
  76. package/model/createFunctionV1Input.ts +0 -94
  77. package/model/createFunctionV1Output.ts +0 -39
  78. package/model/createInvites200Response.ts +0 -36
  79. package/model/createInvitesV1Input.ts +0 -42
  80. package/model/createInvitesV1Output.ts +0 -41
  81. package/model/createLabel200Response.ts +0 -36
  82. package/model/createLabel200Response1.ts +0 -36
  83. package/model/createLabelAlphaInput.ts +0 -39
  84. package/model/createLabelAlphaOutput.ts +0 -42
  85. package/model/createLabelV1Input.ts +0 -39
  86. package/model/createLabelV1Output.ts +0 -39
  87. package/model/createSource200Response.ts +0 -36
  88. package/model/createSource200Response1.ts +0 -36
  89. package/model/createSourceAlphaInput.ts +0 -77
  90. package/model/createSourceAlphaOutput.ts +0 -39
  91. package/model/createSourceRegulation200Response.ts +0 -36
  92. package/model/createSourceRegulationV1Input.ts +0 -73
  93. package/model/createSourceRegulationV1Output.ts +0 -41
  94. package/model/createSourceV1Input.ts +0 -68
  95. package/model/createSourceV1Output.ts +0 -39
  96. package/model/createTrackingPlan200Response.ts +0 -36
  97. package/model/createTrackingPlanV1Input.ts +0 -68
  98. package/model/createTrackingPlanV1Output.ts +0 -39
  99. package/model/createTransformation200Response.ts +0 -36
  100. package/model/createTransformationBetaInput.ts +0 -96
  101. package/model/createTransformationBetaOutput.ts +0 -39
  102. package/model/createUserGroup200Response.ts +0 -36
  103. package/model/createUserGroupV1Input.ts +0 -41
  104. package/model/createUserGroupV1Output.ts +0 -39
  105. package/model/createValidationInWarehouse200Response.ts +0 -36
  106. package/model/createValidationInWarehouseV1Input.ts +0 -50
  107. package/model/createValidationInWarehouseV1Output.ts +0 -48
  108. package/model/createWarehouse200Response.ts +0 -36
  109. package/model/createWarehouseV1Input.ts +0 -68
  110. package/model/createWarehouseV1Output.ts +0 -39
  111. package/model/createWorkspaceRegulation200Response.ts +0 -36
  112. package/model/createWorkspaceRegulationV1Input.ts +0 -74
  113. package/model/createWorkspaceRegulationV1Output.ts +0 -41
  114. package/model/deleteDestination200Response.ts +0 -36
  115. package/model/deleteDestinationV1Output.ts +0 -47
  116. package/model/deleteFunction200Response.ts +0 -36
  117. package/model/deleteFunctionV1Output.ts +0 -47
  118. package/model/deleteInvites200Response.ts +0 -36
  119. package/model/deleteInvitesV1Output.ts +0 -47
  120. package/model/deleteLabel200Response.ts +0 -36
  121. package/model/deleteLabel200Response1.ts +0 -36
  122. package/model/deleteLabelAlphaOutput.ts +0 -47
  123. package/model/deleteLabelV1Output.ts +0 -47
  124. package/model/deleteRegulation200Response.ts +0 -36
  125. package/model/deleteRegulationV1Output.ts +0 -47
  126. package/model/deleteSource200Response.ts +0 -36
  127. package/model/deleteSource200Response1.ts +0 -36
  128. package/model/deleteSourceAlphaOutput.ts +0 -47
  129. package/model/deleteSourceV1Output.ts +0 -47
  130. package/model/deleteTrackingPlan200Response.ts +0 -36
  131. package/model/deleteTrackingPlanV1Output.ts +0 -47
  132. package/model/deleteTransformation200Response.ts +0 -36
  133. package/model/deleteTransformationBetaOutput.ts +0 -47
  134. package/model/deleteUserGroup200Response.ts +0 -36
  135. package/model/deleteUserGroupV1Output.ts +0 -47
  136. package/model/deleteUsers200Response.ts +0 -36
  137. package/model/deleteUsersV1Output.ts +0 -47
  138. package/model/deleteWarehouse200Response.ts +0 -36
  139. package/model/deleteWarehouseV1Output.ts +0 -47
  140. package/model/deliveryMetricsSummary.ts +0 -60
  141. package/model/deliveryMetricsSummaryBeta.ts +0 -60
  142. package/model/destination.ts +0 -84
  143. package/model/destination1.ts +0 -84
  144. package/model/destination2.ts +0 -84
  145. package/model/destinationFilterActionV1.ts +0 -77
  146. package/model/destinationFilterV1.ts +0 -123
  147. package/model/destinationMetadata.ts +0 -184
  148. package/model/destinationMetadataActionFieldV1.ts +0 -163
  149. package/model/destinationMetadataActionV1.ts +0 -113
  150. package/model/destinationMetadataComponentV1.ts +0 -72
  151. package/model/destinationMetadataFeaturesV1.ts +0 -93
  152. package/model/destinationMetadataMethodsV1.ts +0 -77
  153. package/model/destinationMetadataPlatformsV1.ts +0 -59
  154. package/model/destinationMetadataSubscriptionPresetV1.ts +0 -68
  155. package/model/destinationMetadataV1.ts +0 -184
  156. package/model/destinationStatusV1.ts +0 -74
  157. package/model/destinationSubscription.ts +0 -104
  158. package/model/destinationSubscriptionUpdateInput.ts +0 -68
  159. package/model/destinationV1.ts +0 -84
  160. package/model/disableEdgeFunctions200Response.ts +0 -36
  161. package/model/disableEdgeFunctionsAlphaOutput.ts +0 -39
  162. package/model/echo200Response.ts +0 -36
  163. package/model/echo200Response1.ts +0 -36
  164. package/model/echoAlphaOutput.ts +0 -66
  165. package/model/echoV1Output.ts +0 -66
  166. package/model/edgeFunctions.ts +0 -86
  167. package/model/edgeFunctions1.ts +0 -86
  168. package/model/edgeFunctionsAlpha.ts +0 -86
  169. package/model/eventSourceV1.ts +0 -59
  170. package/model/filter.ts +0 -51
  171. package/model/filter1.ts +0 -123
  172. package/model/filter2.ts +0 -123
  173. package/model/filter3.ts +0 -123
  174. package/model/function.ts +0 -166
  175. package/model/function1.ts +0 -166
  176. package/model/function2.ts +0 -166
  177. package/model/functionDeployment.ts +0 -44
  178. package/model/functionSettingV1.ts +0 -92
  179. package/model/functionV1.ts +0 -166
  180. package/model/generateUploadURLForEdgeFunctions200Response.ts +0 -36
  181. package/model/generateUploadURLForEdgeFunctionsAlphaOutput.ts +0 -41
  182. package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +0 -36
  183. package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +0 -48
  184. package/model/getConnectionStateFromWarehouse200Response.ts +0 -36
  185. package/model/getConnectionStateFromWarehouseV1Output.ts +0 -48
  186. package/model/getDailyPerSourceAPICallsUsage200Response.ts +0 -36
  187. package/model/getDailyPerSourceAPICallsUsageV1Output.ts +0 -49
  188. package/model/getDailyPerSourceMTUUsage200Response.ts +0 -36
  189. package/model/getDailyPerSourceMTUUsageV1Output.ts +0 -49
  190. package/model/getDailyWorkspaceAPICallsUsage200Response.ts +0 -36
  191. package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +0 -49
  192. package/model/getDailyWorkspaceMTUUsage200Response.ts +0 -36
  193. package/model/getDailyWorkspaceMTUUsageV1Output.ts +0 -49
  194. package/model/getDestination200Response.ts +0 -36
  195. package/model/getDestinationMetadata200Response.ts +0 -36
  196. package/model/getDestinationMetadataV1Output.ts +0 -39
  197. package/model/getDestinationV1Output.ts +0 -39
  198. package/model/getDestinationsCatalog200Response.ts +0 -36
  199. package/model/getDestinationsCatalogV1Output.ts +0 -49
  200. package/model/getEventsVolumeFromWorkspace200Response.ts +0 -36
  201. package/model/getEventsVolumeFromWorkspaceV1Output.ts +0 -49
  202. package/model/getFilterInDestination200Response.ts +0 -36
  203. package/model/getFilterInDestinationV1Output.ts +0 -39
  204. package/model/getFunction200Response.ts +0 -36
  205. package/model/getFunctionV1Output.ts +0 -39
  206. package/model/getLatestFromEdgeFunctions200Response.ts +0 -36
  207. package/model/getLatestFromEdgeFunctionsAlphaOutput.ts +0 -39
  208. package/model/getMessagingSubscriptionFailureResponse.ts +0 -57
  209. package/model/getMessagingSubscriptionSuccessResponse.ts +0 -68
  210. package/model/getRegulation200Response.ts +0 -36
  211. package/model/getRegulationV1Output.ts +0 -39
  212. package/model/getSource200Response.ts +0 -36
  213. package/model/getSource200Response1.ts +0 -36
  214. package/model/getSourceAlphaOutput.ts +0 -39
  215. package/model/getSourceMetadata200Response.ts +0 -36
  216. package/model/getSourceMetadataV1Output.ts +0 -39
  217. package/model/getSourceV1Output.ts +0 -39
  218. package/model/getSourcesCatalog200Response.ts +0 -36
  219. package/model/getSourcesCatalogV1Output.ts +0 -49
  220. package/model/getSpace200Response.ts +0 -36
  221. package/model/getSpaceAlphaOutput.ts +0 -39
  222. package/model/getSubscriptionFromDestination200Response.ts +0 -36
  223. package/model/getSubscriptionFromDestinationAlphaOutput.ts +0 -39
  224. package/model/getSubscriptionRequest.ts +0 -54
  225. package/model/getTrackingPlan200Response.ts +0 -36
  226. package/model/getTrackingPlanV1Output.ts +0 -39
  227. package/model/getTransformation200Response.ts +0 -36
  228. package/model/getTransformationBetaOutput.ts +0 -39
  229. package/model/getUser200Response.ts +0 -36
  230. package/model/getUserGroup200Response.ts +0 -36
  231. package/model/getUserGroupV1Output.ts +0 -39
  232. package/model/getUserV1Output.ts +0 -39
  233. package/model/getWarehouse200Response.ts +0 -36
  234. package/model/getWarehouseMetadata200Response.ts +0 -36
  235. package/model/getWarehouseMetadataV1Output.ts +0 -39
  236. package/model/getWarehouseV1Output.ts +0 -39
  237. package/model/getWarehousesCatalog200Response.ts +0 -36
  238. package/model/getWarehousesCatalogV1Output.ts +0 -49
  239. package/model/getWorkspace200Response.ts +0 -36
  240. package/model/getWorkspaceV1Output.ts +0 -39
  241. package/model/group.ts +0 -67
  242. package/model/groupSourceSettingsV1.ts +0 -64
  243. package/model/identify.ts +0 -67
  244. package/model/identifySourceSettingsV1.ts +0 -64
  245. package/model/input.ts +0 -68
  246. package/model/integrationOptionBeta.ts +0 -86
  247. package/model/invitePermissionV1.ts +0 -61
  248. package/model/inviteV1.ts +0 -51
  249. package/model/label.ts +0 -59
  250. package/model/label1.ts +0 -59
  251. package/model/label2.ts +0 -59
  252. package/model/labelAlpha.ts +0 -59
  253. package/model/labelV1.ts +0 -59
  254. package/model/listAuditEvents200Response.ts +0 -36
  255. package/model/listAuditEventsV1Output.ts +0 -49
  256. package/model/listConnectedDestinationsFromSource200Response.ts +0 -36
  257. package/model/listConnectedDestinationsFromSource200Response1.ts +0 -36
  258. package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +0 -49
  259. package/model/listConnectedDestinationsFromSourceV1Output.ts +0 -49
  260. package/model/listConnectedSourcesFromWarehouse200Response.ts +0 -36
  261. package/model/listConnectedSourcesFromWarehouseV1Output.ts +0 -49
  262. package/model/listConnectedWarehousesFromSource200Response.ts +0 -36
  263. package/model/listConnectedWarehousesFromSource200Response1.ts +0 -36
  264. package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +0 -49
  265. package/model/listConnectedWarehousesFromSourceV1Output.ts +0 -49
  266. package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +0 -36
  267. package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +0 -39
  268. package/model/listDestinations200Response.ts +0 -36
  269. package/model/listDestinationsV1Output.ts +0 -49
  270. package/model/listFiltersFromDestination200Response.ts +0 -36
  271. package/model/listFiltersFromDestinationV1Output.ts +0 -49
  272. package/model/listFunctionItemV1.ts +0 -111
  273. package/model/listFunctions200Response.ts +0 -36
  274. package/model/listFunctionsV1Output.ts +0 -49
  275. package/model/listInvites200Response.ts +0 -36
  276. package/model/listInvitesFromUserGroup200Response.ts +0 -36
  277. package/model/listInvitesFromUserGroupV1Output.ts +0 -48
  278. package/model/listInvitesV1Output.ts +0 -48
  279. package/model/listLabels200Response.ts +0 -36
  280. package/model/listLabels200Response1.ts +0 -36
  281. package/model/listLabelsAlphaOutput.ts +0 -42
  282. package/model/listLabelsV1Output.ts +0 -42
  283. package/model/listRegulationsFromSource200Response.ts +0 -36
  284. package/model/listRegulationsFromSourceV1Output.ts +0 -42
  285. package/model/listRoles200Response.ts +0 -36
  286. package/model/listRolesV1Output.ts +0 -49
  287. package/model/listRulesFromTrackingPlan200Response.ts +0 -36
  288. package/model/listRulesFromTrackingPlanV1Output.ts +0 -49
  289. package/model/listSchemaSettingsInSource200Response.ts +0 -36
  290. package/model/listSchemaSettingsInSourceV1Output.ts +0 -48
  291. package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +0 -36
  292. package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +0 -49
  293. package/model/listSources200Response.ts +0 -36
  294. package/model/listSources200Response1.ts +0 -36
  295. package/model/listSourcesAlphaOutput.ts +0 -49
  296. package/model/listSourcesFromTrackingPlan200Response.ts +0 -36
  297. package/model/listSourcesFromTrackingPlanV1Output.ts +0 -49
  298. package/model/listSourcesV1Output.ts +0 -49
  299. package/model/listSubscriptionsFromDestination200Response.ts +0 -36
  300. package/model/listSubscriptionsFromDestinationAlphaOutput.ts +0 -49
  301. package/model/listSuppressions200Response.ts +0 -36
  302. package/model/listSuppressionsV1Output.ts +0 -49
  303. package/model/listSyncsFromWarehouse200Response.ts +0 -36
  304. package/model/listSyncsFromWarehouseAndSource200Response.ts +0 -36
  305. package/model/listSyncsFromWarehouseAndSourceV1Output.ts +0 -49
  306. package/model/listSyncsFromWarehouseV1Output.ts +0 -49
  307. package/model/listTrackingPlans200Response.ts +0 -36
  308. package/model/listTrackingPlansV1Output.ts +0 -49
  309. package/model/listTransformations200Response.ts +0 -36
  310. package/model/listTransformationsBetaOutput.ts +0 -49
  311. package/model/listUserGroups200Response.ts +0 -36
  312. package/model/listUserGroupsFromUser200Response.ts +0 -36
  313. package/model/listUserGroupsFromUserV1Output.ts +0 -49
  314. package/model/listUserGroupsV1Output.ts +0 -49
  315. package/model/listUsers200Response.ts +0 -36
  316. package/model/listUsersFromUserGroup200Response.ts +0 -36
  317. package/model/listUsersFromUserGroupV1Output.ts +0 -49
  318. package/model/listUsersV1Output.ts +0 -49
  319. package/model/listWarehouses200Response.ts +0 -36
  320. package/model/listWarehousesV1Output.ts +0 -49
  321. package/model/listWorkspaceRegulations200Response.ts +0 -36
  322. package/model/listWorkspaceRegulationsV1Output.ts +0 -49
  323. package/model/logos.ts +0 -59
  324. package/model/logos1.ts +0 -59
  325. package/model/logos2.ts +0 -59
  326. package/model/logosBeta.ts +0 -59
  327. package/model/messageSubscriptionResponse.ts +0 -78
  328. package/model/messageSubscriptionResponseError.ts +0 -47
  329. package/model/messagesSubscriptionRequest.ts +0 -68
  330. package/model/metadata.ts +0 -184
  331. package/model/metadata1.ts +0 -103
  332. package/model/metadata2.ts +0 -85
  333. package/model/metricBeta.ts +0 -60
  334. package/model/minimalUserGroupV1.ts +0 -50
  335. package/model/minimalUserV1.ts +0 -59
  336. package/model/models.ts +0 -1835
  337. package/model/mtuSnapshotV1.ts +0 -95
  338. package/model/pagination.ts +0 -68
  339. package/model/paginationInput.ts +0 -50
  340. package/model/paginationOutput.ts +0 -68
  341. package/model/permissionInputV1.ts +0 -51
  342. package/model/permissionResourceV1.ts +0 -70
  343. package/model/permissionV1.ts +0 -70
  344. package/model/previewDestinationFilter200Response.ts +0 -36
  345. package/model/previewDestinationFilterV1.ts +0 -51
  346. package/model/previewDestinationFilterV1Input.ts +0 -48
  347. package/model/previewDestinationFilterV1Output.ts +0 -50
  348. package/model/propertyRenameBeta.ts +0 -47
  349. package/model/regulation.ts +0 -99
  350. package/model/regulationListEntryV1.ts +0 -77
  351. package/model/removeFilterFromDestination200Response.ts +0 -36
  352. package/model/removeFilterFromDestinationV1Output.ts +0 -47
  353. package/model/removeRuleV1.ts +0 -61
  354. package/model/removeRulesFromTrackingPlan200Response.ts +0 -36
  355. package/model/removeRulesFromTrackingPlanV1Output.ts +0 -47
  356. package/model/removeSourceConnectionFromWarehouse200Response.ts +0 -36
  357. package/model/removeSourceConnectionFromWarehouseV1Output.ts +0 -47
  358. package/model/removeSourceFromTrackingPlan200Response.ts +0 -36
  359. package/model/removeSourceFromTrackingPlanV1Output.ts +0 -47
  360. package/model/removeSubscriptionFromDestination200Response.ts +0 -36
  361. package/model/removeSubscriptionFromDestinationAlphaOutput.ts +0 -47
  362. package/model/removeUsersFromUserGroup200Response.ts +0 -36
  363. package/model/removeUsersFromUserGroupV1Output.ts +0 -47
  364. package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +0 -36
  365. package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +0 -48
  366. package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +0 -48
  367. package/model/replaceLabelsInSource200Response.ts +0 -36
  368. package/model/replaceLabelsInSource200Response1.ts +0 -36
  369. package/model/replaceLabelsInSourceAlphaInput.ts +0 -42
  370. package/model/replaceLabelsInSourceAlphaOutput.ts +0 -42
  371. package/model/replaceLabelsInSourceV1Input.ts +0 -42
  372. package/model/replaceLabelsInSourceV1Output.ts +0 -42
  373. package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +0 -36
  374. package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +0 -42
  375. package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +0 -58
  376. package/model/replacePermissionsForUser200Response.ts +0 -36
  377. package/model/replacePermissionsForUserGroup200Response.ts +0 -36
  378. package/model/replacePermissionsForUserGroupV1Input.ts +0 -42
  379. package/model/replacePermissionsForUserGroupV1Output.ts +0 -42
  380. package/model/replacePermissionsForUserV1Input.ts +0 -42
  381. package/model/replacePermissionsForUserV1Output.ts +0 -42
  382. package/model/replaceRulesInTrackingPlan200Response.ts +0 -36
  383. package/model/replaceRulesInTrackingPlanV1Input.ts +0 -42
  384. package/model/replaceRulesInTrackingPlanV1Output.ts +0 -47
  385. package/model/replaceUsersInUserGroup200Response.ts +0 -36
  386. package/model/replaceUsersInUserGroupV1Input.ts +0 -41
  387. package/model/replaceUsersInUserGroupV1Output.ts +0 -39
  388. package/model/requestError.ts +0 -77
  389. package/model/requestErrorEnvelope.ts +0 -39
  390. package/model/resourceV1.ts +0 -60
  391. package/model/roleV1.ts +0 -59
  392. package/model/ruleV1.ts +0 -106
  393. package/model/schedule.ts +0 -51
  394. package/model/schedule1.ts +0 -51
  395. package/model/schedule2.ts +0 -51
  396. package/model/settings.ts +0 -71
  397. package/model/settings1.ts +0 -71
  398. package/model/source.ts +0 -59
  399. package/model/source1.ts +0 -112
  400. package/model/source2.ts +0 -112
  401. package/model/source3.ts +0 -112
  402. package/model/source4.ts +0 -112
  403. package/model/source5.ts +0 -112
  404. package/model/source6.ts +0 -112
  405. package/model/sourceAPICallSnapshotV1.ts +0 -59
  406. package/model/sourceAlpha.ts +0 -112
  407. package/model/sourceEventVolumeDatapointV1.ts +0 -50
  408. package/model/sourceEventVolumeV1.ts +0 -76
  409. package/model/sourceMetadata.ts +0 -103
  410. package/model/sourceMetadataV1.ts +0 -103
  411. package/model/sourceSettingsOutputV1.ts +0 -71
  412. package/model/sourceV1.ts +0 -112
  413. package/model/space.ts +0 -50
  414. package/model/streamStatusV1.ts +0 -45
  415. package/model/subscription.ts +0 -104
  416. package/model/supportedFeatures.ts +0 -93
  417. package/model/supportedMethods.ts +0 -77
  418. package/model/supportedPlatforms.ts +0 -59
  419. package/model/suppressedInner.ts +0 -41
  420. package/model/syncNoticeV1.ts +0 -59
  421. package/model/syncV1.ts +0 -105
  422. package/model/track.ts +0 -85
  423. package/model/trackSourceSettingsV1.ts +0 -82
  424. package/model/trackingPlan.ts +0 -104
  425. package/model/trackingPlan1.ts +0 -104
  426. package/model/trackingPlanV1.ts +0 -104
  427. package/model/transformation.ts +0 -105
  428. package/model/transformation1.ts +0 -105
  429. package/model/transformation2.ts +0 -105
  430. package/model/transformationBeta.ts +0 -105
  431. package/model/updateDestination200Response.ts +0 -36
  432. package/model/updateDestinationV1Input.ts +0 -59
  433. package/model/updateDestinationV1Output.ts +0 -39
  434. package/model/updateFilterForDestination200Response.ts +0 -36
  435. package/model/updateFilterForDestinationV1Input.ts +0 -78
  436. package/model/updateFilterForDestinationV1Output.ts +0 -39
  437. package/model/updateFunction200Response.ts +0 -36
  438. package/model/updateFunctionV1Input.ts +0 -78
  439. package/model/updateFunctionV1Output.ts +0 -39
  440. package/model/updateRulesInTrackingPlan200Response.ts +0 -36
  441. package/model/updateRulesInTrackingPlanV1Input.ts +0 -42
  442. package/model/updateRulesInTrackingPlanV1Output.ts +0 -47
  443. package/model/updateSchemaSettingsInSource200Response.ts +0 -36
  444. package/model/updateSchemaSettingsInSourceV1Input.ts +0 -71
  445. package/model/updateSchemaSettingsInSourceV1Output.ts +0 -48
  446. package/model/updateSelectiveSyncForWarehouse200Response.ts +0 -36
  447. package/model/updateSelectiveSyncForWarehouseV1Input.ts +0 -42
  448. package/model/updateSelectiveSyncForWarehouseV1Output.ts +0 -57
  449. package/model/updateSource200Response.ts +0 -36
  450. package/model/updateSource200Response1.ts +0 -36
  451. package/model/updateSourceAlphaInput.ts +0 -68
  452. package/model/updateSourceAlphaOutput.ts +0 -39
  453. package/model/updateSourceV1Input.ts +0 -68
  454. package/model/updateSourceV1Output.ts +0 -39
  455. package/model/updateSubscriptionForDestination200Response.ts +0 -36
  456. package/model/updateSubscriptionForDestinationAlphaInput.ts +0 -39
  457. package/model/updateSubscriptionForDestinationAlphaOutput.ts +0 -39
  458. package/model/updateTrackingPlan200Response.ts +0 -36
  459. package/model/updateTrackingPlanV1Input.ts +0 -50
  460. package/model/updateTrackingPlanV1Output.ts +0 -47
  461. package/model/updateTransformation200Response.ts +0 -36
  462. package/model/updateTransformationBetaInput.ts +0 -96
  463. package/model/updateTransformationBetaOutput.ts +0 -39
  464. package/model/updateUserGroup200Response.ts +0 -36
  465. package/model/updateUserGroupV1Input.ts +0 -41
  466. package/model/updateUserGroupV1Output.ts +0 -39
  467. package/model/updateWarehouse200Response.ts +0 -36
  468. package/model/updateWarehouseV1Input.ts +0 -59
  469. package/model/updateWarehouseV1Output.ts +0 -39
  470. package/model/upsertRuleV1.ts +0 -112
  471. package/model/user.ts +0 -69
  472. package/model/userGroup.ts +0 -69
  473. package/model/userGroup1.ts +0 -69
  474. package/model/userGroup2.ts +0 -69
  475. package/model/userGroup3.ts +0 -69
  476. package/model/userGroupV1.ts +0 -69
  477. package/model/userV1.ts +0 -69
  478. package/model/usersPerSourceSnapshotV1.ts +0 -104
  479. package/model/warehouse.ts +0 -75
  480. package/model/warehouse1.ts +0 -75
  481. package/model/warehouse2.ts +0 -75
  482. package/model/warehouseAdvancedSyncV1.ts +0 -50
  483. package/model/warehouseMetadata.ts +0 -85
  484. package/model/warehouseMetadataV1.ts +0 -85
  485. package/model/warehouseSelectiveSyncItemV1.ts +0 -68
  486. package/model/warehouseSyncOverrideV1.ts +0 -68
  487. package/model/warehouseV1.ts +0 -75
  488. package/model/workspace.ts +0 -59
  489. package/model/workspaceV1.ts +0 -59
  490. package/tests/__snapshots__/smoke.test.ts.snap +0 -889
  491. package/tests/smoke.test.ts +0 -267
  492. package/tsconfig.json +0 -20
@@ -1,47 +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
-
15
- export class MessageSubscriptionResponseError {
16
- /**
17
- * Error code.
18
- */
19
- 'code': string;
20
- /**
21
- * Error message.
22
- */
23
- 'message': string;
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: 'code',
34
- baseName: 'code',
35
- type: 'string',
36
- },
37
- {
38
- name: 'message',
39
- baseName: 'message',
40
- type: 'string',
41
- },
42
- ];
43
-
44
- static getAttributeTypeMap() {
45
- return MessageSubscriptionResponseError.attributeTypeMap;
46
- }
47
- }
@@ -1,68 +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
-
15
- export class MessagesSubscriptionRequest {
16
- /**
17
- * Key is the phone number or email.
18
- */
19
- 'key': string;
20
- /**
21
- * Type is communication medium used. Either EMAIL or SMS.
22
- */
23
- 'type': MessagesSubscriptionRequest.TypeEnum;
24
- /**
25
- * The user subscribed, unsubscribed, or on initial status.
26
- */
27
- 'status': MessagesSubscriptionRequest.StatusEnum;
28
-
29
- static discriminator: string | undefined = undefined;
30
-
31
- static attributeTypeMap: Array<{
32
- name: string;
33
- baseName: string;
34
- type: string;
35
- }> = [
36
- {
37
- name: 'key',
38
- baseName: 'key',
39
- type: 'string',
40
- },
41
- {
42
- name: 'type',
43
- baseName: 'type',
44
- type: 'MessagesSubscriptionRequest.TypeEnum',
45
- },
46
- {
47
- name: 'status',
48
- baseName: 'status',
49
- type: 'MessagesSubscriptionRequest.StatusEnum',
50
- },
51
- ];
52
-
53
- static getAttributeTypeMap() {
54
- return MessagesSubscriptionRequest.attributeTypeMap;
55
- }
56
- }
57
-
58
- export namespace MessagesSubscriptionRequest {
59
- export enum TypeEnum {
60
- EMAIL = <any>'EMAIL',
61
- SMS = <any>'SMS',
62
- }
63
- export enum StatusEnum {
64
- DID_NOT_SUBSCRIBE = <any>'DID_NOT_SUBSCRIBE',
65
- SUBSCRIBED = <any>'SUBSCRIBED',
66
- UNSUBSCRIBED = <any>'UNSUBSCRIBED',
67
- }
68
- }
package/model/metadata.ts DELETED
@@ -1,184 +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 { DestinationMetadataActionV1 } from './destinationMetadataActionV1';
15
- import { DestinationMetadataComponentV1 } from './destinationMetadataComponentV1';
16
- import { DestinationMetadataSubscriptionPresetV1 } from './destinationMetadataSubscriptionPresetV1';
17
- import { IntegrationOptionBeta } from './integrationOptionBeta';
18
- import { Logos } from './logos';
19
- import { SupportedFeatures } from './supportedFeatures';
20
- import { SupportedMethods } from './supportedMethods';
21
- import { SupportedPlatforms } from './supportedPlatforms';
22
-
23
- /**
24
- * The metadata of the Destination of which this Destination is an instance of. For example, Google Analytics or Amplitude.
25
- */
26
- export class Metadata {
27
- /**
28
- * The id of the Destination metadata. Config API note: analogous to `name`.
29
- */
30
- 'id': string;
31
- /**
32
- * The user-friendly name of the Destination. Config API note: equal to `displayName`.
33
- */
34
- 'name': string;
35
- /**
36
- * The description of the Destination.
37
- */
38
- 'description': string;
39
- /**
40
- * The slug used to identify the Destination in the Segment app.
41
- */
42
- 'slug': string;
43
- 'logos': Logos;
44
- /**
45
- * Options configured for the Destination.
46
- */
47
- 'options': Array<IntegrationOptionBeta>;
48
- /**
49
- * Support status of the Destination.
50
- */
51
- 'status': Metadata.StatusEnum;
52
- /**
53
- * A list of names previously used by the Destination.
54
- */
55
- 'previousNames': Array<string>;
56
- /**
57
- * A list of categories with which the Destination is associated.
58
- */
59
- 'categories': Array<string>;
60
- /**
61
- * A website URL for this Destination.
62
- */
63
- 'website': string;
64
- /**
65
- * A list of components this Destination provides.
66
- */
67
- 'components': Array<DestinationMetadataComponentV1>;
68
- 'supportedFeatures': SupportedFeatures;
69
- 'supportedMethods': SupportedMethods;
70
- 'supportedPlatforms': SupportedPlatforms;
71
- /**
72
- * Actions available for the Destination.
73
- */
74
- 'actions': Array<DestinationMetadataActionV1>;
75
- /**
76
- * Predefined Destination subscriptions that can optionally be applied when connecting a new instance of the Destination.
77
- */
78
- 'presets': Array<DestinationMetadataSubscriptionPresetV1>;
79
-
80
- static discriminator: string | undefined = undefined;
81
-
82
- static attributeTypeMap: Array<{
83
- name: string;
84
- baseName: string;
85
- type: string;
86
- }> = [
87
- {
88
- name: 'id',
89
- baseName: 'id',
90
- type: 'string',
91
- },
92
- {
93
- name: 'name',
94
- baseName: 'name',
95
- type: 'string',
96
- },
97
- {
98
- name: 'description',
99
- baseName: 'description',
100
- type: 'string',
101
- },
102
- {
103
- name: 'slug',
104
- baseName: 'slug',
105
- type: 'string',
106
- },
107
- {
108
- name: 'logos',
109
- baseName: 'logos',
110
- type: 'Logos',
111
- },
112
- {
113
- name: 'options',
114
- baseName: 'options',
115
- type: 'Array<IntegrationOptionBeta>',
116
- },
117
- {
118
- name: 'status',
119
- baseName: 'status',
120
- type: 'Metadata.StatusEnum',
121
- },
122
- {
123
- name: 'previousNames',
124
- baseName: 'previousNames',
125
- type: 'Array<string>',
126
- },
127
- {
128
- name: 'categories',
129
- baseName: 'categories',
130
- type: 'Array<string>',
131
- },
132
- {
133
- name: 'website',
134
- baseName: 'website',
135
- type: 'string',
136
- },
137
- {
138
- name: 'components',
139
- baseName: 'components',
140
- type: 'Array<DestinationMetadataComponentV1>',
141
- },
142
- {
143
- name: 'supportedFeatures',
144
- baseName: 'supportedFeatures',
145
- type: 'SupportedFeatures',
146
- },
147
- {
148
- name: 'supportedMethods',
149
- baseName: 'supportedMethods',
150
- type: 'SupportedMethods',
151
- },
152
- {
153
- name: 'supportedPlatforms',
154
- baseName: 'supportedPlatforms',
155
- type: 'SupportedPlatforms',
156
- },
157
- {
158
- name: 'actions',
159
- baseName: 'actions',
160
- type: 'Array<DestinationMetadataActionV1>',
161
- },
162
- {
163
- name: 'presets',
164
- baseName: 'presets',
165
- type: 'Array<DestinationMetadataSubscriptionPresetV1>',
166
- },
167
- ];
168
-
169
- static getAttributeTypeMap() {
170
- return Metadata.attributeTypeMap;
171
- }
172
- }
173
-
174
- export namespace Metadata {
175
- export enum StatusEnum {
176
- DEPRECATED = <any>'DEPRECATED',
177
- PRIVATE_BETA = <any>'PRIVATE_BETA',
178
- PRIVATE_BUILDING = <any>'PRIVATE_BUILDING',
179
- PRIVATE_SUBMITTED = <any>'PRIVATE_SUBMITTED',
180
- PUBLIC = <any>'PUBLIC',
181
- PUBLIC_BETA = <any>'PUBLIC_BETA',
182
- UNAVAILABLE = <any>'UNAVAILABLE',
183
- }
184
- }
@@ -1,103 +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 { IntegrationOptionBeta } from './integrationOptionBeta';
15
- import { Logos1 } from './logos1';
16
-
17
- /**
18
- * The metadata for the Source. Config API note: includes `catalogName` and `catalogId`.
19
- */
20
- export class Metadata1 {
21
- /**
22
- * The id for this Source metadata in the Segment catalog. Config API note: analogous to `name`.
23
- */
24
- 'id': string;
25
- /**
26
- * The user-friendly name of this Source. Config API note: equal to `displayName`.
27
- */
28
- 'name': string;
29
- /**
30
- * The slug that identifies this Source in the Segment app. Config API note: equal to `name`.
31
- */
32
- 'slug': string;
33
- /**
34
- * The description of this Source.
35
- */
36
- 'description': string;
37
- 'logos': Logos1;
38
- /**
39
- * Options for this Source.
40
- */
41
- 'options': Array<IntegrationOptionBeta>;
42
- /**
43
- * A list of categories this Source belongs to.
44
- */
45
- 'categories': Array<string>;
46
- /**
47
- * True if this is a Cloud Event Source.
48
- */
49
- 'isCloudEventSource': boolean;
50
-
51
- static discriminator: string | undefined = undefined;
52
-
53
- static attributeTypeMap: Array<{
54
- name: string;
55
- baseName: string;
56
- type: string;
57
- }> = [
58
- {
59
- name: 'id',
60
- baseName: 'id',
61
- type: 'string',
62
- },
63
- {
64
- name: 'name',
65
- baseName: 'name',
66
- type: 'string',
67
- },
68
- {
69
- name: 'slug',
70
- baseName: 'slug',
71
- type: 'string',
72
- },
73
- {
74
- name: 'description',
75
- baseName: 'description',
76
- type: 'string',
77
- },
78
- {
79
- name: 'logos',
80
- baseName: 'logos',
81
- type: 'Logos1',
82
- },
83
- {
84
- name: 'options',
85
- baseName: 'options',
86
- type: 'Array<IntegrationOptionBeta>',
87
- },
88
- {
89
- name: 'categories',
90
- baseName: 'categories',
91
- type: 'Array<string>',
92
- },
93
- {
94
- name: 'isCloudEventSource',
95
- baseName: 'isCloudEventSource',
96
- type: 'boolean',
97
- },
98
- ];
99
-
100
- static getAttributeTypeMap() {
101
- return Metadata1.attributeTypeMap;
102
- }
103
- }
@@ -1,85 +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 { IntegrationOptionBeta } from './integrationOptionBeta';
15
- import { Logos2 } from './logos2';
16
-
17
- /**
18
- * The metadata for the Warehouse.
19
- */
20
- export class Metadata2 {
21
- /**
22
- * The id of this object.
23
- */
24
- 'id': string;
25
- /**
26
- * The name of this object.
27
- */
28
- 'name': string;
29
- /**
30
- * A human-readable, unique identifier for object.
31
- */
32
- 'slug': string;
33
- /**
34
- * A description, in English, of this object.
35
- */
36
- 'description': string;
37
- 'logos': Logos2;
38
- /**
39
- * The Integration options for this object.
40
- */
41
- 'options': Array<IntegrationOptionBeta>;
42
-
43
- static discriminator: string | undefined = undefined;
44
-
45
- static attributeTypeMap: Array<{
46
- name: string;
47
- baseName: string;
48
- type: string;
49
- }> = [
50
- {
51
- name: 'id',
52
- baseName: 'id',
53
- type: 'string',
54
- },
55
- {
56
- name: 'name',
57
- baseName: 'name',
58
- type: 'string',
59
- },
60
- {
61
- name: 'slug',
62
- baseName: 'slug',
63
- type: 'string',
64
- },
65
- {
66
- name: 'description',
67
- baseName: 'description',
68
- type: 'string',
69
- },
70
- {
71
- name: 'logos',
72
- baseName: 'logos',
73
- type: 'Logos2',
74
- },
75
- {
76
- name: 'options',
77
- baseName: 'options',
78
- type: 'Array<IntegrationOptionBeta>',
79
- },
80
- ];
81
-
82
- static getAttributeTypeMap() {
83
- return Metadata2.attributeTypeMap;
84
- }
85
- }
@@ -1,60 +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 { BreakdownBeta } from './breakdownBeta';
15
-
16
- /**
17
- * The event delivery metric.
18
- */
19
- export class MetricBeta {
20
- /**
21
- * The name of the metric.
22
- */
23
- 'metricName': string;
24
- /**
25
- * Number of occurrences of the metric.
26
- */
27
- 'total': number;
28
- /**
29
- * Breakdown of metrics within a metric.
30
- */
31
- 'breakdown'?: Array<BreakdownBeta>;
32
-
33
- static discriminator: string | undefined = undefined;
34
-
35
- static attributeTypeMap: Array<{
36
- name: string;
37
- baseName: string;
38
- type: string;
39
- }> = [
40
- {
41
- name: 'metricName',
42
- baseName: 'metricName',
43
- type: 'string',
44
- },
45
- {
46
- name: 'total',
47
- baseName: 'total',
48
- type: 'number',
49
- },
50
- {
51
- name: 'breakdown',
52
- baseName: 'breakdown',
53
- type: 'Array<BreakdownBeta>',
54
- },
55
- ];
56
-
57
- static getAttributeTypeMap() {
58
- return MetricBeta.attributeTypeMap;
59
- }
60
- }
@@ -1,50 +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
-
15
- /**
16
- * The least amount of information needed to identify a user group.
17
- */
18
- export class MinimalUserGroupV1 {
19
- /**
20
- * The id of the user group.
21
- */
22
- 'id': string;
23
- /**
24
- * The name of the user group.
25
- */
26
- 'name': 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: 'id',
37
- baseName: 'id',
38
- type: 'string',
39
- },
40
- {
41
- name: 'name',
42
- baseName: 'name',
43
- type: 'string',
44
- },
45
- ];
46
-
47
- static getAttributeTypeMap() {
48
- return MinimalUserGroupV1.attributeTypeMap;
49
- }
50
- }
@@ -1,59 +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
-
15
- /**
16
- * A user belonging to a Segment Workspace.
17
- */
18
- export class MinimalUserV1 {
19
- /**
20
- * The unique identifier of this user. Config API note: analogous to `name`.
21
- */
22
- 'id': string;
23
- /**
24
- * The human-readable name of this user.
25
- */
26
- 'name': string;
27
- /**
28
- * The email address associated with this user.
29
- */
30
- 'email': string;
31
-
32
- static discriminator: string | undefined = undefined;
33
-
34
- static attributeTypeMap: Array<{
35
- name: string;
36
- baseName: string;
37
- type: string;
38
- }> = [
39
- {
40
- name: 'id',
41
- baseName: 'id',
42
- type: 'string',
43
- },
44
- {
45
- name: 'name',
46
- baseName: 'name',
47
- type: 'string',
48
- },
49
- {
50
- name: 'email',
51
- baseName: 'email',
52
- type: 'string',
53
- },
54
- ];
55
-
56
- static getAttributeTypeMap() {
57
- return MinimalUserV1.attributeTypeMap;
58
- }
59
- }