polytomic 25.9.10 → 25.9.12

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 (531) hide show
  1. package/BaseClient.js +2 -2
  2. package/api/resources/activity/client/Client.d.ts +4 -4
  3. package/api/resources/activity/client/Client.js +10 -6
  4. package/api/resources/activity/client/requests/ActivityListRequest.d.ts +5 -5
  5. package/api/resources/bulkSync/client/Client.d.ts +12 -11
  6. package/api/resources/bulkSync/client/Client.js +11 -10
  7. package/api/resources/bulkSync/client/requests/ActivateBulkSyncInput.d.ts +10 -0
  8. package/api/resources/bulkSync/client/requests/BulkSyncDeleteRequest.d.ts +1 -0
  9. package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +1 -0
  10. package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +10 -5
  11. package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +2 -0
  12. package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +10 -5
  13. package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
  14. package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +2 -2
  15. package/api/resources/bulkSync/resources/errorHandling/client/Client.js +2 -2
  16. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +15 -15
  17. package/api/resources/bulkSync/resources/executions/client/Client.js +15 -15
  18. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +1 -1
  19. package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +8 -8
  20. package/api/resources/bulkSync/resources/schedules/client/Client.js +8 -8
  21. package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +1 -0
  22. package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +1 -0
  23. package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +22 -10
  24. package/api/resources/bulkSync/resources/schemas/client/Client.js +24 -10
  25. package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +5 -4
  26. package/api/resources/connections/client/Client.d.ts +10 -9
  27. package/api/resources/connections/client/Client.js +14 -9
  28. package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +7 -7
  29. package/api/resources/connections/client/requests/ConnectionsDeleteRequest.d.ts +1 -0
  30. package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +4 -2
  31. package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +1 -0
  32. package/api/resources/connections/client/requests/TestConnectionRequest.d.ts +2 -2
  33. package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +4 -1
  34. package/api/resources/connections/resources/proxy/client/Client.d.ts +4 -4
  35. package/api/resources/connections/resources/proxy/client/Client.js +4 -4
  36. package/api/resources/connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.d.ts +2 -1
  37. package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +1 -1
  38. package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +5 -5
  39. package/api/resources/connections/resources/sharedConnections/client/Client.js +5 -5
  40. package/api/resources/connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +1 -1
  41. package/api/resources/entities/client/Client.d.ts +80 -10
  42. package/api/resources/entities/client/Client.js +134 -10
  43. package/api/resources/entities/client/index.d.ts +1 -1
  44. package/api/resources/entities/client/index.js +15 -0
  45. package/api/resources/entities/client/requests/EntitiesSearchRequest.d.ts +13 -0
  46. package/api/resources/entities/client/requests/EntitiesSearchRequest.js +3 -0
  47. package/api/resources/entities/client/requests/index.d.ts +1 -0
  48. package/api/resources/entities/client/requests/index.js +2 -0
  49. package/api/resources/harbors/client/Client.d.ts +308 -60
  50. package/api/resources/harbors/client/Client.js +682 -60
  51. package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +1 -1
  52. package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +1 -1
  53. package/api/resources/harbors/client/requests/CreateHarborSavedQueryDraftRequest.d.ts +4 -4
  54. package/api/resources/harbors/client/requests/ExecuteHarborSavedQueryRequest.d.ts +2 -0
  55. package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +6 -0
  56. package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +2 -0
  57. package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +2 -0
  58. package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +2 -0
  59. package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +2 -0
  60. package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +2 -0
  61. package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +2 -0
  62. package/api/resources/harbors/client/requests/HarborsGetSavedQueryRequest.d.ts +2 -0
  63. package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.d.ts +16 -0
  64. package/api/resources/harbors/client/requests/HarborsListActionConfigurationSchemasRequest.js +3 -0
  65. package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +4 -0
  66. package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +4 -0
  67. package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +1 -1
  68. package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +3 -1
  69. package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +3 -1
  70. package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +1 -1
  71. package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +1 -1
  72. package/api/resources/harbors/client/requests/HarborsListSavedQueriesRequest.d.ts +4 -2
  73. package/api/resources/harbors/client/requests/HarborsListSavedQueryDraftsRequest.d.ts +2 -2
  74. package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +1 -1
  75. package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +2 -0
  76. package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.d.ts +10 -0
  77. package/api/resources/harbors/client/requests/HarborsRemoveActionConfigurationRequest.js +3 -0
  78. package/api/resources/harbors/client/requests/InviteHarborUserRequest.d.ts +1 -1
  79. package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +8 -3
  80. package/api/resources/harbors/client/requests/RunHarborQueryRequest.d.ts +3 -1
  81. package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +3 -1
  82. package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +3 -1
  83. package/api/resources/harbors/client/requests/SaveHarborSavedQueryDraftRequest.d.ts +4 -4
  84. package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.d.ts +11 -0
  85. package/api/resources/harbors/client/requests/SetHarborActionConfigurationRequest.js +3 -0
  86. package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +1 -1
  87. package/api/resources/harbors/client/requests/index.d.ts +3 -0
  88. package/api/resources/harbors/resources/actions/client/Client.d.ts +7 -7
  89. package/api/resources/harbors/resources/actions/client/Client.js +7 -7
  90. package/api/resources/harbors/resources/actions/client/requests/ActionsDescribeRequest.d.ts +5 -0
  91. package/api/resources/harbors/resources/actions/client/requests/ActionsGetExecutionRequest.d.ts +2 -0
  92. package/api/resources/harbors/resources/actions/client/requests/ActionsListRequest.d.ts +3 -0
  93. package/api/resources/harbors/resources/actions/client/requests/ExecuteHarborActionRequest.d.ts +2 -0
  94. package/api/resources/harbors/resources/actions/client/requests/LookupHarborActionRequest.d.ts +6 -3
  95. package/api/resources/harbors/resources/actions/client/requests/PrepareHarborActionRequest.d.ts +6 -2
  96. package/api/resources/index.d.ts +1 -0
  97. package/api/resources/index.js +1 -0
  98. package/api/resources/jobs/client/Client.d.ts +1 -1
  99. package/api/resources/jobs/client/Client.js +1 -1
  100. package/api/resources/modelSync/client/Client.d.ts +34 -9
  101. package/api/resources/modelSync/client/Client.js +34 -9
  102. package/api/resources/modelSync/client/requests/ActivateSyncInput.d.ts +10 -0
  103. package/api/resources/modelSync/client/requests/ActivateSyncInput.js +3 -0
  104. package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.d.ts +14 -7
  105. package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +2 -2
  106. package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +4 -2
  107. package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.d.ts +14 -7
  108. package/api/resources/modelSync/client/requests/index.d.ts +1 -0
  109. package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +2 -2
  110. package/api/resources/modelSync/resources/errorHandling/client/Client.js +2 -2
  111. package/api/resources/modelSync/resources/executions/client/Client.d.ts +16 -16
  112. package/api/resources/modelSync/resources/executions/client/Client.js +16 -16
  113. package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +3 -0
  114. package/api/resources/modelSync/resources/targets/client/Client.d.ts +4 -4
  115. package/api/resources/modelSync/resources/targets/client/Client.js +4 -4
  116. package/api/resources/models/client/Client.d.ts +17 -12
  117. package/api/resources/models/client/Client.js +19 -12
  118. package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.d.ts +1 -0
  119. package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +1 -0
  120. package/api/resources/models/client/requests/ModelsDeleteRequest.d.ts +1 -0
  121. package/api/resources/models/client/requests/ModelsGetRequest.d.ts +1 -0
  122. package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +1 -0
  123. package/api/resources/models/client/requests/ModelsSampleRequest.d.ts +1 -0
  124. package/api/resources/models/client/requests/UpdateModelRequest.d.ts +14 -0
  125. package/api/resources/notifications/client/Client.d.ts +1 -0
  126. package/api/resources/notifications/client/Client.js +3 -0
  127. package/api/resources/operations/client/requests/SearchOperationsRequest.d.ts +3 -3
  128. package/api/resources/organization/client/Client.d.ts +3 -3
  129. package/api/resources/organization/client/Client.js +3 -3
  130. package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +4 -4
  131. package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +4 -4
  132. package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +1 -1
  133. package/api/resources/permissions/resources/policies/client/Client.d.ts +3 -3
  134. package/api/resources/permissions/resources/policies/client/Client.js +3 -3
  135. package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -0
  136. package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -0
  137. package/api/resources/permissions/resources/roles/client/Client.d.ts +3 -3
  138. package/api/resources/permissions/resources/roles/client/Client.js +3 -3
  139. package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +1 -0
  140. package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +1 -0
  141. package/api/resources/queryRunner/client/Client.d.ts +2 -2
  142. package/api/resources/queryRunner/client/Client.js +2 -2
  143. package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +3 -1
  144. package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +3 -1
  145. package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +6 -4
  146. package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +4 -2
  147. package/api/resources/schemas/client/Client.d.ts +17 -17
  148. package/api/resources/schemas/client/Client.js +17 -17
  149. package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +3 -2
  150. package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +1 -0
  151. package/api/resources/users/client/Client.d.ts +13 -13
  152. package/api/resources/users/client/Client.js +13 -13
  153. package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -1
  154. package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.d.ts +1 -1
  155. package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -1
  156. package/api/resources/webhooks/client/Client.d.ts +6 -6
  157. package/api/resources/webhooks/client/Client.js +6 -6
  158. package/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +1 -0
  159. package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +1 -0
  160. package/api/resources/webhooks/client/requests/WebhooksListDeliveriesRequest.d.ts +2 -1
  161. package/api/types/ActionLookup.d.ts +2 -0
  162. package/api/types/ActivateSyncEnvelope.d.ts +1 -0
  163. package/api/types/ActivateSyncOutput.d.ts +2 -0
  164. package/api/types/ApiError.d.ts +4 -0
  165. package/api/types/BackendConnectionCapabilities.d.ts +5 -0
  166. package/api/types/BackendOAuthPrompt.d.ts +3 -0
  167. package/api/types/BulkBulkSyncSchedule.d.ts +17 -0
  168. package/api/types/BulkExecutionStatus.d.ts +1 -0
  169. package/api/types/BulkExecutionStatus.js +1 -0
  170. package/api/types/BulkField.d.ts +5 -0
  171. package/api/types/BulkFilter.d.ts +3 -1
  172. package/api/types/BulkSchema.d.ts +9 -1
  173. package/api/types/BulkSchemaEnvelope.d.ts +1 -0
  174. package/api/types/BulkSchemaListItem.d.ts +4 -4
  175. package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +9 -5
  176. package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +13 -8
  177. package/api/types/BulkSyncDefaultScheduleRequest.d.ts +7 -5
  178. package/api/types/BulkSyncDefaultScheduleResponse.d.ts +11 -8
  179. package/api/types/BulkSyncDest.d.ts +4 -2
  180. package/api/types/BulkSyncDestEnvelope.d.ts +1 -0
  181. package/api/types/BulkSyncErrorHandling.d.ts +1 -1
  182. package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +1 -0
  183. package/api/types/BulkSyncExecution.d.ts +18 -1
  184. package/api/types/BulkSyncExecutionEnvelope.d.ts +1 -0
  185. package/api/types/BulkSyncExecutionLogs.d.ts +1 -1
  186. package/api/types/BulkSyncExecutionLogsEnvelope.d.ts +1 -0
  187. package/api/types/BulkSyncExecutionStatus.d.ts +4 -3
  188. package/api/types/BulkSyncIngestionStatus.d.ts +8 -0
  189. package/api/types/BulkSyncListEnvelope.d.ts +1 -0
  190. package/api/types/BulkSyncResponse.d.ts +17 -10
  191. package/api/types/BulkSyncResponseEnvelope.d.ts +1 -0
  192. package/api/types/BulkSyncScheduleApi.d.ts +7 -5
  193. package/api/types/BulkSyncSchemaExecution.d.ts +12 -1
  194. package/api/types/BulkSyncSchemaExecutionStatus.d.ts +8 -7
  195. package/api/types/BulkSyncSearchHit.d.ts +23 -0
  196. package/api/types/BulkSyncSearchHit.js +3 -0
  197. package/api/types/BulkSyncSource.d.ts +3 -0
  198. package/api/types/BulkSyncSourceCapabilities.d.ts +1 -0
  199. package/api/types/BulkSyncSourceEnvelope.d.ts +1 -0
  200. package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +1 -0
  201. package/api/types/BulkSyncSourceStatus.d.ts +3 -0
  202. package/api/types/BulkSyncSourceStatusEnvelope.d.ts +1 -0
  203. package/api/types/BulkSyncStatusEnvelope.d.ts +1 -0
  204. package/api/types/BulkSyncStatusResponse.d.ts +4 -0
  205. package/api/types/CancelBulkSyncResponse.d.ts +1 -0
  206. package/api/types/CancelBulkSyncResponseEnvelope.d.ts +1 -0
  207. package/api/types/CancelSyncExecutionResponse.d.ts +1 -0
  208. package/api/types/CancelSyncExecutionResponseEnvelope.d.ts +1 -0
  209. package/api/types/CancelSyncResponse.d.ts +1 -0
  210. package/api/types/CancelSyncResponseEnvelope.d.ts +1 -0
  211. package/api/types/CloseHarborSessionEnvelope.d.ts +6 -0
  212. package/api/types/CompletionValue.d.ts +4 -0
  213. package/api/types/ConfigurationValue.d.ts +2 -0
  214. package/api/types/ConnectCardResponse.d.ts +2 -2
  215. package/api/types/ConnectCardResponseEnvelope.d.ts +1 -0
  216. package/api/types/ConnectSessionResponse.d.ts +10 -10
  217. package/api/types/ConnectSessionResponseEnvelope.d.ts +1 -0
  218. package/api/types/ConnectionProxyApi.d.ts +4 -3
  219. package/api/types/ConnectionProxyContract.d.ts +10 -10
  220. package/api/types/ConnectionProxyInfoResponse.d.ts +6 -2
  221. package/api/types/ConnectionProxyLockedHeader.d.ts +2 -2
  222. package/api/types/ConnectionProxyMergeRules.d.ts +2 -2
  223. package/api/types/ConnectionProxyResponse.d.ts +8 -7
  224. package/api/types/ConnectionProxySettingsEnvelope.d.ts +1 -0
  225. package/api/types/ConnectionProxySettingsResponse.d.ts +4 -4
  226. package/api/types/ConnectionProxyStats.d.ts +6 -6
  227. package/api/types/ConnectionResponseSchema.d.ts +2 -2
  228. package/api/types/ConnectionSearchHit.d.ts +13 -0
  229. package/api/types/ConnectionSearchHit.js +3 -0
  230. package/api/types/ConnectionUsageCategoryStats.d.ts +3 -3
  231. package/api/types/ConnectionUsageResponse.d.ts +3 -3
  232. package/api/types/ConnectionUsageSyncStats.d.ts +6 -6
  233. package/api/types/CreateConnectionResponseSchema.d.ts +3 -3
  234. package/api/types/CreateHarborEnvelope.d.ts +1 -0
  235. package/api/types/CreateHarborResponse.d.ts +2 -0
  236. package/api/types/CreateModelRequest.d.ts +12 -0
  237. package/api/types/CreateRecordViewLinkEnvelope.d.ts +1 -0
  238. package/api/types/CreateRecordViewLinkResponse.d.ts +4 -4
  239. package/api/types/CreateSharedConnectionResponseEnvelope.d.ts +1 -0
  240. package/api/types/CreateSharedConnectionResponseSchema.d.ts +1 -0
  241. package/api/types/CurrentOrgListUsersEnvelope.d.ts +1 -0
  242. package/api/types/CurrentOrgUserEnvelope.d.ts +1 -0
  243. package/api/types/CurrentOrgUserResponse.d.ts +6 -6
  244. package/api/types/DeletedHarborContextDraftEnvelope.d.ts +5 -1
  245. package/api/types/DeletedHarborContextEnvelope.d.ts +5 -1
  246. package/api/types/DeletedHarborEnvelope.d.ts +1 -0
  247. package/api/types/DeletedHarborResponse.d.ts +1 -1
  248. package/api/types/DeletedHarborSavedQueryDraftEnvelope.d.ts +5 -1
  249. package/api/types/DeletedHarborSavedQueryEnvelope.d.ts +5 -1
  250. package/api/types/Enrichment.d.ts +3 -0
  251. package/api/types/EntityRelationship.d.ts +2 -2
  252. package/api/types/EntityResponse.d.ts +4 -4
  253. package/api/types/EntityResponseEnvelope.d.ts +1 -0
  254. package/api/types/Event.d.ts +5 -4
  255. package/api/types/EventingBulkSyncCanceledEvent.d.ts +6 -0
  256. package/api/types/EventingBulkSyncCompletedEvent.d.ts +8 -0
  257. package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +8 -0
  258. package/api/types/EventingBulkSyncFailedEvent.d.ts +9 -0
  259. package/api/types/EventingBulkSyncRunningEvent.d.ts +6 -0
  260. package/api/types/EventingBulkSyncSchedule.d.ts +2 -0
  261. package/api/types/EventingSyncCanceledEvent.d.ts +6 -0
  262. package/api/types/EventingSyncCompletedEvent.d.ts +23 -1
  263. package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +8 -0
  264. package/api/types/EventingSyncFailedEvent.d.ts +6 -0
  265. package/api/types/EventingSyncRunningEvent.d.ts +5 -0
  266. package/api/types/EventingSyncSchedule.d.ts +1 -0
  267. package/api/types/ExecuteConnectionProxyEnvelope.d.ts +1 -0
  268. package/api/types/ExecuteHarborSavedQueryEnvelope.d.ts +10 -5
  269. package/api/types/ExecutionConsoleLogEntry.d.ts +5 -0
  270. package/api/types/ExecutionConsoleLogsResponse.d.ts +2 -0
  271. package/api/types/ExecutionConsoleLogsResponseEnvelope.d.ts +1 -0
  272. package/api/types/ExecutionCounts.d.ts +7 -0
  273. package/api/types/ExecutionLogResponse.d.ts +2 -0
  274. package/api/types/ExecutionLogsResponseEnvelope.d.ts +1 -0
  275. package/api/types/ExportSyncLogsEnvelope.d.ts +2 -0
  276. package/api/types/ExportSyncLogsResponse.d.ts +1 -1
  277. package/api/types/FieldConfiguration.d.ts +3 -2
  278. package/api/types/Filter.d.ts +6 -1
  279. package/api/types/GetConnectionProxyInfoEnvelope.d.ts +1 -0
  280. package/api/types/GetConnectionUsageEnvelope.d.ts +1 -0
  281. package/api/types/GetEnrichmentInputFieldsResponseEnvelope.d.ts +1 -0
  282. package/api/types/GetExecutionResponseEnvelope.d.ts +1 -0
  283. package/api/types/GetExecutionResponseSchema.d.ts +9 -1
  284. package/api/types/GetIdentityResponseSchema.d.ts +8 -7
  285. package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +1 -0
  286. package/api/types/GetSyncSourceMetaEnvelope.d.ts +1 -0
  287. package/api/types/GlobalErrorSubscribersResponse.d.ts +1 -1
  288. package/api/types/HarborActionCapability.d.ts +9 -0
  289. package/api/types/HarborActionConfigurationEnvelope.d.ts +5 -0
  290. package/api/types/HarborActionConfigurationEnvelope.js +3 -0
  291. package/api/types/HarborActionConfigurationFieldResponse.d.ts +20 -0
  292. package/api/types/HarborActionConfigurationFieldResponse.js +3 -0
  293. package/api/types/HarborActionConfigurationIdempotencyResponse.d.ts +6 -0
  294. package/api/types/HarborActionConfigurationIdempotencyResponse.js +3 -0
  295. package/api/types/HarborActionConfigurationOperationResponse.d.ts +29 -0
  296. package/api/types/HarborActionConfigurationOperationResponse.js +12 -0
  297. package/api/types/HarborActionConfigurationOperationsEnvelope.d.ts +5 -0
  298. package/api/types/HarborActionConfigurationOperationsEnvelope.js +3 -0
  299. package/api/types/HarborActionConfigurationResponse.d.ts +13 -0
  300. package/api/types/HarborActionConfigurationResponse.js +3 -0
  301. package/api/types/HarborActionConfigurationSchemasEnvelope.d.ts +7 -0
  302. package/api/types/HarborActionConfigurationSchemasEnvelope.js +3 -0
  303. package/api/types/HarborActionDescribeEnvelope.d.ts +1 -0
  304. package/api/types/HarborActionExecutionEnvelope.d.ts +1 -0
  305. package/api/types/HarborActionExecutionResponse.d.ts +14 -2
  306. package/api/types/HarborActionExecutionResponse.js +1 -0
  307. package/api/types/HarborActionField.d.ts +11 -0
  308. package/api/types/HarborActionGrantSchema.d.ts +10 -0
  309. package/api/types/HarborActionGrantSchema.js +3 -0
  310. package/api/types/HarborActionListEnvelope.d.ts +6 -0
  311. package/api/types/HarborActionLookupEnvelope.d.ts +1 -0
  312. package/api/types/HarborActionPreparation.d.ts +2 -0
  313. package/api/types/HarborActionPreparationEnvelope.d.ts +1 -0
  314. package/api/types/HarborActionSchemaResponse.d.ts +8 -0
  315. package/api/types/HarborActionSchemaResponse.js +3 -0
  316. package/api/types/HarborActionSourceConnectionResponse.d.ts +8 -0
  317. package/api/types/HarborActionSourceConnectionResponse.js +3 -0
  318. package/api/types/HarborActionSourceConnectionsEnvelope.d.ts +5 -0
  319. package/api/types/HarborActionSourceConnectionsEnvelope.js +3 -0
  320. package/api/types/HarborActionSummary.d.ts +5 -0
  321. package/api/types/HarborActivityEventEnvelope.d.ts +1 -0
  322. package/api/types/HarborActivityListEnvelope.d.ts +2 -0
  323. package/api/types/HarborActivitySessionEnvelope.d.ts +2 -0
  324. package/api/types/HarborApiKeyCreatedResponse.d.ts +3 -3
  325. package/api/types/HarborConnectionCapability.d.ts +6 -0
  326. package/api/types/HarborConnectionCapability.js +9 -0
  327. package/api/types/HarborConnectionListEnvelope.d.ts +2 -0
  328. package/api/types/HarborConnectionResponse.d.ts +6 -1
  329. package/api/types/HarborConnectionSchemaEnvelope.d.ts +1 -0
  330. package/api/types/HarborContextDraftEnvelope.d.ts +1 -0
  331. package/api/types/HarborContextDraftListEnvelope.d.ts +2 -0
  332. package/api/types/HarborContextDraftMetadataResponse.d.ts +8 -8
  333. package/api/types/HarborContextDraftResponse.d.ts +9 -9
  334. package/api/types/HarborContextEnvelope.d.ts +1 -0
  335. package/api/types/HarborContextListEnvelope.d.ts +2 -0
  336. package/api/types/HarborContextMetadataResponse.d.ts +7 -7
  337. package/api/types/HarborContextResponse.d.ts +8 -8
  338. package/api/types/HarborContextVersionEnvelope.d.ts +1 -0
  339. package/api/types/HarborContextVersionListEnvelope.d.ts +2 -0
  340. package/api/types/HarborContextVersionMetadataResponse.d.ts +7 -7
  341. package/api/types/HarborContextVersionResponse.d.ts +8 -8
  342. package/api/types/HarborDatasetStatusResponse.d.ts +2 -2
  343. package/api/types/HarborEnvelope.d.ts +1 -0
  344. package/api/types/HarborKeyEnvelope.d.ts +1 -0
  345. package/api/types/HarborKeyListEnvelope.d.ts +2 -0
  346. package/api/types/HarborKeyResponse.d.ts +5 -5
  347. package/api/types/HarborListEnvelope.d.ts +2 -0
  348. package/api/types/HarborPipelineStatusResponse.d.ts +6 -6
  349. package/api/types/HarborPipelineStatusResponse.js +1 -1
  350. package/api/types/HarborResponse.d.ts +9 -9
  351. package/api/types/HarborSavedQueryDraftEnvelope.d.ts +1 -0
  352. package/api/types/HarborSavedQueryDraftListEnvelope.d.ts +2 -0
  353. package/api/types/HarborSavedQueryDraftResponse.d.ts +13 -13
  354. package/api/types/HarborSavedQueryEnvelope.d.ts +1 -0
  355. package/api/types/HarborSavedQueryListEnvelope.d.ts +2 -0
  356. package/api/types/HarborSavedQueryMetadataResponse.d.ts +9 -9
  357. package/api/types/HarborSavedQueryParameter.d.ts +4 -4
  358. package/api/types/HarborSavedQueryParameter.js +1 -1
  359. package/api/types/HarborSavedQueryPreviewResponse.d.ts +2 -2
  360. package/api/types/HarborSavedQueryResponse.d.ts +13 -13
  361. package/api/types/HarborSavedQueryValidationEnvelope.d.ts +1 -0
  362. package/api/types/HarborSchemaListEnvelope.d.ts +3 -0
  363. package/api/types/HarborSchemaResponse.d.ts +2 -0
  364. package/api/types/HarborSourceMappingResponse.d.ts +2 -2
  365. package/api/types/HarborSourceReference.d.ts +5 -3
  366. package/api/types/HarborStatusEnvelope.d.ts +1 -0
  367. package/api/types/HarborStatusResponse.d.ts +1 -1
  368. package/api/types/HarborStatusScheduleResponse.d.ts +13 -10
  369. package/api/types/HarborUserEnvelope.d.ts +1 -0
  370. package/api/types/HarborUserListEnvelope.d.ts +2 -0
  371. package/api/types/HarborUserResponse.d.ts +7 -7
  372. package/api/types/HarboractivityEventType.d.ts +29 -0
  373. package/api/types/HarboractivityEventType.js +32 -0
  374. package/api/types/HarboractivityOutcome.d.ts +7 -0
  375. package/api/types/HarboractivityOutcome.js +10 -0
  376. package/api/types/HarboractivityProvenance.d.ts +6 -0
  377. package/api/types/HarboractivityProvenance.js +9 -0
  378. package/api/types/HarboractivityQueryPhase.d.ts +6 -0
  379. package/api/types/HarboractivityQueryPhase.js +9 -0
  380. package/api/types/HarboractivityStatementCategory.d.ts +6 -0
  381. package/api/types/HarboractivityStatementCategory.js +9 -0
  382. package/api/types/HarboractivityapiHarborActivityActorSnapshot.d.ts +4 -0
  383. package/api/types/HarboractivityapiHarborActivityEvent.d.ts +24 -3
  384. package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.d.ts +1 -0
  385. package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +37 -5
  386. package/api/types/HarboractivityapiHarborActivityQuerySource.d.ts +4 -0
  387. package/api/types/HarboractivityapiHarborActivitySavedQuerySource.d.ts +5 -0
  388. package/api/types/HarboractivityapiHarborActivitySession.d.ts +16 -1
  389. package/api/types/HarboractivityapiHarborActivitySession.js +1 -0
  390. package/api/types/HarboractivityapiHarborActivityTarget.d.ts +6 -0
  391. package/api/types/Identity.d.ts +5 -0
  392. package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +5 -4
  393. package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +2 -0
  394. package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +1 -1
  395. package/api/types/IdentityCredentialHarborSchema.d.ts +3 -3
  396. package/api/types/IdentityCredentialSchema.d.ts +8 -4
  397. package/api/types/IdentityFunction.d.ts +1 -1
  398. package/api/types/JobResponse.d.ts +3 -2
  399. package/api/types/ListBulkSchemaEnvelope.d.ts +1 -0
  400. package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +2 -0
  401. package/api/types/ListBulkSyncExecutionsStatusEnvelope.d.ts +1 -0
  402. package/api/types/ListExecutionResponseEnvelope.d.ts +2 -0
  403. package/api/types/ListSyncItem.d.ts +13 -10
  404. package/api/types/ListSyncResponseEnvelope.d.ts +2 -0
  405. package/api/types/LogsIndexEntry.d.ts +2 -2
  406. package/api/types/LogsIndexResponse.d.ts +6 -0
  407. package/api/types/LogsIndexResponseEnvelope.d.ts +1 -0
  408. package/api/types/Mode.d.ts +5 -5
  409. package/api/types/ModelField.d.ts +12 -0
  410. package/api/types/ModelFieldResponse.d.ts +1 -0
  411. package/api/types/ModelFieldSearchHit.d.ts +23 -0
  412. package/api/types/ModelFieldSearchHit.js +3 -0
  413. package/api/types/ModelFilterCondition.d.ts +2 -2
  414. package/api/types/ModelListResponseEnvelope.d.ts +1 -0
  415. package/api/types/ModelModelFieldRequest.d.ts +4 -0
  416. package/api/types/ModelRelation.d.ts +2 -0
  417. package/api/types/ModelRelationTo.d.ts +2 -0
  418. package/api/types/ModelResponse.d.ts +18 -0
  419. package/api/types/ModelResponseEnvelope.d.ts +2 -0
  420. package/api/types/ModelSample.d.ts +2 -0
  421. package/api/types/ModelSampleResponseEnvelope.d.ts +2 -0
  422. package/api/types/ModelSearchHit.d.ts +17 -0
  423. package/api/types/ModelSearchHit.js +3 -0
  424. package/api/types/ModelSyncProblem.d.ts +2 -2
  425. package/api/types/ModelSyncSearchHit.d.ts +19 -0
  426. package/api/types/ModelSyncSearchHit.js +3 -0
  427. package/api/types/ModelSyncSourceConnection.d.ts +8 -0
  428. package/api/types/ModelSyncSourceConnection.js +3 -0
  429. package/api/types/ModelSyncSourceIdentity.d.ts +2 -1
  430. package/api/types/ModelSyncV5Response.d.ts +23 -2
  431. package/api/types/ModelSyncV5ResponseEnvelope.d.ts +1 -0
  432. package/api/types/ModelSyncV5Target.d.ts +4 -1
  433. package/api/types/OperationMatch.d.ts +6 -6
  434. package/api/types/OperationSearchAvailabilityEnvelope.d.ts +6 -1
  435. package/api/types/OperationSearchRateLimit.d.ts +3 -3
  436. package/api/types/OperationSearchRateLimit.js +1 -1
  437. package/api/types/OperationSearchResult.d.ts +3 -3
  438. package/api/types/Organization.d.ts +5 -5
  439. package/api/types/OutputActor.d.ts +3 -0
  440. package/api/types/Override.d.ts +5 -1
  441. package/api/types/OverrideField.d.ts +2 -2
  442. package/api/types/OverrideFieldInput.d.ts +2 -2
  443. package/api/types/PaginationDetails.d.ts +1 -0
  444. package/api/types/PickValue.d.ts +2 -0
  445. package/api/types/PolicyAction.d.ts +1 -0
  446. package/api/types/QueryResultsEnvelope.d.ts +2 -0
  447. package/api/types/RecordLoggingSettingsEnvelope.d.ts +1 -0
  448. package/api/types/RecordLoggingSettingsResponse.d.ts +3 -3
  449. package/api/types/RecordviewCapabilities.d.ts +11 -1
  450. package/api/types/RegisterHarborSessionEnvelope.d.ts +1 -0
  451. package/api/types/RegisterHarborSessionResponse.d.ts +3 -1
  452. package/api/types/Relation.d.ts +2 -0
  453. package/api/types/RelationTo.d.ts +2 -0
  454. package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +6 -2
  455. package/api/types/RevokedHarborKeyEnvelope.d.ts +5 -1
  456. package/api/types/RunAfter.d.ts +2 -0
  457. package/api/types/RunQueryEnvelope.d.ts +1 -0
  458. package/api/types/RunQueryResult.d.ts +3 -2
  459. package/api/types/Schedule.d.ts +9 -0
  460. package/api/types/ScheduleEnvelope.d.ts +1 -0
  461. package/api/types/ScheduleOptionResponse.d.ts +1 -0
  462. package/api/types/ScheduleOptionResponseEnvelope.d.ts +1 -0
  463. package/api/types/ScheduleScheduleOption.d.ts +4 -0
  464. package/api/types/SchedulesEnvelope.d.ts +1 -0
  465. package/api/types/Schema.d.ts +3 -0
  466. package/api/types/SchemaAssociation.d.ts +4 -0
  467. package/api/types/SchemaConfiguration.d.ts +8 -2
  468. package/api/types/SchemaField.d.ts +12 -6
  469. package/api/types/SchemaFieldResponseEnvelope.d.ts +1 -0
  470. package/api/types/SchemaOperationIdempotency.d.ts +2 -0
  471. package/api/types/SchemaPrimaryKeyOverrideInput.d.ts +2 -0
  472. package/api/types/SchemaRecordsResponseEnvelope.d.ts +1 -0
  473. package/api/types/SearchEnvelope.d.ts +7 -0
  474. package/api/types/SearchEnvelope.js +3 -0
  475. package/api/types/SearchMatch.d.ts +9 -0
  476. package/api/types/SearchMatch.js +3 -0
  477. package/api/types/SearchMatchAttribute.d.ts +8 -0
  478. package/api/types/SearchMatchAttribute.js +3 -0
  479. package/api/types/SearchMatchMapping.d.ts +27 -0
  480. package/api/types/SearchMatchMapping.js +13 -0
  481. package/api/types/SearchMatchSchema.d.ts +8 -0
  482. package/api/types/SearchMatchSchema.js +3 -0
  483. package/api/types/SearchOperationsEnvelope.d.ts +1 -0
  484. package/api/types/SearchOperationsResponse.d.ts +2 -2
  485. package/api/types/SearchResultItem.d.ts +19 -0
  486. package/api/types/SearchResultItem.js +3 -0
  487. package/api/types/SearchResultLinks.d.ts +14 -0
  488. package/api/types/SearchResultLinks.js +3 -0
  489. package/api/types/SearchResultMetadata.d.ts +6 -0
  490. package/api/types/SearchResultMetadata.js +3 -0
  491. package/api/types/Source.d.ts +2 -0
  492. package/api/types/SourceMeta.d.ts +1 -1
  493. package/api/types/StartSyncResponseEnvelope.d.ts +1 -0
  494. package/api/types/StartSyncResponseSchema.d.ts +2 -0
  495. package/api/types/SupportedBulkMode.d.ts +6 -0
  496. package/api/types/SupportedFilterFunction.d.ts +3 -2
  497. package/api/types/SupportedMode.d.ts +4 -3
  498. package/api/types/SyncDestinationProperties.d.ts +15 -13
  499. package/api/types/SyncErrorHandling.d.ts +4 -4
  500. package/api/types/SyncErrorHandlingEnvelope.d.ts +1 -0
  501. package/api/types/SyncField.d.ts +3 -2
  502. package/api/types/SyncSourceMetaResponse.d.ts +3 -3
  503. package/api/types/SyncStatusEnvelope.d.ts +1 -0
  504. package/api/types/SyncStatusResponse.d.ts +3 -0
  505. package/api/types/TargetCreator.d.ts +2 -2
  506. package/api/types/TargetField.d.ts +12 -12
  507. package/api/types/TargetFilterCondition.d.ts +2 -2
  508. package/api/types/TargetObject.d.ts +3 -3
  509. package/api/types/TargetObjectsResponseEnvelope.d.ts +2 -0
  510. package/api/types/TargetPropertyValues.d.ts +4 -4
  511. package/api/types/TargetPropertyValuesEnvelope.d.ts +1 -0
  512. package/api/types/TargetResponse.d.ts +2 -1
  513. package/api/types/TargetResponseEnvelope.d.ts +1 -0
  514. package/api/types/TemporaryCredentialResponse.d.ts +2 -2
  515. package/api/types/TemporaryCredentialResponseEnvelope.d.ts +1 -0
  516. package/api/types/TemporaryCredentialSubject.d.ts +1 -1
  517. package/api/types/UnassignedHarborUserEnvelope.d.ts +5 -1
  518. package/api/types/UpdateBulkField.d.ts +4 -0
  519. package/api/types/UpdateBulkSyncSchemasEnvelope.d.ts +1 -0
  520. package/api/types/User.d.ts +4 -4
  521. package/api/types/UserFieldRequest.d.ts +4 -3
  522. package/api/types/UtilEnumValue.d.ts +2 -0
  523. package/api/types/WebhookDelivery.d.ts +1 -1
  524. package/api/types/index.d.ts +31 -1
  525. package/api/types/index.js +31 -1
  526. package/package.json +1 -1
  527. package/reference.md +1115 -356
  528. package/version.d.ts +1 -1
  529. package/version.js +1 -1
  530. package/api/types/ActivateSyncInput.d.ts +0 -3
  531. /package/api/{types/ActivateSyncInput.js → resources/bulkSync/client/requests/ActivateBulkSyncInput.js} +0 -0
