@segment/public-api-sdk-typescript 50.1.0-b8871 → 50.2.0-b8883

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 (627) hide show
  1. package/README.md +1 -1
  2. package/api/aPICallsApi.ts +1 -1
  3. package/api/apis.ts +2 -2
  4. package/api/audiencesApi.ts +141 -6
  5. package/api/auditTrailApi.ts +1 -1
  6. package/api/catalogApi.ts +1 -1
  7. package/api/computedTraitsApi.ts +141 -6
  8. package/api/deletionAndSuppressionApi.ts +1 -1
  9. package/api/deliveryOverviewApi.ts +1 -1
  10. package/api/destinationFiltersApi.ts +1 -1
  11. package/api/destinationsApi.ts +6 -6
  12. package/api/edgeFunctionsApi.ts +5 -5
  13. package/api/eventsApi.ts +1 -1
  14. package/api/functionsApi.ts +1 -1
  15. package/api/iAMGroupsApi.ts +1 -1
  16. package/api/iAMRolesApi.ts +1 -1
  17. package/api/iAMUsersApi.ts +1 -1
  18. package/api/labelsApi.ts +1 -1
  19. package/api/monthlyTrackedUsersApi.ts +1 -1
  20. package/api/profilesSyncApi.ts +1 -1
  21. package/api/reverseETLApi.ts +1 -1
  22. package/api/selectiveSyncApi.ts +1 -1
  23. package/api/sourcesApi.ts +1 -1
  24. package/api/spacesApi.ts +5 -5
  25. package/api/testingApi.ts +1 -1
  26. package/api/trackingPlansApi.ts +1 -1
  27. package/api/transformationsApi.ts +1 -1
  28. package/api/warehousesApi.ts +1 -1
  29. package/api/workspacesApi.ts +1 -1
  30. package/dist/api/apis.js +2 -2
  31. package/dist/api/audiencesApi.d.ts +10 -0
  32. package/dist/api/audiencesApi.js +101 -12
  33. package/dist/api/audiencesApi.js.map +1 -1
  34. package/dist/api/computedTraitsApi.d.ts +10 -0
  35. package/dist/api/computedTraitsApi.js +101 -12
  36. package/dist/api/computedTraitsApi.js.map +1 -1
  37. package/dist/model/audienceComputationDefinition.d.ts +21 -0
  38. package/dist/model/audienceComputationDefinition.js +34 -0
  39. package/dist/model/audienceComputationDefinition.js.map +1 -0
  40. package/dist/model/audienceDefinition.d.ts +7 -1
  41. package/dist/model/audienceDefinition.js +9 -1
  42. package/dist/model/audienceDefinition.js.map +1 -1
  43. package/dist/model/audienceOptions.d.ts +15 -0
  44. package/dist/model/audienceOptions.js +26 -0
  45. package/dist/model/audienceOptions.js.map +1 -0
  46. package/dist/model/audienceSummary.d.ts +3 -1
  47. package/dist/model/audienceSummary.js +5 -0
  48. package/dist/model/audienceSummary.js.map +1 -1
  49. package/dist/model/computedTraitSummary.d.ts +3 -1
  50. package/dist/model/computedTraitSummary.js +5 -0
  51. package/dist/model/computedTraitSummary.js.map +1 -1
  52. package/dist/model/computedTraitsDefinition.d.ts +7 -1
  53. package/dist/model/computedTraitsDefinition.js +9 -1
  54. package/dist/model/computedTraitsDefinition.js.map +1 -1
  55. package/dist/model/createAudience200Response.d.ts +15 -0
  56. package/dist/model/createAudience200Response.js +21 -0
  57. package/dist/model/createAudience200Response.js.map +1 -0
  58. package/dist/model/createAudienceAlphaInput.d.ts +20 -0
  59. package/dist/model/createAudienceAlphaInput.js +41 -0
  60. package/dist/model/createAudienceAlphaInput.js.map +1 -0
  61. package/dist/model/createAudienceAlphaOutput.d.ts +15 -0
  62. package/dist/model/createAudienceAlphaOutput.js +21 -0
  63. package/dist/model/createAudienceAlphaOutput.js.map +1 -0
  64. package/dist/model/createComputedTrait200Response.d.ts +15 -0
  65. package/dist/model/createComputedTrait200Response.js +21 -0
  66. package/dist/model/createComputedTrait200Response.js.map +1 -0
  67. package/dist/model/createComputedTraitAlphaInput.d.ts +20 -0
  68. package/dist/model/createComputedTraitAlphaInput.js +41 -0
  69. package/dist/model/createComputedTraitAlphaInput.js.map +1 -0
  70. package/dist/model/createComputedTraitAlphaOutput.d.ts +15 -0
  71. package/dist/model/createComputedTraitAlphaOutput.js +21 -0
  72. package/dist/model/createComputedTraitAlphaOutput.js.map +1 -0
  73. package/dist/model/definition.d.ts +7 -1
  74. package/dist/model/definition.js +9 -1
  75. package/dist/model/definition.js.map +1 -1
  76. package/dist/model/definition1.d.ts +7 -1
  77. package/dist/model/definition1.js +9 -1
  78. package/dist/model/definition1.js.map +1 -1
  79. package/dist/model/models.d.ts +10 -0
  80. package/dist/model/models.js +36 -0
  81. package/dist/model/models.js.map +1 -1
  82. package/dist/model/traitDefinition.d.ts +21 -0
  83. package/dist/model/traitDefinition.js +34 -0
  84. package/dist/model/traitDefinition.js.map +1 -0
  85. package/dist/model/traitOptions.d.ts +15 -0
  86. package/dist/model/traitOptions.js +26 -0
  87. package/dist/model/traitOptions.js.map +1 -0
  88. package/dist/model/updateAudienceForSpaceInput.d.ts +4 -0
  89. package/dist/model/updateAudienceForSpaceInput.js +15 -0
  90. package/dist/model/updateAudienceForSpaceInput.js.map +1 -1
  91. package/dist/model/updateComputedTraitForSpaceAlphaInput.d.ts +4 -0
  92. package/dist/model/updateComputedTraitForSpaceAlphaInput.js +15 -0
  93. package/dist/model/updateComputedTraitForSpaceAlphaInput.js.map +1 -1
  94. package/model/aPICallSnapshotV1.ts +1 -1
  95. package/model/accessPermissionV1.ts +1 -1
  96. package/model/addConnectionFromSourceToWarehouse201Response.ts +1 -1
  97. package/model/addConnectionFromSourceToWarehouseV1Output.ts +1 -1
  98. package/model/addLabelsToSource200Response.ts +1 -1
  99. package/model/addLabelsToSource200Response1.ts +1 -1
  100. package/model/addLabelsToSourceAlphaInput.ts +1 -1
  101. package/model/addLabelsToSourceAlphaOutput.ts +1 -1
  102. package/model/addLabelsToSourceV1Input.ts +1 -1
  103. package/model/addLabelsToSourceV1Output.ts +1 -1
  104. package/model/addPermissionsToUser200Response.ts +1 -1
  105. package/model/addPermissionsToUserGroup200Response.ts +1 -1
  106. package/model/addPermissionsToUserGroupV1Input.ts +1 -1
  107. package/model/addPermissionsToUserGroupV1Output.ts +1 -1
  108. package/model/addPermissionsToUserV1Input.ts +1 -1
  109. package/model/addPermissionsToUserV1Output.ts +1 -1
  110. package/model/addSourceToTrackingPlan200Response.ts +1 -1
  111. package/model/addSourceToTrackingPlanV1Input.ts +1 -1
  112. package/model/addSourceToTrackingPlanV1Output.ts +1 -1
  113. package/model/addUsersToUserGroup200Response.ts +1 -1
  114. package/model/addUsersToUserGroupV1Input.ts +1 -1
  115. package/model/addUsersToUserGroupV1Output.ts +1 -1
  116. package/model/advancedWarehouseSyncScheduleV1Input.ts +1 -1
  117. package/model/advancedWarehouseSyncScheduleV1Output.ts +1 -1
  118. package/model/allowedLabelBeta.ts +1 -1
  119. package/model/audienceComputationDefinition.ts +54 -0
  120. package/model/audienceDefinition.ts +10 -3
  121. package/model/audienceOptions.ts +47 -0
  122. package/model/audienceSummary.ts +9 -2
  123. package/model/auditEventV1.ts +1 -1
  124. package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +1 -1
  125. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +1 -1
  126. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +1 -1
  127. package/model/breakdownBeta.ts +1 -1
  128. package/model/commonSourceSettingsV1.ts +1 -1
  129. package/model/computedTraitSummary.ts +9 -2
  130. package/model/computedTraitsDefinition.ts +11 -4
  131. package/model/contact.ts +1 -1
  132. package/model/createAudience200Response.ts +36 -0
  133. package/model/createAudienceAlphaInput.ts +73 -0
  134. package/model/createAudienceAlphaOutput.ts +39 -0
  135. package/model/createCloudSourceRegulation200Response.ts +1 -1
  136. package/model/createCloudSourceRegulationV1Input.ts +1 -1
  137. package/model/createCloudSourceRegulationV1Output.ts +1 -1
  138. package/model/createComputedTrait200Response.ts +36 -0
  139. package/model/createComputedTraitAlphaInput.ts +73 -0
  140. package/model/createComputedTraitAlphaOutput.ts +39 -0
  141. package/model/createDestination200Response.ts +1 -1
  142. package/model/createDestinationSubscription200Response.ts +1 -1
  143. package/model/createDestinationSubscriptionAlphaInput.ts +1 -1
  144. package/model/createDestinationSubscriptionAlphaOutput.ts +1 -1
  145. package/model/createDestinationV1Input.ts +1 -1
  146. package/model/createDestinationV1Output.ts +1 -1
  147. package/model/createEdgeFunctions200Response.ts +1 -1
  148. package/model/createEdgeFunctionsAlphaInput.ts +1 -1
  149. package/model/createEdgeFunctionsAlphaOutput.ts +1 -1
  150. package/model/createFilterForDestination200Response.ts +1 -1
  151. package/model/createFilterForDestinationV1Input.ts +1 -1
  152. package/model/createFilterForDestinationV1Output.ts +1 -1
  153. package/model/createFunction200Response.ts +1 -1
  154. package/model/createFunctionDeployment200Response.ts +1 -1
  155. package/model/createFunctionDeploymentV1Output.ts +1 -1
  156. package/model/createFunctionV1Input.ts +1 -1
  157. package/model/createFunctionV1Output.ts +1 -1
  158. package/model/createInsertFunctionInstance200Response.ts +1 -1
  159. package/model/createInsertFunctionInstanceAlphaInput.ts +1 -1
  160. package/model/createInsertFunctionInstanceAlphaOutput.ts +1 -1
  161. package/model/createInvites201Response.ts +1 -1
  162. package/model/createInvitesV1Input.ts +1 -1
  163. package/model/createInvitesV1Output.ts +1 -1
  164. package/model/createLabel201Response.ts +1 -1
  165. package/model/createLabelV1Input.ts +1 -1
  166. package/model/createLabelV1Output.ts +1 -1
  167. package/model/createProfilesWarehouse201Response.ts +1 -1
  168. package/model/createProfilesWarehouseAlphaInput.ts +1 -1
  169. package/model/createProfilesWarehouseAlphaOutput.ts +1 -1
  170. package/model/createReverseETLManualSync200Response.ts +1 -1
  171. package/model/createReverseETLManualSyncInput.ts +1 -1
  172. package/model/createReverseETLManualSyncOutput.ts +1 -1
  173. package/model/createReverseEtlModel201Response.ts +1 -1
  174. package/model/createReverseEtlModelInput.ts +1 -1
  175. package/model/createReverseEtlModelOutput.ts +1 -1
  176. package/model/createSource201Response.ts +1 -1
  177. package/model/createSource201Response1.ts +1 -1
  178. package/model/createSourceAlphaInput.ts +1 -1
  179. package/model/createSourceAlphaOutput.ts +1 -1
  180. package/model/createSourceRegulation200Response.ts +1 -1
  181. package/model/createSourceRegulationV1Input.ts +1 -1
  182. package/model/createSourceRegulationV1Output.ts +1 -1
  183. package/model/createSourceV1Input.ts +1 -1
  184. package/model/createSourceV1Output.ts +1 -1
  185. package/model/createTrackingPlan200Response.ts +1 -1
  186. package/model/createTrackingPlanV1Input.ts +1 -1
  187. package/model/createTrackingPlanV1Output.ts +1 -1
  188. package/model/createTransformation200Response.ts +1 -1
  189. package/model/createTransformationBetaInput.ts +1 -1
  190. package/model/createTransformationBetaOutput.ts +1 -1
  191. package/model/createTransformationV1Input.ts +1 -1
  192. package/model/createTransformationV1Output.ts +1 -1
  193. package/model/createUserGroup200Response.ts +1 -1
  194. package/model/createUserGroupV1Input.ts +1 -1
  195. package/model/createUserGroupV1Output.ts +1 -1
  196. package/model/createValidationInWarehouse200Response.ts +1 -1
  197. package/model/createValidationInWarehouseV1Input.ts +1 -1
  198. package/model/createValidationInWarehouseV1Output.ts +1 -1
  199. package/model/createWarehouse201Response.ts +1 -1
  200. package/model/createWarehouseV1Input.ts +1 -1
  201. package/model/createWarehouseV1Output.ts +1 -1
  202. package/model/createWorkspaceRegulation200Response.ts +1 -1
  203. package/model/createWorkspaceRegulationV1Input.ts +1 -1
  204. package/model/createWorkspaceRegulationV1Output.ts +1 -1
  205. package/model/createWriteKeyForSource200Response.ts +1 -1
  206. package/model/createWriteKeyForSourceAlphaOutput.ts +1 -1
  207. package/model/definition.ts +11 -4
  208. package/model/definition1.ts +10 -3
  209. package/model/deleteDestination200Response.ts +1 -1
  210. package/model/deleteDestinationV1Output.ts +1 -1
  211. package/model/deleteFunction200Response.ts +1 -1
  212. package/model/deleteFunctionV1Output.ts +1 -1
  213. package/model/deleteInsertFunctionInstance200Response.ts +1 -1
  214. package/model/deleteInsertFunctionInstanceAlphaOutput.ts +1 -1
  215. package/model/deleteInvites200Response.ts +1 -1
  216. package/model/deleteInvitesV1Output.ts +1 -1
  217. package/model/deleteLabel200Response.ts +1 -1
  218. package/model/deleteLabel200Response1.ts +1 -1
  219. package/model/deleteLabelAlphaOutput.ts +1 -1
  220. package/model/deleteLabelV1Output.ts +1 -1
  221. package/model/deleteRegulation200Response.ts +1 -1
  222. package/model/deleteRegulationV1Output.ts +1 -1
  223. package/model/deleteReverseEtlModel200Response.ts +1 -1
  224. package/model/deleteReverseEtlModelOutput.ts +1 -1
  225. package/model/deleteSource200Response.ts +1 -1
  226. package/model/deleteSource200Response1.ts +1 -1
  227. package/model/deleteSourceAlphaOutput.ts +1 -1
  228. package/model/deleteSourceV1Output.ts +1 -1
  229. package/model/deleteTrackingPlan200Response.ts +1 -1
  230. package/model/deleteTrackingPlanV1Output.ts +1 -1
  231. package/model/deleteTransformation200Response.ts +1 -1
  232. package/model/deleteTransformationBetaInput.ts +1 -1
  233. package/model/deleteTransformationBetaOutput.ts +1 -1
  234. package/model/deleteTransformationV1Output.ts +1 -1
  235. package/model/deleteUserGroup200Response.ts +1 -1
  236. package/model/deleteUserGroupV1Output.ts +1 -1
  237. package/model/deleteUsers200Response.ts +1 -1
  238. package/model/deleteUsersV1Output.ts +1 -1
  239. package/model/deleteWarehouse200Response.ts +1 -1
  240. package/model/deleteWarehouseV1Output.ts +1 -1
  241. package/model/deliveryMetricsSummaryBeta.ts +1 -1
  242. package/model/deliveryOverviewDestinationFilterBy.ts +1 -1
  243. package/model/deliveryOverviewMetricsDatapoint.ts +1 -1
  244. package/model/deliveryOverviewMetricsDataset.ts +1 -1
  245. package/model/deliveryOverviewSourceFilterBy.ts +1 -1
  246. package/model/deliveryOverviewSuccessfullyReceivedFilterBy.ts +1 -1
  247. package/model/destinationFilterActionV1.ts +1 -1
  248. package/model/destinationFilterV1.ts +1 -1
  249. package/model/destinationMetadataActionFieldV1.ts +1 -1
  250. package/model/destinationMetadataActionV1.ts +1 -1
  251. package/model/destinationMetadataComponentV1.ts +1 -1
  252. package/model/destinationMetadataFeaturesV1.ts +1 -1
  253. package/model/destinationMetadataMethodsV1.ts +1 -1
  254. package/model/destinationMetadataPlatformsV1.ts +1 -1
  255. package/model/destinationMetadataSubscriptionPresetV1.ts +1 -1
  256. package/model/destinationMetadataV1.ts +1 -1
  257. package/model/destinationStatusV1.ts +1 -1
  258. package/model/destinationSubscription.ts +1 -1
  259. package/model/destinationSubscriptionUpdateInput.ts +1 -1
  260. package/model/destinationV1.ts +1 -1
  261. package/model/disableEdgeFunctions200Response.ts +1 -1
  262. package/model/disableEdgeFunctionsAlphaOutput.ts +1 -1
  263. package/model/echo200Response.ts +1 -1
  264. package/model/echo200Response1.ts +1 -1
  265. package/model/echoAlphaOutput.ts +1 -1
  266. package/model/echoV1Output.ts +1 -1
  267. package/model/edgeFunctionsAlpha.ts +1 -1
  268. package/model/eventSourceV1.ts +1 -1
  269. package/model/fQLDefinedPropertyV1.ts +1 -1
  270. package/model/function.ts +1 -1
  271. package/model/functionDeployment.ts +1 -1
  272. package/model/functionSettingV1.ts +1 -1
  273. package/model/functionV1.ts +1 -1
  274. package/model/generateUploadURLForEdgeFunctions200Response.ts +1 -1
  275. package/model/generateUploadURLForEdgeFunctionsAlphaOutput.ts +1 -1
  276. package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +1 -1
  277. package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +1 -1
  278. package/model/getAudience200Response.ts +1 -1
  279. package/model/getAudienceAlphaOutput.ts +2 -2
  280. package/model/getComputedTrait200Response.ts +1 -1
  281. package/model/getComputedTraitAlphaOutput.ts +1 -1
  282. package/model/getConnectionStateFromWarehouse200Response.ts +1 -1
  283. package/model/getConnectionStateFromWarehouseV1Output.ts +1 -1
  284. package/model/getDailyPerSourceAPICallsUsage200Response.ts +1 -1
  285. package/model/getDailyPerSourceAPICallsUsageV1Output.ts +1 -1
  286. package/model/getDailyPerSourceMTUUsage200Response.ts +1 -1
  287. package/model/getDailyPerSourceMTUUsageV1Output.ts +1 -1
  288. package/model/getDailyWorkspaceAPICallsUsage200Response.ts +1 -1
  289. package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +1 -1
  290. package/model/getDailyWorkspaceMTUUsage200Response.ts +1 -1
  291. package/model/getDailyWorkspaceMTUUsageV1Output.ts +1 -1
  292. package/model/getDeliveryOverviewMetricsBetaOutput.ts +1 -1
  293. package/model/getDestination200Response.ts +1 -1
  294. package/model/getDestinationMetadata200Response.ts +1 -1
  295. package/model/getDestinationMetadataV1Output.ts +1 -1
  296. package/model/getDestinationV1Output.ts +1 -1
  297. package/model/getDestinationsCatalog200Response.ts +1 -1
  298. package/model/getDestinationsCatalogV1Output.ts +1 -1
  299. package/model/getEgressFailedMetricsFromDeliveryOverview200Response.ts +1 -1
  300. package/model/getEventsVolumeFromWorkspace200Response.ts +1 -1
  301. package/model/getEventsVolumeFromWorkspaceV1Output.ts +1 -1
  302. package/model/getEventsVolumeFromWorkspaceV1Query.ts +1 -1
  303. package/model/getFilterInDestination200Response.ts +1 -1
  304. package/model/getFilterInDestinationV1Output.ts +1 -1
  305. package/model/getFunction200Response.ts +1 -1
  306. package/model/getFunctionV1Output.ts +1 -1
  307. package/model/getFunctionVersion200Response.ts +1 -1
  308. package/model/getFunctionVersionAlphaOutput.ts +1 -1
  309. package/model/getInsertFunctionInstance200Response.ts +1 -1
  310. package/model/getInsertFunctionInstanceAlphaOutput.ts +1 -1
  311. package/model/getLatestFromEdgeFunctions200Response.ts +1 -1
  312. package/model/getLatestFromEdgeFunctionsAlphaOutput.ts +1 -1
  313. package/model/getMessagingSubscriptionFailureResponse.ts +1 -1
  314. package/model/getMessagingSubscriptionSuccessResponse.ts +1 -1
  315. package/model/getRegulation200Response.ts +1 -1
  316. package/model/getRegulationV1Output.ts +1 -1
  317. package/model/getReverseETLSyncStatus200Response.ts +1 -1
  318. package/model/getReverseETLSyncStatusOutput.ts +1 -1
  319. package/model/getReverseEtlModel200Response.ts +1 -1
  320. package/model/getReverseEtlModelOutput.ts +1 -1
  321. package/model/getSource200Response.ts +1 -1
  322. package/model/getSource200Response1.ts +1 -1
  323. package/model/getSourceAlphaOutput.ts +1 -1
  324. package/model/getSourceMetadata200Response.ts +1 -1
  325. package/model/getSourceMetadataV1Output.ts +1 -1
  326. package/model/getSourceV1Output.ts +1 -1
  327. package/model/getSourcesCatalog200Response.ts +1 -1
  328. package/model/getSourcesCatalogV1Output.ts +1 -1
  329. package/model/getSpace200Response.ts +1 -1
  330. package/model/getSpaceAlphaOutput.ts +1 -1
  331. package/model/getSubscriptionFromDestination200Response.ts +1 -1
  332. package/model/getSubscriptionFromDestinationAlphaOutput.ts +1 -1
  333. package/model/getSubscriptionRequest.ts +1 -1
  334. package/model/getTrackingPlan200Response.ts +1 -1
  335. package/model/getTrackingPlanV1Output.ts +1 -1
  336. package/model/getTransformation200Response.ts +1 -1
  337. package/model/getTransformationBetaInput.ts +1 -1
  338. package/model/getTransformationBetaOutput.ts +1 -1
  339. package/model/getTransformationV1Output.ts +1 -1
  340. package/model/getUser200Response.ts +1 -1
  341. package/model/getUserGroup200Response.ts +1 -1
  342. package/model/getUserGroupV1Output.ts +1 -1
  343. package/model/getUserV1Output.ts +1 -1
  344. package/model/getWarehouse200Response.ts +1 -1
  345. package/model/getWarehouseMetadata200Response.ts +1 -1
  346. package/model/getWarehouseMetadataV1Output.ts +1 -1
  347. package/model/getWarehouseV1Output.ts +1 -1
  348. package/model/getWarehousesCatalog200Response.ts +1 -1
  349. package/model/getWarehousesCatalogV1Output.ts +1 -1
  350. package/model/getWorkspace200Response.ts +1 -1
  351. package/model/getWorkspaceV1Output.ts +1 -1
  352. package/model/groupSourceSettingsV1.ts +1 -1
  353. package/model/groupSubscriptionStatus.ts +1 -1
  354. package/model/groupSubscriptionStatusResponse.ts +1 -1
  355. package/model/handleWebhookInput.ts +1 -1
  356. package/model/handleWebhookOutput.ts +1 -1
  357. package/model/hashPropertiesConfiguration.ts +1 -1
  358. package/model/identifySourceSettingsV1.ts +1 -1
  359. package/model/insertFunctionInstanceAlpha.ts +1 -1
  360. package/model/integrationOptionBeta.ts +1 -1
  361. package/model/invitePermissionV1.ts +1 -1
  362. package/model/inviteV1.ts +1 -1
  363. package/model/labelAlpha.ts +1 -1
  364. package/model/labelV1.ts +1 -1
  365. package/model/listAudiences200Response.ts +1 -1
  366. package/model/listAudiencesAlphaOutput.ts +1 -1
  367. package/model/listAuditEvents200Response.ts +1 -1
  368. package/model/listAuditEventsV1Output.ts +1 -1
  369. package/model/listComputedTraits200Response.ts +1 -1
  370. package/model/listComputedTraitsAlphaOutput.ts +1 -1
  371. package/model/listConnectedDestinationsFromSource200Response.ts +1 -1
  372. package/model/listConnectedDestinationsFromSource200Response1.ts +1 -1
  373. package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +1 -1
  374. package/model/listConnectedDestinationsFromSourceV1Output.ts +1 -1
  375. package/model/listConnectedSourcesFromWarehouse200Response.ts +1 -1
  376. package/model/listConnectedSourcesFromWarehouseV1Output.ts +1 -1
  377. package/model/listConnectedWarehousesFromSource200Response.ts +1 -1
  378. package/model/listConnectedWarehousesFromSource200Response1.ts +1 -1
  379. package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +1 -1
  380. package/model/listConnectedWarehousesFromSourceV1Output.ts +1 -1
  381. package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +1 -1
  382. package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +1 -1
  383. package/model/listDestinations200Response.ts +1 -1
  384. package/model/listDestinationsV1Output.ts +1 -1
  385. package/model/listFiltersFromDestination200Response.ts +1 -1
  386. package/model/listFiltersFromDestinationV1Output.ts +1 -1
  387. package/model/listFunctionItemV1.ts +1 -1
  388. package/model/listFunctionVersions200Response.ts +1 -1
  389. package/model/listFunctionVersionsAlphaOutput.ts +1 -1
  390. package/model/listFunctions200Response.ts +1 -1
  391. package/model/listFunctionsV1Output.ts +1 -1
  392. package/model/listInsertFunctionInstances200Response.ts +1 -1
  393. package/model/listInsertFunctionInstancesAlphaOutput.ts +1 -1
  394. package/model/listInvites200Response.ts +1 -1
  395. package/model/listInvitesFromUserGroup200Response.ts +1 -1
  396. package/model/listInvitesFromUserGroupV1Output.ts +1 -1
  397. package/model/listInvitesV1Output.ts +1 -1
  398. package/model/listLabels200Response.ts +1 -1
  399. package/model/listLabels200Response1.ts +1 -1
  400. package/model/listLabelsAlphaOutput.ts +1 -1
  401. package/model/listLabelsV1Output.ts +1 -1
  402. package/model/listProfilesWarehouseInSpace200Response.ts +1 -1
  403. package/model/listProfilesWarehouseInSpaceAlphaOutput.ts +1 -1
  404. package/model/listRegulationsFromSource200Response.ts +1 -1
  405. package/model/listRegulationsFromSourceV1Output.ts +1 -1
  406. package/model/listReverseEtlModels200Response.ts +1 -1
  407. package/model/listReverseEtlModelsOutput.ts +1 -1
  408. package/model/listRoles200Response.ts +1 -1
  409. package/model/listRolesV1Output.ts +1 -1
  410. package/model/listRulesFromTrackingPlan200Response.ts +1 -1
  411. package/model/listRulesFromTrackingPlanV1Output.ts +1 -1
  412. package/model/listSchemaSettingsInSource200Response.ts +1 -1
  413. package/model/listSchemaSettingsInSourceV1Output.ts +1 -1
  414. package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +1 -1
  415. package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +1 -1
  416. package/model/listSelectiveSyncsFromWarehouseAndSpace200Response.ts +1 -1
  417. package/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.ts +1 -1
  418. package/model/listSources200Response.ts +1 -1
  419. package/model/listSources200Response1.ts +1 -1
  420. package/model/listSourcesAlphaOutput.ts +1 -1
  421. package/model/listSourcesFromTrackingPlan200Response.ts +1 -1
  422. package/model/listSourcesFromTrackingPlanV1Output.ts +1 -1
  423. package/model/listSourcesV1Output.ts +1 -1
  424. package/model/listSpaces200Response.ts +1 -1
  425. package/model/listSpacesAlphaOutput.ts +1 -1
  426. package/model/listSubscriptionsFromDestination200Response.ts +1 -1
  427. package/model/listSubscriptionsFromDestinationAlphaOutput.ts +1 -1
  428. package/model/listSuppressions200Response.ts +1 -1
  429. package/model/listSuppressionsV1Output.ts +1 -1
  430. package/model/listSyncsFromWarehouse200Response.ts +1 -1
  431. package/model/listSyncsFromWarehouseAndSource200Response.ts +1 -1
  432. package/model/listSyncsFromWarehouseAndSourceV1Output.ts +1 -1
  433. package/model/listSyncsFromWarehouseV1Output.ts +1 -1
  434. package/model/listTrackingPlans200Response.ts +1 -1
  435. package/model/listTrackingPlansV1Output.ts +1 -1
  436. package/model/listTransformations200Response.ts +1 -1
  437. package/model/listTransformationsBetaInput.ts +1 -1
  438. package/model/listTransformationsBetaOutput.ts +1 -1
  439. package/model/listTransformationsV1Output.ts +1 -1
  440. package/model/listUserGroups200Response.ts +1 -1
  441. package/model/listUserGroupsFromUser200Response.ts +1 -1
  442. package/model/listUserGroupsFromUserV1Output.ts +1 -1
  443. package/model/listUserGroupsV1Output.ts +1 -1
  444. package/model/listUsers200Response.ts +1 -1
  445. package/model/listUsersFromUserGroup200Response.ts +1 -1
  446. package/model/listUsersFromUserGroupV1Output.ts +1 -1
  447. package/model/listUsersV1Output.ts +1 -1
  448. package/model/listWarehouses200Response.ts +1 -1
  449. package/model/listWarehousesV1Output.ts +1 -1
  450. package/model/listWorkspaceRegulations200Response.ts +1 -1
  451. package/model/listWorkspaceRegulationsV1Output.ts +1 -1
  452. package/model/logosBeta.ts +1 -1
  453. package/model/messageSubscriptionResponse.ts +1 -1
  454. package/model/messageSubscriptionResponseError.ts +1 -1
  455. package/model/messagesSubscriptionRequest.ts +1 -1
  456. package/model/metricBeta.ts +1 -1
  457. package/model/minimalUserGroupV1.ts +1 -1
  458. package/model/minimalUserV1.ts +1 -1
  459. package/model/models.ts +37 -0
  460. package/model/mtuSnapshotV1.ts +1 -1
  461. package/model/paginationInput.ts +1 -1
  462. package/model/paginationOutput.ts +1 -1
  463. package/model/permissionInputV1.ts +1 -1
  464. package/model/permissionResourceV1.ts +1 -1
  465. package/model/permissionV1.ts +1 -1
  466. package/model/previewDestinationFilter200Response.ts +1 -1
  467. package/model/previewDestinationFilterV1.ts +1 -1
  468. package/model/previewDestinationFilterV1Input.ts +1 -1
  469. package/model/previewDestinationFilterV1Output.ts +1 -1
  470. package/model/profilesWarehouseAlpha.ts +1 -1
  471. package/model/propertyRenameBeta.ts +1 -1
  472. package/model/propertyRenameV1.ts +1 -1
  473. package/model/propertyValueTransformationBeta.ts +1 -1
  474. package/model/propertyValueTransformationV1.ts +1 -1
  475. package/model/regulation.ts +1 -1
  476. package/model/regulationListEntryV1.ts +1 -1
  477. package/model/removeAudienceFromSpace200Response.ts +1 -1
  478. package/model/removeAudienceFromSpaceAlphaOutput.ts +1 -1
  479. package/model/removeComputedTraitFromSpace200Response.ts +1 -1
  480. package/model/removeComputedTraitFromSpaceAlphaOutput.ts +1 -1
  481. package/model/removeFilterFromDestination200Response.ts +1 -1
  482. package/model/removeFilterFromDestinationV1Output.ts +1 -1
  483. package/model/removeProfilesWarehouseFromSpace200Response.ts +1 -1
  484. package/model/removeProfilesWarehouseFromSpaceAlphaOutput.ts +1 -1
  485. package/model/removeRuleV1.ts +1 -1
  486. package/model/removeRulesFromTrackingPlan200Response.ts +1 -1
  487. package/model/removeRulesFromTrackingPlanV1Output.ts +1 -1
  488. package/model/removeSourceConnectionFromWarehouse200Response.ts +1 -1
  489. package/model/removeSourceConnectionFromWarehouseV1Output.ts +1 -1
  490. package/model/removeSourceFromTrackingPlan200Response.ts +1 -1
  491. package/model/removeSourceFromTrackingPlanV1Output.ts +1 -1
  492. package/model/removeSubscriptionFromDestination200Response.ts +1 -1
  493. package/model/removeSubscriptionFromDestinationAlphaOutput.ts +1 -1
  494. package/model/removeUsersFromUserGroup200Response.ts +1 -1
  495. package/model/removeUsersFromUserGroupV1Output.ts +1 -1
  496. package/model/removeWriteKeyFromSource200Response.ts +1 -1
  497. package/model/removeWriteKeyFromSourceAlphaOutput.ts +1 -1
  498. package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +1 -1
  499. package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +1 -1
  500. package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +1 -1
  501. package/model/replaceLabelsInSource200Response.ts +1 -1
  502. package/model/replaceLabelsInSource200Response1.ts +1 -1
  503. package/model/replaceLabelsInSourceAlphaInput.ts +1 -1
  504. package/model/replaceLabelsInSourceAlphaOutput.ts +1 -1
  505. package/model/replaceLabelsInSourceV1Input.ts +1 -1
  506. package/model/replaceLabelsInSourceV1Output.ts +1 -1
  507. package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +1 -1
  508. package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +1 -1
  509. package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +1 -1
  510. package/model/replacePermissionsForUser200Response.ts +1 -1
  511. package/model/replacePermissionsForUserGroup200Response.ts +1 -1
  512. package/model/replacePermissionsForUserGroupV1Input.ts +1 -1
  513. package/model/replacePermissionsForUserGroupV1Output.ts +1 -1
  514. package/model/replacePermissionsForUserV1Input.ts +1 -1
  515. package/model/replacePermissionsForUserV1Output.ts +1 -1
  516. package/model/replaceRulesInTrackingPlan200Response.ts +1 -1
  517. package/model/replaceRulesInTrackingPlanV1Input.ts +1 -1
  518. package/model/replaceRulesInTrackingPlanV1Output.ts +1 -1
  519. package/model/replaceUsersInUserGroup200Response.ts +1 -1
  520. package/model/replaceUsersInUserGroupV1Input.ts +1 -1
  521. package/model/replaceUsersInUserGroupV1Output.ts +1 -1
  522. package/model/requestError.ts +1 -1
  523. package/model/requestErrorEnvelope.ts +1 -1
  524. package/model/resourceV1.ts +1 -1
  525. package/model/restoreFunctionVersion200Response.ts +1 -1
  526. package/model/restoreFunctionVersionAlphaInput.ts +1 -1
  527. package/model/restoreFunctionVersionAlphaOutput.ts +1 -1
  528. package/model/reverseETLManualSyncJobOutput.ts +1 -1
  529. package/model/reverseETLSyncOutput.ts +1 -1
  530. package/model/reverseEtlModel.ts +1 -1
  531. package/model/roleV1.ts +1 -1
  532. package/model/ruleInputV1.ts +1 -1
  533. package/model/ruleV1.ts +1 -1
  534. package/model/sourceAPICallSnapshotV1.ts +1 -1
  535. package/model/sourceAlpha.ts +1 -1
  536. package/model/sourceEventVolumeDatapointV1.ts +1 -1
  537. package/model/sourceEventVolumeV1.ts +1 -1
  538. package/model/sourceMetadataV1.ts +1 -1
  539. package/model/sourceSettingsOutputV1.ts +1 -1
  540. package/model/sourceV1.ts +1 -1
  541. package/model/space.ts +1 -1
  542. package/model/spaceWarehouseSchemaOverride.ts +1 -1
  543. package/model/spaceWarehouseSelectiveSyncItemAlpha.ts +1 -1
  544. package/model/streamStatusV1.ts +1 -1
  545. package/model/suppressedInner.ts +1 -1
  546. package/model/syncExtractPhase.ts +1 -1
  547. package/model/syncLoadPhase.ts +1 -1
  548. package/model/syncNoticeV1.ts +1 -1
  549. package/model/syncV1.ts +1 -1
  550. package/model/trackSourceSettingsV1.ts +1 -1
  551. package/model/trackingPlanV1.ts +1 -1
  552. package/model/traitDefinition.ts +54 -0
  553. package/model/traitOptions.ts +47 -0
  554. package/model/transformationBeta.ts +1 -1
  555. package/model/transformationV1.ts +1 -1
  556. package/model/updateAudienceForSpace200Response.ts +1 -1
  557. package/model/updateAudienceForSpaceAlphaOutput.ts +2 -2
  558. package/model/updateAudienceForSpaceInput.ts +26 -1
  559. package/model/updateComputedTraitForSpace200Response.ts +1 -1
  560. package/model/updateComputedTraitForSpaceAlphaInput.ts +26 -1
  561. package/model/updateComputedTraitForSpaceAlphaOutput.ts +1 -1
  562. package/model/updateDestination200Response.ts +1 -1
  563. package/model/updateDestinationV1Input.ts +1 -1
  564. package/model/updateDestinationV1Output.ts +1 -1
  565. package/model/updateFilterForDestination200Response.ts +1 -1
  566. package/model/updateFilterForDestinationV1Input.ts +1 -1
  567. package/model/updateFilterForDestinationV1Output.ts +1 -1
  568. package/model/updateFunction200Response.ts +1 -1
  569. package/model/updateFunctionV1Input.ts +1 -1
  570. package/model/updateFunctionV1Output.ts +1 -1
  571. package/model/updateGroupSubscriptionStatusResponse.ts +1 -1
  572. package/model/updateInsertFunctionInstance200Response.ts +1 -1
  573. package/model/updateInsertFunctionInstanceAlphaInput.ts +1 -1
  574. package/model/updateInsertFunctionInstanceAlphaOutput.ts +1 -1
  575. package/model/updateProfilesWarehouseForSpaceWarehouse200Response.ts +1 -1
  576. package/model/updateProfilesWarehouseForSpaceWarehouseAlphaInput.ts +1 -1
  577. package/model/updateProfilesWarehouseForSpaceWarehouseAlphaOutput.ts +1 -1
  578. package/model/updateReverseEtlModel200Response.ts +1 -1
  579. package/model/updateReverseEtlModelInput.ts +1 -1
  580. package/model/updateReverseEtlModelOutput.ts +1 -1
  581. package/model/updateRulesInTrackingPlan200Response.ts +1 -1
  582. package/model/updateRulesInTrackingPlanV1Input.ts +1 -1
  583. package/model/updateRulesInTrackingPlanV1Output.ts +1 -1
  584. package/model/updateSchemaSettingsInSource200Response.ts +1 -1
  585. package/model/updateSchemaSettingsInSourceV1Input.ts +1 -1
  586. package/model/updateSchemaSettingsInSourceV1Output.ts +1 -1
  587. package/model/updateSelectiveSyncForWarehouse200Response.ts +1 -1
  588. package/model/updateSelectiveSyncForWarehouseAndSpace200Response.ts +1 -1
  589. package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaInput.ts +1 -1
  590. package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaOutput.ts +1 -1
  591. package/model/updateSelectiveSyncForWarehouseV1Input.ts +1 -1
  592. package/model/updateSelectiveSyncForWarehouseV1Output.ts +1 -1
  593. package/model/updateSource200Response.ts +1 -1
  594. package/model/updateSource200Response1.ts +1 -1
  595. package/model/updateSourceAlphaInput.ts +1 -1
  596. package/model/updateSourceAlphaOutput.ts +1 -1
  597. package/model/updateSourceV1Input.ts +1 -1
  598. package/model/updateSourceV1Output.ts +1 -1
  599. package/model/updateSubscriptionForDestination200Response.ts +1 -1
  600. package/model/updateSubscriptionForDestinationAlphaInput.ts +1 -1
  601. package/model/updateSubscriptionForDestinationAlphaOutput.ts +1 -1
  602. package/model/updateTrackingPlan200Response.ts +1 -1
  603. package/model/updateTrackingPlanV1Input.ts +1 -1
  604. package/model/updateTrackingPlanV1Output.ts +1 -1
  605. package/model/updateTransformation200Response.ts +1 -1
  606. package/model/updateTransformationBetaInput.ts +1 -1
  607. package/model/updateTransformationBetaOutput.ts +1 -1
  608. package/model/updateTransformationV1Input.ts +1 -1
  609. package/model/updateTransformationV1Output.ts +1 -1
  610. package/model/updateUserGroup200Response.ts +1 -1
  611. package/model/updateUserGroupV1Input.ts +1 -1
  612. package/model/updateUserGroupV1Output.ts +1 -1
  613. package/model/updateWarehouse200Response.ts +1 -1
  614. package/model/updateWarehouseV1Input.ts +1 -1
  615. package/model/updateWarehouseV1Output.ts +1 -1
  616. package/model/upsertRuleV1.ts +1 -1
  617. package/model/userGroupV1.ts +1 -1
  618. package/model/userV1.ts +1 -1
  619. package/model/usersPerSourceSnapshotV1.ts +1 -1
  620. package/model/version.ts +1 -1
  621. package/model/warehouseAdvancedSyncV1.ts +1 -1
  622. package/model/warehouseMetadataV1.ts +1 -1
  623. package/model/warehouseSelectiveSyncItemV1.ts +1 -1
  624. package/model/warehouseSyncOverrideV1.ts +1 -1
  625. package/model/warehouseV1.ts +1 -1
  626. package/model/workspaceV1.ts +1 -1
  627. package/package.json +1 -1
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,54 @@
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: 50.2.0
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 AudienceComputationDefinition {
16
+ /**
17
+ * The underlying data type being segmented for this audience. Possible values: users, accounts.
18
+ */
19
+ 'type': AudienceComputationDefinition.TypeEnum;
20
+ /**
21
+ * The query language string defining the audience segmentation criteria. For guidance on using the query language, see the [Segment documentation site](https://segment.com/docs/api/public-api/query-language).
22
+ */
23
+ 'query': 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: 'type',
34
+ baseName: 'type',
35
+ type: 'AudienceComputationDefinition.TypeEnum',
36
+ },
37
+ {
38
+ name: 'query',
39
+ baseName: 'query',
40
+ type: 'string',
41
+ },
42
+ ];
43
+
44
+ static getAttributeTypeMap() {
45
+ return AudienceComputationDefinition.attributeTypeMap;
46
+ }
47
+ }
48
+
49
+ export namespace AudienceComputationDefinition {
50
+ export enum TypeEnum {
51
+ ACCOUNTS = <any>'ACCOUNTS',
52
+ USERS = <any>'USERS',
53
+ }
54
+ }
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -23,7 +23,7 @@ export class AudienceDefinition {
23
23
  /**
24
24
  * The underlying data type being segmented for this audience. Possible values: users, accounts.
25
25
  */
26
- 'type': string;
26
+ 'type': AudienceDefinition.TypeEnum;
27
27
 
28
28
  static discriminator: string | undefined = undefined;
29
29
 
@@ -40,7 +40,7 @@ export class AudienceDefinition {
40
40
  {
41
41
  name: 'type',
42
42
  baseName: 'type',
43
- type: 'string',
43
+ type: 'AudienceDefinition.TypeEnum',
44
44
  },
45
45
  ];
46
46
 
@@ -48,3 +48,10 @@ export class AudienceDefinition {
48
48
  return AudienceDefinition.attributeTypeMap;
49
49
  }
50
50
  }
