@segment/public-api-sdk-typescript 73.1.0-b498 → 73.1.1-b533

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 (796) hide show
  1. package/.github/workflows/publish.yml +1 -1
  2. package/README.md +1 -1
  3. package/api/aPICallsApi.ts +1 -1
  4. package/api/activationsApi.ts +1 -1
  5. package/api/apis.ts +2 -2
  6. package/api/audiencesApi.ts +1 -1
  7. package/api/auditTrailApi.ts +1 -1
  8. package/api/catalogApi.ts +1 -1
  9. package/api/computedTraitsApi.ts +1 -1
  10. package/api/credentialsApi.ts +491 -3
  11. package/api/customerInsightsApi.ts +1 -1
  12. package/api/dbtApi.ts +1 -1
  13. package/api/deletionAndSuppressionApi.ts +4 -4
  14. package/api/deliveryOverviewApi.ts +1 -1
  15. package/api/destinationFiltersApi.ts +1 -1
  16. package/api/destinationsApi.ts +1 -1
  17. package/api/eventsApi.ts +1 -1
  18. package/api/functionsApi.ts +1 -1
  19. package/api/iAMGroupsApi.ts +1 -1
  20. package/api/iAMRolesApi.ts +1 -1
  21. package/api/iAMUsersApi.ts +1 -1
  22. package/api/labelsApi.ts +1 -1
  23. package/api/livePluginsApi.ts +1 -1
  24. package/api/monthlyTrackedUsersApi.ts +1 -1
  25. package/api/profilesSyncApi.ts +1 -1
  26. package/api/reverseETLApi.ts +1 -1
  27. package/api/selectiveSyncApi.ts +1 -1
  28. package/api/sourcesApi.ts +1 -1
  29. package/api/spaceFiltersApi.ts +1 -1
  30. package/api/spaceSchemaAPIApi.ts +1 -1
  31. package/api/spacesApi.ts +1 -1
  32. package/api/testingApi.ts +1 -1
  33. package/api/trackingPlansApi.ts +1 -1
  34. package/api/transformationsApi.ts +1 -1
  35. package/api/warehousesApi.ts +1 -1
  36. package/api/workspacesApi.ts +1 -1
  37. package/dist/api/apis.js +2 -2
  38. package/dist/api/credentialsApi.d.ts +37 -0
  39. package/dist/api/credentialsApi.js +346 -3
  40. package/dist/api/credentialsApi.js.map +1 -1
  41. package/dist/model/deleteCredential200Response.d.ts +15 -0
  42. package/dist/model/deleteCredential200Response.js +21 -0
  43. package/dist/model/deleteCredential200Response.js.map +1 -0
  44. package/dist/model/deleteCredentialV1Output.d.ts +19 -0
  45. package/dist/model/deleteCredentialV1Output.js +28 -0
  46. package/dist/model/deleteCredentialV1Output.js.map +1 -0
  47. package/dist/model/getCredential200Response.d.ts +15 -0
  48. package/dist/model/getCredential200Response.js +21 -0
  49. package/dist/model/getCredential200Response.js.map +1 -0
  50. package/dist/model/getCredentialV1Output.d.ts +15 -0
  51. package/dist/model/getCredentialV1Output.js +21 -0
  52. package/dist/model/getCredentialV1Output.js.map +1 -0
  53. package/dist/model/listCredentialConsumers200Response.d.ts +15 -0
  54. package/dist/model/listCredentialConsumers200Response.js +21 -0
  55. package/dist/model/listCredentialConsumers200Response.js.map +1 -0
  56. package/dist/model/listCredentialConsumersV1Output.d.ts +20 -0
  57. package/dist/model/listCredentialConsumersV1Output.js +36 -0
  58. package/dist/model/listCredentialConsumersV1Output.js.map +1 -0
  59. package/dist/model/listCredentials200Response.d.ts +15 -0
  60. package/dist/model/listCredentials200Response.js +21 -0
  61. package/dist/model/listCredentials200Response.js.map +1 -0
  62. package/dist/model/listCredentialsV1Output.d.ts +17 -0
  63. package/dist/model/listCredentialsV1Output.js +26 -0
  64. package/dist/model/listCredentialsV1Output.js.map +1 -0
  65. package/dist/model/models.d.ts +8 -0
  66. package/dist/model/models.js +25 -0
  67. package/dist/model/models.js.map +1 -1
  68. package/model/aPICallSnapshotV1.ts +1 -1
  69. package/model/accessPermissionV1.ts +1 -1
  70. package/model/activationOutput.ts +1 -1
  71. package/model/addActivationToAudience200Response.ts +1 -1
  72. package/model/addActivationToAudienceAlphaInput.ts +1 -1
  73. package/model/addActivationToAudienceAlphaOutput.ts +1 -1
  74. package/model/addAudienceScheduleToAudience200Response.ts +1 -1
  75. package/model/addAudienceScheduleToAudience200Response1.ts +1 -1
  76. package/model/addAudienceScheduleToAudienceAlphaInput.ts +1 -1
  77. package/model/addAudienceScheduleToAudienceAlphaOutput.ts +1 -1
  78. package/model/addAudienceScheduleToAudienceInput.ts +1 -1
  79. package/model/addAudienceScheduleToAudienceOutput.ts +1 -1
  80. package/model/addConnectionFromSourceToWarehouse201Response.ts +1 -1
  81. package/model/addConnectionFromSourceToWarehouseV1Output.ts +1 -1
  82. package/model/addDestinationToAudience200Response.ts +1 -1
  83. package/model/addDestinationToAudienceAlphaInput.ts +1 -1
  84. package/model/addDestinationToAudienceAlphaOutput.ts +1 -1
  85. package/model/addLabelsToSource200Response.ts +1 -1
  86. package/model/addLabelsToSource200Response1.ts +1 -1
  87. package/model/addLabelsToSourceAlphaInput.ts +1 -1
  88. package/model/addLabelsToSourceAlphaOutput.ts +1 -1
  89. package/model/addLabelsToSourceV1Input.ts +1 -1
  90. package/model/addLabelsToSourceV1Output.ts +1 -1
  91. package/model/addPermissionsToUser200Response.ts +1 -1
  92. package/model/addPermissionsToUserGroup200Response.ts +1 -1
  93. package/model/addPermissionsToUserGroupV1Input.ts +1 -1
  94. package/model/addPermissionsToUserGroupV1Output.ts +1 -1
  95. package/model/addPermissionsToUserV1Input.ts +1 -1
  96. package/model/addPermissionsToUserV1Output.ts +1 -1
  97. package/model/addSourceToTrackingPlan200Response.ts +1 -1
  98. package/model/addSourceToTrackingPlanV1Input.ts +1 -1
  99. package/model/addSourceToTrackingPlanV1Output.ts +1 -1
  100. package/model/addUsersToUserGroup200Response.ts +1 -1
  101. package/model/addUsersToUserGroupV1Input.ts +1 -1
  102. package/model/addUsersToUserGroupV1Output.ts +1 -1
  103. package/model/advancedWarehouseSyncScheduleV1Input.ts +1 -1
  104. package/model/advancedWarehouseSyncScheduleV1Output.ts +1 -1
  105. package/model/allowedLabelBeta.ts +1 -1
  106. package/model/audienceComputeCadence.ts +1 -1
  107. package/model/audienceDefinition.ts +1 -1
  108. package/model/audienceDefinitionWithoutTargetEntity.ts +1 -1
  109. package/model/audienceOptions.ts +1 -1
  110. package/model/audienceOptionsWithLookback.ts +1 -1
  111. package/model/audiencePreview.ts +1 -1
  112. package/model/audiencePreviewAccountResult.ts +1 -1
  113. package/model/audiencePreviewEntitiesResult.ts +1 -1
  114. package/model/audiencePreviewIdentifier.ts +1 -1
  115. package/model/audiencePreviewProfileResult.ts +1 -1
  116. package/model/audiencePreviewResult.ts +1 -1
  117. package/model/audienceRunInfo.ts +1 -1
  118. package/model/audienceSchedule.ts +1 -1
  119. package/model/audienceSize.ts +1 -1
  120. package/model/audienceSummary.ts +1 -1
  121. package/model/audienceSummaryWithAudienceTypeAndLookback.ts +1 -1
  122. package/model/auditEventV1.ts +1 -1
  123. package/model/batchQueryMessagingSubscriptionsForSpace200Response.ts +1 -1
  124. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaInput.ts +1 -1
  125. package/model/batchQueryMessagingSubscriptionsForSpaceAlphaOutput.ts +1 -1
  126. package/model/breakdownBeta.ts +1 -1
  127. package/model/cancelReverseETLSyncForModel200Response.ts +1 -1
  128. package/model/cancelReverseETLSyncForModelInput.ts +1 -1
  129. package/model/cancelReverseETLSyncForModelOutput.ts +1 -1
  130. package/model/commonSourceSettingsV1.ts +1 -1
  131. package/model/computedTraitSummary.ts +1 -1
  132. package/model/computedTraitsDefinition.ts +1 -1
  133. package/model/config.ts +1 -1
  134. package/model/config1.ts +1 -1
  135. package/model/connection.ts +1 -1
  136. package/model/contact.ts +1 -1
  137. package/model/createAudience200Response.ts +1 -1
  138. package/model/createAudience200Response1.ts +1 -1
  139. package/model/createAudience200Response2.ts +1 -1
  140. package/model/createAudienceAlphaInput.ts +1 -1
  141. package/model/createAudienceAlphaOutput.ts +1 -1
  142. package/model/createAudienceBetaInput.ts +1 -1
  143. package/model/createAudienceBetaOutput.ts +1 -1
  144. package/model/createAudienceInput.ts +1 -1
  145. package/model/createAudienceOutput.ts +1 -1
  146. package/model/createAudiencePreview200Response.ts +1 -1
  147. package/model/createAudiencePreview200Response1.ts +1 -1
  148. package/model/createAudiencePreview200Response2.ts +1 -1
  149. package/model/createAudiencePreviewAlphaInput.ts +1 -1
  150. package/model/createAudiencePreviewAlphaOutput.ts +1 -1
  151. package/model/createAudiencePreviewBetaInput.ts +1 -1
  152. package/model/createAudiencePreviewBetaOutput.ts +1 -1
  153. package/model/createAudiencePreviewInput.ts +1 -1
  154. package/model/createAudiencePreviewOptions.ts +1 -1
  155. package/model/createAudiencePreviewOutput.ts +1 -1
  156. package/model/createCloudSourceRegulation200Response.ts +1 -1
  157. package/model/createCloudSourceRegulationV1Input.ts +1 -1
  158. package/model/createCloudSourceRegulationV1Output.ts +1 -1
  159. package/model/createComputedTrait200Response.ts +1 -1
  160. package/model/createComputedTraitAlphaInput.ts +1 -1
  161. package/model/createComputedTraitAlphaOutput.ts +1 -1
  162. package/model/createCredential201Response.ts +1 -1
  163. package/model/createCredentialV1Input.ts +1 -1
  164. package/model/createCredentialV1Output.ts +1 -1
  165. package/model/createDbtModelSyncTrigger200Response.ts +1 -1
  166. package/model/createDbtModelSyncTriggerInput.ts +1 -1
  167. package/model/createDbtModelSyncTriggerOutput.ts +1 -1
  168. package/model/createDestination200Response.ts +1 -1
  169. package/model/createDestinationSubscription200Response.ts +1 -1
  170. package/model/createDestinationSubscriptionAlphaInput.ts +1 -1
  171. package/model/createDestinationSubscriptionAlphaOutput.ts +1 -1
  172. package/model/createDestinationV1Input.ts +1 -1
  173. package/model/createDestinationV1Output.ts +1 -1
  174. package/model/createDownload200Response.ts +1 -1
  175. package/model/createDownloadAlphaInput.ts +1 -1
  176. package/model/createDownloadAlphaOutput.ts +1 -1
  177. package/model/createFilterForDestination200Response.ts +1 -1
  178. package/model/createFilterForDestinationV1Input.ts +1 -1
  179. package/model/createFilterForDestinationV1Output.ts +1 -1
  180. package/model/createFilterForSpace200Response.ts +1 -1
  181. package/model/createFilterForSpaceInput.ts +1 -1
  182. package/model/createFilterForSpaceOutput.ts +1 -1
  183. package/model/createFunction200Response.ts +1 -1
  184. package/model/createFunctionDeployment200Response.ts +1 -1
  185. package/model/createFunctionDeploymentV1Output.ts +1 -1
  186. package/model/createFunctionV1Input.ts +1 -1
  187. package/model/createFunctionV1Output.ts +1 -1
  188. package/model/createInsertFunctionInstance200Response.ts +1 -1
  189. package/model/createInsertFunctionInstanceAlphaInput.ts +1 -1
  190. package/model/createInsertFunctionInstanceAlphaOutput.ts +1 -1
  191. package/model/createInvites201Response.ts +1 -1
  192. package/model/createInvitesV1Input.ts +1 -1
  193. package/model/createInvitesV1Output.ts +1 -1
  194. package/model/createLabel201Response.ts +1 -1
  195. package/model/createLabelV1Input.ts +1 -1
  196. package/model/createLabelV1Output.ts +1 -1
  197. package/model/createLivePlugin200Response.ts +1 -1
  198. package/model/createLivePluginAlphaInput.ts +1 -1
  199. package/model/createLivePluginAlphaOutput.ts +1 -1
  200. package/model/createProfilesWarehouse201Response.ts +1 -1
  201. package/model/createProfilesWarehouseAlphaInput.ts +1 -1
  202. package/model/createProfilesWarehouseAlphaOutput.ts +1 -1
  203. package/model/createReverseETLManualSync200Response.ts +1 -1
  204. package/model/createReverseETLManualSyncInput.ts +1 -1
  205. package/model/createReverseETLManualSyncOutput.ts +1 -1
  206. package/model/createReverseEtlModel201Response.ts +1 -1
  207. package/model/createReverseEtlModelInput.ts +1 -1
  208. package/model/createReverseEtlModelOutput.ts +1 -1
  209. package/model/createSource201Response.ts +1 -1
  210. package/model/createSource201Response1.ts +1 -1
  211. package/model/createSourceAlphaInput.ts +1 -1
  212. package/model/createSourceAlphaOutput.ts +1 -1
  213. package/model/createSourceRegulation200Response.ts +1 -1
  214. package/model/createSourceRegulationV1Input.ts +1 -1
  215. package/model/createSourceRegulationV1Output.ts +1 -1
  216. package/model/createSourceV1Input.ts +1 -1
  217. package/model/createSourceV1Output.ts +1 -1
  218. package/model/createTrackingPlan200Response.ts +1 -1
  219. package/model/createTrackingPlanV1Input.ts +1 -1
  220. package/model/createTrackingPlanV1Output.ts +1 -1
  221. package/model/createTransformation200Response.ts +1 -1
  222. package/model/createTransformationBetaInput.ts +1 -1
  223. package/model/createTransformationBetaOutput.ts +1 -1
  224. package/model/createTransformationV1Input.ts +1 -1
  225. package/model/createTransformationV1Output.ts +1 -1
  226. package/model/createUserGroup200Response.ts +1 -1
  227. package/model/createUserGroupV1Input.ts +1 -1
  228. package/model/createUserGroupV1Output.ts +1 -1
  229. package/model/createValidationInWarehouse200Response.ts +1 -1
  230. package/model/createValidationInWarehouseV1Input.ts +1 -1
  231. package/model/createValidationInWarehouseV1Output.ts +1 -1
  232. package/model/createWarehouse201Response.ts +1 -1
  233. package/model/createWarehouseV1Input.ts +1 -1
  234. package/model/createWarehouseV1Output.ts +1 -1
  235. package/model/createWorkspaceRegulation200Response.ts +1 -1
  236. package/model/createWorkspaceRegulationV1Input.ts +1 -1
  237. package/model/createWorkspaceRegulationV1Output.ts +1 -1
  238. package/model/createWriteKeyForSource200Response.ts +1 -1
  239. package/model/createWriteKeyForSourceAlphaOutput.ts +1 -1
  240. package/model/credentialV1.ts +1 -1
  241. package/model/dbtModelSyncTrigger.ts +1 -1
  242. package/model/deleteActivationAlphaOutput.ts +1 -1
  243. package/model/deleteCredential200Response.ts +36 -0
  244. package/model/deleteCredentialV1Output.ts +47 -0
  245. package/model/deleteDestination200Response.ts +1 -1
  246. package/model/deleteDestinationV1Output.ts +1 -1
  247. package/model/deleteFilterById200Response.ts +1 -1
  248. package/model/deleteFilterByIdOutput.ts +1 -1
  249. package/model/deleteFunction200Response.ts +1 -1
  250. package/model/deleteFunctionV1Output.ts +1 -1
  251. package/model/deleteInsertFunctionInstance200Response.ts +1 -1
  252. package/model/deleteInsertFunctionInstanceAlphaOutput.ts +1 -1
  253. package/model/deleteInvites200Response.ts +1 -1
  254. package/model/deleteInvitesV1Output.ts +1 -1
  255. package/model/deleteLabel200Response.ts +1 -1
  256. package/model/deleteLabel200Response1.ts +1 -1
  257. package/model/deleteLabelAlphaOutput.ts +1 -1
  258. package/model/deleteLabelV1Output.ts +1 -1
  259. package/model/deleteLivePluginCode200Response.ts +1 -1
  260. package/model/deleteLivePluginCodeAlphaOutput.ts +1 -1
  261. package/model/deleteReverseEtlModel200Response.ts +1 -1
  262. package/model/deleteReverseEtlModelOutput.ts +1 -1
  263. package/model/deleteSource200Response.ts +1 -1
  264. package/model/deleteSource200Response1.ts +1 -1
  265. package/model/deleteSourceAlphaOutput.ts +1 -1
  266. package/model/deleteSourceV1Output.ts +1 -1
  267. package/model/deleteTrackingPlan200Response.ts +1 -1
  268. package/model/deleteTrackingPlanV1Output.ts +1 -1
  269. package/model/deleteTransformation200Response.ts +1 -1
  270. package/model/deleteTransformationBetaInput.ts +1 -1
  271. package/model/deleteTransformationBetaOutput.ts +1 -1
  272. package/model/deleteTransformationV1Output.ts +1 -1
  273. package/model/deleteUserGroup200Response.ts +1 -1
  274. package/model/deleteUserGroupV1Output.ts +1 -1
  275. package/model/deleteUsers200Response.ts +1 -1
  276. package/model/deleteUsersV1Output.ts +1 -1
  277. package/model/deleteWarehouse200Response.ts +1 -1
  278. package/model/deleteWarehouseV1Output.ts +1 -1
  279. package/model/deliveryMetricsSummaryBeta.ts +1 -1
  280. package/model/deliveryOverviewDestinationFilterBy.ts +1 -1
  281. package/model/deliveryOverviewMetricsDatapoint.ts +1 -1
  282. package/model/deliveryOverviewMetricsDataset.ts +1 -1
  283. package/model/deliveryOverviewSourceFilterBy.ts +1 -1
  284. package/model/deliveryOverviewSuccessfullyReceivedFilterBy.ts +1 -1
  285. package/model/destination.ts +1 -1
  286. package/model/destinationFilterActionV1.ts +1 -1
  287. package/model/destinationFilterV1.ts +1 -1
  288. package/model/destinationInput.ts +1 -1
  289. package/model/destinationMetadataActionFieldV1.ts +1 -1
  290. package/model/destinationMetadataActionV1.ts +1 -1
  291. package/model/destinationMetadataComponentV1.ts +1 -1
  292. package/model/destinationMetadataFeaturesV1.ts +1 -1
  293. package/model/destinationMetadataMethodsV1.ts +1 -1
  294. package/model/destinationMetadataPlatformsV1.ts +1 -1
  295. package/model/destinationMetadataSubscriptionPresetV1.ts +1 -1
  296. package/model/destinationMetadataV1.ts +1 -1
  297. package/model/destinationStatusV1.ts +1 -1
  298. package/model/destinationSubscription.ts +1 -1
  299. package/model/destinationSubscriptionConfiguration.ts +1 -1
  300. package/model/destinationSubscriptionUpdateInput.ts +1 -1
  301. package/model/destinationV1.ts +1 -1
  302. package/model/download.ts +1 -1
  303. package/model/echo200Response.ts +1 -1
  304. package/model/echo200Response1.ts +1 -1
  305. package/model/echoAlphaOutput.ts +1 -1
  306. package/model/echoV1Output.ts +1 -1
  307. package/model/entityDetails.ts +1 -1
  308. package/model/entityPathAlpha.ts +1 -1
  309. package/model/entityPropertyAlpha.ts +1 -1
  310. package/model/eventAlpha.ts +1 -1
  311. package/model/eventPropertyAlpha.ts +1 -1
  312. package/model/eventPropertyType.ts +1 -1
  313. package/model/eventSourceV1.ts +1 -1
  314. package/model/eventType.ts +1 -1
  315. package/model/fQLDefinedPropertyV1.ts +1 -1
  316. package/model/filter.ts +1 -1
  317. package/model/forceExecuteAudienceRun200Response.ts +1 -1
  318. package/model/forceExecuteAudienceRun200Response1.ts +1 -1
  319. package/model/forceExecuteAudienceRunAlphaOutput.ts +1 -1
  320. package/model/forceExecuteAudienceRunOutput.ts +1 -1
  321. package/model/forwardOnlyPaginationOutput.ts +1 -1
  322. package/model/functionDeployment.ts +1 -1
  323. package/model/functionSettingV1.ts +1 -1
  324. package/model/functionV1.ts +1 -1
  325. package/model/getActivationFromAudience200Response.ts +1 -1
  326. package/model/getActivationFromAudienceOutput.ts +1 -1
  327. package/model/getAdvancedSyncScheduleFromWarehouse200Response.ts +1 -1
  328. package/model/getAdvancedSyncScheduleFromWarehouseV1Output.ts +1 -1
  329. package/model/getAudience200Response.ts +1 -1
  330. package/model/getAudience200Response1.ts +1 -1
  331. package/model/getAudience200Response2.ts +1 -1
  332. package/model/getAudienceAlphaOutput.ts +1 -1
  333. package/model/getAudienceBetaOutput.ts +1 -1
  334. package/model/getAudienceOutput.ts +1 -1
  335. package/model/getAudiencePreview200Response.ts +1 -1
  336. package/model/getAudiencePreview200Response1.ts +1 -1
  337. package/model/getAudiencePreview200Response2.ts +1 -1
  338. package/model/getAudiencePreviewAlphaOutput.ts +1 -1
  339. package/model/getAudiencePreviewBetaOutput.ts +1 -1
  340. package/model/getAudiencePreviewOutput.ts +1 -1
  341. package/model/getAudienceScheduleFromSpaceAndAudience200Response.ts +1 -1
  342. package/model/getAudienceScheduleFromSpaceAndAudience200Response1.ts +1 -1
  343. package/model/getAudienceScheduleFromSpaceAndAudienceAlphaOutput.ts +1 -1
  344. package/model/getAudienceScheduleFromSpaceAndAudienceOutput.ts +1 -1
  345. package/model/getComputedTrait200Response.ts +1 -1
  346. package/model/getComputedTraitAlphaOutput.ts +1 -1
  347. package/model/getConnectionStateFromWarehouse200Response.ts +1 -1
  348. package/model/getConnectionStateFromWarehouseV1Output.ts +1 -1
  349. package/model/getCredential200Response.ts +36 -0
  350. package/model/getCredentialV1Output.ts +39 -0
  351. package/model/getDailyPerSourceAPICallsUsage200Response.ts +1 -1
  352. package/model/getDailyPerSourceAPICallsUsageV1Output.ts +1 -1
  353. package/model/getDailyPerSourceMTUUsage200Response.ts +1 -1
  354. package/model/getDailyPerSourceMTUUsageV1Output.ts +1 -1
  355. package/model/getDailyWorkspaceAPICallsUsage200Response.ts +1 -1
  356. package/model/getDailyWorkspaceAPICallsUsageV1Output.ts +1 -1
  357. package/model/getDailyWorkspaceMTUUsage200Response.ts +1 -1
  358. package/model/getDailyWorkspaceMTUUsageV1Output.ts +1 -1
  359. package/model/getDeliveryOverviewMetricsBetaOutput.ts +1 -1
  360. package/model/getDestination200Response.ts +1 -1
  361. package/model/getDestinationMetadata200Response.ts +1 -1
  362. package/model/getDestinationMetadataV1Output.ts +1 -1
  363. package/model/getDestinationV1Output.ts +1 -1
  364. package/model/getDestinationsCatalog200Response.ts +1 -1
  365. package/model/getDestinationsCatalogV1Output.ts +1 -1
  366. package/model/getEgressFailedMetricsFromDeliveryOverview200Response.ts +1 -1
  367. package/model/getEventsVolumeFromWorkspace200Response.ts +1 -1
  368. package/model/getEventsVolumeFromWorkspaceV1Output.ts +1 -1
  369. package/model/getEventsVolumeFromWorkspaceV1Query.ts +1 -1
  370. package/model/getFilterById200Response.ts +1 -1
  371. package/model/getFilterByIdOutput.ts +1 -1
  372. package/model/getFilterInDestination200Response.ts +1 -1
  373. package/model/getFilterInDestinationV1Output.ts +1 -1
  374. package/model/getFunction200Response.ts +1 -1
  375. package/model/getFunctionV1Output.ts +1 -1
  376. package/model/getFunctionVersion200Response.ts +1 -1
  377. package/model/getFunctionVersionAlphaOutput.ts +1 -1
  378. package/model/getInsertFunctionInstance200Response.ts +1 -1
  379. package/model/getInsertFunctionInstanceAlphaOutput.ts +1 -1
  380. package/model/getLatestFromLivePlugins200Response.ts +1 -1
  381. package/model/getLatestFromLivePluginsAlphaOutput.ts +1 -1
  382. package/model/getMessagingSubscriptionFailureResponse.ts +1 -1
  383. package/model/getMessagingSubscriptionSuccessResponse.ts +1 -1
  384. package/model/getRegulation200Response.ts +1 -1
  385. package/model/getRegulationV1Output.ts +1 -1
  386. package/model/getReverseETLSyncStatus200Response.ts +1 -1
  387. package/model/getReverseETLSyncStatusOutput.ts +1 -1
  388. package/model/getReverseEtlModel200Response.ts +1 -1
  389. package/model/getReverseEtlModelOutput.ts +1 -1
  390. package/model/getSource200Response.ts +1 -1
  391. package/model/getSource200Response1.ts +1 -1
  392. package/model/getSourceAlphaOutput.ts +1 -1
  393. package/model/getSourceMetadata200Response.ts +1 -1
  394. package/model/getSourceMetadataV1Output.ts +1 -1
  395. package/model/getSourceV1Output.ts +1 -1
  396. package/model/getSourcesCatalog200Response.ts +1 -1
  397. package/model/getSourcesCatalogV1Output.ts +1 -1
  398. package/model/getSpace200Response.ts +1 -1
  399. package/model/getSpaceAlphaOutput.ts +1 -1
  400. package/model/getSubscriptionFromDestination200Response.ts +1 -1
  401. package/model/getSubscriptionFromDestinationAlphaOutput.ts +1 -1
  402. package/model/getSubscriptionRequest.ts +1 -1
  403. package/model/getTrackingPlan200Response.ts +1 -1
  404. package/model/getTrackingPlanV1Output.ts +1 -1
  405. package/model/getTransformation200Response.ts +1 -1
  406. package/model/getTransformationBetaInput.ts +1 -1
  407. package/model/getTransformationBetaOutput.ts +1 -1
  408. package/model/getTransformationV1Output.ts +1 -1
  409. package/model/getUser200Response.ts +1 -1
  410. package/model/getUserGroup200Response.ts +1 -1
  411. package/model/getUserGroupV1Output.ts +1 -1
  412. package/model/getUserV1Output.ts +1 -1
  413. package/model/getWarehouse200Response.ts +1 -1
  414. package/model/getWarehouseMetadata200Response.ts +1 -1
  415. package/model/getWarehouseMetadataV1Output.ts +1 -1
  416. package/model/getWarehouseV1Output.ts +1 -1
  417. package/model/getWarehousesCatalog200Response.ts +1 -1
  418. package/model/getWarehousesCatalogV1Output.ts +1 -1
  419. package/model/getWorkspace200Response.ts +1 -1
  420. package/model/getWorkspaceV1Output.ts +1 -1
  421. package/model/groupSourceSettingsV1.ts +1 -1
  422. package/model/groupSubscriptionStatus.ts +1 -1
  423. package/model/groupSubscriptionStatusResponse.ts +1 -1
  424. package/model/handleWebhookInput.ts +1 -1
  425. package/model/handleWebhookOutput.ts +1 -1
  426. package/model/hashPropertiesConfiguration.ts +1 -1
  427. package/model/iDSyncConfigurationInput.ts +1 -1
  428. package/model/identifySourceSettingsV1.ts +1 -1
  429. package/model/insertFunctionInstanceAlpha.ts +1 -1
  430. package/model/integrationOptionBeta.ts +1 -1
  431. package/model/invitePermissionV1.ts +1 -1
  432. package/model/inviteV1.ts +1 -1
  433. package/model/labelAlpha.ts +1 -1
  434. package/model/labelV1.ts +1 -1
  435. package/model/listActivationsAlphaOutput.ts +1 -1
  436. package/model/listActivationsFromAudience200Response.ts +1 -1
  437. package/model/listActivationsFromAudienceOutput.ts +1 -1
  438. package/model/listAudienceConsumersFromSpaceAndAudience200Response.ts +1 -1
  439. package/model/listAudienceConsumersFromSpaceAndAudienceAlphaOutput.ts +1 -1
  440. package/model/listAudienceConsumersSortInput.ts +1 -1
  441. package/model/listAudienceSchedulesFromSpaceAndAudience200Response.ts +1 -1
  442. package/model/listAudienceSchedulesFromSpaceAndAudience200Response1.ts +1 -1
  443. package/model/listAudienceSchedulesFromSpaceAndAudienceAlphaOutput.ts +1 -1
  444. package/model/listAudienceSchedulesFromSpaceAndAudienceOutput.ts +1 -1
  445. package/model/listAudienceSearchInput.ts +1 -1
  446. package/model/listAudiences200Response.ts +1 -1
  447. package/model/listAudiences200Response1.ts +1 -1
  448. package/model/listAudiences200Response2.ts +1 -1
  449. package/model/listAudiencesAlphaOutput.ts +1 -1
  450. package/model/listAudiencesBetaOutput.ts +1 -1
  451. package/model/listAudiencesOutput.ts +1 -1
  452. package/model/listAudiencesPaginationInput.ts +1 -1
  453. package/model/listAuditEvents200Response.ts +1 -1
  454. package/model/listAuditEventsV1Output.ts +1 -1
  455. package/model/listComputedTraits200Response.ts +1 -1
  456. package/model/listComputedTraitsAlphaOutput.ts +1 -1
  457. package/model/listConnectedDestinationsFromSource200Response.ts +1 -1
  458. package/model/listConnectedDestinationsFromSource200Response1.ts +1 -1
  459. package/model/listConnectedDestinationsFromSourceAlphaOutput.ts +1 -1
  460. package/model/listConnectedDestinationsFromSourceV1Output.ts +1 -1
  461. package/model/listConnectedSourcesFromWarehouse200Response.ts +1 -1
  462. package/model/listConnectedSourcesFromWarehouseV1Output.ts +1 -1
  463. package/model/listConnectedWarehousesFromSource200Response.ts +1 -1
  464. package/model/listConnectedWarehousesFromSource200Response1.ts +1 -1
  465. package/model/listConnectedWarehousesFromSourceAlphaOutput.ts +1 -1
  466. package/model/listConnectedWarehousesFromSourceV1Output.ts +1 -1
  467. package/model/listCredentialConsumers200Response.ts +36 -0
  468. package/model/listCredentialConsumersV1Output.ts +65 -0
  469. package/model/listCredentials200Response.ts +36 -0
  470. package/model/listCredentialsV1Output.ts +49 -0
  471. package/model/listDeliveryMetricsSummaryFromDestination200Response.ts +1 -1
  472. package/model/listDeliveryMetricsSummaryFromDestinationBetaOutput.ts +1 -1
  473. package/model/listDestinations200Response.ts +1 -1
  474. package/model/listDestinationsFromAudience200Response.ts +1 -1
  475. package/model/listDestinationsFromAudienceAlphaOutput.ts +1 -1
  476. package/model/listDestinationsV1Output.ts +1 -1
  477. package/model/listEntityPaths200Response.ts +1 -1
  478. package/model/listEntityPathsAlphaOutput.ts +1 -1
  479. package/model/listEvents200Response.ts +1 -1
  480. package/model/listEventsAlphaOutput.ts +1 -1
  481. package/model/listFiltersForSpace200Response.ts +1 -1
  482. package/model/listFiltersForSpaceOutput.ts +1 -1
  483. package/model/listFiltersFromDestination200Response.ts +1 -1
  484. package/model/listFiltersFromDestinationV1Output.ts +1 -1
  485. package/model/listFiltersPaginationInput.ts +1 -1
  486. package/model/listFiltersPaginationOutput.ts +1 -1
  487. package/model/listFunctionItemV1.ts +1 -1
  488. package/model/listFunctionVersions200Response.ts +1 -1
  489. package/model/listFunctionVersionsAlphaOutput.ts +1 -1
  490. package/model/listFunctions200Response.ts +1 -1
  491. package/model/listFunctionsV1Output.ts +1 -1
  492. package/model/listInsertFunctionInstances200Response.ts +1 -1
  493. package/model/listInsertFunctionInstancesAlphaOutput.ts +1 -1
  494. package/model/listInvites200Response.ts +1 -1
  495. package/model/listInvitesFromUserGroup200Response.ts +1 -1
  496. package/model/listInvitesFromUserGroupV1Output.ts +1 -1
  497. package/model/listInvitesV1Output.ts +1 -1
  498. package/model/listLabels200Response.ts +1 -1
  499. package/model/listLabels200Response1.ts +1 -1
  500. package/model/listLabelsAlphaOutput.ts +1 -1
  501. package/model/listLabelsV1Output.ts +1 -1
  502. package/model/listProfilesWarehouseInSpace200Response.ts +1 -1
  503. package/model/listProfilesWarehouseInSpaceAlphaOutput.ts +1 -1
  504. package/model/listPropertiesFromEntity200Response.ts +1 -1
  505. package/model/listPropertiesFromEntityAlphaOutput.ts +1 -1
  506. package/model/listPropertiesFromEvent200Response.ts +1 -1
  507. package/model/listPropertiesFromEventAlphaOutput.ts +1 -1
  508. package/model/listRegulationsFromSource200Response.ts +1 -1
  509. package/model/listRegulationsFromSourceV1Output.ts +1 -1
  510. package/model/listReverseETLSyncStatusesFromModelAndSubscriptionId200Response.ts +1 -1
  511. package/model/listReverseETLSyncStatusesFromModelAndSubscriptionIdOutput.ts +1 -1
  512. package/model/listReverseEtlModels200Response.ts +1 -1
  513. package/model/listReverseEtlModelsOutput.ts +1 -1
  514. package/model/listRoles200Response.ts +1 -1
  515. package/model/listRolesV1Output.ts +1 -1
  516. package/model/listRulesFromTrackingPlan200Response.ts +1 -1
  517. package/model/listRulesFromTrackingPlanV1Output.ts +1 -1
  518. package/model/listSampleValuesFromEntityProperty200Response.ts +1 -1
  519. package/model/listSampleValuesFromEntityPropertyAlphaOutput.ts +1 -1
  520. package/model/listSampleValuesFromEventProperty200Response.ts +1 -1
  521. package/model/listSampleValuesFromEventPropertyAlphaOutput.ts +1 -1
  522. package/model/listSampleValuesFromTrait200Response.ts +1 -1
  523. package/model/listSampleValuesFromTraitAlphaOutput.ts +1 -1
  524. package/model/listSchemaSettingsInSource200Response.ts +1 -1
  525. package/model/listSchemaSettingsInSourceV1Output.ts +1 -1
  526. package/model/listSelectiveSyncsFromWarehouseAndSource200Response.ts +1 -1
  527. package/model/listSelectiveSyncsFromWarehouseAndSourceV1Output.ts +1 -1
  528. package/model/listSelectiveSyncsFromWarehouseAndSpace200Response.ts +1 -1
  529. package/model/listSelectiveSyncsFromWarehouseAndSpaceAlphaOutput.ts +1 -1
  530. package/model/listSources200Response.ts +1 -1
  531. package/model/listSources200Response1.ts +1 -1
  532. package/model/listSourcesAlphaOutput.ts +1 -1
  533. package/model/listSourcesFromTrackingPlan200Response.ts +1 -1
  534. package/model/listSourcesFromTrackingPlanV1Output.ts +1 -1
  535. package/model/listSourcesV1Output.ts +1 -1
  536. package/model/listSpaces200Response.ts +1 -1
  537. package/model/listSpacesAlphaOutput.ts +1 -1
  538. package/model/listSubscriptionsFromDestination200Response.ts +1 -1
  539. package/model/listSubscriptionsFromDestinationAlphaOutput.ts +1 -1
  540. package/model/listSupportedDestinationsFromAudience200Response.ts +1 -1
  541. package/model/listSupportedDestinationsFromAudienceAlphaOutput.ts +1 -1
  542. package/model/listSuppressions200Response.ts +1 -1
  543. package/model/listSuppressionsV1Output.ts +1 -1
  544. package/model/listSyncsFromWarehouse200Response.ts +1 -1
  545. package/model/listSyncsFromWarehouseAndSource200Response.ts +1 -1
  546. package/model/listSyncsFromWarehouseAndSourceV1Output.ts +1 -1
  547. package/model/listSyncsFromWarehouseV1Output.ts +1 -1
  548. package/model/listTrackingPlans200Response.ts +1 -1
  549. package/model/listTrackingPlansV1Output.ts +1 -1
  550. package/model/listTraits200Response.ts +1 -1
  551. package/model/listTraitsAlphaOutput.ts +1 -1
  552. package/model/listTransformations200Response.ts +1 -1
  553. package/model/listTransformationsBetaInput.ts +1 -1
  554. package/model/listTransformationsBetaOutput.ts +1 -1
  555. package/model/listTransformationsV1Output.ts +1 -1
  556. package/model/listUserGroups200Response.ts +1 -1
  557. package/model/listUserGroupsFromUser200Response.ts +1 -1
  558. package/model/listUserGroupsFromUserV1Output.ts +1 -1
  559. package/model/listUserGroupsV1Output.ts +1 -1
  560. package/model/listUsers200Response.ts +1 -1
  561. package/model/listUsersFromUserGroup200Response.ts +1 -1
  562. package/model/listUsersFromUserGroupV1Output.ts +1 -1
  563. package/model/listUsersV1Output.ts +1 -1
  564. package/model/listWarehouses200Response.ts +1 -1
  565. package/model/listWarehousesV1Output.ts +1 -1
  566. package/model/listWorkspaceRegulations200Response.ts +1 -1
  567. package/model/listWorkspaceRegulationsV1Output.ts +1 -1
  568. package/model/livePluginsAlpha.ts +1 -1
  569. package/model/logosBeta.ts +1 -1
  570. package/model/messageSubscriptionResponse.ts +1 -1
  571. package/model/messageSubscriptionResponseError.ts +1 -1
  572. package/model/messagesSubscriptionRequest.ts +1 -1
  573. package/model/metadata.ts +1 -1
  574. package/model/metricBeta.ts +1 -1
  575. package/model/minimalUserGroupV1.ts +1 -1
  576. package/model/minimalUserV1.ts +1 -1
  577. package/model/models.ts +25 -0
  578. package/model/mtuSnapshotV1.ts +1 -1
  579. package/model/paginationInput.ts +1 -1
  580. package/model/paginationOutput.ts +1 -1
  581. package/model/periodicConfig.ts +1 -1
  582. package/model/permissionInputV1.ts +1 -1
  583. package/model/permissionResourceV1.ts +1 -1
  584. package/model/permissionV1.ts +1 -1
  585. package/model/personalizationInput.ts +1 -1
  586. package/model/personalizationInputEntity.ts +1 -1
  587. package/model/previewDestinationFilter200Response.ts +1 -1
  588. package/model/previewDestinationFilterV1.ts +1 -1
  589. package/model/previewDestinationFilterV1Input.ts +1 -1
  590. package/model/previewDestinationFilterV1Output.ts +1 -1
  591. package/model/profile.ts +1 -1
  592. package/model/profilesWarehouseAlpha.ts +1 -1
  593. package/model/propertyRenameBeta.ts +1 -1
  594. package/model/propertyRenameV1.ts +1 -1
  595. package/model/propertyValueTransformationBeta.ts +1 -1
  596. package/model/propertyValueTransformationV1.ts +1 -1
  597. package/model/readAudiencePreviewOptions.ts +1 -1
  598. package/model/regulation.ts +1 -1
  599. package/model/regulationListEntryV1.ts +1 -1
  600. package/model/removeActivationFromAudience200Response.ts +1 -1
  601. package/model/removeActivationFromAudienceOutput.ts +1 -1
  602. package/model/removeAudienceFromSpace200Response.ts +1 -1
  603. package/model/removeAudienceFromSpace200Response1.ts +1 -1
  604. package/model/removeAudienceFromSpace200Response2.ts +1 -1
  605. package/model/removeAudienceFromSpaceAlphaOutput.ts +1 -1
  606. package/model/removeAudienceFromSpaceBetaOutput.ts +1 -1
  607. package/model/removeAudienceFromSpaceOutput.ts +1 -1
  608. package/model/removeAudienceScheduleFromAudience200Response.ts +1 -1
  609. package/model/removeAudienceScheduleFromAudience200Response1.ts +1 -1
  610. package/model/removeAudienceScheduleFromAudienceAlphaOutput.ts +1 -1
  611. package/model/removeAudienceScheduleFromAudienceOutput.ts +1 -1
  612. package/model/removeComputedTraitFromSpace200Response.ts +1 -1
  613. package/model/removeComputedTraitFromSpaceAlphaOutput.ts +1 -1
  614. package/model/removeDestinationFromAudience200Response.ts +1 -1
  615. package/model/removeDestinationFromAudienceAlphaOutput.ts +1 -1
  616. package/model/removeFilterFromDestination200Response.ts +1 -1
  617. package/model/removeFilterFromDestinationV1Output.ts +1 -1
  618. package/model/removeProfilesWarehouseFromSpace200Response.ts +1 -1
  619. package/model/removeProfilesWarehouseFromSpaceAlphaOutput.ts +1 -1
  620. package/model/removeRuleV1.ts +1 -1
  621. package/model/removeRulesFromTrackingPlan200Response.ts +1 -1
  622. package/model/removeRulesFromTrackingPlanV1Output.ts +1 -1
  623. package/model/removeSourceConnectionFromWarehouse200Response.ts +1 -1
  624. package/model/removeSourceConnectionFromWarehouseV1Output.ts +1 -1
  625. package/model/removeSourceFromTrackingPlan200Response.ts +1 -1
  626. package/model/removeSourceFromTrackingPlanV1Output.ts +1 -1
  627. package/model/removeSubscriptionFromDestination200Response.ts +1 -1
  628. package/model/removeSubscriptionFromDestinationAlphaOutput.ts +1 -1
  629. package/model/removeUsersFromUserGroup200Response.ts +1 -1
  630. package/model/removeUsersFromUserGroupV1Output.ts +1 -1
  631. package/model/removeWriteKeyFromSource200Response.ts +1 -1
  632. package/model/removeWriteKeyFromSourceAlphaOutput.ts +1 -1
  633. package/model/replaceAdvancedSyncScheduleForWarehouse200Response.ts +1 -1
  634. package/model/replaceAdvancedSyncScheduleForWarehouseV1Input.ts +1 -1
  635. package/model/replaceAdvancedSyncScheduleForWarehouseV1Output.ts +1 -1
  636. package/model/replaceLabelsInSource200Response.ts +1 -1
  637. package/model/replaceLabelsInSource200Response1.ts +1 -1
  638. package/model/replaceLabelsInSourceAlphaInput.ts +1 -1
  639. package/model/replaceLabelsInSourceAlphaOutput.ts +1 -1
  640. package/model/replaceLabelsInSourceV1Input.ts +1 -1
  641. package/model/replaceLabelsInSourceV1Output.ts +1 -1
  642. package/model/replaceMessagingSubscriptionsInSpaces200Response.ts +1 -1
  643. package/model/replaceMessagingSubscriptionsInSpacesAlphaInput.ts +1 -1
  644. package/model/replaceMessagingSubscriptionsInSpacesAlphaOutput.ts +1 -1
  645. package/model/replacePermissionsForUser200Response.ts +1 -1
  646. package/model/replacePermissionsForUserGroup200Response.ts +1 -1
  647. package/model/replacePermissionsForUserGroupV1Input.ts +1 -1
  648. package/model/replacePermissionsForUserGroupV1Output.ts +1 -1
  649. package/model/replacePermissionsForUserV1Input.ts +1 -1
  650. package/model/replacePermissionsForUserV1Output.ts +1 -1
  651. package/model/replaceRulesInTrackingPlan200Response.ts +1 -1
  652. package/model/replaceRulesInTrackingPlanV1Input.ts +1 -1
  653. package/model/replaceRulesInTrackingPlanV1Output.ts +1 -1
  654. package/model/replaceUsersInUserGroup200Response.ts +1 -1
  655. package/model/replaceUsersInUserGroupV1Input.ts +1 -1
  656. package/model/replaceUsersInUserGroupV1Output.ts +1 -1
  657. package/model/requestError.ts +1 -1
  658. package/model/requestErrorEnvelope.ts +1 -1
  659. package/model/resourceV1.ts +1 -1
  660. package/model/restoreFunctionVersion200Response.ts +1 -1
  661. package/model/restoreFunctionVersionAlphaInput.ts +1 -1
  662. package/model/restoreFunctionVersionAlphaOutput.ts +1 -1
  663. package/model/reverseETLManualSyncJobOutput.ts +1 -1
  664. package/model/reverseETLSyncStatus.ts +1 -1
  665. package/model/reverseEtlCronScheduleConfig.ts +1 -1
  666. package/model/reverseEtlDbtCloudScheduleConfig.ts +1 -1
  667. package/model/reverseEtlModel.ts +1 -1
  668. package/model/reverseEtlPeriodicScheduleConfig.ts +1 -1
  669. package/model/reverseEtlScheduleConfig.ts +1 -1
  670. package/model/reverseEtlScheduleDefinition.ts +1 -1
  671. package/model/reverseEtlSpecificTimeScheduleConfig.ts +1 -1
  672. package/model/roleV1.ts +1 -1
  673. package/model/ruleInputV1.ts +1 -1
  674. package/model/ruleV1.ts +1 -1
  675. package/model/simpleDestination.ts +1 -1
  676. package/model/sourceAPICallSnapshotV1.ts +1 -1
  677. package/model/sourceAlpha.ts +1 -1
  678. package/model/sourceEventVolumeDatapointV1.ts +1 -1
  679. package/model/sourceEventVolumeV1.ts +1 -1
  680. package/model/sourceMetadataV1.ts +1 -1
  681. package/model/sourceSettingsOutputV1.ts +1 -1
  682. package/model/sourceV1.ts +1 -1
  683. package/model/space.ts +1 -1
  684. package/model/spaceWarehouseSchemaOverride.ts +1 -1
  685. package/model/spaceWarehouseSelectiveSyncItemAlpha.ts +1 -1
  686. package/model/specificDaysConfig.ts +1 -1
  687. package/model/streamStatusV1.ts +1 -1
  688. package/model/suppressedInner.ts +1 -1
  689. package/model/syncExtractPhase.ts +1 -1
  690. package/model/syncLoadPhase.ts +1 -1
  691. package/model/syncNoticeV1.ts +1 -1
  692. package/model/syncV1.ts +1 -1
  693. package/model/trackSourceSettingsV1.ts +1 -1
  694. package/model/trackingPlanV1.ts +1 -1
  695. package/model/traitAlpha.ts +1 -1
  696. package/model/traitDefinition.ts +1 -1
  697. package/model/traitOptions.ts +1 -1
  698. package/model/traitType.ts +1 -1
  699. package/model/transformationBeta.ts +1 -1
  700. package/model/transformationV1.ts +1 -1
  701. package/model/updateActivationForAudience200Response.ts +1 -1
  702. package/model/updateActivationForAudienceAlphaInput.ts +1 -1
  703. package/model/updateActivationForAudienceOutput.ts +1 -1
  704. package/model/updateAudienceForSpace200Response.ts +1 -1
  705. package/model/updateAudienceForSpace200Response1.ts +1 -1
  706. package/model/updateAudienceForSpace200Response2.ts +1 -1
  707. package/model/updateAudienceForSpaceAlphaInput.ts +1 -1
  708. package/model/updateAudienceForSpaceAlphaOutput.ts +1 -1
  709. package/model/updateAudienceForSpaceBetaInput.ts +1 -1
  710. package/model/updateAudienceForSpaceBetaOutput.ts +1 -1
  711. package/model/updateAudienceForSpaceInput.ts +1 -1
  712. package/model/updateAudienceForSpaceOutput.ts +1 -1
  713. package/model/updateAudienceScheduleForAudience200Response.ts +1 -1
  714. package/model/updateAudienceScheduleForAudience200Response1.ts +1 -1
  715. package/model/updateAudienceScheduleForAudienceAlphaInput.ts +1 -1
  716. package/model/updateAudienceScheduleForAudienceAlphaOutput.ts +1 -1
  717. package/model/updateAudienceScheduleForAudienceInput.ts +1 -1
  718. package/model/updateAudienceScheduleForAudienceOutput.ts +1 -1
  719. package/model/updateComputedTraitForSpace200Response.ts +1 -1
  720. package/model/updateComputedTraitForSpaceAlphaInput.ts +1 -1
  721. package/model/updateComputedTraitForSpaceAlphaOutput.ts +1 -1
  722. package/model/updateCredential200Response.ts +1 -1
  723. package/model/updateCredentialV1Input.ts +1 -1
  724. package/model/updateCredentialV1Output.ts +1 -1
  725. package/model/updateDestination200Response.ts +1 -1
  726. package/model/updateDestinationForAudience200Response.ts +1 -1
  727. package/model/updateDestinationForAudienceAlphaInput.ts +1 -1
  728. package/model/updateDestinationForAudienceAlphaOutput.ts +1 -1
  729. package/model/updateDestinationV1Input.ts +1 -1
  730. package/model/updateDestinationV1Output.ts +1 -1
  731. package/model/updateFilterById200Response.ts +1 -1
  732. package/model/updateFilterByIdInput.ts +1 -1
  733. package/model/updateFilterByIdOutput.ts +1 -1
  734. package/model/updateFilterForDestination200Response.ts +1 -1
  735. package/model/updateFilterForDestinationV1Input.ts +1 -1
  736. package/model/updateFilterForDestinationV1Output.ts +1 -1
  737. package/model/updateFunction200Response.ts +1 -1
  738. package/model/updateFunctionV1Input.ts +1 -1
  739. package/model/updateFunctionV1Output.ts +1 -1
  740. package/model/updateGroupSubscriptionStatusResponse.ts +1 -1
  741. package/model/updateInsertFunctionInstance200Response.ts +1 -1
  742. package/model/updateInsertFunctionInstanceAlphaInput.ts +1 -1
  743. package/model/updateInsertFunctionInstanceAlphaOutput.ts +1 -1
  744. package/model/updateProfilesWarehouseForSpaceWarehouse200Response.ts +1 -1
  745. package/model/updateProfilesWarehouseForSpaceWarehouseAlphaInput.ts +1 -1
  746. package/model/updateProfilesWarehouseForSpaceWarehouseAlphaOutput.ts +1 -1
  747. package/model/updateReverseEtlModel200Response.ts +1 -1
  748. package/model/updateReverseEtlModelInput.ts +1 -1
  749. package/model/updateReverseEtlModelOutput.ts +1 -1
  750. package/model/updateRulesInTrackingPlan200Response.ts +1 -1
  751. package/model/updateRulesInTrackingPlanV1Input.ts +1 -1
  752. package/model/updateRulesInTrackingPlanV1Output.ts +1 -1
  753. package/model/updateSchemaSettingsInSource200Response.ts +1 -1
  754. package/model/updateSchemaSettingsInSourceV1Input.ts +1 -1
  755. package/model/updateSchemaSettingsInSourceV1Output.ts +1 -1
  756. package/model/updateSelectiveSyncForWarehouse200Response.ts +1 -1
  757. package/model/updateSelectiveSyncForWarehouseAndSpace200Response.ts +1 -1
  758. package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaInput.ts +1 -1
  759. package/model/updateSelectiveSyncForWarehouseAndSpaceAlphaOutput.ts +1 -1
  760. package/model/updateSelectiveSyncForWarehouseV1Input.ts +1 -1
  761. package/model/updateSelectiveSyncForWarehouseV1Output.ts +1 -1
  762. package/model/updateSource200Response.ts +1 -1
  763. package/model/updateSource200Response1.ts +1 -1
  764. package/model/updateSourceAlphaInput.ts +1 -1
  765. package/model/updateSourceAlphaOutput.ts +1 -1
  766. package/model/updateSourceV1Input.ts +1 -1
  767. package/model/updateSourceV1Output.ts +1 -1
  768. package/model/updateSubscriptionForDestination200Response.ts +1 -1
  769. package/model/updateSubscriptionForDestinationAlphaInput.ts +1 -1
  770. package/model/updateSubscriptionForDestinationAlphaOutput.ts +1 -1
  771. package/model/updateTrackingPlan200Response.ts +1 -1
  772. package/model/updateTrackingPlanV1Input.ts +1 -1
  773. package/model/updateTrackingPlanV1Output.ts +1 -1
  774. package/model/updateTransformation200Response.ts +1 -1
  775. package/model/updateTransformationBetaInput.ts +1 -1
  776. package/model/updateTransformationBetaOutput.ts +1 -1
  777. package/model/updateTransformationV1Input.ts +1 -1
  778. package/model/updateTransformationV1Output.ts +1 -1
  779. package/model/updateUserGroup200Response.ts +1 -1
  780. package/model/updateUserGroupV1Input.ts +1 -1
  781. package/model/updateUserGroupV1Output.ts +1 -1
  782. package/model/updateWarehouse200Response.ts +1 -1
  783. package/model/updateWarehouseV1Input.ts +1 -1
  784. package/model/updateWarehouseV1Output.ts +1 -1
  785. package/model/upsertRuleV1.ts +1 -1
  786. package/model/userGroupV1.ts +1 -1
  787. package/model/userV1.ts +1 -1
  788. package/model/usersPerSourceSnapshotV1.ts +1 -1
  789. package/model/version.ts +1 -1
  790. package/model/warehouseAdvancedSyncV1.ts +1 -1
  791. package/model/warehouseMetadataV1.ts +1 -1
  792. package/model/warehouseSelectiveSyncItemV1.ts +1 -1
  793. package/model/warehouseSyncOverrideV1.ts +1 -1
  794. package/model/warehouseV1.ts +1 -1
  795. package/model/workspaceV1.ts +1 -1
  796. package/package.json +1 -1
