polytomic 25.9.1 → 25.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +9 -0
- package/Client.js +37 -22
- package/api/errors/ServiceUnavailableError.d.ts +6 -0
- package/api/errors/ServiceUnavailableError.js +54 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/bulkSync/client/Client.d.ts +7 -4
- package/api/resources/bulkSync/client/Client.js +16 -11
- package/api/resources/bulkSync/client/requests/{BulkSyncRemoveRequest.d.ts → BulkSyncDeleteRequest.d.ts} +1 -1
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -1
- package/api/resources/bulkSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/bulkSync/resources/errorHandling/client/Client.js +185 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +8 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/bulkSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/errorHandling/index.js +17 -0
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +23 -6
- package/api/resources/bulkSync/resources/executions/client/Client.js +79 -6
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.d.ts +16 -0
- package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/index.d.ts +2 -0
- package/api/resources/bulkSync/resources/index.js +3 -1
- package/api/resources/connections/client/Client.d.ts +51 -150
- package/api/resources/connections/client/Client.js +104 -360
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +4 -0
- package/api/resources/connections/client/requests/{ConnectionsRemoveRequest.d.ts → ConnectionsDeleteRequest.d.ts} +1 -1
- package/api/resources/connections/client/requests/index.d.ts +1 -3
- package/api/resources/connections/exports.d.ts +1 -0
- package/api/resources/connections/exports.js +1 -0
- package/api/resources/connections/index.d.ts +1 -0
- package/api/resources/connections/index.js +1 -0
- package/api/resources/connections/resources/index.d.ts +4 -0
- package/api/resources/connections/resources/index.js +43 -0
- package/api/resources/connections/resources/proxy/client/Client.d.ts +153 -0
- package/api/resources/connections/resources/proxy/client/Client.js +399 -0
- package/api/resources/connections/resources/proxy/client/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/client/index.js +17 -0
- package/api/resources/connections/{client → resources/proxy/client}/requests/ExecuteConnectionProxyRequest.d.ts +3 -1
- package/api/resources/connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.d.ts +10 -0
- package/api/resources/connections/resources/proxy/client/requests/index.d.ts +2 -0
- package/api/resources/connections/resources/proxy/client/requests/index.js +2 -0
- package/api/resources/connections/resources/proxy/exports.d.ts +2 -0
- package/api/resources/connections/resources/proxy/exports.js +21 -0
- package/api/resources/connections/resources/proxy/index.d.ts +1 -0
- package/api/resources/connections/resources/proxy/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.d.ts +83 -0
- package/api/resources/connections/resources/sharedConnections/client/Client.js +267 -0
- package/api/resources/connections/resources/sharedConnections/client/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/index.js +17 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/client/requests/index.js +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.d.ts +2 -0
- package/api/resources/connections/resources/sharedConnections/exports.js +21 -0
- package/api/resources/connections/resources/sharedConnections/index.d.ts +1 -0
- package/api/resources/connections/resources/sharedConnections/index.js +17 -0
- package/api/resources/entities/client/Client.d.ts +11 -2
- package/api/resources/entities/client/Client.js +11 -2
- package/api/resources/harbors/client/Client.d.ts +786 -0
- package/api/resources/harbors/client/Client.js +2358 -0
- package/api/resources/harbors/client/index.d.ts +1 -0
- package/api/resources/harbors/client/index.js +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextDraftRequest.d.ts +17 -0
- package/api/resources/harbors/client/requests/CreateHarborContextRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/CreateHarborRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/HarborsCloseSessionRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsDeleteContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedConnectionsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListAuthorizedSchemasRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListContextDraftsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/HarborsListContextVersionsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.d.ts +15 -0
- package/api/resources/harbors/client/requests/HarborsListContextsRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListKeysRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.d.ts +13 -0
- package/api/resources/harbors/client/requests/HarborsListUsersRequest.js +3 -0
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +8 -0
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/InviteHarborUserRequest.d.ts +10 -0
- package/api/resources/harbors/client/requests/InviteHarborUserRequest.js +3 -0
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.d.ts +17 -0
- package/api/resources/harbors/client/requests/RegisterHarborSessionRequest.js +3 -0
- package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.d.ts +9 -0
- package/api/resources/harbors/client/requests/ResolveHarborSourceMappingsRequest.js +3 -0
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/SaveHarborContextDraftRequest.js +3 -0
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.d.ts +19 -0
- package/api/resources/harbors/client/requests/SaveHarborContextRequest.js +3 -0
- package/api/resources/harbors/client/requests/UpdateHarborRequest.d.ts +12 -0
- package/api/resources/harbors/client/requests/UpdateHarborRequest.js +3 -0
- package/api/resources/harbors/client/requests/index.d.ts +25 -0
- package/api/resources/harbors/client/requests/index.js +2 -0
- package/api/resources/harbors/exports.d.ts +2 -0
- package/api/resources/harbors/exports.js +21 -0
- package/api/resources/harbors/index.d.ts +1 -0
- package/api/resources/harbors/index.js +17 -0
- package/api/resources/index.d.ts +6 -0
- package/api/resources/index.js +7 -1
- package/api/resources/jobs/client/Client.d.ts +1 -1
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.d.ts +13 -10
- package/api/resources/modelSync/client/Client.js +33 -15
- package/api/resources/modelSync/client/requests/{CreateSyncRequest.d.ts → CreateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/CreateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/{UpdateSyncRequest.d.ts → UpdateModelSyncV5Request.d.ts} +8 -6
- package/api/resources/modelSync/client/requests/UpdateModelSyncV5Request.js +3 -0
- package/api/resources/modelSync/client/requests/index.d.ts +2 -2
- package/api/resources/modelSync/resources/errorHandling/client/Client.d.ts +47 -0
- package/api/resources/modelSync/resources/errorHandling/client/Client.js +179 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/index.js +17 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.d.ts +14 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/UpdateSyncErrorHandlingRequest.js +3 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/client/requests/index.js +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.d.ts +2 -0
- package/api/resources/modelSync/resources/errorHandling/exports.js +21 -0
- package/api/resources/modelSync/resources/errorHandling/index.d.ts +1 -0
- package/api/resources/modelSync/resources/errorHandling/index.js +17 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +21 -6
- package/api/resources/modelSync/resources/executions/client/Client.js +60 -6
- package/api/resources/modelSync/resources/index.d.ts +2 -0
- package/api/resources/modelSync/resources/index.js +3 -1
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +40 -5
- package/api/resources/modelSync/resources/targets/client/Client.js +59 -12
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +5 -3
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.d.ts +10 -0
- package/api/resources/modelSync/resources/targets/client/requests/TargetsListRequest.js +3 -0
- package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -0
- package/api/resources/models/client/Client.d.ts +4 -4
- package/api/resources/models/client/Client.js +5 -5
- package/api/resources/models/client/requests/{ModelsRemoveRequest.d.ts → ModelsDeleteRequest.d.ts} +1 -1
- package/api/resources/models/client/requests/ModelsDeleteRequest.js +3 -0
- package/api/resources/models/client/requests/index.d.ts +1 -1
- package/api/resources/organization/client/Client.d.ts +36 -3
- package/api/resources/organization/client/Client.js +133 -4
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.d.ts +12 -0
- package/api/resources/organization/client/requests/UpdateRecordLoggingSettingsRequest.js +3 -0
- package/api/resources/organization/client/requests/index.d.ts +1 -0
- package/api/resources/permissions/resources/policies/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/policies/client/Client.js +4 -4
- package/api/resources/permissions/resources/roles/client/Client.d.ts +3 -3
- package/api/resources/permissions/resources/roles/client/Client.js +4 -4
- package/api/resources/recordViewLinks/client/Client.d.ts +59 -0
- package/api/resources/recordViewLinks/client/Client.js +210 -0
- package/api/resources/recordViewLinks/client/index.d.ts +1 -0
- package/api/resources/recordViewLinks/client/index.js +17 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +25 -0
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.d.ts +15 -0
- package/api/resources/recordViewLinks/client/requests/RecordViewLinksGetCapabilitiesRequest.js +3 -0
- package/api/resources/recordViewLinks/client/requests/index.d.ts +2 -0
- package/api/resources/recordViewLinks/client/requests/index.js +2 -0
- package/api/resources/recordViewLinks/exports.d.ts +2 -0
- package/api/resources/recordViewLinks/exports.js +21 -0
- package/api/resources/recordViewLinks/index.d.ts +1 -0
- package/api/resources/recordViewLinks/index.js +17 -0
- package/api/resources/schemas/client/Client.d.ts +18 -0
- package/api/resources/schemas/client/Client.js +66 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.d.ts +16 -0
- package/api/resources/schemas/client/requests/PatchSchemaFieldRequest.js +3 -0
- package/api/resources/schemas/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/Client.d.ts +79 -0
- package/api/resources/temporaryCredentials/client/Client.js +177 -0
- package/api/resources/temporaryCredentials/client/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/index.js +17 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts +16 -0
- package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.js +3 -0
- package/api/resources/temporaryCredentials/client/requests/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/client/requests/index.js +2 -0
- package/api/resources/temporaryCredentials/exports.d.ts +2 -0
- package/api/resources/temporaryCredentials/exports.js +21 -0
- package/api/resources/temporaryCredentials/index.d.ts +1 -0
- package/api/resources/temporaryCredentials/index.js +17 -0
- package/api/resources/users/client/Client.d.ts +8 -8
- package/api/resources/users/client/Client.js +12 -9
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +4 -4
- package/api/types/BackendConnectionCapabilities.d.ts +1 -0
- package/api/types/BulkSyncErrorHandling.d.ts +4 -0
- package/api/types/BulkSyncErrorHandling.js +3 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/BulkSyncErrorHandlingEnvelope.js +3 -0
- package/api/types/BulkSyncExecution.d.ts +2 -0
- package/api/types/BulkSyncSchemaExecution.d.ts +2 -0
- package/api/types/BulkSyncSourceCapabilities.d.ts +2 -0
- package/api/types/CloseHarborSessionEnvelope.d.ts +9 -0
- package/api/types/CloseHarborSessionEnvelope.js +3 -0
- package/api/types/ConnectCardResponse.d.ts +2 -2
- package/api/types/ConnectSessionResponse.d.ts +22 -0
- package/api/types/ConnectSessionResponse.js +3 -0
- package/api/types/ConnectSessionResponseEnvelope.d.ts +4 -0
- package/api/types/ConnectSessionResponseEnvelope.js +3 -0
- package/api/types/ConnectionParameterValue.d.ts +1 -0
- package/api/types/ConnectionProxyResponse.d.ts +7 -1
- package/api/types/ConnectionProxySettingsEnvelope.d.ts +4 -0
- package/api/types/ConnectionProxySettingsEnvelope.js +3 -0
- package/api/types/ConnectionProxySettingsResponse.d.ts +12 -0
- package/api/types/ConnectionProxySettingsResponse.js +3 -0
- package/api/types/ConnectionType.d.ts +1 -0
- package/api/types/ConnectionTypeSchema.d.ts +1 -0
- package/api/types/ConnectionUsageCategoryStats.d.ts +8 -0
- package/api/types/ConnectionUsageCategoryStats.js +3 -0
- package/api/types/ConnectionUsageResponse.d.ts +11 -0
- package/api/types/ConnectionUsageResponse.js +3 -0
- package/api/types/ConnectionUsageSyncStats.d.ts +15 -0
- package/api/types/ConnectionUsageSyncStats.js +3 -0
- package/api/types/CreateHarborEnvelope.d.ts +4 -0
- package/api/types/CreateHarborEnvelope.js +3 -0
- package/api/types/CreateHarborResponse.d.ts +5 -0
- package/api/types/CreateHarborResponse.js +3 -0
- package/api/types/CreateRecordViewLinkEnvelope.d.ts +4 -0
- package/api/types/CreateRecordViewLinkEnvelope.js +3 -0
- package/api/types/CreateRecordViewLinkResponse.d.ts +10 -0
- package/api/types/CreateRecordViewLinkResponse.js +3 -0
- package/api/types/CurrentOrgListUsersEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgListUsersEnvelope.js +3 -0
- package/api/types/CurrentOrgUserEnvelope.d.ts +4 -0
- package/api/types/CurrentOrgUserEnvelope.js +3 -0
- package/api/types/CurrentOrgUserResponse.d.ts +16 -0
- package/api/types/CurrentOrgUserResponse.js +3 -0
- package/api/types/DeletedHarborContextDraftEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextDraftEnvelope.js +3 -0
- package/api/types/DeletedHarborContextEnvelope.d.ts +9 -0
- package/api/types/DeletedHarborContextEnvelope.js +3 -0
- package/api/types/DeletedHarborEnvelope.d.ts +4 -0
- package/api/types/DeletedHarborEnvelope.js +3 -0
- package/api/types/DeletedHarborResponse.d.ts +4 -0
- package/api/types/DeletedHarborResponse.js +3 -0
- package/api/types/EntityResponse.d.ts +2 -2
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +2 -0
- package/api/types/EventingBulkSyncSchedule.d.ts +4 -0
- package/api/types/EventingBulkSyncSchedule.js +3 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +3 -0
- package/api/types/EventingSyncSchedule.d.ts +3 -0
- package/api/types/EventingSyncSchedule.js +3 -0
- package/api/types/Filter.d.ts +3 -2
- package/api/types/GetConnectionUsageEnvelope.d.ts +4 -0
- package/api/types/GetConnectionUsageEnvelope.js +3 -0
- package/api/types/GetExecutionResponseSchema.d.ts +2 -0
- package/api/types/GetIdentityResponseSchema.d.ts +2 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.d.ts +4 -0
- package/api/types/GetRecordViewCapabilitiesEnvelope.js +3 -0
- package/api/types/HarborApiKeyCreatedResponse.d.ts +10 -0
- package/api/types/HarborApiKeyCreatedResponse.js +3 -0
- package/api/types/HarborConnectionListEnvelope.d.ts +5 -0
- package/api/types/HarborConnectionListEnvelope.js +3 -0
- package/api/types/HarborConnectionResponse.d.ts +6 -0
- package/api/types/HarborConnectionResponse.js +3 -0
- package/api/types/HarborConnectionSchemaEnvelope.d.ts +4 -0
- package/api/types/HarborConnectionSchemaEnvelope.js +3 -0
- package/api/types/HarborContextDraftEnvelope.d.ts +4 -0
- package/api/types/HarborContextDraftEnvelope.js +3 -0
- package/api/types/HarborContextDraftListEnvelope.d.ts +5 -0
- package/api/types/HarborContextDraftListEnvelope.js +3 -0
- package/api/types/HarborContextDraftMetadataResponse.d.ts +26 -0
- package/api/types/HarborContextDraftMetadataResponse.js +3 -0
- package/api/types/HarborContextDraftResponse.d.ts +28 -0
- package/api/types/HarborContextDraftResponse.js +3 -0
- package/api/types/HarborContextEnvelope.d.ts +4 -0
- package/api/types/HarborContextEnvelope.js +3 -0
- package/api/types/HarborContextListEnvelope.d.ts +5 -0
- package/api/types/HarborContextListEnvelope.js +3 -0
- package/api/types/HarborContextMetadataResponse.d.ts +16 -0
- package/api/types/HarborContextMetadataResponse.js +3 -0
- package/api/types/HarborContextResponse.d.ts +18 -0
- package/api/types/HarborContextResponse.js +3 -0
- package/api/types/HarborContextVersionEnvelope.d.ts +4 -0
- package/api/types/HarborContextVersionEnvelope.js +3 -0
- package/api/types/HarborContextVersionListEnvelope.d.ts +5 -0
- package/api/types/HarborContextVersionListEnvelope.js +3 -0
- package/api/types/HarborContextVersionMetadataResponse.d.ts +18 -0
- package/api/types/HarborContextVersionMetadataResponse.js +3 -0
- package/api/types/HarborContextVersionResponse.d.ts +20 -0
- package/api/types/HarborContextVersionResponse.js +3 -0
- package/api/types/HarborDatasetStatusResponse.d.ts +8 -0
- package/api/types/HarborDatasetStatusResponse.js +3 -0
- package/api/types/HarborEnvelope.d.ts +4 -0
- package/api/types/HarborEnvelope.js +3 -0
- package/api/types/HarborKeyEnvelope.d.ts +4 -0
- package/api/types/HarborKeyEnvelope.js +3 -0
- package/api/types/HarborKeyListEnvelope.d.ts +5 -0
- package/api/types/HarborKeyListEnvelope.js +3 -0
- package/api/types/HarborKeyResponse.d.ts +16 -0
- package/api/types/HarborKeyResponse.js +3 -0
- package/api/types/HarborListEnvelope.d.ts +5 -0
- package/api/types/HarborListEnvelope.js +3 -0
- package/api/types/HarborPipelineStatusResponse.d.ts +21 -0
- package/api/types/HarborPipelineStatusResponse.js +12 -0
- package/api/types/HarborResponse.d.ts +20 -0
- package/api/types/HarborResponse.js +3 -0
- package/api/types/HarborSchemaListEnvelope.d.ts +6 -0
- package/api/types/HarborSchemaListEnvelope.js +3 -0
- package/api/types/HarborSchemaResponse.d.ts +4 -0
- package/api/types/HarborSchemaResponse.js +3 -0
- package/api/types/HarborSourceMappingResponse.d.ts +8 -0
- package/api/types/HarborSourceMappingResponse.js +3 -0
- package/api/types/HarborSourceReference.d.ts +8 -0
- package/api/types/HarborSourceReference.js +3 -0
- package/api/types/HarborStatusEnvelope.d.ts +4 -0
- package/api/types/HarborStatusEnvelope.js +3 -0
- package/api/types/HarborStatusResponse.d.ts +7 -0
- package/api/types/HarborStatusResponse.js +3 -0
- package/api/types/HarborStatusScheduleResponse.d.ts +28 -0
- package/api/types/HarborStatusScheduleResponse.js +3 -0
- package/api/types/HarborUserEnvelope.d.ts +4 -0
- package/api/types/HarborUserEnvelope.js +3 -0
- package/api/types/HarborUserListEnvelope.d.ts +5 -0
- package/api/types/HarborUserListEnvelope.js +3 -0
- package/api/types/HarborUserResponse.d.ts +16 -0
- package/api/types/HarborUserResponse.js +3 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.d.ts +12 -0
- package/api/types/IdentityCredentialApiKeyProfileSchema.js +3 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.d.ts +5 -0
- package/api/types/IdentityCredentialCapabilitiesSchema.js +3 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.d.ts +4 -0
- package/api/types/IdentityCredentialConnectionCapabilitySchema.js +3 -0
- package/api/types/IdentityCredentialHarborSchema.d.ts +10 -0
- package/api/types/IdentityCredentialHarborSchema.js +3 -0
- package/api/types/IdentityCredentialSchema.d.ts +13 -0
- package/api/types/IdentityCredentialSchema.js +3 -0
- package/api/types/IdentityFunction.d.ts +2 -0
- package/api/types/LogsIndexEntry.d.ts +6 -0
- package/api/types/LogsIndexEntry.js +3 -0
- package/api/types/LogsIndexResponse.d.ts +9 -0
- package/api/types/LogsIndexResponse.js +3 -0
- package/api/types/LogsIndexResponseEnvelope.d.ts +4 -0
- package/api/types/LogsIndexResponseEnvelope.js +3 -0
- package/api/types/Mode.d.ts +6 -0
- package/api/types/ModelFilterCondition.d.ts +11 -0
- package/api/types/ModelFilterCondition.js +3 -0
- package/api/types/ModelFilters.d.ts +10 -0
- package/api/types/ModelFilters.js +3 -0
- package/api/types/{SyncResponse.d.ts → ModelSyncV5Response.d.ts} +7 -3
- package/api/types/ModelSyncV5Response.js +3 -0
- package/api/types/ModelSyncV5ResponseEnvelope.d.ts +4 -0
- package/api/types/ModelSyncV5ResponseEnvelope.js +3 -0
- package/api/types/{Target.d.ts → ModelSyncV5Target.d.ts} +2 -1
- package/api/types/ModelSyncV5Target.js +3 -0
- package/api/types/OverrideField.d.ts +13 -0
- package/api/types/OverrideField.js +3 -0
- package/api/types/OverrideFieldInput.d.ts +18 -0
- package/api/types/OverrideFieldInput.js +3 -0
- package/api/types/RecordLoggingSettingsEnvelope.d.ts +4 -0
- package/api/types/RecordLoggingSettingsEnvelope.js +3 -0
- package/api/types/RecordLoggingSettingsResponse.d.ts +8 -0
- package/api/types/RecordLoggingSettingsResponse.js +3 -0
- package/api/types/RecordviewCapabilities.d.ts +12 -0
- package/api/types/RecordviewCapabilities.js +3 -0
- package/api/types/RegisterHarborSessionEnvelope.d.ts +4 -0
- package/api/types/RegisterHarborSessionEnvelope.js +3 -0
- package/api/types/RegisterHarborSessionResponse.d.ts +6 -0
- package/api/types/RegisterHarborSessionResponse.js +3 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.d.ts +12 -0
- package/api/types/ResolveHarborSourceMappingsEnvelope.js +3 -0
- package/api/types/RevokedHarborKeyEnvelope.d.ts +9 -0
- package/api/types/RevokedHarborKeyEnvelope.js +3 -0
- package/api/types/SchemaField.d.ts +5 -1
- package/api/types/SchemaFieldResponseEnvelope.d.ts +4 -0
- package/api/types/SchemaFieldResponseEnvelope.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +15 -0
- package/api/types/SyncErrorHandling.d.ts +10 -0
- package/api/types/SyncErrorHandling.js +3 -0
- package/api/types/SyncErrorHandlingEnvelope.d.ts +4 -0
- package/api/types/SyncErrorHandlingEnvelope.js +3 -0
- package/api/types/SyncField.d.ts +1 -1
- package/api/types/TargetCreator.d.ts +1 -1
- package/api/types/TargetField.d.ts +15 -0
- package/api/types/TargetFilterCondition.d.ts +13 -0
- package/api/types/TargetFilterCondition.js +3 -0
- package/api/types/TargetFilters.d.ts +10 -0
- package/api/types/TargetFilters.js +3 -0
- package/api/types/TargetResponse.d.ts +5 -0
- package/api/types/TemporaryCredentialResponse.d.ts +10 -0
- package/api/types/TemporaryCredentialResponse.js +3 -0
- package/api/types/TemporaryCredentialResponseEnvelope.d.ts +4 -0
- package/api/types/TemporaryCredentialResponseEnvelope.js +3 -0
- package/api/types/TemporaryCredentialSubject.d.ts +26 -0
- package/api/types/TemporaryCredentialSubject.js +17 -0
- package/api/types/TypesDefinition.d.ts +1 -0
- package/api/types/TypesDefinition.js +3 -0
- package/api/types/UnassignedHarborUserEnvelope.d.ts +9 -0
- package/api/types/UnassignedHarborUserEnvelope.js +3 -0
- package/api/types/index.d.ts +91 -4
- package/api/types/index.js +91 -4
- package/package.json +1 -1
- package/reference.md +5057 -1352
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/SyncResponseEnvelope.d.ts +0 -4
- package/api/types/TargetCreateInput.d.ts +0 -8
- /package/api/resources/bulkSync/client/requests/{BulkSyncRemoveRequest.js → BulkSyncDeleteRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/ConnectionsRemoveRequest.js → bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/ExecuteConnectionProxyRequest.js → bulkSync/resources/executions/client/requests/ExecutionsGetIngestConsoleLogsRequest.js} +0 -0
- /package/api/resources/connections/client/requests/{PartnerCreateSharedConnectionRequestSchema.js → ConnectionsDeleteRequest.js} +0 -0
- /package/api/resources/{modelSync/client/requests/CreateSyncRequest.js → connections/resources/proxy/client/requests/ExecuteConnectionProxyRequest.js} +0 -0
- /package/api/resources/{modelSync/client/requests/UpdateSyncRequest.js → connections/resources/proxy/client/requests/UpdateConnectionProxySettingsRequest.js} +0 -0
- /package/api/resources/connections/{client → resources/sharedConnections/client}/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +0 -0
- /package/api/resources/{models/client/requests/ModelsRemoveRequest.js → connections/resources/sharedConnections/client/requests/PartnerCreateSharedConnectionRequestSchema.js} +0 -0
- /package/api/{types/SyncResponse.js → resources/harbors/client/requests/CreateHarborContextDraftRequest.js} +0 -0
- /package/api/{types/SyncResponseEnvelope.js → resources/harbors/client/requests/CreateHarborContextRequest.js} +0 -0
- /package/api/{types/Target.js → resources/harbors/client/requests/CreateHarborRequest.js} +0 -0
- /package/api/{types/TargetCreateInput.js → resources/harbors/client/requests/HarborsCloseSessionRequest.js} +0 -0
|
@@ -65,6 +65,24 @@ export declare class SchemasClient {
|
|
|
65
65
|
*/
|
|
66
66
|
deleteField(connection_id: string, schema_id: string, field_id: string, requestOptions?: SchemasClient.IdempotentRequestOptions): core.HttpResponsePromise<void>;
|
|
67
67
|
private __deleteField;
|
|
68
|
+
/**
|
|
69
|
+
* Edits a single field on a schema, creating an override for a detected field if needed.
|
|
70
|
+
*
|
|
71
|
+
* @param {string} connection_id - Connection holding the schema.
|
|
72
|
+
* @param {string} schema_id - Schema identifier.
|
|
73
|
+
* @param {string} field_id - Field identifier within the schema.
|
|
74
|
+
* @param {Polytomic.PatchSchemaFieldRequest} request
|
|
75
|
+
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
78
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
79
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
80
|
+
*
|
|
81
|
+
* @example
|
|
82
|
+
* await client.schemas.patchField("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id", "field_id")
|
|
83
|
+
*/
|
|
84
|
+
patchField(connection_id: string, schema_id: string, field_id: string, request?: Polytomic.PatchSchemaFieldRequest, requestOptions?: SchemasClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.SchemaFieldResponseEnvelope>;
|
|
85
|
+
private __patchField;
|
|
68
86
|
/**
|
|
69
87
|
* Overrides the primary key detected on a schema.
|
|
70
88
|
*
|
|
@@ -195,6 +195,72 @@ class SchemasClient {
|
|
|
195
195
|
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/api/connections/{connection_id}/schemas/{schema_id}/fields/{field_id}");
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* Edits a single field on a schema, creating an override for a detected field if needed.
|
|
200
|
+
*
|
|
201
|
+
* @param {string} connection_id - Connection holding the schema.
|
|
202
|
+
* @param {string} schema_id - Schema identifier.
|
|
203
|
+
* @param {string} field_id - Field identifier within the schema.
|
|
204
|
+
* @param {Polytomic.PatchSchemaFieldRequest} request
|
|
205
|
+
* @param {SchemasClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
206
|
+
*
|
|
207
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
208
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
209
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
210
|
+
*
|
|
211
|
+
* @example
|
|
212
|
+
* await client.schemas.patchField("248df4b7-aa70-47b8-a036-33ac447e668d", "schema_id", "field_id")
|
|
213
|
+
*/
|
|
214
|
+
patchField(connection_id, schema_id, field_id, request = {}, requestOptions) {
|
|
215
|
+
return core.HttpResponsePromise.fromPromise(this.__patchField(connection_id, schema_id, field_id, request, requestOptions));
|
|
216
|
+
}
|
|
217
|
+
__patchField(connection_id_1, schema_id_1, field_id_1) {
|
|
218
|
+
return __awaiter(this, arguments, void 0, function* (connection_id, schema_id, field_id, request = {}, requestOptions) {
|
|
219
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
220
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
221
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
222
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
223
|
+
"X-Polytomic-Version": (_d = (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : "2025-09-18",
|
|
224
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
225
|
+
const _response = yield core.fetcher({
|
|
226
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, `api/connections/${core.url.encodePathParam(connection_id)}/schemas/${core.url.encodePathParam(schema_id)}/fields/${core.url.encodePathParam(field_id)}`),
|
|
227
|
+
method: "PATCH",
|
|
228
|
+
headers: _headers,
|
|
229
|
+
contentType: "application/json",
|
|
230
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
231
|
+
requestType: "json",
|
|
232
|
+
body: request,
|
|
233
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
234
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
235
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
236
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
237
|
+
logging: this._options.logging,
|
|
238
|
+
});
|
|
239
|
+
if (_response.ok) {
|
|
240
|
+
return {
|
|
241
|
+
data: _response.body,
|
|
242
|
+
rawResponse: _response.rawResponse,
|
|
243
|
+
};
|
|
244
|
+
}
|
|
245
|
+
if (_response.error.reason === "status-code") {
|
|
246
|
+
switch (_response.error.statusCode) {
|
|
247
|
+
case 400:
|
|
248
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
249
|
+
case 404:
|
|
250
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
251
|
+
case 500:
|
|
252
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
253
|
+
default:
|
|
254
|
+
throw new errors.PolytomicError({
|
|
255
|
+
statusCode: _response.error.statusCode,
|
|
256
|
+
body: _response.error.body,
|
|
257
|
+
rawResponse: _response.rawResponse,
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PATCH", "/api/connections/{connection_id}/schemas/{schema_id}/fields/{field_id}");
|
|
262
|
+
});
|
|
263
|
+
}
|
|
198
264
|
/**
|
|
199
265
|
* Overrides the primary key detected on a schema.
|
|
200
266
|
*
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Polytomic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {}
|
|
5
|
+
*/
|
|
6
|
+
export interface PatchSchemaFieldRequest {
|
|
7
|
+
definition?: Polytomic.TypesDefinition;
|
|
8
|
+
/** Sample value surfaced in the UI. */
|
|
9
|
+
example?: unknown;
|
|
10
|
+
/** Human-readable label for the field. */
|
|
11
|
+
label?: string;
|
|
12
|
+
/** JSONPath used to extract the field from each source record; only meaningful for document-style backends. Pass an empty string to clear an existing path. */
|
|
13
|
+
path?: string;
|
|
14
|
+
/** One of: string, number, boolean, datetime, array, object, binary. Changing the type without supplying a matching definition clears any prior detailed type metadata. */
|
|
15
|
+
type?: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseIdempotentRequestOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as Polytomic from "../../../index";
|
|
5
|
+
export declare namespace TemporaryCredentialsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
interface IdempotentRequestOptions extends RequestOptions, BaseIdempotentRequestOptions {
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
export declare class TemporaryCredentialsClient {
|
|
13
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<TemporaryCredentialsClient.Options>;
|
|
14
|
+
constructor(options?: TemporaryCredentialsClient.Options);
|
|
15
|
+
/**
|
|
16
|
+
* @beta This endpoint is in pre-release and may change.
|
|
17
|
+
*
|
|
18
|
+
* Issues a non-renewable credential with a bounded lifetime for a user or Agent Data profile.
|
|
19
|
+
*
|
|
20
|
+
* The response contains the credential secret once. Store it securely and send it
|
|
21
|
+
* as a Bearer token in the `Authorization` header.
|
|
22
|
+
*
|
|
23
|
+
* Set `subject.type` to `user` to issue a credential for your authenticated user.
|
|
24
|
+
* Omit `organization_id` and `user_id`; Polytomic derives both values from your
|
|
25
|
+
* credential. Set `mode` to `read_only` to limit the credential to the
|
|
26
|
+
* intersection of the user's current permissions and read-only actions. A
|
|
27
|
+
* read-only caller can issue only read-only credentials.
|
|
28
|
+
*
|
|
29
|
+
* Partner callers must provide both `organization_id` and `user_id`. The target
|
|
30
|
+
* must be an active user in an organization owned by the partner. User subjects
|
|
31
|
+
* must be application users; Agent Data portal-only users continue to use profile
|
|
32
|
+
* credentials.
|
|
33
|
+
*
|
|
34
|
+
* User credentials resolve the subject's current permissions on every request.
|
|
35
|
+
* Permission changes take effect immediately, and deleting the user invalidates
|
|
36
|
+
* the credential.
|
|
37
|
+
*
|
|
38
|
+
* Set `subject.type` to `profile` and provide the Agent Data profile ID. The
|
|
39
|
+
* credential uses the profile's current connection access on every request;
|
|
40
|
+
* changes take effect immediately, and deleting the profile invalidates the
|
|
41
|
+
* credential.
|
|
42
|
+
*
|
|
43
|
+
* A temporary credential stops authenticating at `expires_at`. It cannot be
|
|
44
|
+
* refreshed, extended, or used to create another temporary credential. Create a
|
|
45
|
+
* new credential with a durable authorized credential when you need a later
|
|
46
|
+
* expiration.
|
|
47
|
+
*
|
|
48
|
+
* Each organization may have up to 1,000 active temporary credentials. The
|
|
49
|
+
* endpoint returns `429 Too Many Requests` at the limit. Expired credentials stop
|
|
50
|
+
* counting toward the limit immediately, before periodic cleanup removes them.
|
|
51
|
+
*
|
|
52
|
+
* > ⚠️ Session names are audit labels
|
|
53
|
+
* >
|
|
54
|
+
* > Use `session_name` only for non-sensitive job or agent-session correlation.
|
|
55
|
+
* > Do not include secrets or personal data.
|
|
56
|
+
*
|
|
57
|
+
* Polytomic periodically removes expired credential records. API usage history
|
|
58
|
+
* keeps its credential ID according to the normal API usage retention period.
|
|
59
|
+
*
|
|
60
|
+
* @param {Polytomic.CreateTemporaryCredentialRequest} request
|
|
61
|
+
* @param {TemporaryCredentialsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
64
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
65
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
66
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
67
|
+
* @throws {@link Polytomic.TooManyRequestsError}
|
|
68
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* await client.temporaryCredentials.create({
|
|
72
|
+
* subject: {
|
|
73
|
+
* type: "user"
|
|
74
|
+
* }
|
|
75
|
+
* })
|
|
76
|
+
*/
|
|
77
|
+
create(request: Polytomic.CreateTemporaryCredentialRequest, requestOptions?: TemporaryCredentialsClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.TemporaryCredentialResponseEnvelope>;
|
|
78
|
+
private __create;
|
|
79
|
+
}
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
37
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
38
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
39
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
40
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
41
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
42
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
43
|
+
});
|
|
44
|
+
};
|
|
45
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
+
exports.TemporaryCredentialsClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../BaseClient");
|
|
48
|
+
const core = __importStar(require("../../../../core"));
|
|
49
|
+
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
52
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
53
|
+
const Polytomic = __importStar(require("../../../index"));
|
|
54
|
+
class TemporaryCredentialsClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @beta This endpoint is in pre-release and may change.
|
|
60
|
+
*
|
|
61
|
+
* Issues a non-renewable credential with a bounded lifetime for a user or Agent Data profile.
|
|
62
|
+
*
|
|
63
|
+
* The response contains the credential secret once. Store it securely and send it
|
|
64
|
+
* as a Bearer token in the `Authorization` header.
|
|
65
|
+
*
|
|
66
|
+
* Set `subject.type` to `user` to issue a credential for your authenticated user.
|
|
67
|
+
* Omit `organization_id` and `user_id`; Polytomic derives both values from your
|
|
68
|
+
* credential. Set `mode` to `read_only` to limit the credential to the
|
|
69
|
+
* intersection of the user's current permissions and read-only actions. A
|
|
70
|
+
* read-only caller can issue only read-only credentials.
|
|
71
|
+
*
|
|
72
|
+
* Partner callers must provide both `organization_id` and `user_id`. The target
|
|
73
|
+
* must be an active user in an organization owned by the partner. User subjects
|
|
74
|
+
* must be application users; Agent Data portal-only users continue to use profile
|
|
75
|
+
* credentials.
|
|
76
|
+
*
|
|
77
|
+
* User credentials resolve the subject's current permissions on every request.
|
|
78
|
+
* Permission changes take effect immediately, and deleting the user invalidates
|
|
79
|
+
* the credential.
|
|
80
|
+
*
|
|
81
|
+
* Set `subject.type` to `profile` and provide the Agent Data profile ID. The
|
|
82
|
+
* credential uses the profile's current connection access on every request;
|
|
83
|
+
* changes take effect immediately, and deleting the profile invalidates the
|
|
84
|
+
* credential.
|
|
85
|
+
*
|
|
86
|
+
* A temporary credential stops authenticating at `expires_at`. It cannot be
|
|
87
|
+
* refreshed, extended, or used to create another temporary credential. Create a
|
|
88
|
+
* new credential with a durable authorized credential when you need a later
|
|
89
|
+
* expiration.
|
|
90
|
+
*
|
|
91
|
+
* Each organization may have up to 1,000 active temporary credentials. The
|
|
92
|
+
* endpoint returns `429 Too Many Requests` at the limit. Expired credentials stop
|
|
93
|
+
* counting toward the limit immediately, before periodic cleanup removes them.
|
|
94
|
+
*
|
|
95
|
+
* > ⚠️ Session names are audit labels
|
|
96
|
+
* >
|
|
97
|
+
* > Use `session_name` only for non-sensitive job or agent-session correlation.
|
|
98
|
+
* > Do not include secrets or personal data.
|
|
99
|
+
*
|
|
100
|
+
* Polytomic periodically removes expired credential records. API usage history
|
|
101
|
+
* keeps its credential ID according to the normal API usage retention period.
|
|
102
|
+
*
|
|
103
|
+
* @param {Polytomic.CreateTemporaryCredentialRequest} request
|
|
104
|
+
* @param {TemporaryCredentialsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
105
|
+
*
|
|
106
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
107
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
108
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
109
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
110
|
+
* @throws {@link Polytomic.TooManyRequestsError}
|
|
111
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* await client.temporaryCredentials.create({
|
|
115
|
+
* subject: {
|
|
116
|
+
* type: "user"
|
|
117
|
+
* }
|
|
118
|
+
* })
|
|
119
|
+
*/
|
|
120
|
+
create(request, requestOptions) {
|
|
121
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
122
|
+
}
|
|
123
|
+
__create(request, requestOptions) {
|
|
124
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
125
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
126
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
127
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
128
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
129
|
+
"X-Polytomic-Version": (_d = (_b = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.version) !== null && _b !== void 0 ? _b : (_c = this._options) === null || _c === void 0 ? void 0 : _c.version) !== null && _d !== void 0 ? _d : "2025-09-18",
|
|
130
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
131
|
+
const _response = yield core.fetcher({
|
|
132
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, "api/temporary-credentials"),
|
|
133
|
+
method: "POST",
|
|
134
|
+
headers: _headers,
|
|
135
|
+
contentType: "application/json",
|
|
136
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
137
|
+
requestType: "json",
|
|
138
|
+
body: request,
|
|
139
|
+
timeoutMs: ((_j = (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.timeoutInSeconds) !== null && _j !== void 0 ? _j : 60) * 1000,
|
|
140
|
+
maxRetries: (_k = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _k !== void 0 ? _k : (_l = this._options) === null || _l === void 0 ? void 0 : _l.maxRetries,
|
|
141
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
142
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
143
|
+
logging: this._options.logging,
|
|
144
|
+
});
|
|
145
|
+
if (_response.ok) {
|
|
146
|
+
return {
|
|
147
|
+
data: _response.body,
|
|
148
|
+
rawResponse: _response.rawResponse,
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
if (_response.error.reason === "status-code") {
|
|
152
|
+
switch (_response.error.statusCode) {
|
|
153
|
+
case 400:
|
|
154
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
155
|
+
case 401:
|
|
156
|
+
throw new Polytomic.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
157
|
+
case 403:
|
|
158
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
159
|
+
case 404:
|
|
160
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
161
|
+
case 429:
|
|
162
|
+
throw new Polytomic.TooManyRequestsError(_response.error.body, _response.rawResponse);
|
|
163
|
+
case 500:
|
|
164
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
165
|
+
default:
|
|
166
|
+
throw new errors.PolytomicError({
|
|
167
|
+
statusCode: _response.error.statusCode,
|
|
168
|
+
body: _response.error.body,
|
|
169
|
+
rawResponse: _response.rawResponse,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/temporary-credentials");
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
exports.TemporaryCredentialsClient = TemporaryCredentialsClient;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/api/resources/temporaryCredentials/client/requests/CreateTemporaryCredentialRequest.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Polytomic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* subject: {
|
|
6
|
+
* type: "user"
|
|
7
|
+
* }
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CreateTemporaryCredentialRequest {
|
|
11
|
+
/** Credential lifetime in seconds. Defaults to 3600 (1 hour); minimum 600 and maximum 14400. */
|
|
12
|
+
duration_seconds?: number;
|
|
13
|
+
/** Optional audit correlation label, limited to 128 characters. Do not include secrets or personal data. */
|
|
14
|
+
session_name?: string;
|
|
15
|
+
subject: Polytomic.TemporaryCredentialSubject;
|
|
16
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { CreateTemporaryCredentialRequest } from "./CreateTemporaryCredentialRequest";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TemporaryCredentialsClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "TemporaryCredentialsClient", { enumerable: true, get: function () { return Client_1.TemporaryCredentialsClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
@@ -25,7 +25,7 @@ export declare class UsersClient {
|
|
|
25
25
|
* @example
|
|
26
26
|
* await client.users.listCurrentOrgUsers()
|
|
27
27
|
*/
|
|
28
|
-
listCurrentOrgUsers(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.
|
|
28
|
+
listCurrentOrgUsers(requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.CurrentOrgListUsersEnvelope>;
|
|
29
29
|
private __listCurrentOrgUsers;
|
|
30
30
|
/**
|
|
31
31
|
* Creates a new user in the caller's current organization and assigns the requested permissions roles.
|
|
@@ -60,7 +60,7 @@ export declare class UsersClient {
|
|
|
60
60
|
* @example
|
|
61
61
|
* await client.users.getCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
62
62
|
*/
|
|
63
|
-
getCurrentOrgUser(id: string, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.
|
|
63
|
+
getCurrentOrgUser(id: string, requestOptions?: UsersClient.RequestOptions): core.HttpResponsePromise<Polytomic.CurrentOrgUserEnvelope>;
|
|
64
64
|
private __getCurrentOrgUser;
|
|
65
65
|
/**
|
|
66
66
|
* Updates the permissions roles assigned to a user in the caller's current organization.
|
|
@@ -96,10 +96,10 @@ export declare class UsersClient {
|
|
|
96
96
|
* @throws {@link Polytomic.InternalServerError}
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
|
-
* await client.users.
|
|
99
|
+
* await client.users.deleteCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
100
100
|
*/
|
|
101
|
-
|
|
102
|
-
private
|
|
101
|
+
deleteCurrentOrgUser(id: string, requestOptions?: UsersClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.UserEnvelope>;
|
|
102
|
+
private __deleteCurrentOrgUser;
|
|
103
103
|
/**
|
|
104
104
|
* Lists all users in the specified organization.
|
|
105
105
|
*
|
|
@@ -211,10 +211,10 @@ export declare class UsersClient {
|
|
|
211
211
|
* @throws {@link Polytomic.InternalServerError}
|
|
212
212
|
*
|
|
213
213
|
* @example
|
|
214
|
-
* await client.users.
|
|
214
|
+
* await client.users.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
215
215
|
*/
|
|
216
|
-
|
|
217
|
-
private
|
|
216
|
+
delete(org_id: string, id: string, requestOptions?: UsersClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.UserEnvelope>;
|
|
217
|
+
private __delete;
|
|
218
218
|
/**
|
|
219
219
|
* Issues a new API key for the specified user.
|
|
220
220
|
*
|
|
@@ -90,7 +90,10 @@ class UsersClient {
|
|
|
90
90
|
logging: this._options.logging,
|
|
91
91
|
});
|
|
92
92
|
if (_response.ok) {
|
|
93
|
-
return {
|
|
93
|
+
return {
|
|
94
|
+
data: _response.body,
|
|
95
|
+
rawResponse: _response.rawResponse,
|
|
96
|
+
};
|
|
94
97
|
}
|
|
95
98
|
if (_response.error.reason === "status-code") {
|
|
96
99
|
switch (_response.error.statusCode) {
|
|
@@ -309,12 +312,12 @@ class UsersClient {
|
|
|
309
312
|
* @throws {@link Polytomic.InternalServerError}
|
|
310
313
|
*
|
|
311
314
|
* @example
|
|
312
|
-
* await client.users.
|
|
315
|
+
* await client.users.deleteCurrentOrgUser("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
313
316
|
*/
|
|
314
|
-
|
|
315
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
317
|
+
deleteCurrentOrgUser(id, requestOptions) {
|
|
318
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteCurrentOrgUser(id, requestOptions));
|
|
316
319
|
}
|
|
317
|
-
|
|
320
|
+
__deleteCurrentOrgUser(id, requestOptions) {
|
|
318
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
319
322
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
320
323
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
@@ -636,12 +639,12 @@ class UsersClient {
|
|
|
636
639
|
* @throws {@link Polytomic.InternalServerError}
|
|
637
640
|
*
|
|
638
641
|
* @example
|
|
639
|
-
* await client.users.
|
|
642
|
+
* await client.users.delete("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
640
643
|
*/
|
|
641
|
-
|
|
642
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
644
|
+
delete(org_id, id, requestOptions) {
|
|
645
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(org_id, id, requestOptions));
|
|
643
646
|
}
|
|
644
|
-
|
|
647
|
+
__delete(org_id, id, requestOptions) {
|
|
645
648
|
return __awaiter(this, void 0, void 0, function* () {
|
|
646
649
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
647
650
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
@@ -123,10 +123,10 @@ export declare class WebhooksClient {
|
|
|
123
123
|
* @throws {@link Polytomic.InternalServerError}
|
|
124
124
|
*
|
|
125
125
|
* @example
|
|
126
|
-
* await client.webhooks.
|
|
126
|
+
* await client.webhooks.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
127
127
|
*/
|
|
128
|
-
|
|
129
|
-
private
|
|
128
|
+
delete(id: string, requestOptions?: WebhooksClient.IdempotentRequestOptions): core.HttpResponsePromise<void>;
|
|
129
|
+
private __delete;
|
|
130
130
|
/**
|
|
131
131
|
* Disables a webhook without deleting it.
|
|
132
132
|
*
|
|
@@ -330,12 +330,12 @@ class WebhooksClient {
|
|
|
330
330
|
* @throws {@link Polytomic.InternalServerError}
|
|
331
331
|
*
|
|
332
332
|
* @example
|
|
333
|
-
* await client.webhooks.
|
|
333
|
+
* await client.webhooks.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
334
334
|
*/
|
|
335
|
-
|
|
336
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
335
|
+
delete(id, requestOptions) {
|
|
336
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(id, requestOptions));
|
|
337
337
|
}
|
|
338
|
-
|
|
338
|
+
__delete(id, requestOptions) {
|
|
339
339
|
return __awaiter(this, void 0, void 0, function* () {
|
|
340
340
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
341
341
|
const _authRequest = yield this._options.authProvider.getAuthRequest();
|