51
+
52
+ export namespace AudienceDefinition {
53
+ export enum TypeEnum {
54
+ ACCOUNTS = <any>'ACCOUNTS',
55
+ USERS = <any>'USERS',
56
+ }
57
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Segment Public API
3
+ * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
+ *
5
+ * The version of the OpenAPI document: 50.2.0
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 AudienceOptions {
16
+ /**
17
+ * Determines whether data prior to the audience being created is included when determining audience membership. Note that including historical data may be needed in order to properly handle the definition specified. In these cases, Segment will automatically handle including historical data and the response will return the includeHistoricalData parameter as true.
18
+ */
19
+ 'includeHistoricalData'?: boolean;
20
+ /**
21
+ * Determines whether anonymous users should be included when determining audience membership.
22
+ */
23
+ 'includeAnonymousUsers'?: boolean;
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: 'includeHistoricalData',
34
+ baseName: 'includeHistoricalData',
35
+ type: 'boolean',
36
+ },
37
+ {
38
+ name: 'includeAnonymousUsers',
39
+ baseName: 'includeAnonymousUsers',
40
+ type: 'boolean',
41
+ },
42
+ ];
43
+
44
+ static getAttributeTypeMap() {
45
+ return AudienceOptions.attributeTypeMap;
46
+ }
47
+ }
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,6 +11,7 @@
11
11
  */
