polytomic 1.16.1 → 25.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.d.ts +46 -0
- package/BaseClient.js +64 -0
- package/CONTRIBUTING.md +133 -0
- package/Client.d.ts +62 -67
- package/Client.js +102 -31
- package/api/errors/BadGatewayError.d.ts +6 -0
- package/api/errors/BadGatewayError.js +54 -0
- package/api/errors/BadRequestError.d.ts +3 -5
- package/api/errors/BadRequestError.js +8 -5
- package/api/errors/ConflictError.d.ts +3 -5
- package/api/errors/ConflictError.js +8 -5
- package/api/errors/ForbiddenError.d.ts +3 -5
- package/api/errors/ForbiddenError.js +8 -5
- package/api/errors/GatewayTimeoutError.d.ts +6 -0
- package/api/errors/GatewayTimeoutError.js +54 -0
- package/api/errors/InternalServerError.d.ts +3 -5
- package/api/errors/InternalServerError.js +8 -5
- package/api/errors/NotFoundError.d.ts +3 -5
- package/api/errors/NotFoundError.js +8 -5
- package/api/errors/RequestTimeoutError.d.ts +6 -0
- package/api/errors/RequestTimeoutError.js +54 -0
- package/api/errors/TooManyRequestsError.d.ts +6 -0
- package/api/errors/TooManyRequestsError.js +54 -0
- package/api/errors/UnauthorizedError.d.ts +3 -5
- package/api/errors/UnauthorizedError.js +8 -5
- package/api/errors/UnprocessableEntityError.d.ts +3 -5
- package/api/errors/UnprocessableEntityError.js +8 -5
- package/api/errors/index.d.ts +8 -4
- package/api/errors/index.js +8 -4
- package/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/bulkSync/client/Client.d.ts +222 -87
- package/api/resources/bulkSync/client/Client.js +467 -385
- package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +0 -3
- package/api/resources/bulkSync/client/requests/BulkSyncGetRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.d.ts +0 -3
- package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +25 -12
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +4 -5
- package/api/resources/bulkSync/client/requests/StartBulkSyncRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +25 -12
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/index.d.ts +7 -7
- package/api/resources/bulkSync/exports.d.ts +3 -0
- package/api/resources/bulkSync/exports.js +22 -0
- package/api/resources/bulkSync/index.d.ts +0 -1
- package/api/resources/bulkSync/index.js +0 -1
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +157 -55
- package/api/resources/bulkSync/resources/executions/client/Client.js +419 -240
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +4 -7
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +1 -3
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.d.ts +13 -0
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.js +3 -0
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetSchemaConsoleLogsRequest.d.ts +13 -0
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsGetSchemaConsoleLogsRequest.js +3 -0
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +4 -3
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.js +1 -3
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +5 -13
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.js +1 -3
- package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +5 -3
- package/api/resources/bulkSync/resources/executions/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/executions/exports.js +21 -0
- package/api/resources/bulkSync/resources/index.d.ts +3 -3
- package/api/resources/bulkSync/resources/index.js +4 -4
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +66 -50
- package/api/resources/bulkSync/resources/schedules/client/Client.js +173 -180
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +2 -5
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.js +1 -3
- package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +2 -5
- package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.js +1 -3
- package/api/resources/bulkSync/resources/schedules/client/requests/index.d.ts +2 -2
- package/api/resources/bulkSync/resources/schedules/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/schedules/exports.js +21 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +97 -50
- package/api/resources/bulkSync/resources/schemas/client/Client.js +213 -181
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +2 -4
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.js +1 -3
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +8 -4
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.js +1 -3
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSyncSchemasRequest.d.ts +9 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSyncSchemasRequest.js +3 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +3 -3
- package/api/resources/bulkSync/resources/schemas/exports.d.ts +2 -0
- package/api/resources/bulkSync/resources/schemas/exports.js +21 -0
- package/api/resources/connections/client/Client.d.ts +296 -70
- package/api/resources/connections/client/Client.js +759 -370
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +0 -3
- package/api/resources/connections/client/requests/ConnectCardRequest.js +1 -3
- package/api/resources/connections/client/requests/ConnectionsRemoveRequest.d.ts +0 -3
- package/api/resources/connections/client/requests/ConnectionsRemoveRequest.js +1 -3
- package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +0 -3
- package/api/resources/connections/client/requests/CreateConnectionRequestSchema.js +1 -3
- package/api/resources/connections/client/requests/ExecuteConnectionProxyRequest.d.ts +13 -0
- package/api/resources/connections/client/requests/ExecuteConnectionProxyRequest.js +3 -0
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +0 -3
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +1 -3
- package/api/resources/connections/client/requests/PartnerCreateSharedConnectionRequestSchema.d.ts +12 -0
- package/api/resources/connections/client/requests/PartnerCreateSharedConnectionRequestSchema.js +3 -0
- package/api/resources/connections/client/requests/TestConnectionRequest.d.ts +0 -3
- package/api/resources/connections/client/requests/TestConnectionRequest.js +1 -3
- package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +0 -3
- package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.js +1 -3
- package/api/resources/connections/client/requests/index.d.ts +8 -7
- package/api/resources/connections/exports.d.ts +2 -0
- package/api/resources/connections/exports.js +21 -0
- package/api/resources/entities/client/Client.d.ts +124 -0
- package/api/resources/entities/client/Client.js +254 -0
- package/api/resources/entities/exports.d.ts +2 -0
- package/api/resources/entities/exports.js +21 -0
- package/api/resources/events/client/Client.d.ts +34 -35
- package/api/resources/events/client/Client.js +87 -101
- package/api/resources/events/client/requests/EventsListRequest.d.ts +8 -4
- package/api/resources/events/client/requests/EventsListRequest.js +1 -3
- package/api/resources/events/client/requests/index.d.ts +1 -1
- package/api/resources/events/exports.d.ts +2 -0
- package/api/resources/events/exports.js +21 -0
- package/api/resources/identity/client/Client.d.ts +22 -31
- package/api/resources/identity/client/Client.js +45 -46
- package/api/resources/identity/exports.d.ts +2 -0
- package/api/resources/identity/exports.js +21 -0
- package/api/resources/index.d.ts +15 -15
- package/api/resources/index.js +16 -16
- package/api/resources/jobs/client/Client.d.ts +26 -34
- package/api/resources/jobs/client/Client.js +49 -53
- package/api/resources/jobs/exports.d.ts +2 -0
- package/api/resources/jobs/exports.js +21 -0
- package/api/resources/modelSync/client/Client.d.ts +164 -79
- package/api/resources/modelSync/client/Client.js +437 -413
- package/api/resources/modelSync/client/requests/CreateSyncRequest.d.ts +45 -0
- package/api/resources/modelSync/client/requests/CreateSyncRequest.js +3 -0
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +2 -4
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +1 -3
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +2 -4
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.js +1 -3
- package/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +13 -6
- package/api/resources/modelSync/client/requests/ModelSyncListRequest.js +1 -3
- package/api/resources/modelSync/client/requests/StartSyncRequest.d.ts +9 -0
- package/api/resources/modelSync/client/requests/StartSyncRequest.js +3 -0
- package/api/resources/modelSync/client/requests/UpdateSyncRequest.d.ts +45 -0
- package/api/resources/modelSync/client/requests/UpdateSyncRequest.js +3 -0
- package/api/resources/modelSync/client/requests/index.d.ts +6 -6
- package/api/resources/modelSync/exports.d.ts +3 -0
- package/api/resources/modelSync/exports.js +22 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +90 -54
- package/api/resources/modelSync/resources/executions/client/Client.js +269 -198
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.d.ts +13 -0
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsGetConsoleLogsRequest.js +3 -0
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -3
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.js +1 -3
- package/api/resources/modelSync/resources/executions/client/requests/index.d.ts +2 -2
- package/api/resources/modelSync/resources/executions/exports.d.ts +2 -0
- package/api/resources/modelSync/resources/executions/exports.js +21 -0
- package/api/resources/modelSync/resources/index.d.ts +2 -2
- package/api/resources/modelSync/resources/index.js +3 -3
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +36 -55
- package/api/resources/modelSync/resources/targets/client/Client.js +112 -195
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +2 -3
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.js +1 -3
- package/api/resources/modelSync/resources/targets/client/requests/index.d.ts +1 -2
- package/api/resources/modelSync/resources/targets/exports.d.ts +2 -0
- package/api/resources/modelSync/resources/targets/exports.js +21 -0
- package/api/resources/models/client/Client.d.ts +128 -62
- package/api/resources/models/client/Client.js +365 -328
- package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.d.ts +8 -0
- package/api/resources/models/client/requests/EnrichmentInputFieldsRequest.js +3 -0
- package/api/resources/models/client/requests/ModelsCreateRequest.d.ts +2 -4
- package/api/resources/models/client/requests/ModelsCreateRequest.js +1 -3
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +2 -4
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +1 -3
- package/api/resources/models/client/requests/ModelsGetRequest.d.ts +3 -4
- package/api/resources/models/client/requests/ModelsGetRequest.js +1 -3
- package/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +2 -4
- package/api/resources/models/client/requests/ModelsPreviewRequest.js +1 -3
- package/api/resources/models/client/requests/ModelsRemoveRequest.d.ts +3 -4
- package/api/resources/models/client/requests/ModelsRemoveRequest.js +1 -3
- package/api/resources/models/client/requests/ModelsSampleRequest.d.ts +3 -4
- package/api/resources/models/client/requests/ModelsSampleRequest.js +1 -3
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -4
- package/api/resources/models/client/requests/UpdateModelRequest.js +1 -3
- package/api/resources/models/client/requests/index.d.ts +8 -8
- package/api/resources/models/exports.d.ts +2 -0
- package/api/resources/models/exports.js +21 -0
- package/api/resources/notifications/client/Client.d.ts +29 -34
- package/api/resources/notifications/client/Client.js +74 -76
- package/api/resources/notifications/client/requests/GlobalErrorSubscribersRequest.d.ts +8 -0
- package/api/resources/notifications/client/requests/GlobalErrorSubscribersRequest.js +3 -0
- package/api/resources/notifications/client/requests/index.d.ts +1 -1
- package/api/resources/notifications/exports.d.ts +2 -0
- package/api/resources/notifications/exports.js +21 -0
- package/api/resources/organization/client/Client.d.ts +85 -54
- package/api/resources/organization/client/Client.js +229 -172
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +6 -3
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +1 -3
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +6 -3
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.js +1 -3
- package/api/resources/organization/client/requests/index.d.ts +2 -2
- package/api/resources/organization/exports.d.ts +2 -0
- package/api/resources/organization/exports.js +21 -0
- package/api/resources/permissions/client/Client.d.ts +13 -35
- package/api/resources/permissions/client/Client.js +9 -10
- package/api/resources/permissions/exports.d.ts +3 -0
- package/api/resources/permissions/exports.js +22 -0
- package/api/resources/permissions/resources/index.d.ts +1 -1
- package/api/resources/permissions/resources/index.js +1 -1
- package/api/resources/permissions/resources/policies/client/Client.d.ts +57 -42
- package/api/resources/permissions/resources/policies/client/Client.js +159 -164
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -4
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.js +1 -3
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -4
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.js +1 -3
- package/api/resources/permissions/resources/policies/client/requests/index.d.ts +2 -2
- package/api/resources/permissions/resources/policies/exports.d.ts +2 -0
- package/api/resources/permissions/resources/policies/exports.js +21 -0
- package/api/resources/permissions/resources/roles/client/Client.d.ts +62 -42
- package/api/resources/permissions/resources/roles/client/Client.js +160 -163
- package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +0 -3
- package/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.js +1 -3
- package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +0 -3
- package/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.js +1 -3
- package/api/resources/permissions/resources/roles/client/requests/index.d.ts +2 -2
- package/api/resources/permissions/resources/roles/exports.d.ts +2 -0
- package/api/resources/permissions/resources/roles/exports.js +21 -0
- package/api/resources/queryRunner/client/Client.d.ts +45 -37
- package/api/resources/queryRunner/client/Client.js +103 -94
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +4 -4
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.js +1 -3
- package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +10 -0
- package/api/resources/queryRunner/client/requests/RunQueryRequest.js +3 -0
- package/api/resources/queryRunner/client/requests/index.d.ts +2 -2
- package/api/resources/queryRunner/exports.d.ts +2 -0
- package/api/resources/queryRunner/exports.js +21 -0
- package/api/resources/schemas/client/Client.d.ts +151 -69
- package/api/resources/schemas/client/Client.js +327 -281
- package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.d.ts +2 -4
- package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +1 -3
- package/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +3 -5
- package/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.js +1 -3
- package/api/resources/schemas/client/requests/index.d.ts +2 -2
- package/api/resources/schemas/exports.d.ts +2 -0
- package/api/resources/schemas/exports.js +21 -0
- package/api/resources/users/client/Client.d.ts +172 -58
- package/api/resources/users/client/Client.js +516 -216
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +3 -3
- package/api/resources/users/client/requests/CreateUserRequestSchema.js +1 -3
- package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.d.ts +14 -0
- package/api/resources/users/client/requests/CurrentOrgCreateUserRequestSchema.js +3 -0
- package/api/resources/users/client/requests/CurrentOrgUpdateUserRequestSchema.d.ts +10 -0
- package/api/resources/users/client/requests/CurrentOrgUpdateUserRequestSchema.js +3 -0
- package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +3 -3
- package/api/resources/users/client/requests/UpdateUserRequestSchema.js +1 -3
- package/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +1 -3
- package/api/resources/users/client/requests/UsersCreateApiKeyRequest.js +1 -3
- package/api/resources/users/client/requests/index.d.ts +5 -3
- package/api/resources/users/exports.d.ts +2 -0
- package/api/resources/users/exports.js +21 -0
- package/api/resources/webhooks/client/Client.d.ts +97 -60
- package/api/resources/webhooks/client/Client.js +232 -224
- package/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +0 -3
- package/api/resources/webhooks/client/requests/CreateWebhooksSchema.js +1 -3
- package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +0 -3
- package/api/resources/webhooks/client/requests/UpdateWebhooksSchema.js +1 -3
- package/api/resources/webhooks/client/requests/index.d.ts +2 -2
- package/api/resources/webhooks/exports.d.ts +2 -0
- package/api/resources/webhooks/exports.js +21 -0
- package/api/types/ActivateSyncEnvelope.d.ts +2 -5
- package/api/types/ActivateSyncEnvelope.js +1 -3
- package/api/types/ActivateSyncInput.d.ts +0 -3
- package/api/types/ActivateSyncInput.js +1 -3
- package/api/types/ActivateSyncOutput.d.ts +2 -5
- package/api/types/ActivateSyncOutput.js +1 -3
- package/api/types/ApiError.d.ts +4 -7
- package/api/types/ApiError.js +1 -3
- package/api/types/ApiKeyResponse.d.ts +2 -4
- package/api/types/ApiKeyResponse.js +1 -3
- package/api/types/ApiKeyResponseEnvelope.d.ts +2 -5
- package/api/types/ApiKeyResponseEnvelope.js +1 -3
- package/api/types/BackendConnectionCapabilities.d.ts +0 -3
- package/api/types/BackendConnectionCapabilities.js +1 -3
- package/api/types/BackendOAuthPrompt.d.ts +3 -6
- package/api/types/BackendOAuthPrompt.js +1 -3
- package/api/types/BulkBulkSyncSchedule.d.ts +17 -19
- package/api/types/BulkBulkSyncSchedule.js +1 -3
- package/api/types/BulkDiscover.d.ts +1 -4
- package/api/types/BulkDiscover.js +1 -3
- package/api/types/BulkExecutionStatus.d.ts +1 -4
- package/api/types/BulkExecutionStatus.js +1 -3
- package/api/types/BulkFetchMode.d.ts +2 -7
- package/api/types/BulkFetchMode.js +2 -3
- package/api/types/BulkField.d.ts +5 -8
- package/api/types/BulkField.js +1 -3
- package/api/types/BulkFilter.d.ts +3 -6
- package/api/types/BulkFilter.js +1 -3
- package/api/types/BulkNormalizeNames.d.ts +1 -4
- package/api/types/BulkNormalizeNames.js +1 -3
- package/api/types/BulkOutputDisposition.d.ts +6 -0
- package/api/types/BulkOutputDisposition.js +9 -0
- package/api/types/BulkResyncMode.d.ts +6 -0
- package/api/types/BulkResyncMode.js +9 -0
- package/api/types/BulkScheduleSyncMode.d.ts +1 -4
- package/api/types/BulkScheduleSyncMode.js +1 -3
- package/api/types/BulkSchema.d.ts +13 -14
- package/api/types/BulkSchema.js +1 -3
- package/api/types/BulkSchemaEnvelope.d.ts +2 -5
- package/api/types/BulkSchemaEnvelope.js +1 -3
- package/api/types/BulkSchemaExecutionStatus.d.ts +2 -4
- package/api/types/BulkSchemaExecutionStatus.js +2 -3
- package/api/types/BulkSchemaListItem.d.ts +18 -0
- package/api/types/BulkSchemaListItem.js +3 -0
- package/api/types/BulkSelectiveMode.d.ts +1 -4
- package/api/types/BulkSelectiveMode.js +1 -3
- package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +19 -0
- package/api/types/BulkSyncAdditionalScheduleRequest.js +3 -0
- package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +26 -0
- package/api/types/BulkSyncAdditionalScheduleResponse.js +3 -0
- package/api/types/BulkSyncDefaultScheduleRequest.d.ts +15 -0
- package/api/types/BulkSyncDefaultScheduleRequest.js +3 -0
- package/api/types/BulkSyncDefaultScheduleResponse.d.ts +22 -0
- package/api/types/BulkSyncDefaultScheduleResponse.js +3 -0
- package/api/types/BulkSyncDest.d.ts +5 -6
- package/api/types/BulkSyncDest.js +1 -3
- package/api/types/BulkSyncDestEnvelope.d.ts +2 -5
- package/api/types/BulkSyncDestEnvelope.js +1 -3
- package/api/types/BulkSyncExecution.d.ts +18 -20
- package/api/types/BulkSyncExecution.js +1 -3
- package/api/types/BulkSyncExecutionEnvelope.d.ts +2 -5
- package/api/types/BulkSyncExecutionEnvelope.js +1 -3
- package/api/types/BulkSyncExecutionLogs.d.ts +6 -0
- package/api/types/BulkSyncExecutionLogs.js +3 -0
- package/api/types/BulkSyncExecutionLogsEnvelope.d.ts +4 -0
- package/api/types/BulkSyncExecutionLogsEnvelope.js +3 -0
- package/api/types/BulkSyncExecutionStatus.d.ts +8 -8
- package/api/types/BulkSyncExecutionStatus.js +1 -3
- package/api/types/BulkSyncIngestionStatus.d.ts +11 -0
- package/api/types/BulkSyncIngestionStatus.js +3 -0
- package/api/types/BulkSyncListEnvelope.d.ts +2 -5
- package/api/types/BulkSyncListEnvelope.js +1 -3
- package/api/types/BulkSyncResponse.d.ts +35 -29
- package/api/types/BulkSyncResponse.js +1 -3
- package/api/types/BulkSyncResponseEnvelope.d.ts +2 -5
- package/api/types/BulkSyncResponseEnvelope.js +1 -3
- package/api/types/BulkSyncScheduleApi.d.ts +15 -0
- package/api/types/BulkSyncScheduleApi.js +3 -0
- package/api/types/BulkSyncSchemaExecution.d.ts +12 -15
- package/api/types/BulkSyncSchemaExecution.js +1 -3
- package/api/types/BulkSyncSchemaExecutionStatus.d.ts +17 -13
- package/api/types/BulkSyncSchemaExecutionStatus.js +1 -3
- package/api/types/BulkSyncSource.d.ts +4 -6
- package/api/types/BulkSyncSource.js +1 -3
- package/api/types/BulkSyncSourceCapabilities.d.ts +3 -0
- package/api/types/BulkSyncSourceCapabilities.js +3 -0
- package/api/types/BulkSyncSourceEnvelope.d.ts +2 -5
- package/api/types/BulkSyncSourceEnvelope.js +1 -3
- package/api/types/BulkSyncSourceSchemaEnvelope.d.ts +2 -5
- package/api/types/BulkSyncSourceSchemaEnvelope.js +1 -3
- package/api/types/BulkSyncSourceStatus.d.ts +3 -6
- package/api/types/BulkSyncSourceStatus.js +1 -3
- package/api/types/BulkSyncSourceStatusEnvelope.d.ts +2 -5
- package/api/types/BulkSyncSourceStatusEnvelope.js +1 -3
- package/api/types/BulkSyncStatusEnvelope.d.ts +2 -5
- package/api/types/BulkSyncStatusEnvelope.js +1 -3
- package/api/types/BulkSyncStatusResponse.d.ts +5 -7
- package/api/types/BulkSyncStatusResponse.js +1 -3
- package/api/types/BulkSyncTargetMode.d.ts +5 -0
- package/api/types/BulkSyncTargetMode.js +8 -0
- package/api/types/CancelBulkSyncResponse.d.ts +1 -4
- package/api/types/CancelBulkSyncResponse.js +1 -3
- package/api/types/CancelBulkSyncResponseEnvelope.d.ts +2 -5
- package/api/types/CancelBulkSyncResponseEnvelope.js +1 -3
- package/api/types/CancelSyncExecutionResponse.d.ts +3 -0
- package/api/types/CancelSyncExecutionResponse.js +3 -0
- package/api/types/CancelSyncExecutionResponseEnvelope.d.ts +4 -0
- package/api/types/CancelSyncExecutionResponseEnvelope.js +3 -0
- package/api/types/CancelSyncResponse.d.ts +3 -0
- package/api/types/CancelSyncResponse.js +3 -0
- package/api/types/CancelSyncResponseEnvelope.d.ts +4 -0
- package/api/types/CancelSyncResponseEnvelope.js +3 -0
- package/api/types/ConfigurationValue.d.ts +2 -5
- package/api/types/ConfigurationValue.js +1 -3
- package/api/types/ConnectCardResponse.d.ts +3 -5
- package/api/types/ConnectCardResponse.js +1 -3
- package/api/types/ConnectCardResponseEnvelope.d.ts +2 -5
- package/api/types/ConnectCardResponseEnvelope.js +1 -3
- package/api/types/ConnectionForm.d.ts +4 -0
- package/api/types/ConnectionForm.js +3 -0
- package/api/types/ConnectionListResponseEnvelope.d.ts +2 -5
- package/api/types/ConnectionListResponseEnvelope.js +1 -3
- package/api/types/ConnectionParameterValue.d.ts +2 -5
- package/api/types/ConnectionParameterValue.js +1 -3
- package/api/types/ConnectionParameterValuesResp.d.ts +3 -6
- package/api/types/ConnectionParameterValuesResp.js +1 -3
- package/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +2 -5
- package/api/types/ConnectionParameterValuesResponseEnvelope.js +1 -3
- package/api/types/ConnectionProxyCall.d.ts +14 -0
- package/api/types/ConnectionProxyCall.js +3 -0
- package/api/types/ConnectionProxyContract.d.ts +26 -0
- package/api/types/ConnectionProxyContract.js +3 -0
- package/api/types/ConnectionProxyInfoResponse.d.ts +11 -0
- package/api/types/ConnectionProxyInfoResponse.js +3 -0
- package/api/types/ConnectionProxyInheritedBase.d.ts +9 -0
- package/api/types/ConnectionProxyInheritedBase.js +3 -0
- package/api/types/ConnectionProxyLockedHeader.d.ts +8 -0
- package/api/types/ConnectionProxyLockedHeader.js +3 -0
- package/api/types/ConnectionProxyMergeRules.d.ts +6 -0
- package/api/types/ConnectionProxyMergeRules.js +3 -0
- package/api/types/ConnectionProxyResponse.d.ts +16 -0
- package/api/types/ConnectionProxyResponse.js +3 -0
- package/api/types/ConnectionProxyStats.d.ts +14 -0
- package/api/types/ConnectionProxyStats.js +3 -0
- package/api/types/ConnectionResponseEnvelope.d.ts +2 -5
- package/api/types/ConnectionResponseEnvelope.js +1 -3
- package/api/types/ConnectionResponseSchema.d.ts +16 -19
- package/api/types/ConnectionResponseSchema.js +1 -3
- package/api/types/ConnectionType.d.ts +9 -12
- package/api/types/ConnectionType.js +1 -3
- package/api/types/ConnectionTypeResponseEnvelope.d.ts +2 -5
- package/api/types/ConnectionTypeResponseEnvelope.js +1 -3
- package/api/types/ConnectionTypeSchema.d.ts +4 -7
- package/api/types/ConnectionTypeSchema.js +1 -3
- package/api/types/CreateConnectionResponseEnvelope.d.ts +2 -5
- package/api/types/CreateConnectionResponseEnvelope.js +1 -3
- package/api/types/CreateConnectionResponseSchema.d.ts +13 -16
- package/api/types/CreateConnectionResponseSchema.js +1 -3
- package/api/types/CreateModelRequest.d.ts +10 -13
- package/api/types/CreateModelRequest.js +1 -3
- package/api/types/CreateSharedConnectionResponseEnvelope.d.ts +4 -0
- package/api/types/CreateSharedConnectionResponseEnvelope.js +3 -0
- package/api/types/CreateSharedConnectionResponseSchema.d.ts +1 -4
- package/api/types/CreateSharedConnectionResponseSchema.js +1 -3
- package/api/types/EnricherConfiguration.d.ts +4 -0
- package/api/types/EnricherConfiguration.js +3 -0
- package/api/types/EnricherMapping.d.ts +4 -0
- package/api/types/EnricherMapping.js +3 -0
- package/api/types/Enrichment.d.ts +6 -9
- package/api/types/Enrichment.js +1 -3
- package/api/types/EntityRelationship.d.ts +6 -0
- package/api/types/EntityRelationship.js +3 -0
- package/api/types/EntityResponse.d.ts +15 -0
- package/api/types/EntityResponse.js +3 -0
- package/api/types/EntityResponseEnvelope.d.ts +4 -0
- package/api/types/EntityResponseEnvelope.js +3 -0
- package/api/types/Event.d.ts +10 -9
- package/api/types/Event.js +1 -3
- package/api/types/EventPayload.d.ts +2 -0
- package/api/types/EventPayload.js +3 -0
- package/api/types/EventTypesEnvelope.d.ts +1 -4
- package/api/types/EventTypesEnvelope.js +1 -3
- package/api/types/EventingBulkSyncCanceledEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncCanceledEvent.js +3 -0
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncCompletedEvent.js +3 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +9 -0
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.js +3 -0
- package/api/types/EventingBulkSyncFailedEvent.d.ts +10 -0
- package/api/types/EventingBulkSyncFailedEvent.js +3 -0
- package/api/types/EventingBulkSyncRunningEvent.d.ts +8 -0
- package/api/types/EventingBulkSyncRunningEvent.js +3 -0
- package/api/types/EventingSyncCanceledEvent.d.ts +9 -0
- package/api/types/EventingSyncCanceledEvent.js +3 -0
- package/api/types/EventingSyncCompletedEvent.d.ts +22 -0
- package/api/types/EventingSyncCompletedEvent.js +3 -0
- package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +10 -0
- package/api/types/EventingSyncCompletedWithErrorsEvent.js +3 -0
- package/api/types/EventingSyncFailedEvent.d.ts +8 -0
- package/api/types/EventingSyncFailedEvent.js +3 -0
- package/api/types/EventingSyncRunningEvent.d.ts +7 -0
- package/api/types/EventingSyncRunningEvent.js +3 -0
- package/api/types/EventsEnvelope.d.ts +2 -5
- package/api/types/EventsEnvelope.js +1 -3
- package/api/types/ExecuteConnectionProxyEnvelope.d.ts +4 -0
- package/api/types/ExecuteConnectionProxyEnvelope.js +3 -0
- package/api/types/ExecutionConsoleLogEntry.d.ts +7 -0
- package/api/types/ExecutionConsoleLogEntry.js +3 -0
- package/api/types/ExecutionConsoleLogsResponse.d.ts +5 -0
- package/api/types/ExecutionConsoleLogsResponse.js +3 -0
- package/api/types/ExecutionConsoleLogsResponseEnvelope.d.ts +4 -0
- package/api/types/ExecutionConsoleLogsResponseEnvelope.js +3 -0
- package/api/types/ExecutionCounts.d.ts +7 -10
- package/api/types/ExecutionCounts.js +1 -3
- package/api/types/ExecutionLogResponse.d.ts +2 -5
- package/api/types/ExecutionLogResponse.js +1 -3
- package/api/types/ExecutionLogType.d.ts +9 -0
- package/api/types/ExecutionLogType.js +12 -0
- package/api/types/ExecutionLogsResponseEnvelope.d.ts +2 -5
- package/api/types/ExecutionLogsResponseEnvelope.js +1 -3
- package/api/types/ExportSyncLogsEnvelope.d.ts +5 -0
- package/api/types/ExportSyncLogsEnvelope.js +3 -0
- package/api/types/ExportSyncLogsResponse.d.ts +4 -0
- package/api/types/ExportSyncLogsResponse.js +3 -0
- package/api/types/FieldConfiguration.d.ts +3 -6
- package/api/types/FieldConfiguration.js +1 -3
- package/api/types/Filter.d.ts +6 -9
- package/api/types/Filter.js +1 -3
- package/api/types/FilterFieldReferenceType.d.ts +1 -4
- package/api/types/FilterFieldReferenceType.js +1 -3
- package/api/types/FilterFunction.d.ts +1 -4
- package/api/types/FilterFunction.js +1 -3
- package/api/types/GetConnectionProxyInfoEnvelope.d.ts +4 -0
- package/api/types/GetConnectionProxyInfoEnvelope.js +3 -0
- package/api/types/GetEnrichmentInputFieldsResponseEnvelope.d.ts +3 -0
- package/api/types/GetEnrichmentInputFieldsResponseEnvelope.js +3 -0
- package/api/types/GetExecutionResponseEnvelope.d.ts +2 -5
- package/api/types/GetExecutionResponseEnvelope.js +1 -3
- package/api/types/GetExecutionResponseSchema.d.ts +9 -12
- package/api/types/GetExecutionResponseSchema.js +1 -3
- package/api/types/GetIdentityResponseEnvelope.d.ts +2 -5
- package/api/types/GetIdentityResponseEnvelope.js +1 -3
- package/api/types/GetIdentityResponseSchema.d.ts +11 -12
- package/api/types/GetIdentityResponseSchema.js +1 -3
- package/api/types/GetSyncSourceMetaEnvelope.d.ts +4 -0
- package/api/types/GetSyncSourceMetaEnvelope.js +3 -0
- package/api/types/GlobalErrorSubscribersResponse.d.ts +4 -0
- package/api/types/GlobalErrorSubscribersResponse.js +3 -0
- package/api/types/Identity.d.ts +3 -6
- package/api/types/Identity.js +1 -3
- package/api/types/IdentityFunction.d.ts +2 -5
- package/api/types/IdentityFunction.js +1 -3
- package/api/types/IngestionStatusLevel.d.ts +7 -0
- package/api/types/IngestionStatusLevel.js +10 -0
- package/api/types/JobResponse.d.ts +10 -9
- package/api/types/JobResponse.js +1 -3
- package/api/types/JobResponseEnvelope.d.ts +2 -5
- package/api/types/JobResponseEnvelope.js +1 -3
- package/api/types/JsonschemaDefinitions.d.ts +1 -4
- package/api/types/JsonschemaDefinitions.js +1 -3
- package/api/types/JsonschemaForm.d.ts +0 -3
- package/api/types/JsonschemaForm.js +1 -3
- package/api/types/JsonschemaSchema.d.ts +54 -57
- package/api/types/JsonschemaSchema.js +1 -3
- package/api/types/LabelLabel.d.ts +0 -3
- package/api/types/LabelLabel.js +1 -3
- package/api/types/ListBulkSchemaEnvelope.d.ts +4 -0
- package/api/types/ListBulkSchemaEnvelope.js +3 -0
- package/api/types/ListBulkSyncExecutionsEnvelope.d.ts +3 -6
- package/api/types/ListBulkSyncExecutionsEnvelope.js +1 -3
- package/api/types/ListBulkSyncExecutionsStatusEnvelope.d.ts +4 -0
- package/api/types/ListBulkSyncExecutionsStatusEnvelope.js +3 -0
- package/api/types/ListExecutionResponseEnvelope.d.ts +3 -6
- package/api/types/ListExecutionResponseEnvelope.js +1 -3
- package/api/types/ListPoliciesResponseEnvelope.d.ts +2 -5
- package/api/types/ListPoliciesResponseEnvelope.js +1 -3
- package/api/types/ListSyncItem.d.ts +32 -0
- package/api/types/ListSyncItem.js +3 -0
- package/api/types/ListSyncResponseEnvelope.d.ts +5 -0
- package/api/types/ListSyncResponseEnvelope.js +3 -0
- package/api/types/ListUsersEnvelope.d.ts +2 -5
- package/api/types/ListUsersEnvelope.js +1 -3
- package/api/types/Mode.d.ts +6 -9
- package/api/types/Mode.js +1 -3
- package/api/types/ModelField.d.ts +13 -16
- package/api/types/ModelField.js +1 -3
- package/api/types/ModelFieldResponse.d.ts +2 -5
- package/api/types/ModelFieldResponse.js +1 -3
- package/api/types/ModelListResponseEnvelope.d.ts +2 -5
- package/api/types/ModelListResponseEnvelope.js +1 -3
- package/api/types/ModelModelFieldRequest.d.ts +1 -4
- package/api/types/ModelModelFieldRequest.js +1 -3
- package/api/types/ModelRelation.d.ts +3 -6
- package/api/types/ModelRelation.js +1 -3
- package/api/types/ModelRelationTo.d.ts +2 -5
- package/api/types/ModelRelationTo.js +1 -3
- package/api/types/ModelResponse.d.ts +19 -22
- package/api/types/ModelResponse.js +1 -3
- package/api/types/ModelResponseEnvelope.d.ts +3 -6
- package/api/types/ModelResponseEnvelope.js +1 -3
- package/api/types/ModelSample.d.ts +3 -6
- package/api/types/ModelSample.js +1 -3
- package/api/types/ModelSampleResponseEnvelope.d.ts +3 -6
- package/api/types/ModelSampleResponseEnvelope.js +1 -3
- package/api/types/ModelsyncSyncTargetMode.d.ts +10 -0
- package/api/types/ModelsyncSyncTargetMode.js +13 -0
- package/api/types/OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +1 -0
- package/api/types/OrderedMapStringGithubComInvopopJsonschemaSchema.js +3 -0
- package/api/types/Organization.d.ts +10 -8
- package/api/types/Organization.js +1 -3
- package/api/types/OrganizationEnvelope.d.ts +2 -5
- package/api/types/OrganizationEnvelope.js +1 -3
- package/api/types/OrganizationsEnvelope.d.ts +2 -5
- package/api/types/OrganizationsEnvelope.js +1 -3
- package/api/types/OutputActor.d.ts +5 -0
- package/api/types/OutputActor.js +3 -0
- package/api/types/Override.d.ts +6 -9
- package/api/types/Override.js +1 -3
- package/api/types/PaginationDetails.d.ts +1 -4
- package/api/types/PaginationDetails.js +1 -3
- package/api/types/PickValue.d.ts +2 -5
- package/api/types/PickValue.js +1 -3
- package/api/types/PolicyAction.d.ts +1 -4
- package/api/types/PolicyAction.js +1 -3
- package/api/types/PolicyResponse.d.ts +6 -9
- package/api/types/PolicyResponse.js +1 -3
- package/api/types/PolicyResponseEnvelope.d.ts +2 -5
- package/api/types/PolicyResponseEnvelope.js +1 -3
- package/api/types/QueryResultsEnvelope.d.ts +5 -0
- package/api/types/QueryResultsEnvelope.js +3 -0
- package/api/types/Relation.d.ts +3 -6
- package/api/types/Relation.js +1 -3
- package/api/types/RelationTo.d.ts +2 -5
- package/api/types/RelationTo.js +1 -3
- package/api/types/RoleListResponseEnvelope.d.ts +2 -5
- package/api/types/RoleListResponseEnvelope.js +1 -3
- package/api/types/RoleResponse.d.ts +4 -7
- package/api/types/RoleResponse.js +1 -3
- package/api/types/RoleResponseEnvelope.d.ts +2 -5
- package/api/types/RoleResponseEnvelope.js +1 -3
- package/api/types/RunAfter.d.ts +2 -5
- package/api/types/RunAfter.js +1 -3
- package/api/types/RunQueryEnvelope.d.ts +4 -0
- package/api/types/RunQueryEnvelope.js +3 -0
- package/api/types/RunQueryPagination.d.ts +6 -0
- package/api/types/RunQueryPagination.js +3 -0
- package/api/types/RunQueryResult.d.ts +16 -0
- package/api/types/RunQueryResult.js +3 -0
- package/api/types/SampleRecord.d.ts +4 -0
- package/api/types/SampleRecord.js +3 -0
- package/api/types/Schedule.d.ts +11 -14
- package/api/types/Schedule.js +1 -3
- package/api/types/ScheduleEnvelope.d.ts +2 -5
- package/api/types/ScheduleEnvelope.js +1 -3
- package/api/types/ScheduleFrequency.d.ts +1 -4
- package/api/types/ScheduleFrequency.js +1 -3
- package/api/types/ScheduleOptionResponse.d.ts +2 -5
- package/api/types/ScheduleOptionResponse.js +1 -3
- package/api/types/ScheduleOptionResponseEnvelope.d.ts +2 -5
- package/api/types/ScheduleOptionResponseEnvelope.js +1 -3
- package/api/types/ScheduleScheduleOption.d.ts +5 -8
- package/api/types/ScheduleScheduleOption.js +1 -3
- package/api/types/SchedulesEnvelope.d.ts +2 -5
- package/api/types/SchedulesEnvelope.js +1 -3
- package/api/types/Schema.d.ts +4 -7
- package/api/types/Schema.js +1 -3
- package/api/types/SchemaAssociation.d.ts +4 -7
- package/api/types/SchemaAssociation.js +1 -3
- package/api/types/SchemaConfiguration.d.ts +15 -12
- package/api/types/SchemaConfiguration.js +1 -3
- package/api/types/SchemaField.d.ts +8 -11
- package/api/types/SchemaField.js +1 -3
- package/api/types/SchemaIdentityFunction.d.ts +1 -4
- package/api/types/SchemaIdentityFunction.js +1 -3
- package/api/types/SchemaPrimaryKeyOverrideInput.d.ts +0 -3
- package/api/types/SchemaPrimaryKeyOverrideInput.js +1 -3
- package/api/types/SchemaRecordsResponseEnvelope.d.ts +1 -4
- package/api/types/SchemaRecordsResponseEnvelope.js +1 -3
- package/api/types/Source.d.ts +0 -3
- package/api/types/Source.js +1 -3
- package/api/types/SourceMeta.d.ts +6 -6
- package/api/types/SourceMeta.js +1 -3
- package/api/types/StartSyncResponseEnvelope.d.ts +4 -0
- package/api/types/StartSyncResponseEnvelope.js +3 -0
- package/api/types/StartSyncResponseSchema.d.ts +7 -0
- package/api/types/StartSyncResponseSchema.js +3 -0
- package/api/types/SupportedBulkMode.d.ts +7 -10
- package/api/types/SupportedBulkMode.js +1 -3
- package/api/types/SupportedMode.d.ts +5 -8
- package/api/types/SupportedMode.js +1 -3
- package/api/types/SyncDestinationProperties.d.ts +13 -16
- package/api/types/SyncDestinationProperties.js +1 -3
- package/api/types/SyncField.d.ts +14 -0
- package/api/types/SyncField.js +3 -0
- package/api/types/SyncResponse.d.ts +27 -0
- package/api/types/SyncResponse.js +3 -0
- package/api/types/SyncResponseEnvelope.d.ts +4 -0
- package/api/types/SyncResponseEnvelope.js +3 -0
- package/api/types/SyncSourceMetaResponse.d.ts +9 -0
- package/api/types/SyncSourceMetaResponse.js +3 -0
- package/api/types/SyncStatusEnvelope.d.ts +2 -5
- package/api/types/SyncStatusEnvelope.js +1 -3
- package/api/types/SyncStatusResponse.d.ts +4 -7
- package/api/types/SyncStatusResponse.js +1 -3
- package/api/types/Target.d.ts +6 -9
- package/api/types/Target.js +1 -3
- package/api/types/TargetCreateInput.d.ts +3 -6
- package/api/types/TargetCreateInput.js +1 -3
- package/api/types/TargetCreator.d.ts +7 -0
- package/api/types/TargetCreator.js +3 -0
- package/api/types/TargetField.d.ts +14 -17
- package/api/types/TargetField.js +1 -3
- package/api/types/TargetObject.d.ts +4 -7
- package/api/types/TargetObject.js +1 -3
- package/api/types/TargetObjectsResponseEnvelope.d.ts +5 -0
- package/api/types/TargetObjectsResponseEnvelope.js +3 -0
- package/api/types/TargetPropertyValues.d.ts +11 -0
- package/api/types/TargetPropertyValues.js +3 -0
- package/api/types/TargetPropertyValuesEnvelope.d.ts +4 -0
- package/api/types/TargetPropertyValuesEnvelope.js +3 -0
- package/api/types/TargetResponse.d.ts +7 -10
- package/api/types/TargetResponse.js +1 -3
- package/api/types/TargetResponseEnvelope.d.ts +2 -5
- package/api/types/TargetResponseEnvelope.js +1 -3
- package/api/types/TypesType.d.ts +0 -3
- package/api/types/TypesType.js +1 -3
- package/api/types/UpdateBulkField.d.ts +4 -7
- package/api/types/UpdateBulkField.js +1 -3
- package/api/types/UpdateBulkSyncSchemasEnvelope.d.ts +4 -0
- package/api/types/UpdateBulkSyncSchemasEnvelope.js +3 -0
- package/api/types/User.d.ts +10 -8
- package/api/types/User.js +1 -3
- package/api/types/UserEnvelope.d.ts +2 -5
- package/api/types/UserEnvelope.js +1 -3
- package/api/types/UserFieldRequest.d.ts +12 -0
- package/api/types/UserFieldRequest.js +3 -0
- package/api/types/UtilEnumValue.d.ts +2 -5
- package/api/types/UtilEnumValue.js +1 -3
- package/api/types/UtilExecutionStatus.d.ts +14 -0
- package/api/types/UtilExecutionStatus.js +17 -0
- package/api/types/UtilFieldType.d.ts +1 -4
- package/api/types/UtilFieldType.js +1 -3
- package/api/types/Webhook.d.ts +6 -9
- package/api/types/Webhook.js +1 -3
- package/api/types/WebhookEnvelope.d.ts +2 -5
- package/api/types/WebhookEnvelope.js +1 -3
- package/api/types/WebhookListEnvelope.d.ts +2 -5
- package/api/types/WebhookListEnvelope.js +1 -3
- package/api/types/WorkTaskStatus.d.ts +1 -4
- package/api/types/WorkTaskStatus.js +1 -3
- package/api/types/index.d.ts +135 -113
- package/api/types/index.js +135 -113
- package/auth/BearerAuthProvider.d.ts +20 -0
- package/auth/BearerAuthProvider.js +79 -0
- package/auth/index.d.ts +1 -0
- package/auth/index.js +5 -0
- package/core/auth/AuthProvider.d.ts +7 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/BasicAuth.d.ts +2 -2
- package/core/auth/BasicAuth.js +11 -4
- package/core/auth/BearerToken.d.ts +3 -1
- package/core/auth/BearerToken.js +7 -6
- package/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/core/auth/NoOpAuthProvider.js +9 -0
- package/core/auth/index.d.ts +3 -0
- package/core/auth/index.js +3 -1
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/exports.d.ts +1 -0
- package/core/exports.js +17 -0
- package/core/fetcher/APIResponse.d.ts +10 -0
- package/core/fetcher/BinaryResponse.d.ts +19 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/core/fetcher/EndpointSupplier.js +22 -0
- package/core/fetcher/Fetcher.d.ts +23 -6
- package/core/fetcher/Fetcher.js +243 -16
- package/core/fetcher/Headers.d.ts +2 -0
- package/core/fetcher/Headers.js +84 -0
- package/core/fetcher/HttpResponsePromise.d.ts +58 -0
- package/core/fetcher/HttpResponsePromise.js +103 -0
- package/core/fetcher/RawResponse.d.ts +29 -0
- package/core/fetcher/RawResponse.js +44 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +45 -0
- package/core/fetcher/getFetchFn.d.ts +1 -4
- package/core/fetcher/getFetchFn.js +1 -52
- package/core/fetcher/getRequestBody.d.ts +1 -1
- package/core/fetcher/getRequestBody.js +4 -0
- package/core/fetcher/getResponseBody.js +42 -27
- package/core/fetcher/index.d.ts +9 -1
- package/core/fetcher/index.js +11 -1
- package/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/core/fetcher/makePassthroughRequest.js +135 -0
- package/core/fetcher/makeRequest.d.ts +6 -1
- package/core/fetcher/makeRequest.js +32 -13
- package/core/fetcher/requestWithRetries.js +35 -8
- package/core/fetcher/signals.d.ts +1 -7
- package/core/fetcher/signals.js +0 -12
- package/core/headers.d.ts +2 -0
- package/core/headers.js +31 -0
- package/core/index.d.ts +4 -1
- package/core/index.js +27 -1
- package/core/logging/exports.d.ts +18 -0
- package/core/logging/exports.js +45 -0
- package/core/logging/index.d.ts +1 -0
- package/core/logging/index.js +17 -0
- package/core/logging/logger.d.ts +126 -0
- package/core/logging/logger.js +144 -0
- package/core/runtime/runtime.js +17 -16
- package/core/url/QueryStringBuilder.d.ts +47 -0
- package/core/url/QueryStringBuilder.js +83 -0
- package/core/url/encodePathParam.d.ts +1 -0
- package/core/url/encodePathParam.js +21 -0
- package/core/url/index.d.ts +4 -0
- package/core/url/index.js +11 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +68 -0
- package/core/url/qs.d.ts +7 -0
- package/core/url/qs.js +76 -0
- package/environments.d.ts +0 -3
- package/environments.js +1 -3
- package/errors/PolytomicError.d.ts +6 -4
- package/errors/PolytomicError.js +12 -10
- package/errors/PolytomicTimeoutError.d.ts +4 -4
- package/errors/PolytomicTimeoutError.js +10 -5
- package/errors/handleNonStatusCodeError.d.ts +2 -0
- package/errors/handleNonStatusCodeError.js +68 -0
- package/exports.d.ts +1 -0
- package/exports.js +17 -0
- package/index.d.ts +2 -0
- package/index.js +4 -0
- package/package.json +31 -24
- package/reference.md +4562 -1299
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +0 -11
- package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js +0 -5
- package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +0 -5
- package/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.js +0 -5
- package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +0 -5
- package/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.js +0 -5
- package/api/resources/bulkSync/types/index.d.ts +0 -2
- package/api/resources/bulkSync/types/index.js +0 -18
- package/api/resources/connections/client/requests/ApiRequest.d.ts +0 -13
- package/api/resources/connections/client/requests/ApiRequest.js +0 -5
- package/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +0 -48
- package/api/resources/modelSync/client/requests/CreateModelSyncRequest.js +0 -5
- package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +0 -12
- package/api/resources/modelSync/client/requests/StartModelSyncRequest.js +0 -5
- package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +0 -48
- package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.js +0 -5
- package/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.d.ts +0 -13
- package/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.js +0 -5
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.d.ts +0 -11
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.js +0 -5
- package/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +0 -11
- package/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.js +0 -5
- package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +0 -10
- package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +0 -5
- package/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +0 -15
- package/api/resources/queryRunner/client/requests/V4RunQueryRequest.js +0 -5
- package/api/types/BulkItemizedSchedule.d.ts +0 -8
- package/api/types/BulkItemizedSchedule.js +0 -5
- package/api/types/BulkMultiScheduleConfiguration.d.ts +0 -8
- package/api/types/BulkMultiScheduleConfiguration.js +0 -5
- package/api/types/BulkSchedule.d.ts +0 -13
- package/api/types/BulkSchedule.js +0 -5
- package/api/types/BulkSyncCanceledEvent.d.ts +0 -11
- package/api/types/BulkSyncCanceledEvent.js +0 -5
- package/api/types/BulkSyncCompletedEvent.d.ts +0 -12
- package/api/types/BulkSyncCompletedEvent.js +0 -5
- package/api/types/BulkSyncCompletedWithErrorEvent.d.ts +0 -12
- package/api/types/BulkSyncCompletedWithErrorEvent.js +0 -5
- package/api/types/BulkSyncFailedEvent.d.ts +0 -13
- package/api/types/BulkSyncFailedEvent.js +0 -5
- package/api/types/BulkSyncMode.d.ts +0 -11
- package/api/types/BulkSyncMode.js +0 -10
- package/api/types/BulkSyncRunningEvent.d.ts +0 -11
- package/api/types/BulkSyncRunningEvent.js +0 -5
- package/api/types/CancelModelSyncResponse.d.ts +0 -6
- package/api/types/CancelModelSyncResponse.js +0 -5
- package/api/types/CancelModelSyncResponseEnvelope.d.ts +0 -7
- package/api/types/CancelModelSyncResponseEnvelope.js +0 -5
- package/api/types/CommonOutputActor.d.ts +0 -8
- package/api/types/CommonOutputActor.js +0 -5
- package/api/types/ConnectionMeta.d.ts +0 -8
- package/api/types/ConnectionMeta.js +0 -5
- package/api/types/ConnectionMetaResponse.d.ts +0 -9
- package/api/types/ConnectionMetaResponse.js +0 -5
- package/api/types/EventBody.d.ts +0 -5
- package/api/types/EventBody.js +0 -5
- package/api/types/ExecutionStatus.d.ts +0 -17
- package/api/types/ExecutionStatus.js +0 -19
- package/api/types/GetConnectionMetaEnvelope.d.ts +0 -7
- package/api/types/GetConnectionMetaEnvelope.js +0 -5
- package/api/types/GetModelSyncSourceMetaEnvelope.d.ts +0 -7
- package/api/types/GetModelSyncSourceMetaEnvelope.js +0 -5
- package/api/types/ListBulkSchema.d.ts +0 -7
- package/api/types/ListBulkSchema.js +0 -5
- package/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +0 -7
- package/api/types/ListBulkSyncExecutionStatusEnvelope.js +0 -5
- package/api/types/ListModelSyncResponseEnvelope.d.ts +0 -7
- package/api/types/ListModelSyncResponseEnvelope.js +0 -5
- package/api/types/ModelSyncField.d.ts +0 -17
- package/api/types/ModelSyncField.js +0 -5
- package/api/types/ModelSyncMode.d.ts +0 -15
- package/api/types/ModelSyncMode.js +0 -14
- package/api/types/ModelSyncResponse.d.ts +0 -30
- package/api/types/ModelSyncResponse.js +0 -5
- package/api/types/ModelSyncResponseEnvelope.d.ts +0 -7
- package/api/types/ModelSyncResponseEnvelope.js +0 -5
- package/api/types/ModelSyncSourceMetaResponse.d.ts +0 -9
- package/api/types/ModelSyncSourceMetaResponse.js +0 -5
- package/api/types/Pagination.d.ts +0 -9
- package/api/types/Pagination.js +0 -5
- package/api/types/RestErrResponse.d.ts +0 -13
- package/api/types/RestErrResponse.js +0 -5
- package/api/types/StartModelSyncResponseEnvelope.d.ts +0 -7
- package/api/types/StartModelSyncResponseEnvelope.js +0 -5
- package/api/types/StartModelSyncResponseSchema.d.ts +0 -10
- package/api/types/StartModelSyncResponseSchema.js +0 -5
- package/api/types/SyncCanceledEvent.d.ts +0 -12
- package/api/types/SyncCanceledEvent.js +0 -5
- package/api/types/SyncCompletedEvent.d.ts +0 -25
- package/api/types/SyncCompletedEvent.js +0 -5
- package/api/types/SyncCompletedWithErrorsEvent.d.ts +0 -13
- package/api/types/SyncCompletedWithErrorsEvent.js +0 -5
- package/api/types/SyncFailedEvent.d.ts +0 -11
- package/api/types/SyncFailedEvent.js +0 -5
- package/api/types/SyncRunningEvent.d.ts +0 -10
- package/api/types/SyncRunningEvent.js +0 -5
- package/api/types/V2ConnectionForm.d.ts +0 -7
- package/api/types/V2ConnectionForm.js +0 -5
- package/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +0 -7
- package/api/types/V2CreateSharedConnectionResponseEnvelope.js +0 -5
- package/api/types/V2EnricherConfiguration.d.ts +0 -7
- package/api/types/V2EnricherConfiguration.js +0 -5
- package/api/types/V2EnricherMapping.d.ts +0 -7
- package/api/types/V2EnricherMapping.js +0 -5
- package/api/types/V2ExecutionLogType.d.ts +0 -12
- package/api/types/V2ExecutionLogType.js +0 -14
- package/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.d.ts +0 -6
- package/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.js +0 -5
- package/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +0 -4
- package/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.js +0 -5
- package/api/types/V2SampleRecord.d.ts +0 -7
- package/api/types/V2SampleRecord.js +0 -5
- package/api/types/V2SchemaConfigurationFieldsItem.d.ts +0 -5
- package/api/types/V2SchemaConfigurationFieldsItem.js +0 -5
- package/api/types/V4BulkSyncExecutionLogs.d.ts +0 -4
- package/api/types/V4BulkSyncExecutionLogs.js +0 -5
- package/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +0 -7
- package/api/types/V4BulkSyncExecutionLogsEnvelope.js +0 -5
- package/api/types/V4BulkSyncScheduleApi.d.ts +0 -13
- package/api/types/V4BulkSyncScheduleApi.js +0 -5
- package/api/types/V4ExportSyncLogsEnvelope.d.ts +0 -8
- package/api/types/V4ExportSyncLogsEnvelope.js +0 -5
- package/api/types/V4ExportSyncLogsResponse.d.ts +0 -6
- package/api/types/V4ExportSyncLogsResponse.js +0 -5
- package/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -6
- package/api/types/V4GlobalErrorSubscribersResponse.js +0 -5
- package/api/types/V4QueryResultsEnvelope.d.ts +0 -8
- package/api/types/V4QueryResultsEnvelope.js +0 -5
- package/api/types/V4RunQueryEnvelope.d.ts +0 -7
- package/api/types/V4RunQueryEnvelope.js +0 -5
- package/api/types/V4RunQueryResult.d.ts +0 -18
- package/api/types/V4RunQueryResult.js +0 -5
- package/api/types/V4TargetCreator.d.ts +0 -10
- package/api/types/V4TargetCreator.js +0 -5
- package/api/types/V4TargetObjectsResponseEnvelope.d.ts +0 -8
- package/api/types/V4TargetObjectsResponseEnvelope.js +0 -5
- package/api/types/V4TargetPropertyValues.d.ts +0 -14
- package/api/types/V4TargetPropertyValues.js +0 -5
- package/api/types/V4TargetPropertyValuesEnvelope.d.ts +0 -7
- package/api/types/V4TargetPropertyValuesEnvelope.js +0 -5
- package/api/types/V4UserFieldRequest.d.ts +0 -10
- package/api/types/V4UserFieldRequest.js +0 -5
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/Client.d.ts +0 -73
- package/dist/Client.js +0 -82
- package/dist/api/errors/BadRequestError.d.ts +0 -8
- package/dist/api/errors/BadRequestError.js +0 -51
- package/dist/api/errors/ConflictError.d.ts +0 -8
- package/dist/api/errors/ConflictError.js +0 -51
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -51
- package/dist/api/errors/InternalServerError.d.ts +0 -8
- package/dist/api/errors/InternalServerError.js +0 -51
- package/dist/api/errors/NotFoundError.d.ts +0 -8
- package/dist/api/errors/NotFoundError.js +0 -51
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -51
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -51
- package/dist/api/errors/index.d.ts +0 -7
- package/dist/api/errors/index.js +0 -23
- package/dist/api/index.d.ts +0 -3
- package/dist/api/index.js +0 -19
- package/dist/api/resources/bulkSync/client/Client.d.ts +0 -248
- package/dist/api/resources/bulkSync/client/Client.js +0 -847
- package/dist/api/resources/bulkSync/client/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/client/index.js +0 -17
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetRequest.d.ts +0 -12
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +0 -12
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +0 -12
- package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.d.ts +0 -12
- package/dist/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +0 -43
- package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/StartBulkSyncRequest.d.ts +0 -14
- package/dist/api/resources/bulkSync/client/requests/StartBulkSyncRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +0 -43
- package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/index.d.ts +0 -7
- package/dist/api/resources/bulkSync/index.d.ts +0 -3
- package/dist/api/resources/bulkSync/index.js +0 -19
- package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +0 -117
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +0 -467
- package/dist/api/resources/bulkSync/resources/executions/client/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/executions/client/index.js +0 -17
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +0 -13
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -18
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.d.ts +0 -24
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListStatusRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +0 -3
- package/dist/api/resources/bulkSync/resources/index.d.ts +0 -6
- package/dist/api/resources/bulkSync/resources/index.js +0 -45
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.d.ts +0 -113
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +0 -398
- package/dist/api/resources/bulkSync/resources/schedules/client/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/schedules/client/index.js +0 -17
- package/dist/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +0 -15
- package/dist/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +0 -15
- package/dist/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/schedules/client/requests/index.d.ts +0 -2
- package/dist/api/resources/bulkSync/resources/schedules/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/schedules/index.js +0 -17
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +0 -101
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +0 -383
- package/dist/api/resources/bulkSync/resources/schemas/client/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/schemas/client/index.js +0 -17
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +0 -11
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +0 -10
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.js +0 -5
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +0 -18
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.js +0 -5
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +0 -3
- package/dist/api/resources/bulkSync/resources/schemas/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/schemas/index.js +0 -17
- package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.d.ts +0 -5
- package/dist/api/resources/bulkSync/types/V2CreateBulkSyncRequestSchemasItem.js +0 -5
- package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.d.ts +0 -5
- package/dist/api/resources/bulkSync/types/V2UpdateBulkSyncRequestSchemasItem.js +0 -5
- package/dist/api/resources/bulkSync/types/index.d.ts +0 -2
- package/dist/api/resources/bulkSync/types/index.js +0 -18
- package/dist/api/resources/connections/client/Client.d.ts +0 -237
- package/dist/api/resources/connections/client/Client.js +0 -865
- package/dist/api/resources/connections/client/index.d.ts +0 -1
- package/dist/api/resources/connections/client/index.js +0 -17
- package/dist/api/resources/connections/client/requests/ApiRequest.d.ts +0 -13
- package/dist/api/resources/connections/client/requests/ApiRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/ConnectCardRequest.d.ts +0 -25
- package/dist/api/resources/connections/client/requests/ConnectCardRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/ConnectionsRemoveRequest.d.ts +0 -12
- package/dist/api/resources/connections/client/requests/ConnectionsRemoveRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +0 -30
- package/dist/api/resources/connections/client/requests/CreateConnectionRequestSchema.js +0 -5
- package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +0 -15
- package/dist/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.js +0 -5
- package/dist/api/resources/connections/client/requests/TestConnectionRequest.d.ts +0 -24
- package/dist/api/resources/connections/client/requests/TestConnectionRequest.js +0 -5
- package/dist/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +0 -28
- package/dist/api/resources/connections/client/requests/UpdateConnectionRequestSchema.js +0 -5
- package/dist/api/resources/connections/client/requests/index.d.ts +0 -7
- package/dist/api/resources/connections/client/requests/index.js +0 -2
- package/dist/api/resources/connections/index.d.ts +0 -1
- package/dist/api/resources/connections/index.js +0 -17
- package/dist/api/resources/events/client/Client.d.ts +0 -58
- package/dist/api/resources/events/client/Client.js +0 -200
- package/dist/api/resources/events/client/index.d.ts +0 -1
- package/dist/api/resources/events/client/index.js +0 -17
- package/dist/api/resources/events/client/requests/EventsListRequest.d.ts +0 -18
- package/dist/api/resources/events/client/requests/EventsListRequest.js +0 -5
- package/dist/api/resources/events/client/requests/index.d.ts +0 -1
- package/dist/api/resources/events/client/requests/index.js +0 -2
- package/dist/api/resources/events/index.d.ts +0 -1
- package/dist/api/resources/events/index.js +0 -17
- package/dist/api/resources/identity/client/Client.d.ts +0 -45
- package/dist/api/resources/identity/client/Client.js +0 -124
- package/dist/api/resources/identity/client/index.js +0 -2
- package/dist/api/resources/identity/index.d.ts +0 -1
- package/dist/api/resources/identity/index.js +0 -17
- package/dist/api/resources/index.d.ts +0 -26
- package/dist/api/resources/index.js +0 -65
- package/dist/api/resources/jobs/client/Client.d.ts +0 -47
- package/dist/api/resources/jobs/client/Client.js +0 -130
- package/dist/api/resources/jobs/client/index.d.ts +0 -1
- package/dist/api/resources/jobs/client/index.js +0 -2
- package/dist/api/resources/jobs/index.d.ts +0 -1
- package/dist/api/resources/jobs/index.js +0 -17
- package/dist/api/resources/modelSync/client/Client.d.ts +0 -289
- package/dist/api/resources/modelSync/client/Client.js +0 -952
- package/dist/api/resources/modelSync/client/index.d.ts +0 -1
- package/dist/api/resources/modelSync/client/index.js +0 -17
- package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +0 -48
- package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.d.ts +0 -10
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +0 -10
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +0 -16
- package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +0 -12
- package/dist/api/resources/modelSync/client/requests/StartModelSyncRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +0 -48
- package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/index.d.ts +0 -6
- package/dist/api/resources/modelSync/client/requests/index.js +0 -2
- package/dist/api/resources/modelSync/index.d.ts +0 -2
- package/dist/api/resources/modelSync/index.js +0 -18
- package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +0 -111
- package/dist/api/resources/modelSync/resources/executions/client/Client.js +0 -399
- package/dist/api/resources/modelSync/resources/executions/client/index.d.ts +0 -1
- package/dist/api/resources/modelSync/resources/executions/client/index.js +0 -17
- package/dist/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +0 -16
- package/dist/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.js +0 -5
- package/dist/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.d.ts +0 -13
- package/dist/api/resources/modelSync/resources/executions/client/requests/UpdateExecutionRequest.js +0 -5
- package/dist/api/resources/modelSync/resources/executions/client/requests/index.d.ts +0 -2
- package/dist/api/resources/modelSync/resources/executions/client/requests/index.js +0 -2
- package/dist/api/resources/modelSync/resources/executions/index.d.ts +0 -1
- package/dist/api/resources/modelSync/resources/executions/index.js +0 -17
- package/dist/api/resources/modelSync/resources/index.d.ts +0 -4
- package/dist/api/resources/modelSync/resources/index.js +0 -43
- package/dist/api/resources/modelSync/resources/targets/client/Client.d.ts +0 -143
- package/dist/api/resources/modelSync/resources/targets/client/Client.js +0 -395
- package/dist/api/resources/modelSync/resources/targets/client/index.d.ts +0 -1
- package/dist/api/resources/modelSync/resources/targets/client/index.js +0 -17
- package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +0 -14
- package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.js +0 -5
- package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.d.ts +0 -11
- package/dist/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetRequest.js +0 -5
- package/dist/api/resources/modelSync/resources/targets/client/requests/index.d.ts +0 -2
- package/dist/api/resources/modelSync/resources/targets/client/requests/index.js +0 -2
- package/dist/api/resources/modelSync/resources/targets/index.d.ts +0 -1
- package/dist/api/resources/modelSync/resources/targets/index.js +0 -17
- package/dist/api/resources/models/client/Client.d.ts +0 -180
- package/dist/api/resources/models/client/Client.js +0 -709
- package/dist/api/resources/models/client/index.d.ts +0 -1
- package/dist/api/resources/models/client/index.js +0 -17
- package/dist/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.d.ts +0 -11
- package/dist/api/resources/models/client/requests/GetEnrichmentInputFieldsRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsCreateRequest.d.ts +0 -20
- package/dist/api/resources/models/client/requests/ModelsCreateRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +0 -10
- package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsGetRequest.d.ts +0 -10
- package/dist/api/resources/models/client/requests/ModelsGetRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsPreviewRequest.d.ts +0 -20
- package/dist/api/resources/models/client/requests/ModelsPreviewRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsRemoveRequest.d.ts +0 -10
- package/dist/api/resources/models/client/requests/ModelsRemoveRequest.js +0 -5
- package/dist/api/resources/models/client/requests/ModelsSampleRequest.d.ts +0 -10
- package/dist/api/resources/models/client/requests/ModelsSampleRequest.js +0 -5
- package/dist/api/resources/models/client/requests/UpdateModelRequest.d.ts +0 -31
- package/dist/api/resources/models/client/requests/UpdateModelRequest.js +0 -5
- package/dist/api/resources/models/client/requests/index.d.ts +0 -8
- package/dist/api/resources/models/client/requests/index.js +0 -2
- package/dist/api/resources/models/index.d.ts +0 -1
- package/dist/api/resources/models/index.js +0 -17
- package/dist/api/resources/notifications/client/Client.d.ts +0 -55
- package/dist/api/resources/notifications/client/Client.js +0 -182
- package/dist/api/resources/notifications/client/index.d.ts +0 -1
- package/dist/api/resources/notifications/client/index.js +0 -17
- package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +0 -10
- package/dist/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.js +0 -5
- package/dist/api/resources/notifications/client/requests/index.d.ts +0 -1
- package/dist/api/resources/notifications/client/requests/index.js +0 -2
- package/dist/api/resources/notifications/index.d.ts +0 -1
- package/dist/api/resources/notifications/index.js +0 -17
- package/dist/api/resources/organization/client/Client.d.ts +0 -117
- package/dist/api/resources/organization/client/Client.js +0 -388
- package/dist/api/resources/organization/client/index.d.ts +0 -1
- package/dist/api/resources/organization/client/index.js +0 -17
- package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +0 -17
- package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +0 -5
- package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +0 -17
- package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.js +0 -5
- package/dist/api/resources/organization/client/requests/index.d.ts +0 -2
- package/dist/api/resources/organization/client/requests/index.js +0 -2
- package/dist/api/resources/organization/index.d.ts +0 -1
- package/dist/api/resources/organization/index.js +0 -17
- package/dist/api/resources/permissions/client/Client.d.ts +0 -37
- package/dist/api/resources/permissions/client/Client.js +0 -22
- package/dist/api/resources/permissions/client/index.d.ts +0 -1
- package/dist/api/resources/permissions/client/index.js +0 -2
- package/dist/api/resources/permissions/index.d.ts +0 -2
- package/dist/api/resources/permissions/index.js +0 -18
- package/dist/api/resources/permissions/resources/index.d.ts +0 -4
- package/dist/api/resources/permissions/resources/index.js +0 -43
- package/dist/api/resources/permissions/resources/policies/client/Client.d.ts +0 -101
- package/dist/api/resources/permissions/resources/policies/client/Client.js +0 -380
- package/dist/api/resources/permissions/resources/policies/client/index.d.ts +0 -1
- package/dist/api/resources/permissions/resources/policies/client/index.js +0 -17
- package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +0 -15
- package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.js +0 -5
- package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +0 -15
- package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.js +0 -5
- package/dist/api/resources/permissions/resources/policies/client/requests/index.d.ts +0 -2
- package/dist/api/resources/permissions/resources/policies/client/requests/index.js +0 -2
- package/dist/api/resources/permissions/resources/policies/index.d.ts +0 -1
- package/dist/api/resources/permissions/resources/policies/index.js +0 -17
- package/dist/api/resources/permissions/resources/roles/client/Client.d.ts +0 -100
- package/dist/api/resources/permissions/resources/roles/client/Client.js +0 -377
- package/dist/api/resources/permissions/resources/roles/client/index.d.ts +0 -1
- package/dist/api/resources/permissions/resources/roles/client/index.js +0 -17
- package/dist/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.d.ts +0 -13
- package/dist/api/resources/permissions/resources/roles/client/requests/CreateRoleRequest.js +0 -5
- package/dist/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.d.ts +0 -13
- package/dist/api/resources/permissions/resources/roles/client/requests/UpdateRoleRequest.js +0 -5
- package/dist/api/resources/permissions/resources/roles/client/requests/index.d.ts +0 -2
- package/dist/api/resources/permissions/resources/roles/client/requests/index.js +0 -2
- package/dist/api/resources/permissions/resources/roles/index.d.ts +0 -1
- package/dist/api/resources/permissions/resources/roles/index.js +0 -17
- package/dist/api/resources/queryRunner/client/Client.d.ts +0 -63
- package/dist/api/resources/queryRunner/client/Client.js +0 -219
- package/dist/api/resources/queryRunner/client/index.d.ts +0 -1
- package/dist/api/resources/queryRunner/client/index.js +0 -17
- package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +0 -10
- package/dist/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.js +0 -5
- package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.d.ts +0 -15
- package/dist/api/resources/queryRunner/client/requests/V4RunQueryRequest.js +0 -5
- package/dist/api/resources/queryRunner/client/requests/index.d.ts +0 -2
- package/dist/api/resources/queryRunner/client/requests/index.js +0 -2
- package/dist/api/resources/queryRunner/index.d.ts +0 -1
- package/dist/api/resources/queryRunner/index.js +0 -17
- package/dist/api/resources/schemas/client/Client.d.ts +0 -151
- package/dist/api/resources/schemas/client/Client.js +0 -581
- package/dist/api/resources/schemas/client/index.d.ts +0 -1
- package/dist/api/resources/schemas/client/index.js +0 -17
- package/dist/api/resources/schemas/client/requests/SetPrimaryKeysRequest.d.ts +0 -11
- package/dist/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +0 -5
- package/dist/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +0 -11
- package/dist/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.js +0 -5
- package/dist/api/resources/schemas/client/requests/index.d.ts +0 -2
- package/dist/api/resources/schemas/client/requests/index.js +0 -2
- package/dist/api/resources/schemas/index.d.ts +0 -1
- package/dist/api/resources/schemas/index.js +0 -17
- package/dist/api/resources/users/client/Client.d.ts +0 -126
- package/dist/api/resources/users/client/Client.js +0 -458
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -17
- package/dist/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +0 -14
- package/dist/api/resources/users/client/requests/CreateUserRequestSchema.js +0 -5
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +0 -14
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.js +0 -5
- package/dist/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +0 -12
- package/dist/api/resources/users/client/requests/UsersCreateApiKeyRequest.js +0 -5
- package/dist/api/resources/users/client/requests/index.d.ts +0 -3
- package/dist/api/resources/users/client/requests/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -1
- package/dist/api/resources/users/index.js +0 -17
- package/dist/api/resources/webhooks/client/Client.d.ts +0 -145
- package/dist/api/resources/webhooks/client/Client.js +0 -506
- package/dist/api/resources/webhooks/client/index.d.ts +0 -1
- package/dist/api/resources/webhooks/client/index.js +0 -17
- package/dist/api/resources/webhooks/client/requests/CreateWebhooksSchema.d.ts +0 -15
- package/dist/api/resources/webhooks/client/requests/CreateWebhooksSchema.js +0 -5
- package/dist/api/resources/webhooks/client/requests/UpdateWebhooksSchema.d.ts +0 -15
- package/dist/api/resources/webhooks/client/requests/UpdateWebhooksSchema.js +0 -5
- package/dist/api/resources/webhooks/client/requests/index.d.ts +0 -2
- package/dist/api/resources/webhooks/client/requests/index.js +0 -2
- package/dist/api/resources/webhooks/index.d.ts +0 -1
- package/dist/api/resources/webhooks/index.js +0 -17
- package/dist/api/types/ActivateSyncEnvelope.d.ts +0 -7
- package/dist/api/types/ActivateSyncEnvelope.js +0 -5
- package/dist/api/types/ActivateSyncInput.d.ts +0 -6
- package/dist/api/types/ActivateSyncInput.js +0 -5
- package/dist/api/types/ActivateSyncOutput.d.ts +0 -7
- package/dist/api/types/ActivateSyncOutput.js +0 -5
- package/dist/api/types/ApiError.d.ts +0 -9
- package/dist/api/types/ApiError.js +0 -5
- package/dist/api/types/ApiKeyResponse.d.ts +0 -6
- package/dist/api/types/ApiKeyResponse.js +0 -5
- package/dist/api/types/ApiKeyResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ApiKeyResponseEnvelope.js +0 -5
- package/dist/api/types/BackendConnectionCapabilities.d.ts +0 -9
- package/dist/api/types/BackendConnectionCapabilities.js +0 -5
- package/dist/api/types/BackendOAuthPrompt.d.ts +0 -8
- package/dist/api/types/BackendOAuthPrompt.js +0 -5
- package/dist/api/types/BulkBulkSyncSchedule.d.ts +0 -22
- package/dist/api/types/BulkBulkSyncSchedule.js +0 -5
- package/dist/api/types/BulkDiscover.d.ts +0 -10
- package/dist/api/types/BulkDiscover.js +0 -12
- package/dist/api/types/BulkExecutionStatus.d.ts +0 -17
- package/dist/api/types/BulkExecutionStatus.js +0 -19
- package/dist/api/types/BulkFetchMode.d.ts +0 -12
- package/dist/api/types/BulkFetchMode.js +0 -11
- package/dist/api/types/BulkField.d.ts +0 -10
- package/dist/api/types/BulkField.js +0 -5
- package/dist/api/types/BulkFilter.d.ts +0 -10
- package/dist/api/types/BulkFilter.js +0 -5
- package/dist/api/types/BulkItemizedSchedule.d.ts +0 -8
- package/dist/api/types/BulkItemizedSchedule.js +0 -5
- package/dist/api/types/BulkMultiScheduleConfiguration.d.ts +0 -8
- package/dist/api/types/BulkMultiScheduleConfiguration.js +0 -5
- package/dist/api/types/BulkNormalizeNames.d.ts +0 -9
- package/dist/api/types/BulkNormalizeNames.js +0 -11
- package/dist/api/types/BulkSchedule.d.ts +0 -13
- package/dist/api/types/BulkSchedule.js +0 -5
- package/dist/api/types/BulkScheduleSyncMode.d.ts +0 -10
- package/dist/api/types/BulkScheduleSyncMode.js +0 -12
- package/dist/api/types/BulkSchema.d.ts +0 -16
- package/dist/api/types/BulkSchema.js +0 -5
- package/dist/api/types/BulkSchemaEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSchemaEnvelope.js +0 -5
- package/dist/api/types/BulkSchemaExecutionStatus.d.ts +0 -14
- package/dist/api/types/BulkSchemaExecutionStatus.js +0 -16
- package/dist/api/types/BulkSelectiveMode.d.ts +0 -9
- package/dist/api/types/BulkSelectiveMode.js +0 -11
- package/dist/api/types/BulkSyncCanceledEvent.d.ts +0 -11
- package/dist/api/types/BulkSyncCanceledEvent.js +0 -5
- package/dist/api/types/BulkSyncCompletedEvent.d.ts +0 -12
- package/dist/api/types/BulkSyncCompletedEvent.js +0 -5
- package/dist/api/types/BulkSyncCompletedWithErrorEvent.d.ts +0 -12
- package/dist/api/types/BulkSyncCompletedWithErrorEvent.js +0 -5
- package/dist/api/types/BulkSyncDest.d.ts +0 -8
- package/dist/api/types/BulkSyncDest.js +0 -5
- package/dist/api/types/BulkSyncDestEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncDestEnvelope.js +0 -5
- package/dist/api/types/BulkSyncExecution.d.ts +0 -22
- package/dist/api/types/BulkSyncExecution.js +0 -5
- package/dist/api/types/BulkSyncExecutionEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncExecutionEnvelope.js +0 -5
- package/dist/api/types/BulkSyncExecutionStatus.d.ts +0 -10
- package/dist/api/types/BulkSyncExecutionStatus.js +0 -5
- package/dist/api/types/BulkSyncFailedEvent.d.ts +0 -13
- package/dist/api/types/BulkSyncFailedEvent.js +0 -5
- package/dist/api/types/BulkSyncListEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncListEnvelope.js +0 -5
- package/dist/api/types/BulkSyncMode.d.ts +0 -11
- package/dist/api/types/BulkSyncMode.js +0 -10
- package/dist/api/types/BulkSyncResponse.d.ts +0 -36
- package/dist/api/types/BulkSyncResponse.js +0 -5
- package/dist/api/types/BulkSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncResponseEnvelope.js +0 -5
- package/dist/api/types/BulkSyncRunningEvent.d.ts +0 -11
- package/dist/api/types/BulkSyncRunningEvent.js +0 -5
- package/dist/api/types/BulkSyncSchemaExecution.d.ts +0 -17
- package/dist/api/types/BulkSyncSchemaExecution.js +0 -5
- package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +0 -16
- package/dist/api/types/BulkSyncSchemaExecutionStatus.js +0 -5
- package/dist/api/types/BulkSyncSource.d.ts +0 -8
- package/dist/api/types/BulkSyncSource.js +0 -5
- package/dist/api/types/BulkSyncSourceEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncSourceEnvelope.js +0 -5
- package/dist/api/types/BulkSyncSourceSchemaEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncSourceSchemaEnvelope.js +0 -5
- package/dist/api/types/BulkSyncSourceStatus.d.ts +0 -8
- package/dist/api/types/BulkSyncSourceStatus.js +0 -5
- package/dist/api/types/BulkSyncSourceStatusEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncSourceStatusEnvelope.js +0 -5
- package/dist/api/types/BulkSyncStatusEnvelope.d.ts +0 -7
- package/dist/api/types/BulkSyncStatusEnvelope.js +0 -5
- package/dist/api/types/BulkSyncStatusResponse.d.ts +0 -9
- package/dist/api/types/BulkSyncStatusResponse.js +0 -5
- package/dist/api/types/CancelBulkSyncResponse.d.ts +0 -6
- package/dist/api/types/CancelBulkSyncResponse.js +0 -5
- package/dist/api/types/CancelBulkSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/CancelBulkSyncResponseEnvelope.js +0 -5
- package/dist/api/types/CancelModelSyncResponse.d.ts +0 -6
- package/dist/api/types/CancelModelSyncResponse.js +0 -5
- package/dist/api/types/CancelModelSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/CancelModelSyncResponseEnvelope.js +0 -5
- package/dist/api/types/CommonOutputActor.d.ts +0 -8
- package/dist/api/types/CommonOutputActor.js +0 -5
- package/dist/api/types/ConfigurationValue.d.ts +0 -7
- package/dist/api/types/ConfigurationValue.js +0 -5
- package/dist/api/types/ConnectCardResponse.d.ts +0 -8
- package/dist/api/types/ConnectCardResponse.js +0 -5
- package/dist/api/types/ConnectCardResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ConnectCardResponseEnvelope.js +0 -5
- package/dist/api/types/ConnectionListResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ConnectionListResponseEnvelope.js +0 -5
- package/dist/api/types/ConnectionMeta.d.ts +0 -8
- package/dist/api/types/ConnectionMeta.js +0 -5
- package/dist/api/types/ConnectionMetaResponse.d.ts +0 -9
- package/dist/api/types/ConnectionMetaResponse.js +0 -5
- package/dist/api/types/ConnectionParameterValue.d.ts +0 -7
- package/dist/api/types/ConnectionParameterValue.js +0 -5
- package/dist/api/types/ConnectionParameterValuesResp.d.ts +0 -8
- package/dist/api/types/ConnectionParameterValuesResp.js +0 -5
- package/dist/api/types/ConnectionParameterValuesResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ConnectionParameterValuesResponseEnvelope.js +0 -5
- package/dist/api/types/ConnectionResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ConnectionResponseEnvelope.js +0 -5
- package/dist/api/types/ConnectionResponseSchema.d.ts +0 -23
- package/dist/api/types/ConnectionResponseSchema.js +0 -5
- package/dist/api/types/ConnectionType.d.ts +0 -15
- package/dist/api/types/ConnectionType.js +0 -5
- package/dist/api/types/ConnectionTypeResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ConnectionTypeResponseEnvelope.js +0 -5
- package/dist/api/types/ConnectionTypeSchema.d.ts +0 -9
- package/dist/api/types/ConnectionTypeSchema.js +0 -5
- package/dist/api/types/CreateConnectionResponseEnvelope.d.ts +0 -7
- package/dist/api/types/CreateConnectionResponseEnvelope.js +0 -5
- package/dist/api/types/CreateConnectionResponseSchema.d.ts +0 -21
- package/dist/api/types/CreateConnectionResponseSchema.js +0 -5
- package/dist/api/types/CreateModelRequest.d.ts +0 -18
- package/dist/api/types/CreateModelRequest.js +0 -5
- package/dist/api/types/CreateSharedConnectionResponseSchema.d.ts +0 -6
- package/dist/api/types/CreateSharedConnectionResponseSchema.js +0 -5
- package/dist/api/types/Enrichment.d.ts +0 -13
- package/dist/api/types/Enrichment.js +0 -5
- package/dist/api/types/Event.d.ts +0 -11
- package/dist/api/types/Event.js +0 -5
- package/dist/api/types/EventBody.d.ts +0 -5
- package/dist/api/types/EventBody.js +0 -5
- package/dist/api/types/EventTypesEnvelope.d.ts +0 -6
- package/dist/api/types/EventTypesEnvelope.js +0 -5
- package/dist/api/types/EventsEnvelope.d.ts +0 -7
- package/dist/api/types/EventsEnvelope.js +0 -5
- package/dist/api/types/ExecutionCounts.d.ts +0 -12
- package/dist/api/types/ExecutionCounts.js +0 -5
- package/dist/api/types/ExecutionLogResponse.d.ts +0 -7
- package/dist/api/types/ExecutionLogResponse.js +0 -5
- package/dist/api/types/ExecutionLogsResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ExecutionLogsResponseEnvelope.js +0 -5
- package/dist/api/types/ExecutionStatus.d.ts +0 -17
- package/dist/api/types/ExecutionStatus.js +0 -19
- package/dist/api/types/FieldConfiguration.d.ts +0 -10
- package/dist/api/types/FieldConfiguration.js +0 -5
- package/dist/api/types/Filter.d.ts +0 -16
- package/dist/api/types/Filter.js +0 -5
- package/dist/api/types/FilterFieldReferenceType.d.ts +0 -8
- package/dist/api/types/FilterFieldReferenceType.js +0 -10
- package/dist/api/types/FilterFunction.d.ts +0 -35
- package/dist/api/types/FilterFunction.js +0 -37
- package/dist/api/types/GetConnectionMetaEnvelope.d.ts +0 -7
- package/dist/api/types/GetConnectionMetaEnvelope.js +0 -5
- package/dist/api/types/GetExecutionResponseEnvelope.d.ts +0 -7
- package/dist/api/types/GetExecutionResponseEnvelope.js +0 -5
- package/dist/api/types/GetExecutionResponseSchema.d.ts +0 -14
- package/dist/api/types/GetExecutionResponseSchema.js +0 -5
- package/dist/api/types/GetIdentityResponseEnvelope.d.ts +0 -7
- package/dist/api/types/GetIdentityResponseEnvelope.js +0 -5
- package/dist/api/types/GetIdentityResponseSchema.d.ts +0 -21
- package/dist/api/types/GetIdentityResponseSchema.js +0 -5
- package/dist/api/types/GetModelSyncSourceMetaEnvelope.d.ts +0 -7
- package/dist/api/types/GetModelSyncSourceMetaEnvelope.js +0 -5
- package/dist/api/types/Identity.d.ts +0 -11
- package/dist/api/types/Identity.js +0 -5
- package/dist/api/types/IdentityFunction.d.ts +0 -7
- package/dist/api/types/IdentityFunction.js +0 -5
- package/dist/api/types/JobResponse.d.ts +0 -11
- package/dist/api/types/JobResponse.js +0 -5
- package/dist/api/types/JobResponseEnvelope.d.ts +0 -7
- package/dist/api/types/JobResponseEnvelope.js +0 -5
- package/dist/api/types/JsonschemaDefinitions.d.ts +0 -5
- package/dist/api/types/JsonschemaDefinitions.js +0 -5
- package/dist/api/types/JsonschemaForm.d.ts +0 -4
- package/dist/api/types/JsonschemaForm.js +0 -5
- package/dist/api/types/JsonschemaSchema.d.ts +0 -59
- package/dist/api/types/JsonschemaSchema.js +0 -5
- package/dist/api/types/LabelLabel.d.ts +0 -4
- package/dist/api/types/LabelLabel.js +0 -5
- package/dist/api/types/ListBulkSchema.d.ts +0 -7
- package/dist/api/types/ListBulkSchema.js +0 -5
- package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.d.ts +0 -7
- package/dist/api/types/ListBulkSyncExecutionStatusEnvelope.js +0 -5
- package/dist/api/types/ListBulkSyncExecutionsEnvelope.d.ts +0 -8
- package/dist/api/types/ListBulkSyncExecutionsEnvelope.js +0 -5
- package/dist/api/types/ListExecutionResponseEnvelope.d.ts +0 -8
- package/dist/api/types/ListExecutionResponseEnvelope.js +0 -5
- package/dist/api/types/ListModelSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ListModelSyncResponseEnvelope.js +0 -5
- package/dist/api/types/ListPoliciesResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ListPoliciesResponseEnvelope.js +0 -5
- package/dist/api/types/ListUsersEnvelope.d.ts +0 -7
- package/dist/api/types/ListUsersEnvelope.js +0 -5
- package/dist/api/types/Mode.d.ts +0 -11
- package/dist/api/types/Mode.js +0 -5
- package/dist/api/types/ModelField.d.ts +0 -18
- package/dist/api/types/ModelField.js +0 -5
- package/dist/api/types/ModelFieldResponse.d.ts +0 -7
- package/dist/api/types/ModelFieldResponse.js +0 -5
- package/dist/api/types/ModelListResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ModelListResponseEnvelope.js +0 -5
- package/dist/api/types/ModelModelFieldRequest.d.ts +0 -9
- package/dist/api/types/ModelModelFieldRequest.js +0 -5
- package/dist/api/types/ModelRelation.d.ts +0 -8
- package/dist/api/types/ModelRelation.js +0 -5
- package/dist/api/types/ModelRelationTo.d.ts +0 -7
- package/dist/api/types/ModelRelationTo.js +0 -5
- package/dist/api/types/ModelResponse.d.ts +0 -24
- package/dist/api/types/ModelResponse.js +0 -5
- package/dist/api/types/ModelResponseEnvelope.d.ts +0 -8
- package/dist/api/types/ModelResponseEnvelope.js +0 -5
- package/dist/api/types/ModelSample.d.ts +0 -8
- package/dist/api/types/ModelSample.js +0 -5
- package/dist/api/types/ModelSampleResponseEnvelope.d.ts +0 -8
- package/dist/api/types/ModelSampleResponseEnvelope.js +0 -5
- package/dist/api/types/ModelSyncField.d.ts +0 -17
- package/dist/api/types/ModelSyncField.js +0 -5
- package/dist/api/types/ModelSyncMode.d.ts +0 -15
- package/dist/api/types/ModelSyncMode.js +0 -14
- package/dist/api/types/ModelSyncResponse.d.ts +0 -30
- package/dist/api/types/ModelSyncResponse.js +0 -5
- package/dist/api/types/ModelSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ModelSyncResponseEnvelope.js +0 -5
- package/dist/api/types/ModelSyncSourceMetaResponse.d.ts +0 -9
- package/dist/api/types/ModelSyncSourceMetaResponse.js +0 -5
- package/dist/api/types/Organization.d.ts +0 -10
- package/dist/api/types/Organization.js +0 -5
- package/dist/api/types/OrganizationEnvelope.d.ts +0 -7
- package/dist/api/types/OrganizationEnvelope.js +0 -5
- package/dist/api/types/OrganizationsEnvelope.d.ts +0 -7
- package/dist/api/types/OrganizationsEnvelope.js +0 -5
- package/dist/api/types/Override.d.ts +0 -15
- package/dist/api/types/Override.js +0 -5
- package/dist/api/types/Pagination.d.ts +0 -9
- package/dist/api/types/Pagination.js +0 -5
- package/dist/api/types/PaginationDetails.d.ts +0 -6
- package/dist/api/types/PaginationDetails.js +0 -5
- package/dist/api/types/PickValue.d.ts +0 -7
- package/dist/api/types/PickValue.js +0 -5
- package/dist/api/types/PolicyAction.d.ts +0 -7
- package/dist/api/types/PolicyAction.js +0 -5
- package/dist/api/types/PolicyResponse.d.ts +0 -11
- package/dist/api/types/PolicyResponse.js +0 -5
- package/dist/api/types/PolicyResponseEnvelope.d.ts +0 -7
- package/dist/api/types/PolicyResponseEnvelope.js +0 -5
- package/dist/api/types/Relation.d.ts +0 -8
- package/dist/api/types/Relation.js +0 -5
- package/dist/api/types/RelationTo.d.ts +0 -7
- package/dist/api/types/RelationTo.js +0 -5
- package/dist/api/types/RestErrResponse.d.ts +0 -13
- package/dist/api/types/RestErrResponse.js +0 -5
- package/dist/api/types/RoleListResponseEnvelope.d.ts +0 -7
- package/dist/api/types/RoleListResponseEnvelope.js +0 -5
- package/dist/api/types/RoleResponse.d.ts +0 -9
- package/dist/api/types/RoleResponse.js +0 -5
- package/dist/api/types/RoleResponseEnvelope.d.ts +0 -7
- package/dist/api/types/RoleResponseEnvelope.js +0 -5
- package/dist/api/types/RunAfter.d.ts +0 -7
- package/dist/api/types/RunAfter.js +0 -5
- package/dist/api/types/Schedule.d.ts +0 -17
- package/dist/api/types/Schedule.js +0 -5
- package/dist/api/types/ScheduleEnvelope.d.ts +0 -7
- package/dist/api/types/ScheduleEnvelope.js +0 -5
- package/dist/api/types/ScheduleFrequency.d.ts +0 -16
- package/dist/api/types/ScheduleFrequency.js +0 -18
- package/dist/api/types/ScheduleOptionResponse.d.ts +0 -7
- package/dist/api/types/ScheduleOptionResponse.js +0 -5
- package/dist/api/types/ScheduleOptionResponseEnvelope.d.ts +0 -7
- package/dist/api/types/ScheduleOptionResponseEnvelope.js +0 -5
- package/dist/api/types/ScheduleScheduleOption.d.ts +0 -10
- package/dist/api/types/ScheduleScheduleOption.js +0 -5
- package/dist/api/types/SchedulesEnvelope.d.ts +0 -7
- package/dist/api/types/SchedulesEnvelope.js +0 -5
- package/dist/api/types/Schema.d.ts +0 -9
- package/dist/api/types/Schema.js +0 -5
- package/dist/api/types/SchemaAssociation.d.ts +0 -9
- package/dist/api/types/SchemaAssociation.js +0 -5
- package/dist/api/types/SchemaConfiguration.d.ts +0 -16
- package/dist/api/types/SchemaConfiguration.js +0 -5
- package/dist/api/types/SchemaField.d.ts +0 -16
- package/dist/api/types/SchemaField.js +0 -5
- package/dist/api/types/SchemaIdentityFunction.d.ts +0 -11
- package/dist/api/types/SchemaIdentityFunction.js +0 -13
- package/dist/api/types/SchemaPrimaryKeyOverrideInput.d.ts +0 -7
- package/dist/api/types/SchemaPrimaryKeyOverrideInput.js +0 -5
- package/dist/api/types/SchemaRecordsResponseEnvelope.d.ts +0 -6
- package/dist/api/types/SchemaRecordsResponseEnvelope.js +0 -5
- package/dist/api/types/Source.d.ts +0 -7
- package/dist/api/types/Source.js +0 -5
- package/dist/api/types/SourceMeta.d.ts +0 -8
- package/dist/api/types/SourceMeta.js +0 -5
- package/dist/api/types/StartModelSyncResponseEnvelope.d.ts +0 -7
- package/dist/api/types/StartModelSyncResponseEnvelope.js +0 -5
- package/dist/api/types/StartModelSyncResponseSchema.d.ts +0 -10
- package/dist/api/types/StartModelSyncResponseSchema.js +0 -5
- package/dist/api/types/SupportedBulkMode.d.ts +0 -12
- package/dist/api/types/SupportedBulkMode.js +0 -5
- package/dist/api/types/SupportedMode.d.ts +0 -13
- package/dist/api/types/SupportedMode.js +0 -5
- package/dist/api/types/SyncCanceledEvent.d.ts +0 -12
- package/dist/api/types/SyncCanceledEvent.js +0 -5
- package/dist/api/types/SyncCompletedEvent.d.ts +0 -25
- package/dist/api/types/SyncCompletedEvent.js +0 -5
- package/dist/api/types/SyncCompletedWithErrorsEvent.d.ts +0 -13
- package/dist/api/types/SyncCompletedWithErrorsEvent.js +0 -5
- package/dist/api/types/SyncDestinationProperties.d.ts +0 -18
- package/dist/api/types/SyncDestinationProperties.js +0 -5
- package/dist/api/types/SyncFailedEvent.d.ts +0 -11
- package/dist/api/types/SyncFailedEvent.js +0 -5
- package/dist/api/types/SyncRunningEvent.d.ts +0 -10
- package/dist/api/types/SyncRunningEvent.js +0 -5
- package/dist/api/types/SyncStatusEnvelope.d.ts +0 -7
- package/dist/api/types/SyncStatusEnvelope.js +0 -5
- package/dist/api/types/SyncStatusResponse.d.ts +0 -9
- package/dist/api/types/SyncStatusResponse.js +0 -5
- package/dist/api/types/Target.d.ts +0 -14
- package/dist/api/types/Target.js +0 -5
- package/dist/api/types/TargetCreateInput.d.ts +0 -11
- package/dist/api/types/TargetCreateInput.js +0 -5
- package/dist/api/types/TargetField.d.ts +0 -19
- package/dist/api/types/TargetField.js +0 -5
- package/dist/api/types/TargetObject.d.ts +0 -12
- package/dist/api/types/TargetObject.js +0 -5
- package/dist/api/types/TargetResponse.d.ts +0 -12
- package/dist/api/types/TargetResponse.js +0 -5
- package/dist/api/types/TargetResponseEnvelope.d.ts +0 -7
- package/dist/api/types/TargetResponseEnvelope.js +0 -5
- package/dist/api/types/TypesType.d.ts +0 -4
- package/dist/api/types/TypesType.js +0 -5
- package/dist/api/types/UpdateBulkField.d.ts +0 -9
- package/dist/api/types/UpdateBulkField.js +0 -5
- package/dist/api/types/User.d.ts +0 -10
- package/dist/api/types/User.js +0 -5
- package/dist/api/types/UserEnvelope.d.ts +0 -7
- package/dist/api/types/UserEnvelope.js +0 -5
- package/dist/api/types/UtilEnumValue.d.ts +0 -7
- package/dist/api/types/UtilEnumValue.js +0 -5
- package/dist/api/types/UtilFieldType.d.ts +0 -14
- package/dist/api/types/UtilFieldType.js +0 -16
- package/dist/api/types/V2ConnectionForm.d.ts +0 -7
- package/dist/api/types/V2ConnectionForm.js +0 -5
- package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.d.ts +0 -7
- package/dist/api/types/V2CreateSharedConnectionResponseEnvelope.js +0 -5
- package/dist/api/types/V2EnricherConfiguration.d.ts +0 -7
- package/dist/api/types/V2EnricherConfiguration.js +0 -5
- package/dist/api/types/V2EnricherMapping.d.ts +0 -7
- package/dist/api/types/V2EnricherMapping.js +0 -5
- package/dist/api/types/V2ExecutionLogType.d.ts +0 -12
- package/dist/api/types/V2ExecutionLogType.js +0 -14
- package/dist/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.d.ts +0 -6
- package/dist/api/types/V2GetEnrichmentInputFieldsResponseEnvelope.js +0 -5
- package/dist/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.d.ts +0 -4
- package/dist/api/types/V2OrderedMapStringGithubComInvopopJsonschemaSchema.js +0 -5
- package/dist/api/types/V2SampleRecord.d.ts +0 -7
- package/dist/api/types/V2SampleRecord.js +0 -5
- package/dist/api/types/V2SchemaConfigurationFieldsItem.d.ts +0 -5
- package/dist/api/types/V2SchemaConfigurationFieldsItem.js +0 -5
- package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +0 -4
- package/dist/api/types/V4BulkSyncExecutionLogs.js +0 -5
- package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +0 -7
- package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.js +0 -5
- package/dist/api/types/V4BulkSyncScheduleApi.d.ts +0 -13
- package/dist/api/types/V4BulkSyncScheduleApi.js +0 -5
- package/dist/api/types/V4ExportSyncLogsEnvelope.d.ts +0 -8
- package/dist/api/types/V4ExportSyncLogsEnvelope.js +0 -5
- package/dist/api/types/V4ExportSyncLogsResponse.d.ts +0 -6
- package/dist/api/types/V4ExportSyncLogsResponse.js +0 -5
- package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -6
- package/dist/api/types/V4GlobalErrorSubscribersResponse.js +0 -5
- package/dist/api/types/V4QueryResultsEnvelope.d.ts +0 -8
- package/dist/api/types/V4QueryResultsEnvelope.js +0 -5
- package/dist/api/types/V4RunQueryEnvelope.d.ts +0 -7
- package/dist/api/types/V4RunQueryEnvelope.js +0 -5
- package/dist/api/types/V4RunQueryResult.d.ts +0 -18
- package/dist/api/types/V4RunQueryResult.js +0 -5
- package/dist/api/types/V4TargetCreator.d.ts +0 -10
- package/dist/api/types/V4TargetCreator.js +0 -5
- package/dist/api/types/V4TargetObjectsResponseEnvelope.d.ts +0 -8
- package/dist/api/types/V4TargetObjectsResponseEnvelope.js +0 -5
- package/dist/api/types/V4TargetPropertyValues.d.ts +0 -14
- package/dist/api/types/V4TargetPropertyValues.js +0 -5
- package/dist/api/types/V4TargetPropertyValuesEnvelope.d.ts +0 -7
- package/dist/api/types/V4TargetPropertyValuesEnvelope.js +0 -5
- package/dist/api/types/V4UserFieldRequest.d.ts +0 -10
- package/dist/api/types/V4UserFieldRequest.js +0 -5
- package/dist/api/types/Webhook.d.ts +0 -11
- package/dist/api/types/Webhook.js +0 -5
- package/dist/api/types/WebhookEnvelope.d.ts +0 -7
- package/dist/api/types/WebhookEnvelope.js +0 -5
- package/dist/api/types/WebhookListEnvelope.d.ts +0 -7
- package/dist/api/types/WebhookListEnvelope.js +0 -5
- package/dist/api/types/WorkTaskStatus.d.ts +0 -10
- package/dist/api/types/WorkTaskStatus.js +0 -12
- package/dist/api/types/index.d.ts +0 -203
- package/dist/api/types/index.js +0 -219
- package/dist/core/auth/BasicAuth.d.ts +0 -8
- package/dist/core/auth/BasicAuth.js +0 -26
- package/dist/core/auth/BearerToken.d.ts +0 -5
- package/dist/core/auth/BearerToken.js +0 -15
- package/dist/core/auth/index.d.ts +0 -2
- package/dist/core/auth/index.js +0 -7
- package/dist/core/fetcher/APIResponse.d.ts +0 -10
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.d.ts +0 -39
- package/dist/core/fetcher/Fetcher.js +0 -100
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.d.ts +0 -1
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/getFetchFn.d.ts +0 -4
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.d.ts +0 -7
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.d.ts +0 -1
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/fetcher/makeRequest.d.ts +0 -1
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.d.ts +0 -1
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.d.ts +0 -11
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +0 -30
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +0 -21
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +0 -31
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +0 -18
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -19
- package/dist/core/json.d.ts +0 -15
- package/dist/core/json.js +0 -24
- package/dist/core/runtime/index.d.ts +0 -1
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.d.ts +0 -9
- package/dist/core/runtime/runtime.js +0 -103
- package/dist/environments.d.ts +0 -7
- package/dist/environments.js +0 -9
- package/dist/errors/PolytomicError.d.ts +0 -12
- package/dist/errors/PolytomicError.js +0 -33
- package/dist/errors/PolytomicTimeoutError.d.ts +0 -6
- package/dist/errors/PolytomicTimeoutError.js +0 -13
- package/dist/errors/index.d.ts +0 -2
- package/dist/errors/index.js +0 -7
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -44
- package/dist/version.d.ts +0 -1
- package/dist/version.js +0 -4
- package/jest.config.mjs +0 -8
- package/scripts/rename-to-esm-files.js +0 -115
- /package/{dist/api/resources/identity → api/resources/entities}/client/index.d.ts +0 -0
- /package/{dist/api/resources/bulkSync/client/requests → api/resources/entities/client}/index.js +0 -0
- /package/{dist/api/resources/bulkSync/resources/executions → api/resources/entities}/index.d.ts +0 -0
- /package/{dist/api/resources/bulkSync/resources/executions → api/resources/entities}/index.js +0 -0
- /package/{dist/api/resources/bulkSync/resources/executions/client/requests/index.js → core/auth/AuthProvider.js} +0 -0
- /package/{dist/api/resources/bulkSync/resources/schedules/client/requests/index.js → core/auth/AuthRequest.js} +0 -0
- /package/{dist/api/resources/bulkSync/resources/schemas/client/requests/index.js → core/fetcher/EndpointMetadata.js} +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
5
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -44,102 +42,119 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
44
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
43
|
});
|
|
46
44
|
};
|
|
47
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
48
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
49
|
-
};
|
|
50
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
51
|
-
exports.
|
|
52
|
-
const
|
|
46
|
+
exports.ExecutionsClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../../../BaseClient");
|
|
53
48
|
const core = __importStar(require("../../../../../../core"));
|
|
54
|
-
const
|
|
55
|
-
const
|
|
49
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
50
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
51
|
+
const handleNonStatusCodeError_1 = require("../../../../../../errors/handleNonStatusCodeError");
|
|
56
52
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
53
|
+
const Polytomic = __importStar(require("../../../../../index"));
|
|
54
|
+
class ExecutionsClient {
|
|
55
|
+
constructor(options = {}) {
|
|
56
|
+
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
60
57
|
}
|
|
61
58
|
/**
|
|
59
|
+
* Returns a concise per-schema status for one or more bulk syncs.
|
|
60
|
+
*
|
|
61
|
+
* This endpoint is a summary view, not an execution-history view. Each schema is
|
|
62
|
+
* represented at most once with its most recent execution status, and running
|
|
63
|
+
* executions are preferred over older terminal ones.
|
|
64
|
+
*
|
|
65
|
+
* Use this endpoint when you want a dashboard-style answer to "what is each sync
|
|
66
|
+
* doing now?" If you need the full execution history or a single execution's
|
|
67
|
+
* details, use [`GET /api/bulk/syncs/{id}/executions`](../../../../api-reference/bulk-sync/executions/list) or
|
|
68
|
+
* [`GET /api/bulk/syncs/{id}/executions/{exec_id}`](../../../../api-reference/bulk-sync/executions/get) instead.
|
|
69
|
+
*
|
|
70
|
+
* Setting `all=true` or `active=true` ignores any explicit `sync_id` filters and
|
|
71
|
+
* expands the request to the caller's organization scope.
|
|
72
|
+
*
|
|
62
73
|
* @param {Polytomic.bulkSync.ExecutionsListStatusRequest} request
|
|
63
|
-
* @param {
|
|
74
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
75
|
*
|
|
65
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
66
76
|
* @throws {@link Polytomic.NotFoundError}
|
|
67
77
|
*
|
|
68
78
|
* @example
|
|
69
79
|
* await client.bulkSync.executions.listStatus({
|
|
70
80
|
* all: true,
|
|
71
|
-
* active: true
|
|
81
|
+
* active: true,
|
|
82
|
+
* sync_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
72
83
|
* })
|
|
73
84
|
*/
|
|
74
|
-
listStatus() {
|
|
85
|
+
listStatus(request = {}, requestOptions) {
|
|
86
|
+
return core.HttpResponsePromise.fromPromise(this.__listStatus(request, requestOptions));
|
|
87
|
+
}
|
|
88
|
+
__listStatus() {
|
|
75
89
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
76
|
-
var _a, _b;
|
|
90
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
77
91
|
const { all, active, sync_id: syncId } = request;
|
|
78
|
-
const _queryParams = {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
_queryParams["sync_id"] = syncId.map((item) => item);
|
|
88
|
-
}
|
|
89
|
-
else {
|
|
90
|
-
_queryParams["sync_id"] = syncId;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
92
|
+
const _queryParams = {
|
|
93
|
+
all,
|
|
94
|
+
active,
|
|
95
|
+
sync_id: syncId,
|
|
96
|
+
};
|
|
97
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
98
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
99
|
+
"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",
|
|
100
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
93
101
|
const _response = yield core.fetcher({
|
|
94
|
-
url:
|
|
102
|
+
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/bulk/syncs/status"),
|
|
95
103
|
method: "GET",
|
|
96
|
-
headers:
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
103
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
104
|
+
headers: _headers,
|
|
105
|
+
queryString: core.url
|
|
106
|
+
.queryBuilder()
|
|
107
|
+
.addMany(_queryParams)
|
|
108
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
109
|
+
.build(),
|
|
110
|
+
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,
|
|
111
|
+
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,
|
|
104
112
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
113
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
114
|
+
logging: this._options.logging,
|
|
105
115
|
});
|
|
106
116
|
if (_response.ok) {
|
|
107
|
-
return
|
|
117
|
+
return {
|
|
118
|
+
data: _response.body,
|
|
119
|
+
rawResponse: _response.rawResponse,
|
|
120
|
+
};
|
|
108
121
|
}
|
|
109
122
|
if (_response.error.reason === "status-code") {
|
|
110
123
|
switch (_response.error.statusCode) {
|
|
111
|
-
case 401:
|
|
112
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
113
124
|
case 404:
|
|
114
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
125
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
115
126
|
default:
|
|
116
127
|
throw new errors.PolytomicError({
|
|
117
128
|
statusCode: _response.error.statusCode,
|
|
118
129
|
body: _response.error.body,
|
|
130
|
+
rawResponse: _response.rawResponse,
|
|
119
131
|
});
|
|
120
132
|
}
|
|
121
133
|
}
|
|
122
|
-
|
|
123
|
-
case "non-json":
|
|
124
|
-
throw new errors.PolytomicError({
|
|
125
|
-
statusCode: _response.error.statusCode,
|
|
126
|
-
body: _response.error.rawBody,
|
|
127
|
-
});
|
|
128
|
-
case "timeout":
|
|
129
|
-
throw new errors.PolytomicTimeoutError("Timeout exceeded when calling GET /api/bulk/syncs/status.");
|
|
130
|
-
case "unknown":
|
|
131
|
-
throw new errors.PolytomicError({
|
|
132
|
-
message: _response.error.errorMessage,
|
|
133
|
-
});
|
|
134
|
-
}
|
|
134
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/status");
|
|
135
135
|
});
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* Lists executions for a bulk sync.
|
|
139
|
+
*
|
|
140
|
+
* Results are ordered by start time descending by default. When more results are
|
|
141
|
+
* available, the response includes an opaque `pagination.next_page_token`; pass it
|
|
142
|
+
* back as the `page_token` query parameter to retrieve the next page. The `limit`
|
|
143
|
+
* parameter is optional, and the maximum page size is 100 executions.
|
|
144
|
+
*
|
|
145
|
+
* Use `only_terminal=true` to return only finished executions. In that mode,
|
|
146
|
+
* executions are ordered by `updated_at` so recently completed runs appear first.
|
|
147
|
+
*
|
|
148
|
+
* Use `ascending=true` to walk forward from the oldest execution instead of
|
|
149
|
+
* starting with the newest execution.
|
|
150
|
+
*
|
|
151
|
+
* For the full details of a single run — including per-schema execution status —
|
|
152
|
+
* use [`GET /api/bulk/syncs/{id}/executions/{exec_id}`](../../../../../api-reference/bulk-sync/executions/get).
|
|
153
|
+
*
|
|
154
|
+
* @param {string} id - Unique identifier of the bulk sync.
|
|
139
155
|
* @param {Polytomic.bulkSync.ExecutionsListRequest} request
|
|
140
|
-
* @param {
|
|
156
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
157
|
*
|
|
142
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
143
158
|
* @throws {@link Polytomic.NotFoundError}
|
|
144
159
|
*
|
|
145
160
|
* @example
|
|
@@ -150,130 +165,128 @@ class Executions {
|
|
|
150
165
|
* limit: 100
|
|
151
166
|
* })
|
|
152
167
|
*/
|
|
153
|
-
list(
|
|
168
|
+
list(id, request = {}, requestOptions) {
|
|
169
|
+
return core.HttpResponsePromise.fromPromise(this.__list(id, request, requestOptions));
|
|
170
|
+
}
|
|
171
|
+
__list(id_1) {
|
|
154
172
|
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
155
|
-
var _a, _b;
|
|
173
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
156
174
|
const { page_token: pageToken, only_terminal: onlyTerminal, ascending, limit } = request;
|
|
157
|
-
const _queryParams = {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
if (limit != null) {
|
|
168
|
-
_queryParams["limit"] = limit.toString();
|
|
169
|
-
}
|
|
175
|
+
const _queryParams = {
|
|
176
|
+
page_token: pageToken,
|
|
177
|
+
only_terminal: onlyTerminal,
|
|
178
|
+
ascending,
|
|
179
|
+
limit,
|
|
180
|
+
};
|
|
181
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
182
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
183
|
+
"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",
|
|
184
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
170
185
|
const _response = yield core.fetcher({
|
|
171
|
-
url:
|
|
186
|
+
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/bulk/syncs/${core.url.encodePathParam(id)}/executions`),
|
|
172
187
|
method: "GET",
|
|
173
|
-
headers:
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
180
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
188
|
+
headers: _headers,
|
|
189
|
+
queryString: core.url
|
|
190
|
+
.queryBuilder()
|
|
191
|
+
.addMany(_queryParams)
|
|
192
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
193
|
+
.build(),
|
|
194
|
+
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,
|
|
195
|
+
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,
|
|
181
196
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
197
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
198
|
+
logging: this._options.logging,
|
|
182
199
|
});
|
|
183
200
|
if (_response.ok) {
|
|
184
|
-
return
|
|
201
|
+
return {
|
|
202
|
+
data: _response.body,
|
|
203
|
+
rawResponse: _response.rawResponse,
|
|
204
|
+
};
|
|
185
205
|
}
|
|
186
206
|
if (_response.error.reason === "status-code") {
|
|
187
207
|
switch (_response.error.statusCode) {
|
|
188
|
-
case 401:
|
|
189
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
190
208
|
case 404:
|
|
191
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
209
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
192
210
|
default:
|
|
193
211
|
throw new errors.PolytomicError({
|
|
194
212
|
statusCode: _response.error.statusCode,
|
|
195
213
|
body: _response.error.body,
|
|
214
|
+
rawResponse: _response.rawResponse,
|
|
196
215
|
});
|
|
197
216
|
}
|
|
198
217
|
}
|
|
199
|
-
|
|
200
|
-
case "non-json":
|
|
201
|
-
throw new errors.PolytomicError({
|
|
202
|
-
statusCode: _response.error.statusCode,
|
|
203
|
-
body: _response.error.rawBody,
|
|
204
|
-
});
|
|
205
|
-
case "timeout":
|
|
206
|
-
throw new errors.PolytomicTimeoutError("Timeout exceeded when calling GET /api/bulk/syncs/{id}/executions.");
|
|
207
|
-
case "unknown":
|
|
208
|
-
throw new errors.PolytomicError({
|
|
209
|
-
message: _response.error.errorMessage,
|
|
210
|
-
});
|
|
211
|
-
}
|
|
218
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{id}/executions");
|
|
212
219
|
});
|
|
213
220
|
}
|
|
214
221
|
/**
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
222
|
+
* Returns a single bulk sync execution, including per-schema execution status.
|
|
223
|
+
*
|
|
224
|
+
* The response includes a breakdown of each schema (table or object) that
|
|
225
|
+
* participated in the execution, with its individual status, row counts, and any
|
|
226
|
+
* error details. This makes it suitable for diagnosing partial failures where
|
|
227
|
+
* some schemas succeeded while others did not.
|
|
228
|
+
*
|
|
229
|
+
* @param {string} id - Unique identifier of the bulk sync.
|
|
230
|
+
* @param {string} exec_id - Unique identifier of the execution.
|
|
231
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
218
232
|
*
|
|
219
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
220
233
|
* @throws {@link Polytomic.NotFoundError}
|
|
221
234
|
*
|
|
222
235
|
* @example
|
|
223
236
|
* await client.bulkSync.executions.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
224
237
|
*/
|
|
225
|
-
get(id,
|
|
238
|
+
get(id, exec_id, requestOptions) {
|
|
239
|
+
return core.HttpResponsePromise.fromPromise(this.__get(id, exec_id, requestOptions));
|
|
240
|
+
}
|
|
241
|
+
__get(id, exec_id, requestOptions) {
|
|
226
242
|
return __awaiter(this, void 0, void 0, function* () {
|
|
227
|
-
var _a, _b;
|
|
243
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
244
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
245
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
246
|
+
"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",
|
|
247
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
228
248
|
const _response = yield core.fetcher({
|
|
229
|
-
url:
|
|
249
|
+
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/bulk/syncs/${core.url.encodePathParam(id)}/executions/${core.url.encodePathParam(exec_id)}`),
|
|
230
250
|
method: "GET",
|
|
231
|
-
headers:
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
requestType: "json",
|
|
236
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
237
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
251
|
+
headers: _headers,
|
|
252
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
253
|
+
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,
|
|
254
|
+
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,
|
|
238
255
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
256
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
257
|
+
logging: this._options.logging,
|
|
239
258
|
});
|
|
240
259
|
if (_response.ok) {
|
|
241
|
-
return _response.body;
|
|
260
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
242
261
|
}
|
|
243
262
|
if (_response.error.reason === "status-code") {
|
|
244
263
|
switch (_response.error.statusCode) {
|
|
245
|
-
case 401:
|
|
246
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
247
264
|
case 404:
|
|
248
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
265
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
249
266
|
default:
|
|
250
267
|
throw new errors.PolytomicError({
|
|
251
268
|
statusCode: _response.error.statusCode,
|
|
252
269
|
body: _response.error.body,
|
|
270
|
+
rawResponse: _response.rawResponse,
|
|
253
271
|
});
|
|
254
272
|
}
|
|
255
273
|
}
|
|
256
|
-
|
|
257
|
-
case "non-json":
|
|
258
|
-
throw new errors.PolytomicError({
|
|
259
|
-
statusCode: _response.error.statusCode,
|
|
260
|
-
body: _response.error.rawBody,
|
|
261
|
-
});
|
|
262
|
-
case "timeout":
|
|
263
|
-
throw new errors.PolytomicTimeoutError("Timeout exceeded when calling GET /api/bulk/syncs/{id}/executions/{exec_id}.");
|
|
264
|
-
case "unknown":
|
|
265
|
-
throw new errors.PolytomicError({
|
|
266
|
-
message: _response.error.errorMessage,
|
|
267
|
-
});
|
|
268
|
-
}
|
|
274
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{id}/executions/{exec_id}");
|
|
269
275
|
});
|
|
270
276
|
}
|
|
271
277
|
/**
|
|
278
|
+
* Requests cancellation of a specific bulk sync execution.
|
|
279
|
+
*
|
|
280
|
+
* Cancellation is asynchronous. A successful response means the cancellation
|
|
281
|
+
* signal has been queued; the execution continues to run until the signal is
|
|
282
|
+
* processed. Poll `GET /api/bulk/syncs/{id}/executions/{exec_id}` until the
|
|
283
|
+
* execution reaches a terminal state (`completed`, `canceled`, or `failed`) to
|
|
284
|
+
* confirm cancellation has taken effect.
|
|
285
|
+
*
|
|
272
286
|
* @param {string} id - The bulk sync ID.
|
|
273
|
-
* @param {string}
|
|
274
|
-
* @param {
|
|
287
|
+
* @param {string} exec_id - The execution ID to cancel.
|
|
288
|
+
* @param {ExecutionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
275
289
|
*
|
|
276
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
277
290
|
* @throws {@link Polytomic.ForbiddenError}
|
|
278
291
|
* @throws {@link Polytomic.NotFoundError}
|
|
279
292
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -281,187 +294,353 @@ class Executions {
|
|
|
281
294
|
* @example
|
|
282
295
|
* await client.bulkSync.executions.cancel("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
283
296
|
*/
|
|
284
|
-
cancel(id,
|
|
297
|
+
cancel(id, exec_id, requestOptions) {
|
|
298
|
+
return core.HttpResponsePromise.fromPromise(this.__cancel(id, exec_id, requestOptions));
|
|
299
|
+
}
|
|
300
|
+
__cancel(id, exec_id, requestOptions) {
|
|
285
301
|
return __awaiter(this, void 0, void 0, function* () {
|
|
286
|
-
var _a, _b;
|
|
302
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
303
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
304
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
305
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
306
|
+
"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",
|
|
307
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
287
308
|
const _response = yield core.fetcher({
|
|
288
|
-
url:
|
|
309
|
+
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/bulk/syncs/${core.url.encodePathParam(id)}/executions/${core.url.encodePathParam(exec_id)}/cancel`),
|
|
289
310
|
method: "POST",
|
|
290
|
-
headers:
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
requestType: "json",
|
|
295
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
296
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
311
|
+
headers: _headers,
|
|
312
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
313
|
+
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,
|
|
314
|
+
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,
|
|
297
315
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
316
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
317
|
+
logging: this._options.logging,
|
|
298
318
|
});
|
|
299
319
|
if (_response.ok) {
|
|
300
|
-
return
|
|
320
|
+
return {
|
|
321
|
+
data: _response.body,
|
|
322
|
+
rawResponse: _response.rawResponse,
|
|
323
|
+
};
|
|
301
324
|
}
|
|
302
325
|
if (_response.error.reason === "status-code") {
|
|
303
326
|
switch (_response.error.statusCode) {
|
|
304
|
-
case 401:
|
|
305
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
306
327
|
case 403:
|
|
307
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
328
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
308
329
|
case 404:
|
|
309
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
330
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
310
331
|
case 500:
|
|
311
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
332
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
312
333
|
default:
|
|
313
334
|
throw new errors.PolytomicError({
|
|
314
335
|
statusCode: _response.error.statusCode,
|
|
315
336
|
body: _response.error.body,
|
|
337
|
+
rawResponse: _response.rawResponse,
|
|
316
338
|
});
|
|
317
339
|
}
|
|
318
340
|
}
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
341
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/bulk/syncs/{id}/executions/{exec_id}/cancel");
|
|
342
|
+
});
|
|
343
|
+
}
|
|
344
|
+
/**
|
|
345
|
+
* @beta This endpoint is in pre-release and may change.
|
|
346
|
+
*
|
|
347
|
+
* Fetch the latest console log entries for a bulk sync execution. Returns at most the most recent 50 entries retained in Redis.
|
|
348
|
+
*
|
|
349
|
+
* @param {string} sync_id
|
|
350
|
+
* @param {string} execution_id
|
|
351
|
+
* @param {Polytomic.bulkSync.ExecutionsGetConsoleLogsRequest} request
|
|
352
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
353
|
+
*
|
|
354
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
355
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
356
|
+
* @throws {@link Polytomic.RequestTimeoutError}
|
|
357
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
358
|
+
*
|
|
359
|
+
* @example
|
|
360
|
+
* await client.bulkSync.executions.getConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", {
|
|
361
|
+
* limit: 50,
|
|
362
|
+
* after: "1744311099250-0"
|
|
363
|
+
* })
|
|
364
|
+
*/
|
|
365
|
+
getConsoleLogs(sync_id, execution_id, request = {}, requestOptions) {
|
|
366
|
+
return core.HttpResponsePromise.fromPromise(this.__getConsoleLogs(sync_id, execution_id, request, requestOptions));
|
|
367
|
+
}
|
|
368
|
+
__getConsoleLogs(sync_id_1, execution_id_1) {
|
|
369
|
+
return __awaiter(this, arguments, void 0, function* (sync_id, execution_id, request = {}, requestOptions) {
|
|
370
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
371
|
+
const { limit, after } = request;
|
|
372
|
+
const _queryParams = {
|
|
373
|
+
limit,
|
|
374
|
+
after,
|
|
375
|
+
};
|
|
376
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
377
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
378
|
+
"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",
|
|
379
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
380
|
+
const _response = yield core.fetcher({
|
|
381
|
+
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/bulk/syncs/${core.url.encodePathParam(sync_id)}/executions/${core.url.encodePathParam(execution_id)}/consolelog`),
|
|
382
|
+
method: "GET",
|
|
383
|
+
headers: _headers,
|
|
384
|
+
queryString: core.url
|
|
385
|
+
.queryBuilder()
|
|
386
|
+
.addMany(_queryParams)
|
|
387
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
388
|
+
.build(),
|
|
389
|
+
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,
|
|
390
|
+
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,
|
|
391
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
392
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
393
|
+
logging: this._options.logging,
|
|
394
|
+
});
|
|
395
|
+
if (_response.ok) {
|
|
396
|
+
return {
|
|
397
|
+
data: _response.body,
|
|
398
|
+
rawResponse: _response.rawResponse,
|
|
399
|
+
};
|
|
331
400
|
}
|
|
401
|
+
if (_response.error.reason === "status-code") {
|
|
402
|
+
switch (_response.error.statusCode) {
|
|
403
|
+
case 400:
|
|
404
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
405
|
+
case 404:
|
|
406
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
407
|
+
case 408:
|
|
408
|
+
throw new Polytomic.RequestTimeoutError(_response.error.body, _response.rawResponse);
|
|
409
|
+
case 500:
|
|
410
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
411
|
+
default:
|
|
412
|
+
throw new errors.PolytomicError({
|
|
413
|
+
statusCode: _response.error.statusCode,
|
|
414
|
+
body: _response.error.body,
|
|
415
|
+
rawResponse: _response.rawResponse,
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/consolelog");
|
|
332
420
|
});
|
|
333
421
|
}
|
|
334
422
|
/**
|
|
335
|
-
*
|
|
336
|
-
*
|
|
337
|
-
*
|
|
423
|
+
* Returns signed URLs for the log files produced by a single bulk sync execution.
|
|
424
|
+
*
|
|
425
|
+
* Each URL in the response is pre-signed and grants temporary read access to the
|
|
426
|
+
* corresponding log file. URLs expire after a short period; if you need to access
|
|
427
|
+
* a file after the URL has expired, call this endpoint again to obtain a fresh set
|
|
428
|
+
* of signed URLs.
|
|
429
|
+
*
|
|
430
|
+
* > 📘 To export logs asynchronously to a destination of your choice, use
|
|
431
|
+
* > [`POST /api/bulk/syncs/{sync_id}/executions/{execution_id}/logs/export`](../../../../../../../api-reference/bulk-sync/executions/export-logs)
|
|
432
|
+
* > instead.
|
|
433
|
+
*
|
|
434
|
+
* @param {string} sync_id - Unique identifier of the bulk sync.
|
|
435
|
+
* @param {string} execution_id - Unique identifier of the execution whose log files should be listed.
|
|
436
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
338
437
|
*
|
|
339
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
340
438
|
* @throws {@link Polytomic.NotFoundError}
|
|
341
439
|
*
|
|
342
440
|
* @example
|
|
343
441
|
* await client.bulkSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
344
442
|
*/
|
|
345
|
-
getLogs(
|
|
443
|
+
getLogs(sync_id, execution_id, requestOptions) {
|
|
444
|
+
return core.HttpResponsePromise.fromPromise(this.__getLogs(sync_id, execution_id, requestOptions));
|
|
445
|
+
}
|
|
446
|
+
__getLogs(sync_id, execution_id, requestOptions) {
|
|
346
447
|
return __awaiter(this, void 0, void 0, function* () {
|
|
347
|
-
var _a, _b;
|
|
448
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
449
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
450
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
451
|
+
"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",
|
|
452
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
348
453
|
const _response = yield core.fetcher({
|
|
349
|
-
url:
|
|
454
|
+
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/bulk/syncs/${core.url.encodePathParam(sync_id)}/executions/${core.url.encodePathParam(execution_id)}/logs`),
|
|
350
455
|
method: "GET",
|
|
351
|
-
headers:
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
requestType: "json",
|
|
356
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
357
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
456
|
+
headers: _headers,
|
|
457
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
458
|
+
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,
|
|
459
|
+
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,
|
|
358
460
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
461
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
462
|
+
logging: this._options.logging,
|
|
359
463
|
});
|
|
360
464
|
if (_response.ok) {
|
|
361
|
-
return
|
|
465
|
+
return {
|
|
466
|
+
data: _response.body,
|
|
467
|
+
rawResponse: _response.rawResponse,
|
|
468
|
+
};
|
|
362
469
|
}
|
|
363
470
|
if (_response.error.reason === "status-code") {
|
|
364
471
|
switch (_response.error.statusCode) {
|
|
365
|
-
case 401:
|
|
366
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
367
472
|
case 404:
|
|
368
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
473
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
369
474
|
default:
|
|
370
475
|
throw new errors.PolytomicError({
|
|
371
476
|
statusCode: _response.error.statusCode,
|
|
372
477
|
body: _response.error.body,
|
|
478
|
+
rawResponse: _response.rawResponse,
|
|
373
479
|
});
|
|
374
480
|
}
|
|
375
481
|
}
|
|
376
|
-
|
|
377
|
-
case "non-json":
|
|
378
|
-
throw new errors.PolytomicError({
|
|
379
|
-
statusCode: _response.error.statusCode,
|
|
380
|
-
body: _response.error.rawBody,
|
|
381
|
-
});
|
|
382
|
-
case "timeout":
|
|
383
|
-
throw new errors.PolytomicTimeoutError("Timeout exceeded when calling GET /api/bulk/syncs/{sync_id}/executions/{execution_id}/logs.");
|
|
384
|
-
case "unknown":
|
|
385
|
-
throw new errors.PolytomicError({
|
|
386
|
-
message: _response.error.errorMessage,
|
|
387
|
-
});
|
|
388
|
-
}
|
|
482
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/logs");
|
|
389
483
|
});
|
|
390
484
|
}
|
|
391
485
|
/**
|
|
392
|
-
*
|
|
393
|
-
*
|
|
486
|
+
* Starts an asynchronous job that packages the log files for a single bulk sync execution into a downloadable archive.
|
|
487
|
+
*
|
|
488
|
+
* > 📘 Log export is asynchronous
|
|
489
|
+
* >
|
|
490
|
+
* > This endpoint starts a background job that packages an execution's log
|
|
491
|
+
* > files into a downloadable archive. The first call typically returns a
|
|
492
|
+
* > `job` descriptor instead of a completed result. Poll
|
|
493
|
+
* > [`GET /api/jobs/exportlogs/{id}`](../../../../../../../../api-reference/jobs/get)
|
|
494
|
+
* > with the returned `job_id` until `status` is `done`; the final response
|
|
495
|
+
* > contains a signed `url` that can be used to download the archive.
|
|
496
|
+
* >
|
|
497
|
+
* > Set `notify=true` to also email the requesting user when the archive is
|
|
498
|
+
* > ready.
|
|
499
|
+
*
|
|
500
|
+
* @param {string} sync_id - Unique identifier of the bulk sync.
|
|
501
|
+
* @param {string} execution_id - Unique identifier of the execution whose logs should be exported.
|
|
394
502
|
* @param {Polytomic.bulkSync.ExecutionsExportLogsRequest} request
|
|
395
|
-
* @param {
|
|
503
|
+
* @param {ExecutionsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
396
504
|
*
|
|
397
505
|
* @throws {@link Polytomic.BadRequestError}
|
|
398
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
399
506
|
* @throws {@link Polytomic.NotFoundError}
|
|
400
507
|
* @throws {@link Polytomic.InternalServerError}
|
|
401
508
|
*
|
|
402
509
|
* @example
|
|
403
|
-
* await client.bulkSync.executions.exportLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
510
|
+
* await client.bulkSync.executions.exportLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
511
|
+
* notify: true
|
|
512
|
+
* })
|
|
404
513
|
*/
|
|
405
|
-
exportLogs(
|
|
406
|
-
return
|
|
407
|
-
|
|
514
|
+
exportLogs(sync_id, execution_id, request = {}, requestOptions) {
|
|
515
|
+
return core.HttpResponsePromise.fromPromise(this.__exportLogs(sync_id, execution_id, request, requestOptions));
|
|
516
|
+
}
|
|
517
|
+
__exportLogs(sync_id_1, execution_id_1) {
|
|
518
|
+
return __awaiter(this, arguments, void 0, function* (sync_id, execution_id, request = {}, requestOptions) {
|
|
519
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
408
520
|
const { notify } = request;
|
|
409
|
-
const _queryParams = {
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
521
|
+
const _queryParams = {
|
|
522
|
+
notify,
|
|
523
|
+
};
|
|
524
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
525
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
526
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
527
|
+
"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",
|
|
528
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
413
529
|
const _response = yield core.fetcher({
|
|
414
|
-
url:
|
|
530
|
+
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/bulk/syncs/${core.url.encodePathParam(sync_id)}/executions/${core.url.encodePathParam(execution_id)}/logs/export`),
|
|
415
531
|
method: "POST",
|
|
416
|
-
headers:
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
423
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
532
|
+
headers: _headers,
|
|
533
|
+
queryString: core.url
|
|
534
|
+
.queryBuilder()
|
|
535
|
+
.addMany(_queryParams)
|
|
536
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
537
|
+
.build(),
|
|
538
|
+
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,
|
|
539
|
+
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,
|
|
424
540
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
541
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
542
|
+
logging: this._options.logging,
|
|
425
543
|
});
|
|
426
544
|
if (_response.ok) {
|
|
427
|
-
return _response.body;
|
|
545
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
428
546
|
}
|
|
429
547
|
if (_response.error.reason === "status-code") {
|
|
430
548
|
switch (_response.error.statusCode) {
|
|
431
549
|
case 400:
|
|
432
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
433
|
-
case 401:
|
|
434
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
550
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
435
551
|
case 404:
|
|
436
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
552
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
437
553
|
case 500:
|
|
438
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
554
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
439
555
|
default:
|
|
440
556
|
throw new errors.PolytomicError({
|
|
441
557
|
statusCode: _response.error.statusCode,
|
|
442
558
|
body: _response.error.body,
|
|
559
|
+
rawResponse: _response.rawResponse,
|
|
443
560
|
});
|
|
444
561
|
}
|
|
445
562
|
}
|
|
446
|
-
|
|
447
|
-
case "non-json":
|
|
448
|
-
throw new errors.PolytomicError({
|
|
449
|
-
statusCode: _response.error.statusCode,
|
|
450
|
-
body: _response.error.rawBody,
|
|
451
|
-
});
|
|
452
|
-
case "timeout":
|
|
453
|
-
throw new errors.PolytomicTimeoutError("Timeout exceeded when calling POST /api/bulk/syncs/{sync_id}/executions/{execution_id}/logs/export.");
|
|
454
|
-
case "unknown":
|
|
455
|
-
throw new errors.PolytomicError({
|
|
456
|
-
message: _response.error.errorMessage,
|
|
457
|
-
});
|
|
458
|
-
}
|
|
563
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/logs/export");
|
|
459
564
|
});
|
|
460
565
|
}
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
566
|
+
/**
|
|
567
|
+
* @beta This endpoint is in pre-release and may change.
|
|
568
|
+
*
|
|
569
|
+
* Fetch the latest console log entries for a schema within a bulk sync execution. Returns at most the most recent 50 entries retained in Redis.
|
|
570
|
+
*
|
|
571
|
+
* @param {string} sync_id
|
|
572
|
+
* @param {string} execution_id
|
|
573
|
+
* @param {string} schema_id - Schema identifier for schema-scoped console logs.
|
|
574
|
+
* @param {Polytomic.bulkSync.ExecutionsGetSchemaConsoleLogsRequest} request
|
|
575
|
+
* @param {ExecutionsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
576
|
+
*
|
|
577
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
578
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
579
|
+
* @throws {@link Polytomic.RequestTimeoutError}
|
|
580
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
581
|
+
*
|
|
582
|
+
* @example
|
|
583
|
+
* await client.bulkSync.executions.getSchemaConsoleLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", "users", {
|
|
584
|
+
* limit: 50,
|
|
585
|
+
* after: "1744311099250-0"
|
|
586
|
+
* })
|
|
587
|
+
*/
|
|
588
|
+
getSchemaConsoleLogs(sync_id, execution_id, schema_id, request = {}, requestOptions) {
|
|
589
|
+
return core.HttpResponsePromise.fromPromise(this.__getSchemaConsoleLogs(sync_id, execution_id, schema_id, request, requestOptions));
|
|
590
|
+
}
|
|
591
|
+
__getSchemaConsoleLogs(sync_id_1, execution_id_1, schema_id_1) {
|
|
592
|
+
return __awaiter(this, arguments, void 0, function* (sync_id, execution_id, schema_id, request = {}, requestOptions) {
|
|
593
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
594
|
+
const { limit, after } = request;
|
|
595
|
+
const _queryParams = {
|
|
596
|
+
limit,
|
|
597
|
+
after,
|
|
598
|
+
};
|
|
599
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
600
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
601
|
+
"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",
|
|
602
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
603
|
+
const _response = yield core.fetcher({
|
|
604
|
+
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/bulk/syncs/${core.url.encodePathParam(sync_id)}/executions/${core.url.encodePathParam(execution_id)}/schemas/${core.url.encodePathParam(schema_id)}/consolelog`),
|
|
605
|
+
method: "GET",
|
|
606
|
+
headers: _headers,
|
|
607
|
+
queryString: core.url
|
|
608
|
+
.queryBuilder()
|
|
609
|
+
.addMany(_queryParams)
|
|
610
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
611
|
+
.build(),
|
|
612
|
+
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,
|
|
613
|
+
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,
|
|
614
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
615
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
616
|
+
logging: this._options.logging,
|
|
617
|
+
});
|
|
618
|
+
if (_response.ok) {
|
|
619
|
+
return {
|
|
620
|
+
data: _response.body,
|
|
621
|
+
rawResponse: _response.rawResponse,
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
if (_response.error.reason === "status-code") {
|
|
625
|
+
switch (_response.error.statusCode) {
|
|
626
|
+
case 400:
|
|
627
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
628
|
+
case 404:
|
|
629
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
630
|
+
case 408:
|
|
631
|
+
throw new Polytomic.RequestTimeoutError(_response.error.body, _response.rawResponse);
|
|
632
|
+
case 500:
|
|
633
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
634
|
+
default:
|
|
635
|
+
throw new errors.PolytomicError({
|
|
636
|
+
statusCode: _response.error.statusCode,
|
|
637
|
+
body: _response.error.body,
|
|
638
|
+
rawResponse: _response.rawResponse,
|
|
639
|
+
});
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/bulk/syncs/{sync_id}/executions/{execution_id}/schemas/{schema_id}/consolelog");
|
|
464
643
|
});
|
|
465
644
|
}
|
|
466
645
|
}
|
|
467
|
-
exports.
|
|
646
|
+
exports.ExecutionsClient = ExecutionsClient;
|