@@ -4,10 +4,10 @@ on:
4
4
  push:
5
5
  branches:
6
6
  - master
7
- - SEGPDS-5345-3
8
7
 
9
8
  jobs:
10
9
  publish:
10
+ if: startsWith(github.event.head_commit.message, 'Automated SDK update')
11
11
  runs-on: ubuntu-latest-large
12
12
  timeout-minutes: 10
13
13
  environment: production
package/README.md CHANGED
@@ -10,7 +10,7 @@ All endpoints in the API follow REST conventions and use standard HTTP methods.
10
10
 
11
11
  See the next sections for more information on how to use the Segment Public API TypeScript SDK.
12
12
 
13
- Latest API and SDK version: 73.1.0
13
+ Latest API and SDK version: 73.1.1
14
14
 
15
15
  ## Installation
16
16
 
@@ -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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/apis.ts CHANGED
@@ -177,7 +177,7 @@ export function configureApis(
177
177
 
178
178
  for (const k of Object.keys(apis)) {
179
179
  const key = k as keyof typeof apis;
180
- headers['User-Agent'] = 'Public API SDK 73.1.0 (TypeScript)';
180
+ headers['User-Agent'] = 'Public API SDK 73.1.1 (TypeScript)';
181
181
  apis[key].accessToken = token;
182
182
  apis[key].defaultHeaders = headers;
183
183
  }
@@ -224,7 +224,7 @@ export function configureEuApis(
224
224
 
225
225
  for (const k of Object.keys(apis)) {
226
226
  const key = k as keyof typeof apis;
227
- headers['User-Agent'] = 'Public API SDK 73.1.0 (TypeScript)';
227
+ headers['User-Agent'] = 'Public API SDK 73.1.1 (TypeScript)';
228
228
  apis[key].accessToken = token;
229
229
  apis[key].defaultHeaders = headers;
230
230
  }
@@ -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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/catalogApi.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Segment Public API
3
3
  * The Segment Public API helps you manage your Segment Workspaces and its resources. You can use the API to perform CRUD (create, read, update, delete) operations at no extra charge. This includes working with resources such as Sources, Destinations, Warehouses, Tracking Plans, and the Segment Destinations and Sources Catalogs. All CRUD endpoints in the API follow REST conventions and use standard HTTP methods. Different URL endpoints represent different resources in a Workspace. See the next sections for more information on how to use the Segment Public API.
4
4
  *
5
- * The version of the OpenAPI document: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -16,6 +16,11 @@ import http from 'http';
16
16
  /* tslint:disable:no-unused-locals */
17
17
  import { CreateCredential201Response } from '../model/createCredential201Response';
18
18
  import { CreateCredentialV1Input } from '../model/createCredentialV1Input';
19
+ import { DeleteCredential200Response } from '../model/deleteCredential200Response';
20
+ import { GetCredential200Response } from '../model/getCredential200Response';
21
+ import { ListCredentialConsumers200Response } from '../model/listCredentialConsumers200Response';
22
+ import { ListCredentials200Response } from '../model/listCredentials200Response';
23
+ import { PaginationInput } from '../model/paginationInput';
19
24
  import { RequestErrorEnvelope } from '../model/requestErrorEnvelope';
20
25
  import { UpdateCredential200Response } from '../model/updateCredential200Response';
21
26
  import { UpdateCredentialV1Input } from '../model/updateCredentialV1Input';
@@ -110,7 +115,7 @@ export class CredentialsApi {
110
115
  }
111
116
 
112
117
  /**
113
- * Creates a new Credential.
118
+ * Creates a new Credential. • When called, this endpoint may generate the `Warehouse Credential Created` event in the [audit trail](/tag/Audit-Trail). This endpoint requires the user to have at least the following permission(s): * Workspace Owner * Warehouse Admin * Source Admin * Entities Admin * Unify and Engage Admin
114
119
  * @summary Create Credential
115
120
  * @param CreateCredentialV1Input
116
121
  */
@@ -229,7 +234,490 @@ export class CredentialsApi {
229
234
  });
230
235
  }