12
12
 
13
13
  import { RequestFile } from './models';
14
+ import { AudienceOptions } from './audienceOptions';
14
15
  import { Definition1 } from './definition1';
15
16
 
16
17
  /**
@@ -32,7 +33,7 @@ export class AudienceSummary {
32
33
  /**
33
34
  * Description of the audience.
34
35
  */
35
- 'description': string;
36
+ 'description'?: string;
36
37
  /**
37
38
  * Key for the audience.
38
39
  */
@@ -62,6 +63,7 @@ export class AudienceSummary {
62
63
  * Date the audience was last updated.
63
64
  */
64
65
  'updatedAt': string;
66
+ 'options'?: AudienceOptions;
65
67
 
66
68
  static discriminator: string | undefined = undefined;
67
69
 
@@ -130,6 +132,11 @@ export class AudienceSummary {
130
132
  baseName: 'updatedAt',
131
133
  type: 'string',
132
134
  },
135
+ {
136
+ name: 'options',
137
+ baseName: 'options',
138
+ type: 'AudienceOptions',
139
+ },
133
140
  ];
134
141
 
135
142
  static getAttributeTypeMap() {
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -12,6 +12,7 @@
12
12
 
13
13
  import { RequestFile } from './models';
14
14
  import { Definition } from './definition';
15
+ import { TraitOptions } from './traitOptions';
15
16
 
16
17
  /**
17
18
  * Defines a Computed trait.
@@ -32,7 +33,7 @@ export class ComputedTraitSummary {
32
33
  /**
33
34
  * Description of the computed trait.
34
35
  */
35
- 'description': string;
36
+ 'description'?: string;
36
37
  /**
37
38
  * Key for the computed trait.
38
39
  */
@@ -62,6 +63,7 @@ export class ComputedTraitSummary {
62
63
  * The timestamp of the computed trait\'s last change.
63
64
  */
64
65
  'updatedAt': string;
66
+ 'options'?: TraitOptions;
65
67
 
66
68
  static discriminator: string | undefined = undefined;
67
69
 
@@ -130,6 +132,11 @@ export class ComputedTraitSummary {
130
132
  baseName: 'updatedAt',
131
133
  type: 'string',
132
134
  },
135
+ {
136
+ name: 'options',
137
+ baseName: 'options',
138
+ type: 'TraitOptions',
139
+ },
133
140
  ];
134
141
 
135
142
  static getAttributeTypeMap() {
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,13 +17,13 @@ import { RequestFile } from './models';
17
17
  */
18
18
  export class ComputedTraitsDefinition {
19
19
  /**
20
- * The query language string defining the computed trait aggregation criteria.
20
+ * The query language string defining the computed trait aggregation criteria. For guidance on using the query language, see the [Segment documentation site](https://segment.com/docs/api/public-api/query-language).
21
21
  */
22
22
  'query': string;
23
23
  /**
24
24
  * The underlying data type being aggregated for this computed trait. Possible values: users, accounts.
25
25
  */
26
- 'type': string;
26
+ 'type': ComputedTraitsDefinition.TypeEnum;
27
27
 
28
28
  static discriminator: string | undefined = undefined;
29
29
 
@@ -40,7 +40,7 @@ export class ComputedTraitsDefinition {
40
40
  {
41
41
  name: 'type',
42
42
  baseName: 'type',
43
- type: 'string',
43
+ type: 'ComputedTraitsDefinition.TypeEnum',
44
44
  },
45
45
  ];
46
46
 
@@ -48,3 +48,10 @@ export class ComputedTraitsDefinition {
48
48
  return ComputedTraitsDefinition.attributeTypeMap;
49
49
  }
50
50
  }
51
+
52
+ export namespace ComputedTraitsDefinition {
53
+ export enum TypeEnum {
54
+ ACCOUNTS = <any>'ACCOUNTS',
55
+ USERS = <any>'USERS',
56
+ }
57
+ }
package/model/contact.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Segment Public API
3
+ * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
+ *
5
+ * The version of the OpenAPI document: 50.2.0
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 { CreateAudienceAlphaOutput } from './createAudienceAlphaOutput';
15
+
16
+ export class CreateAudience200Response {
17
+ 'data'?: CreateAudienceAlphaOutput;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ }> = [
26
+ {
27
+ name: 'data',
28
+ baseName: 'data',
29
+ type: 'CreateAudienceAlphaOutput',
30
+ },
31
+ ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return CreateAudience200Response.attributeTypeMap;
35
+ }
36
+ }
@@ -0,0 +1,73 @@
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: 50.2.0
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 { AudienceComputationDefinition } from './audienceComputationDefinition';
15
+ import { AudienceOptions } from './audienceOptions';
16
+
17
+ /**
18
+ * Input to create an audience.
19
+ */
20
+ export class CreateAudienceAlphaInput {
21
+ /**
22
+ * Name of the audience.
23
+ */
24
+ 'name': string;
25
+ /**
26
+ * Determines whether a computation is enabled.
27
+ */
28
+ 'enabled'?: boolean;
29
+ /**
30
+ * Description of the audience.
31
+ */
32
+ 'description'?: string;
33
+ 'definition': AudienceComputationDefinition;
34
+ 'options'?: AudienceOptions;
35
+
36
+ static discriminator: string | undefined = undefined;
37
+
38
+ static attributeTypeMap: Array<{
39
+ name: string;
40
+ baseName: string;
41
+ type: string;
42
+ }> = [
43
+ {
44
+ name: 'name',
45
+ baseName: 'name',
46
+ type: 'string',
47
+ },
48
+ {
49
+ name: 'enabled',
50
+ baseName: 'enabled',
51
+ type: 'boolean',
52
+ },
53
+ {
54
+ name: 'description',
55
+ baseName: 'description',
56
+ type: 'string',
57
+ },
58
+ {
59
+ name: 'definition',
60
+ baseName: 'definition',
61
+ type: 'AudienceComputationDefinition',
62
+ },
63
+ {
64
+ name: 'options',
65
+ baseName: 'options',
66
+ type: 'AudienceOptions',
67
+ },
68
+ ];
69
+
70
+ static getAttributeTypeMap() {
71
+ return CreateAudienceAlphaInput.attributeTypeMap;
72
+ }
73
+ }
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Segment Public API
3
+ * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
+ *
5
+ * The version of the OpenAPI document: 50.2.0
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 { AudienceSummary } from './audienceSummary';
15
+
16
+ /**
17
+ * Audience output for create.
18
+ */
19
+ export class CreateAudienceAlphaOutput {
20
+ 'audience': AudienceSummary;
21
+
22
+ static discriminator: string | undefined = undefined;
23
+
24
+ static attributeTypeMap: Array<{
25
+ name: string;
26
+ baseName: string;
27
+ type: string;
28
+ }> = [
29
+ {
30
+ name: 'audience',
31
+ baseName: 'audience',
32
+ type: 'AudienceSummary',
33
+ },
34
+ ];
35
+
36
+ static getAttributeTypeMap() {
37
+ return CreateAudienceAlphaOutput.attributeTypeMap;
38
+ }
39
+ }
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 50.1.0
5
+ * The version of the OpenAPI document: 50.2.0
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Segment Public API
3
+ * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
+ *
5
+ * The version of the OpenAPI document: 50.2.0
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 { CreateComputedTraitAlphaOutput } from './createComputedTraitAlphaOutput';
15
+
16
+ export class CreateComputedTrait200Response {
17
+ 'data'?: CreateComputedTraitAlphaOutput;
18
+
19
+ static discriminator: string | undefined = undefined;
20
+
21
+ static attributeTypeMap: Array<{
22
+ name: string;
23
+ baseName: string;
24
+ type: string;
25
+ }> = [
26
+ {
27
+ name: 'data',
28
+ baseName: 'data',
29
+ type: 'CreateComputedTraitAlphaOutput',
30
+ },
31
+ ];
32
+
33
+ static getAttributeTypeMap() {
34
+ return CreateComputedTrait200Response.attributeTypeMap;
35
+ }
36
+ }