@@ -7,7 +7,10 @@
7
7
  * }
8
8
  */
9
9
  export interface ExecutionsListRequest {
10
+ /** Token from the previous page */
10
11
  page_token?: string;
12
+ /** Return only completed executions. */
11
13
  only_completed?: boolean;
14
+ /** Return executions oldest first. */
12
15
  ascending?: boolean;
13
16
  }
@@ -54,7 +54,7 @@ export declare class TargetsClient {
54
54
  * When `properties` is supplied, the `refresh` parameter is ignored — a
55
55
  * not-yet-created target has no cached schema to refresh.
56
56
  *
57
- * @param {string} id - Unique identifier of the connection.
57
+ * @param {string} id - Unique identifier of the connection
58
58
  * @param {Polytomic.modelSync.TargetsGetTargetFieldsRequest} request
59
59
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
60
60
  *
@@ -94,7 +94,7 @@ export declare class TargetsClient {
94
94
  * model sync. The `modes` array for a target object defines the `id` along with
95
95
  * what operations the mode supports.
96
96
  *
97
- * @param {string} id
97
+ * @param {string} id - Connection ID
98
98
  * @param {Polytomic.modelSync.TargetsListRequest} request
99
99
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
100
100
  *
@@ -146,8 +146,8 @@ export declare class TargetsClient {
146
146
  * The `value` for the selected option should be passed when [creating a
147
147
  * sync](../../../../../../../api-reference/model-sync/create).
148
148
  *
149
- * @param {string} id
150
- * @param {string} property
149
+ * @param {string} id - Connection ID
150
+ * @param {string} property - Target-creation property ID
151
151
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
152
152
  *
153
153
  * @throws {@link Polytomic.BadRequestError}
@@ -100,7 +100,7 @@ class TargetsClient {
100
100
  * When `properties` is supplied, the `refresh` parameter is ignored — a
101
101
  * not-yet-created target has no cached schema to refresh.
102
102
  *
103
- * @param {string} id - Unique identifier of the connection.
103
+ * @param {string} id - Unique identifier of the connection
104
104
  * @param {Polytomic.modelSync.TargetsGetTargetFieldsRequest} request
105
105
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
106
106
  *
@@ -193,7 +193,7 @@ class TargetsClient {
193
193
  * model sync. The `modes` array for a target object defines the `id` along with
194
194
  * what operations the mode supports.
195
195
  *
196
- * @param {string} id
196
+ * @param {string} id - Connection ID
197
197
  * @param {Polytomic.modelSync.TargetsListRequest} request
198
198
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
199
199
  *
@@ -299,8 +299,8 @@ class TargetsClient {
299
299
  * The `value` for the selected option should be passed when [creating a
300
300
  * sync](../../../../../../../api-reference/model-sync/create).
301
301
  *
302
- * @param {string} id
303
- * @param {string} property
302
+ * @param {string} id - Connection ID
303
+ * @param {string} property - Target-creation property ID
304
304
  * @param {TargetsClient.RequestOptions} requestOptions - Request-specific configuration.
305
305
  *
306
306
  * @throws {@link Polytomic.BadRequestError}
@@ -27,7 +27,7 @@ export declare class ModelsClient {
27
27
  * configuration fields required to set it up. Pass those values in the
28
28
  * `enrichment` block when creating or updating a model sync.
29
29
  *
30
- * @param {string} id - Unique identifier of the connection.
30
+ * @param {string} id - Unique identifier of the connection
31
31
  * @param {Polytomic.ModelsGetEnrichmentSourceRequest} request
32
32
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
33
33
  *
@@ -52,10 +52,11 @@ export declare class ModelsClient {
52
52
  * valid input field sets that map your model's fields to the enrichment service's
53
53
  * expected inputs.
54
54
  *
55
- * @param {string} connection_id
55
+ * @param {string} connection_id - Enrichment connection ID
56
56
  * @param {Polytomic.EnrichmentInputFieldsRequest} request
57
57
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
58
58
  *
59
+ * @throws {@link Polytomic.BadRequestError}
59
60
  * @throws {@link Polytomic.ForbiddenError}
60
61
  * @throws {@link Polytomic.NotFoundError}
61
62
  * @throws {@link Polytomic.InternalServerError}
@@ -68,12 +69,15 @@ export declare class ModelsClient {
68
69
  post(connection_id: string, request?: Polytomic.EnrichmentInputFieldsRequest, requestOptions?: ModelsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.GetEnrichmentInputFieldsResponseEnvelope>;
69
70
  private __post;
70
71
  /**
71
- * Submits a job that previews the fields a model would expose without persisting it.
72
+ * Previews the fields a model exposes without saving the model.
73
+ *
74
+ * The response contains the previewed model, including the fields it exposes.
75
+ * With `async=true`, the response contains a job instead; poll the job until it
76
+ * completes to retrieve the field list.
72
77
  *
73
- * The response contains a job ID that resolves to the list of fields the model
74
- * would expose. Poll the job until it completes to retrieve the field list. The
75
- * model is not persisted — this endpoint is useful for validating a query or
76
- * configuration before calling [`POST /api/models`](../../api-reference/models/create) to save it.
78
+ * The model is not saved, and `policies` and `labels` are ignored. Use this
79
+ * endpoint to validate a query or configuration before calling
80
+ * [`POST /api/models`](../../api-reference/models/create) to save it.
77
81
  *
78
82
  * @param {Polytomic.ModelsPreviewRequest} request
79
83
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
@@ -162,7 +166,7 @@ export declare class ModelsClient {
162
166
  * configured filters. To preview the data a model would return without saving
163
167
  * changes, use [`GET /api/models/{id}/sample`](../../../api-reference/models/sample).
164
168
  *
165
- * @param {string} id
169
+ * @param {string} id - Model ID
166
170
  * @param {Polytomic.ModelsGetRequest} request
167
171
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
168
172
  *
@@ -183,7 +187,8 @@ export declare class ModelsClient {
183
187
  *
184
188
  * Updating a model is a **full replacement** of its configuration. Every field in
185
189
  * the request body is written to the model; any field you omit is cleared or reset
186
- * to its default value.
190
+ * to its default value. An empty or omitted `policies` list leaves the model's
191
+ * current policies unchanged.
187
192
  *
188
193
  * To make a partial change, fetch the current model with
189
194
  * [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
@@ -192,7 +197,7 @@ export declare class ModelsClient {
192
197
  * Changes to source fields, filters, or the identity column take effect on the
193
198
  * next sync execution that uses this model.
194
199
  *
195
- * @param {string} id
200
+ * @param {string} id - Model ID
196
201
  * @param {Polytomic.UpdateModelRequest} request
197
202
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
198
203
  *
@@ -220,7 +225,7 @@ export declare class ModelsClient {
220
225
  * > 🚧 Deleting a model used by one or more syncs will break those syncs. Remove
221
226
  * > or reconfigure any syncs that reference this model before deleting it.
222
227
  *
223
- * @param {string} id
228
+ * @param {string} id - Model ID
224
229
  * @param {Polytomic.ModelsDeleteRequest} request
225
230
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
226
231
  *
@@ -244,7 +249,7 @@ export declare class ModelsClient {
244
249
  * enrichment step can exceed that budget, use the asynchronous option so the
245
250
  * work runs as a background job.
246
251
  *
247
- * @param {string} id
252
+ * @param {string} id - Model ID
248
253
  * @param {Polytomic.ModelsSampleRequest} request
249
254
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
250
255
  *
@@ -83,7 +83,7 @@ class ModelsClient {
83
83
  * configuration fields required to set it up. Pass those values in the
84
84
  * `enrichment` block when creating or updating a model sync.
85
85
  *
86
- * @param {string} id - Unique identifier of the connection.
86
+ * @param {string} id - Unique identifier of the connection
87
87
  * @param {Polytomic.ModelsGetEnrichmentSourceRequest} request
88
88
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
89
89
  *
@@ -159,10 +159,11 @@ class ModelsClient {
159
159
  * valid input field sets that map your model's fields to the enrichment service's
160
160
  * expected inputs.
161
161
  *
162
- * @param {string} connection_id
162
+ * @param {string} connection_id - Enrichment connection ID
163
163
  * @param {Polytomic.EnrichmentInputFieldsRequest} request
164
164
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
165
165
  *
166
+ * @throws {@link Polytomic.BadRequestError}
166
167
  * @throws {@link Polytomic.ForbiddenError}
167
168
  * @throws {@link Polytomic.NotFoundError}
168
169
  * @throws {@link Polytomic.InternalServerError}
@@ -205,6 +206,8 @@ class ModelsClient {
205
206
  }
206
207
  if (_response.error.reason === "status-code") {
207
208
  switch (_response.error.statusCode) {
209
+ case 400:
210
+ throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
208
211
  case 403:
209
212
  throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
210
213
  case 404:
@@ -223,12 +226,15 @@ class ModelsClient {
223
226
  });
224
227
  }
225
228
  /**
226
- * Submits a job that previews the fields a model would expose without persisting it.
229
+ * Previews the fields a model exposes without saving the model.
230
+ *
231
+ * The response contains the previewed model, including the fields it exposes.
232
+ * With `async=true`, the response contains a job instead; poll the job until it
233
+ * completes to retrieve the field list.
227
234
  *
228
- * The response contains a job ID that resolves to the list of fields the model
229
- * would expose. Poll the job until it completes to retrieve the field list. The
230
- * model is not persisted — this endpoint is useful for validating a query or
231
- * configuration before calling [`POST /api/models`](../../api-reference/models/create) to save it.
235
+ * The model is not saved, and `policies` and `labels` are ignored. Use this
236
+ * endpoint to validate a query or configuration before calling
237
+ * [`POST /api/models`](../../api-reference/models/create) to save it.
232
238
  *
233
239
  * @param {Polytomic.ModelsPreviewRequest} request
234
240
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
@@ -460,7 +466,7 @@ class ModelsClient {
460
466
  * configured filters. To preview the data a model would return without saving
461
467
  * changes, use [`GET /api/models/{id}/sample`](../../../api-reference/models/sample).
462
468
  *
463
- * @param {string} id
469
+ * @param {string} id - Model ID
464
470
  * @param {Polytomic.ModelsGetRequest} request
465
471
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
466
472
  *
@@ -528,7 +534,8 @@ class ModelsClient {
528
534
  *
529
535
  * Updating a model is a **full replacement** of its configuration. Every field in
530
536
  * the request body is written to the model; any field you omit is cleared or reset
531
- * to its default value.
537
+ * to its default value. An empty or omitted `policies` list leaves the model's
538
+ * current policies unchanged.
532
539
  *
533
540
  * To make a partial change, fetch the current model with
534
541
  * [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
@@ -537,7 +544,7 @@ class ModelsClient {
537
544
  * Changes to source fields, filters, or the identity column take effect on the
538
545
  * next sync execution that uses this model.
539
546
  *
540
- * @param {string} id
547
+ * @param {string} id - Model ID
541
548
  * @param {Polytomic.UpdateModelRequest} request
542
549
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
543
550
  *
@@ -618,7 +625,7 @@ class ModelsClient {
618
625
  * > 🚧 Deleting a model used by one or more syncs will break those syncs. Remove
619
626
  * > or reconfigure any syncs that reference this model before deleting it.
620
627
  *
621
- * @param {string} id
628
+ * @param {string} id - Model ID
622
629
  * @param {Polytomic.ModelsDeleteRequest} request
623
630
  * @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
624
631
  *
@@ -692,7 +699,7 @@ class ModelsClient {
692
699
  * enrichment step can exceed that budget, use the asynchronous option so the
693
700
  * work runs as a background job.
694
701
  *
695
- * @param {string} id
702
+ * @param {string} id - Model ID
696
703
  * @param {Polytomic.ModelsSampleRequest} request
697
704
  * @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
698
705
  *
@@ -4,5 +4,6 @@ import type * as Polytomic from "../../../../index";
4
4
  * {}
5
5
  */
6
6
  export interface EnrichmentInputFieldsRequest {
7
+ /** Enricher configuration to list valid input fields for */
7
8
  configuration?: Polytomic.EnricherConfiguration;
8
9
  }
@@ -13,6 +13,7 @@ import type * as Polytomic from "../../../../index";
13
13
  * }
14
14
  */
15
15
  export interface ModelsCreateRequest {
16
+ /** Run in the background and return a job instead of the result. */
16
17
  async?: boolean;
17
18
  body: Polytomic.CreateModelRequest;
18
19
  }
@@ -5,5 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface ModelsDeleteRequest {
8
+ /** Deprecated; has no effect */
8
9
  async?: boolean;
9
10
  }
@@ -5,5 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface ModelsGetRequest {
8
+ /** Deprecated; has no effect */
8
9
  async?: boolean;
9
10
  }
@@ -13,6 +13,7 @@ import type * as Polytomic from "../../../../index";
13
13
  * }
14
14
  */
15
15
  export interface ModelsPreviewRequest {
16
+ /** Run in the background and return a job instead of the result. */
16
17
  async?: boolean;
17
18
  body: Polytomic.CreateModelRequest;
18
19
  }
@@ -5,5 +5,6 @@
5
5
  * }
6
6
  */
7
7
  export interface ModelsSampleRequest {
8
+ /** Run in the background and return a job instead of the result. */
8
9
  async?: boolean;
9
10
  }
@@ -11,18 +11,32 @@ import type * as Polytomic from "../../../../index";
11
11
  * }
12
12
  */
13
13
  export interface UpdateModelRequest {
14
+ /** Run in the background and return a job instead of the result. */
14
15
  async?: boolean;
16
+ /** User-defined fields to add to the model alongside its source fields */
15
17
  additional_fields?: Polytomic.ModelModelFieldRequest[];
18
+ /** Model configuration for the source connection type */
16
19
  configuration: Record<string, unknown>;
20
+ /** Connection ID of the model's source, which cannot be changed after the model is created */
17
21
  connection_id: string;
22
+ /** Enrichment to apply to the model */
18
23
  enricher?: Polytomic.Enrichment;
24
+ /** Technical/source field names to publish in the model. Use source names, not model-field UUIDs or display labels. For example, use dealname rather than Deal Name. Omit or pass an empty array to publish all standard source fields. */
19
25
  fields?: string[];
26
+ /** Source field name of the model's unique identifier */
20
27
  identifier?: string;
28
+ /** Deprecated; ignored */
21
29
  labels?: string[];
30
+ /** Model name */
22
31
  name: string;
32
+ /** Ignored for user and organization-scoped API keys, which always act in their own organization */
23
33
  organization_id?: string;
34
+ /** Permissions policy IDs applied to the model. On update, a non-empty list replaces the model's policies and an empty or omitted list leaves them unchanged. */
24
35
  policies?: string[];
36
+ /** Whether to refresh the enricher's fields and example values */
25
37
  refresh?: boolean;
38
+ /** Joins from this model's fields to fields on other models */
26
39
  relations?: Polytomic.ModelRelation[];
40
+ /** Source field names used to detect changed records */
27
41
  tracking_columns?: string[];
28
42
  }
@@ -42,6 +42,7 @@ export declare class NotificationsClient {
42
42
  * @param {NotificationsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
43
43
  *
44
44
  * @throws {@link Polytomic.BadRequestError}
45
+ * @throws {@link Polytomic.ForbiddenError}
45
46
  * @throws {@link Polytomic.InternalServerError}
46
47
  * @throws {@link errors.PolytomicError}
47
48
  * @throws {@link errors.PolytomicTimeoutError}
@@ -126,6 +126,7 @@ class NotificationsClient {
126
126
  * @param {NotificationsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
127
127
  *
128
128
  * @throws {@link Polytomic.BadRequestError}
129
+ * @throws {@link Polytomic.ForbiddenError}
129
130
  * @throws {@link Polytomic.InternalServerError}
130
131
  * @throws {@link errors.PolytomicError}
131
132
  * @throws {@link errors.PolytomicTimeoutError}
@@ -168,6 +169,8 @@ class NotificationsClient {
168
169
  switch (_response.error.statusCode) {
169
170
  case 400:
170
171
  throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
172
+ case 403:
173
+ throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
171
174
  case 500:
172
175
  throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
173
176
  default:
@@ -5,10 +5,10 @@
5
5
  * }
6
6
  */
7
7
  export interface SearchOperationsRequest {
8
- /** Maximum operations per task, from 1 to 10; defaults to 5. */
8
+ /** Maximum operations per task, from 1 to 10; defaults to 5 */
9
9
  limit?: number;
10
- /** Optional nonempty list of unique stable operation IDs to rank; omitted to rank the full catalog. */
10
+ /** Optional nonempty list of unique stable operation IDs to rank; omitted to rank the full catalog */
11
11
  operationIds?: string[];
12
- /** One to three plain-language tasks to find API operations for. */
12
+ /** One to three plain-language tasks to find API operations for */
13
13
  queries: string[];
14
14
  }
@@ -133,7 +133,7 @@ export declare class OrganizationClient {
133
133
  * > Check each endpoint's description for the caller scope that applies in that
134
134
  * > API version.
135
135
  *
136
- * @param {string} id - Unique identifier of the organization.
136
+ * @param {string} id - Unique identifier of the organization
137
137
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
138
138
  *
139
139
  * @throws {@link Polytomic.ForbiddenError}
@@ -157,7 +157,7 @@ export declare class OrganizationClient {
157
157
  * > 📘 SSO and OIDC configuration is replaced in full on each update. Include all
158
158
  * > desired settings in the request body, not just the fields you want to change.
159
159
  *
160
- * @param {string} id - Unique identifier of the organization to update.
160
+ * @param {string} id - Unique identifier of the organization to update
161
161
  * @param {Polytomic.UpdateOrganizationRequestSchema} request
162
162
  * @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
163
163
  *
@@ -180,7 +180,7 @@ export declare class OrganizationClient {
180
180
  *
181
181
  * Partner callers cannot delete their own owner organization.
182
182
  *
183
- * @param {string} id - Unique identifier of the organization.
183
+ * @param {string} id - Unique identifier of the organization
184
184
  * @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
185
185
  *
186
186
  * @throws {@link Polytomic.ForbiddenError}
@@ -396,7 +396,7 @@ class OrganizationClient {
396
396
  * > Check each endpoint's description for the caller scope that applies in that
397
397
  * > API version.
398
398
  *
399
- * @param {string} id - Unique identifier of the organization.
399
+ * @param {string} id - Unique identifier of the organization
400
400
  * @param {OrganizationClient.RequestOptions} requestOptions - Request-specific configuration.
401
401
  *
402
402
  * @throws {@link Polytomic.ForbiddenError}
@@ -461,7 +461,7 @@ class OrganizationClient {
461
461
  * > 📘 SSO and OIDC configuration is replaced in full on each update. Include all
462
462
  * > desired settings in the request body, not just the fields you want to change.
463
463
  *
464
- * @param {string} id - Unique identifier of the organization to update.
464
+ * @param {string} id - Unique identifier of the organization to update
465
465
  * @param {Polytomic.UpdateOrganizationRequestSchema} request
466
466
  * @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
467
467
  *
@@ -531,7 +531,7 @@ class OrganizationClient {
531
531
  *
532
532
  * Partner callers cannot delete their own owner organization.
533
533
  *
534
- * @param {string} id - Unique identifier of the organization.
534
+ * @param {string} id - Unique identifier of the organization
535
535
  * @param {OrganizationClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
536
536
  *
537
537
  * @throws {@link Polytomic.ForbiddenError}
@@ -5,16 +5,16 @@
5
5
  * }
6
6
  */
7
7
  export interface CreateOrganizationRequestSchema {
8
- /** OIDC client ID issued by the identity provider. */
8
+ /** OIDC client ID issued by the identity provider */
9
9
  client_id?: string;
10
10
  /** OIDC client secret issued by the identity provider. Write-only; never returned in responses. */
11
11
  client_secret?: string;
12
- /** OIDC issuer URL for organizations using OpenID Connect single sign-on. */
12
+ /** OIDC issuer URL for organizations using OpenID Connect single sign-on */
13
13
  issuer?: string;
14
14
  /** Human-readable name of the organization. Must be unique across the partner account. */
15
15
  name: string;
16
- /** Email domain used to match users to this organization during SSO sign-in. */
16
+ /** Email domain used to match users to this organization during SSO sign-in */
17
17
  sso_domain?: string;
18
- /** WorkOS organization identifier linking this organization to its SAML/SSO configuration. */
18
+ /** WorkOS organization identifier linking this organization to its SAML/SSO configuration */
19
19
  sso_org_id?: string;
20
20
  }
@@ -5,16 +5,16 @@
5
5
  * }
6
6
  */
7
7
  export interface UpdateOrganizationRequestSchema {
8
- /** OIDC client ID issued by the identity provider. */
8
+ /** OIDC client ID issued by the identity provider */
9
9
  client_id?: string;
10
10
  /** OIDC client secret issued by the identity provider. Write-only; never returned in responses. */
11
11
  client_secret?: string;
12
- /** OIDC issuer URL for organizations using OpenID Connect single sign-on. */
12
+ /** OIDC issuer URL for organizations using OpenID Connect single sign-on */
13
13
  issuer?: string;
14
14
  /** Human-readable name of the organization. Must be unique across the partner account. */
15
15
  name: string;
16
- /** Email domain used to match users to this organization during SSO sign-in. */
16
+ /** Email domain used to match users to this organization during SSO sign-in */
17
17
  sso_domain?: string;
18
- /** WorkOS organization identifier linking this organization to its SAML/SSO configuration. */
18
+ /** WorkOS organization identifier linking this organization to its SAML/SSO configuration */
19
19
  sso_org_id?: string;
20
20
  }
@@ -9,6 +9,6 @@ export interface UpdateRecordLoggingSettingsRequest {
9
9
  deliveryConnectionId?: string;
10
10
  /** Path record logs are delivered under, ahead of the organization ID. Omit or send null for none; this field is replaced, not merged. */
11
11
  deliveryPrefix?: string;
12
- /** Whether record logging is enabled for the organization. */
12
+ /** Whether record logging is enabled for the organization */
13
13
  enabled: boolean;
14
14
  }
@@ -63,7 +63,7 @@ export declare class PoliciesClient {
63
63
  * Returns the full set of action/role bindings defined by the policy, including
64
64
  * the resources it applies to.
65
65
  *
66
- * @param {string} id
66
+ * @param {string} id - Policy ID
67
67
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
68
68
  *
69
69
  * @throws {@link Polytomic.NotFoundError}
@@ -85,7 +85,7 @@ export declare class PoliciesClient {
85
85
  * [`GET /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/get), modify the relevant bindings,
86
86
  * and send the complete object back.
87
87
  *
88
- * @param {string} id
88
+ * @param {string} id - Policy ID
89
89
  * @param {Polytomic.permissions.UpdatePolicyRequest} request
90
90
  * @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
91
91
  *
@@ -109,7 +109,7 @@ export declare class PoliciesClient {
109
109
  * Deletion is permanent. Any access that was granted solely through this policy
110
110
  * is revoked immediately for all users who depended on it.
111
111
  *
112
- * @param {string} id
112
+ * @param {string} id - Policy ID
113
113
  * @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
114
114
  *
115
115
  * @throws {@link Polytomic.ForbiddenError}
@@ -194,7 +194,7 @@ class PoliciesClient {
194
194
  * Returns the full set of action/role bindings defined by the policy, including
195
195
  * the resources it applies to.
196
196
  *
197
- * @param {string} id
197
+ * @param {string} id - Policy ID
198
198
  * @param {PoliciesClient.RequestOptions} requestOptions - Request-specific configuration.
199
199
  *
200
200
  * @throws {@link Polytomic.NotFoundError}
@@ -255,7 +255,7 @@ class PoliciesClient {
255
255
  * [`GET /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/get), modify the relevant bindings,
256
256
  * and send the complete object back.
257
257
  *
258
- * @param {string} id
258
+ * @param {string} id - Policy ID
259
259
  * @param {Polytomic.permissions.UpdatePolicyRequest} request
260
260
  * @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
261
261
  *
@@ -326,7 +326,7 @@ class PoliciesClient {
326
326
  * Deletion is permanent. Any access that was granted solely through this policy
327
327
  * is revoked immediately for all users who depended on it.
328
328
  *
329
- * @param {string} id
329
+ * @param {string} id - Policy ID
330
330
  * @param {PoliciesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
331
331
  *
332
332
  * @throws {@link Polytomic.ForbiddenError}
@@ -7,6 +7,7 @@ import type * as Polytomic from "../../../../../../index";
7
7
  */
8
8
  export interface CreatePolicyRequest {
9
9
  name: string;
10
+ /** Ignored for user and organization-scoped API keys, which always act in their own organization */
10
11
  organization_id?: string;
11
12
  policy_actions?: Polytomic.PolicyAction[];
12
13
  }
@@ -7,6 +7,7 @@ import type * as Polytomic from "../../../../../../index";
7
7
  */
8
8
  export interface UpdatePolicyRequest {
9
9
  name: string;
10
+ /** Ignored for user and organization-scoped API keys, which always act in their own organization */
10
11
  organization_id?: string;
11
12
  policy_actions?: Polytomic.PolicyAction[];
12
13
  }
@@ -64,7 +64,7 @@ export declare class RolesClient {
64
64
  *
65
65
  * Returns the role's name, action set, and whether it is a built-in system role.
66
66
  *
67
- * @param {string} id
67
+ * @param {string} id - Role ID
68
68
  * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
69
69
  *
70
70
  * @throws {@link Polytomic.NotFoundError}
@@ -84,7 +84,7 @@ export declare class RolesClient {
84
84
  * > 🚧 Built-in system roles (such as Admin and Member) cannot be updated.
85
85
  * > Attempting to modify a system role returns an error.
86
86
  *
87
- * @param {string} id
87
+ * @param {string} id - Role ID
88
88
  * @param {Polytomic.permissions.UpdateRoleRequest} request
89
89
  * @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
90
90
  *
@@ -113,7 +113,7 @@ export declare class RolesClient {
113
113
  * [`PUT /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/update) to avoid
114
114
  * leaving stale role references.
115
115
  *
116
- * @param {string} id
116
+ * @param {string} id - Role ID
117
117
  * @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
118
118
  *
119
119
  * @throws {@link Polytomic.ForbiddenError}
@@ -192,7 +192,7 @@ class RolesClient {
192
192
  *
193
193
  * Returns the role's name, action set, and whether it is a built-in system role.
194
194
  *
195
- * @param {string} id
195
+ * @param {string} id - Role ID
196
196
  * @param {RolesClient.RequestOptions} requestOptions - Request-specific configuration.
197
197
  *
198
198
  * @throws {@link Polytomic.NotFoundError}
@@ -249,7 +249,7 @@ class RolesClient {
249
249
  * > 🚧 Built-in system roles (such as Admin and Member) cannot be updated.
250
250
  * > Attempting to modify a system role returns an error.
251
251
  *
252
- * @param {string} id
252
+ * @param {string} id - Role ID
253
253
  * @param {Polytomic.permissions.UpdateRoleRequest} request
254
254
  * @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
255
255
  *
@@ -325,7 +325,7 @@ class RolesClient {
325
325
  * [`PUT /api/permissions/policies/{id}`](../../../../api-reference/permissions/policies/update) to avoid
326
326
  * leaving stale role references.
327
327
  *
328
- * @param {string} id
328
+ * @param {string} id - Role ID
329
329
  * @param {RolesClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
330
330
  *
331
331
  * @throws {@link Polytomic.ForbiddenError}
@@ -6,5 +6,6 @@
6
6
  */
7
7
  export interface CreateRoleRequest {
8
8
  name: string;
9
+ /** Ignored for user and organization-scoped API keys, which always act in their own organization */
9
10
  organization_id?: string;
10
11
  }
@@ -6,5 +6,6 @@
6
6
  */
7
7
  export interface UpdateRoleRequest {
8
8
  name: string;
9
+ /** Ignored for user and organization-scoped API keys, which always act in their own organization */
9
10
  organization_id?: string;
10
11
  }