231
236
  /**
232
- * Updates an existing Credential. All Warehouses using this Credential are affected immediately.
237
+ * Deletes an existing Credential. Fails with a `409 Conflict` if the Credential is still in use by a Warehouse or Source (including a disabled one). This check isn\'t atomic with the delete — a Warehouse or Source that attaches to this Credential in between would be orphaned rather than blocking the delete. • When called, this endpoint may generate the `Warehouse Credential Deleted` event in the [audit trail](/tag/Audit-Trail). This endpoint requires the user to have at least the following permission(s): * Workspace Owner
238
+ * @summary Delete Credential
239
+ * @param credentialId
240
+ */
241
+ public async deleteCredential(
242
+ credentialId: string,
243
+ options: { headers: { [name: string]: string } } = { headers: {} }
244
+ ): Promise<{
245
+ response: http.IncomingMessage;
246
+ body: DeleteCredential200Response;
247
+ }> {
248
+ const localVarPath =
249
+ this.basePath +
250
+ '/credentials/{credentialId}'.replace(
251
+ '{' + 'credentialId' + '}',
252
+ encodeURIComponent(String(credentialId))
253
+ );
254
+ let localVarQueryParameters: any = {};
255
+ let localVarHeaderParams: any = (<any>Object).assign(
256
+ {},
257
+ this._defaultHeaders
258
+ );
259
+ const produces = [
260
+ 'application/vnd.segment.v1+json',
261
+ 'application/json',
262
+ ];
263
+ // give precedence to 'application/json'
264
+ if (produces.indexOf('application/json') >= 0) {
265
+ localVarHeaderParams.Accept = 'application/json';
266
+ } else {
267
+ localVarHeaderParams.Accept = produces.join(',');
268
+ }
269
+ let localVarFormParams: any = {};
270
+
271
+ // verify required parameter 'credentialId' is not null or undefined
272
+ if (credentialId === null || credentialId === undefined) {
273
+ throw new Error(
274
+ 'Required parameter credentialId was null or undefined when calling deleteCredential.'
275
+ );
276
+ }
277
+
278
+ (<any>Object).assign(localVarHeaderParams, options.headers);
279
+
280
+ let localVarUseFormData = false;
281
+
282
+ let localVarRequestOptions: localVarRequest.Options = {
283
+ method: 'DELETE',
284
+ qs: localVarQueryParameters,
285
+ headers: localVarHeaderParams,
286
+ uri: localVarPath,
287
+ useQuerystring: this._useQuerystring,
288
+ json: true,
289
+ };
290
+
291
+ let authenticationPromise = Promise.resolve();
292
+ if (this.authentications.token.accessToken) {
293
+ authenticationPromise = authenticationPromise.then(() =>
294
+ this.authentications.token.applyToRequest(
295
+ localVarRequestOptions
296
+ )
297
+ );
298
+ }
299
+ authenticationPromise = authenticationPromise.then(() =>
300
+ this.authentications.default.applyToRequest(localVarRequestOptions)
301
+ );
302
+
303
+ let interceptorPromise = authenticationPromise;
304
+ for (const interceptor of this.interceptors) {
305
+ interceptorPromise = interceptorPromise.then(() =>
306
+ interceptor(localVarRequestOptions)
307
+ );
308
+ }
309
+
310
+ return interceptorPromise.then(() => {
311
+ if (Object.keys(localVarFormParams).length) {
312
+ if (localVarUseFormData) {
313
+ (<any>localVarRequestOptions).formData = localVarFormParams;
314
+ } else {
315
+ localVarRequestOptions.form = localVarFormParams;
316
+ }
317
+ }
318
+ return new Promise<{
319
+ response: http.IncomingMessage;
320
+ body: DeleteCredential200Response;
321
+ }>((resolve, reject) => {
322
+ localVarRequest(
323
+ localVarRequestOptions,
324
+ (error, response, body) => {
325
+ if (error) {
326
+ reject(error);
327
+ } else {
328
+ if (
329
+ response.statusCode &&
330
+ response.statusCode >= 200 &&
331
+ response.statusCode <= 299
332
+ ) {
333
+ body = ObjectSerializer.deserialize(
334
+ body,
335
+ 'DeleteCredential200Response'
336
+ );
337
+ resolve({ response: response, body: body });
338
+ } else {
339
+ reject(
340
+ new HttpError(
341
+ response,
342
+ body,
343
+ response.statusCode
344
+ )
345
+ );
346
+ }
347
+ }
348
+ }
349
+ );
350
+ });
351
+ });
352
+ }
353
+ /**
354
+ * Returns a Credential by its id. This endpoint requires the user to have at least the following permission(s): * Workspace Owner * Warehouse Admin * Source Admin * Entities Admin * Unify and Engage Admin
355
+ * @summary Get Credential
356
+ * @param credentialId
357
+ */
358
+ public async getCredential(
359
+ credentialId: string,
360
+ options: { headers: { [name: string]: string } } = { headers: {} }
361
+ ): Promise<{
362
+ response: http.IncomingMessage;
363
+ body: GetCredential200Response;
364
+ }> {
365
+ const localVarPath =
366
+ this.basePath +
367
+ '/credentials/{credentialId}'.replace(
368
+ '{' + 'credentialId' + '}',
369
+ encodeURIComponent(String(credentialId))
370
+ );
371
+ let localVarQueryParameters: any = {};
372
+ let localVarHeaderParams: any = (<any>Object).assign(
373
+ {},
374
+ this._defaultHeaders
375
+ );
376
+ const produces = [
377
+ 'application/vnd.segment.v1+json',
378
+ 'application/json',
379
+ ];
380
+ // give precedence to 'application/json'
381
+ if (produces.indexOf('application/json') >= 0) {
382
+ localVarHeaderParams.Accept = 'application/json';
383
+ } else {
384
+ localVarHeaderParams.Accept = produces.join(',');
385
+ }
386
+ let localVarFormParams: any = {};
387
+
388
+ // verify required parameter 'credentialId' is not null or undefined
389
+ if (credentialId === null || credentialId === undefined) {
390
+ throw new Error(
391
+ 'Required parameter credentialId was null or undefined when calling getCredential.'
392
+ );
393
+ }
394
+
395
+ (<any>Object).assign(localVarHeaderParams, options.headers);
396
+
397
+ let localVarUseFormData = false;
398
+
399
+ let localVarRequestOptions: localVarRequest.Options = {
400
+ method: 'GET',
401
+ qs: localVarQueryParameters,
402
+ headers: localVarHeaderParams,
403
+ uri: localVarPath,
404
+ useQuerystring: this._useQuerystring,
405
+ json: true,
406
+ };
407
+
408
+ let authenticationPromise = Promise.resolve();
409
+ if (this.authentications.token.accessToken) {
410
+ authenticationPromise = authenticationPromise.then(() =>
411
+ this.authentications.token.applyToRequest(
412
+ localVarRequestOptions
413
+ )
414
+ );
415
+ }
416
+ authenticationPromise = authenticationPromise.then(() =>
417
+ this.authentications.default.applyToRequest(localVarRequestOptions)
418
+ );
419
+
420
+ let interceptorPromise = authenticationPromise;
421
+ for (const interceptor of this.interceptors) {
422
+ interceptorPromise = interceptorPromise.then(() =>
423
+ interceptor(localVarRequestOptions)
424
+ );
425
+ }
426
+
427
+ return interceptorPromise.then(() => {
428
+ if (Object.keys(localVarFormParams).length) {
429
+ if (localVarUseFormData) {
430
+ (<any>localVarRequestOptions).formData = localVarFormParams;
431
+ } else {
432
+ localVarRequestOptions.form = localVarFormParams;
433
+ }
434
+ }
435
+ return new Promise<{
436
+ response: http.IncomingMessage;
437
+ body: GetCredential200Response;
438
+ }>((resolve, reject) => {
439
+ localVarRequest(
440
+ localVarRequestOptions,
441
+ (error, response, body) => {
442
+ if (error) {
443
+ reject(error);
444
+ } else {
445
+ if (
446
+ response.statusCode &&
447
+ response.statusCode >= 200 &&
448
+ response.statusCode <= 299
449
+ ) {
450
+ body = ObjectSerializer.deserialize(
451
+ body,
452
+ 'GetCredential200Response'
453
+ );
454
+ resolve({ response: response, body: body });
455
+ } else {
456
+ reject(
457
+ new HttpError(
458
+ response,
459
+ body,
460
+ response.statusCode
461
+ )
462
+ );
463
+ }
464
+ }
465
+ }
466
+ );
467
+ });
468
+ });
469
+ }
470
+ /**
471
+ * Returns the Warehouses and Sources that use a Credential. This endpoint requires the user to have at least the following permission(s): * Workspace Owner * Warehouse Admin * Source Admin * Entities Admin * Unify and Engage Admin
472
+ * @summary List Credential Consumers
473
+ * @param credentialId
474
+ * @param warehousesPagination Defines the pagination parameters for the list of Warehouses. This parameter exists in v1.
475
+ * @param sourcesPagination Defines the pagination parameters for the list of Sources. This parameter exists in v1.
476
+ */
477
+ public async listCredentialConsumers(
478
+ credentialId: string,
479
+ warehousesPagination?: PaginationInput,
480
+ sourcesPagination?: PaginationInput,
481
+ options: { headers: { [name: string]: string } } = { headers: {} }
482
+ ): Promise<{
483
+ response: http.IncomingMessage;
484
+ body: ListCredentialConsumers200Response;
485
+ }> {
486
+ const localVarPath =
487
+ this.basePath +
488
+ '/credentials/{credentialId}/consumers'.replace(
489
+ '{' + 'credentialId' + '}',
490
+ encodeURIComponent(String(credentialId))
491
+ );
492
+ let localVarQueryParameters: any = {};
493
+ let localVarHeaderParams: any = (<any>Object).assign(
494
+ {},
495
+ this._defaultHeaders
496
+ );
497
+ const produces = [
498
+ 'application/vnd.segment.v1+json',
499
+ 'application/json',
500
+ ];
501
+ // give precedence to 'application/json'
502
+ if (produces.indexOf('application/json') >= 0) {
503
+ localVarHeaderParams.Accept = 'application/json';
504
+ } else {
505
+ localVarHeaderParams.Accept = produces.join(',');
506
+ }
507
+ let localVarFormParams: any = {};
508
+
509
+ // verify required parameter 'credentialId' is not null or undefined
510
+ if (credentialId === null || credentialId === undefined) {
511
+ throw new Error(
512
+ 'Required parameter credentialId was null or undefined when calling listCredentialConsumers.'
513
+ );
514
+ }
515
+
516
+ if (warehousesPagination !== undefined) {
517
+ localVarQueryParameters['warehousesPagination'] =
518
+ ObjectSerializer.serialize(
519
+ warehousesPagination,
520
+ 'PaginationInput'
521
+ );
522
+ }
523
+
524
+ if (sourcesPagination !== undefined) {
525
+ localVarQueryParameters['sourcesPagination'] =
526
+ ObjectSerializer.serialize(
527
+ sourcesPagination,
528
+ 'PaginationInput'
529
+ );
530
+ }
531
+
532
+ (<any>Object).assign(localVarHeaderParams, options.headers);
533
+
534
+ let localVarUseFormData = false;
535
+
536
+ let localVarRequestOptions: localVarRequest.Options = {
537
+ method: 'GET',
538
+ qs: localVarQueryParameters,
539
+ headers: localVarHeaderParams,
540
+ uri: localVarPath,
541
+ useQuerystring: this._useQuerystring,
542
+ json: true,
543
+ };
544
+
545
+ let authenticationPromise = Promise.resolve();
546
+ if (this.authentications.token.accessToken) {
547
+ authenticationPromise = authenticationPromise.then(() =>
548
+ this.authentications.token.applyToRequest(
549
+ localVarRequestOptions
550
+ )
551
+ );
552
+ }
553
+ authenticationPromise = authenticationPromise.then(() =>
554
+ this.authentications.default.applyToRequest(localVarRequestOptions)
555
+ );
556
+
557
+ let interceptorPromise = authenticationPromise;
558
+ for (const interceptor of this.interceptors) {
559
+ interceptorPromise = interceptorPromise.then(() =>
560
+ interceptor(localVarRequestOptions)
561
+ );
562
+ }
563
+
564
+ return interceptorPromise.then(() => {
565
+ if (Object.keys(localVarFormParams).length) {
566
+ if (localVarUseFormData) {
567
+ (<any>localVarRequestOptions).formData = localVarFormParams;
568
+ } else {
569
+ localVarRequestOptions.form = localVarFormParams;
570
+ }
571
+ }
572
+ return new Promise<{
573
+ response: http.IncomingMessage;
574
+ body: ListCredentialConsumers200Response;
575
+ }>((resolve, reject) => {
576
+ localVarRequest(
577
+ localVarRequestOptions,
578
+ (error, response, body) => {
579
+ if (error) {
580
+ reject(error);
581
+ } else {
582
+ if (
583
+ response.statusCode &&
584
+ response.statusCode >= 200 &&
585
+ response.statusCode <= 299
586
+ ) {
587
+ body = ObjectSerializer.deserialize(
588
+ body,
589
+ 'ListCredentialConsumers200Response'
590
+ );
591
+ resolve({ response: response, body: body });
592
+ } else {
593
+ reject(
594
+ new HttpError(
595
+ response,
596
+ body,
597
+ response.statusCode
598
+ )
599
+ );
600
+ }
601
+ }
602
+ }
603
+ );
604
+ });
605
+ });
606
+ }
607
+ /**
608
+ * Returns a list of Credentials. This endpoint requires the user to have at least the following permission(s): * Workspace Owner * Warehouse Admin * Source Admin * Entities Admin * Unify and Engage Admin
609
+ * @summary List Credentials
610
+ * @param pagination Defines the pagination parameters. This parameter exists in v1.
611
+ */
612
+ public async listCredentials(
613
+ pagination?: PaginationInput,
614
+ options: { headers: { [name: string]: string } } = { headers: {} }
615
+ ): Promise<{
616
+ response: http.IncomingMessage;
617
+ body: ListCredentials200Response;
618
+ }> {
619
+ const localVarPath = this.basePath + '/credentials';
620
+ let localVarQueryParameters: any = {};
621
+ let localVarHeaderParams: any = (<any>Object).assign(
622
+ {},
623
+ this._defaultHeaders
624
+ );
625
+ const produces = [
626
+ 'application/vnd.segment.v1+json',
627
+ 'application/json',
628
+ ];
629
+ // give precedence to 'application/json'
630
+ if (produces.indexOf('application/json') >= 0) {
631
+ localVarHeaderParams.Accept = 'application/json';
632
+ } else {
633
+ localVarHeaderParams.Accept = produces.join(',');
634
+ }
635
+ let localVarFormParams: any = {};
636
+
637
+ if (pagination !== undefined) {
638
+ localVarQueryParameters['pagination'] = ObjectSerializer.serialize(
639
+ pagination,
640
+ 'PaginationInput'
641
+ );
642
+ }
643
+
644
+ (<any>Object).assign(localVarHeaderParams, options.headers);
645
+
646
+ let localVarUseFormData = false;
647
+
648
+ let localVarRequestOptions: localVarRequest.Options = {
649
+ method: 'GET',
650
+ qs: localVarQueryParameters,
651
+ headers: localVarHeaderParams,
652
+ uri: localVarPath,
653
+ useQuerystring: this._useQuerystring,
654
+ json: true,
655
+ };
656
+
657
+ let authenticationPromise = Promise.resolve();
658
+ if (this.authentications.token.accessToken) {
659
+ authenticationPromise = authenticationPromise.then(() =>
660
+ this.authentications.token.applyToRequest(
661
+ localVarRequestOptions
662
+ )
663
+ );
664
+ }
665
+ authenticationPromise = authenticationPromise.then(() =>
666
+ this.authentications.default.applyToRequest(localVarRequestOptions)
667
+ );
668
+
669
+ let interceptorPromise = authenticationPromise;
670
+ for (const interceptor of this.interceptors) {
671
+ interceptorPromise = interceptorPromise.then(() =>
672
+ interceptor(localVarRequestOptions)
673
+ );
674
+ }
675
+
676
+ return interceptorPromise.then(() => {
677
+ if (Object.keys(localVarFormParams).length) {
678
+ if (localVarUseFormData) {
679
+ (<any>localVarRequestOptions).formData = localVarFormParams;
680
+ } else {
681
+ localVarRequestOptions.form = localVarFormParams;
682
+ }
683
+ }
684
+ return new Promise<{
685
+ response: http.IncomingMessage;
686
+ body: ListCredentials200Response;
687
+ }>((resolve, reject) => {
688
+ localVarRequest(
689
+ localVarRequestOptions,
690
+ (error, response, body) => {
691
+ if (error) {
692
+ reject(error);
693
+ } else {
694
+ if (
695
+ response.statusCode &&
696
+ response.statusCode >= 200 &&
697
+ response.statusCode <= 299
698
+ ) {
699
+ body = ObjectSerializer.deserialize(
700
+ body,
701
+ 'ListCredentials200Response'
702
+ );
703
+ resolve({ response: response, body: body });
704
+ } else {
705
+ reject(
706
+ new HttpError(
707
+ response,
708
+ body,
709
+ response.statusCode
710
+ )
711
+ );
712
+ }
713
+ }
714
+ }
715
+ );
716
+ });
717
+ });
718
+ }
719
+ /**
720
+ * Updates an existing Credential. All Warehouses using this Credential are affected immediately. • When called, this endpoint may generate the `Warehouse Credential Modified` event in the [audit trail](/tag/Audit-Trail). This endpoint requires the user to have at least the following permission(s): * Workspace Owner
233
721
  * @summary Update Credential
234
722
  * @param credentialId
235
723
  * @param UpdateCredentialV1Input
@@ -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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/api/dbtApi.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: 73.1.0
5
+ * The version of the OpenAPI document: 73.1.1
6
6
  * Contact: friends@segment.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).