polytomic 1.18.1 → 25.9.2
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 -62
- 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 +25 -12
- package/api/errors/ConflictError.d.ts +3 -5
- package/api/errors/ConflictError.js +25 -12
- package/api/errors/ForbiddenError.d.ts +3 -5
- package/api/errors/ForbiddenError.js +25 -12
- 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 +25 -12
- package/api/errors/NotFoundError.d.ts +3 -5
- package/api/errors/NotFoundError.js +25 -12
- 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 +25 -12
- package/api/errors/UnprocessableEntityError.d.ts +3 -5
- package/api/errors/UnprocessableEntityError.js +25 -12
- 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 +67 -81
- package/api/resources/bulkSync/client/Client.js +343 -482
- package/api/resources/bulkSync/client/requests/BulkSyncDeleteRequest.d.ts +9 -0
- package/api/resources/bulkSync/client/requests/BulkSyncDeleteRequest.js +3 -0
- 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 -6
- package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +1 -3
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +1 -6
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.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 +2 -7
- 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 +81 -48
- package/api/resources/bulkSync/resources/executions/client/Client.js +360 -287
- 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 -15
- 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 +21 -11
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +34 -47
- package/api/resources/bulkSync/resources/schedules/client/Client.js +160 -226
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.d.ts +3 -6
- package/api/resources/bulkSync/resources/schedules/client/requests/CreateScheduleRequest.js +1 -3
- package/api/resources/bulkSync/resources/schedules/client/requests/UpdateScheduleRequest.d.ts +3 -6
- 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 +29 -42
- package/api/resources/bulkSync/resources/schemas/client/Client.js +165 -222
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.d.ts +2 -7
- package/api/resources/bulkSync/resources/schemas/client/requests/SchemasListRequest.js +1 -3
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +1 -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 +168 -68
- package/api/resources/connections/client/Client.js +632 -508
- 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/ConnectionsDeleteRequest.d.ts +9 -0
- package/api/resources/connections/client/requests/ConnectionsDeleteRequest.js +3 -0
- 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 +18 -32
- package/api/resources/events/client/Client.js +88 -124
- package/api/resources/events/client/requests/EventsListRequest.d.ts +9 -20
- 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 +11 -25
- package/api/resources/identity/client/Client.js +51 -59
- 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 +33 -23
- package/api/resources/jobs/client/Client.d.ts +13 -28
- package/api/resources/jobs/client/Client.js +53 -66
- 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 +62 -70
- package/api/resources/modelSync/client/Client.js +364 -511
- 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 -7
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +1 -3
- package/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +2 -7
- 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 +56 -51
- package/api/resources/modelSync/resources/executions/client/Client.js +252 -242
- 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 +20 -10
- package/api/resources/modelSync/resources/targets/client/Client.d.ts +17 -53
- package/api/resources/modelSync/resources/targets/client/Client.js +110 -233
- package/api/resources/modelSync/resources/targets/client/requests/TargetsGetTargetFieldsRequest.d.ts +2 -9
- 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 +50 -55
- package/api/resources/models/client/Client.js +310 -401
- 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/ModelsDeleteRequest.d.ts +9 -0
- package/api/resources/models/client/requests/ModelsDeleteRequest.js +3 -0
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +2 -7
- 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/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 +16 -29
- package/api/resources/notifications/client/Client.js +79 -98
- 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 +68 -55
- package/api/resources/organization/client/Client.js +229 -226
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +0 -3
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +1 -3
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +0 -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 -30
- 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 +18 -8
- package/api/resources/permissions/resources/policies/client/Client.d.ts +25 -38
- package/api/resources/permissions/resources/policies/client/Client.js +147 -210
- 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 +25 -38
- package/api/resources/permissions/resources/roles/client/Client.js +143 -209
- 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 +20 -31
- package/api/resources/queryRunner/client/Client.js +96 -115
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +4 -7
- 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 +44 -57
- package/api/resources/schemas/client/Client.js +240 -340
- package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.d.ts +1 -4
- package/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +1 -3
- package/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +2 -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 +136 -50
- package/api/resources/users/client/Client.js +500 -267
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +0 -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 +0 -3
- package/api/resources/users/client/requests/UpdateUserRequestSchema.js +1 -3
- package/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +1 -6
- 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 +31 -40
- package/api/resources/webhooks/client/Client.js +186 -268
- 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 +1 -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 -20
- 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 +1 -4
- package/api/types/BulkOutputDisposition.js +1 -3
- package/api/types/BulkResyncMode.d.ts +1 -4
- package/api/types/BulkResyncMode.js +1 -3
- package/api/types/BulkScheduleSyncMode.d.ts +1 -4
- package/api/types/BulkScheduleSyncMode.js +1 -3
- package/api/types/BulkSchema.d.ts +11 -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 +1 -4
- package/api/types/BulkSchemaExecutionStatus.js +1 -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 +4 -7
- 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 -21
- 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 +5 -8
- package/api/types/BulkSyncExecutionStatus.js +1 -3
- package/api/types/BulkSyncIngestionStatus.d.ts +9 -12
- package/api/types/BulkSyncIngestionStatus.js +1 -3
- 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 +10 -13
- package/api/types/BulkSyncSchemaExecutionStatus.js +1 -3
- package/api/types/BulkSyncSource.d.ts +4 -7
- 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 -8
- 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 +2 -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 +6 -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 +9 -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 +2 -7
- package/api/types/IngestionStatusLevel.js +2 -3
- package/api/types/JobResponse.d.ts +7 -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 +2 -5
- package/api/types/JsonschemaDefinitions.js +1 -3
- package/api/types/JsonschemaForm.d.ts +1 -4
- 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 +1 -4
- 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 +5 -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 +3 -6
- package/api/types/OutputActor.js +1 -3
- 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 +3 -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 +1 -4
- 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 +5 -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 +136 -119
- package/api/types/index.js +136 -119
- 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 +4 -2
- 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 +11 -1
- 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 +26 -6
- package/core/fetcher/Fetcher.js +251 -193
- 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/Supplier.d.ts +1 -1
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +8 -0
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +45 -0
- package/core/fetcher/getFetchFn.d.ts +1 -0
- package/core/fetcher/getFetchFn.js +17 -0
- package/core/fetcher/getHeader.js +1 -2
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +27 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +69 -0
- 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 -0
- package/core/fetcher/makeRequest.js +61 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +67 -0
- package/core/fetcher/signals.d.ts +5 -0
- package/core/fetcher/signals.js +24 -0
- 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/json.d.ts +15 -0
- package/core/json.js +24 -0
- 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.d.ts +2 -1
- package/core/runtime/runtime.js +58 -46
- 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 +1 -4
- package/environments.js +1 -3
- package/errors/PolytomicError.d.ts +6 -4
- package/errors/PolytomicError.js +14 -11
- package/errors/PolytomicTimeoutError.d.ts +4 -4
- package/errors/PolytomicTimeoutError.js +11 -6
- 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 +20 -6
- package/package.json +34 -26
- package/reference.md +9926 -0
- package/version.d.ts +1 -0
- package/version.js +4 -0
- package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.d.ts +0 -12
- package/api/resources/bulkSync/client/requests/BulkSyncRemoveRequest.js +0 -5
- package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +0 -12
- 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/connections/client/requests/ConnectionsRemoveRequest.d.ts +0 -12
- package/api/resources/connections/client/requests/ConnectionsRemoveRequest.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 -17
- 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/models/client/requests/ModelsRemoveRequest.d.ts +0 -10
- package/api/resources/models/client/requests/ModelsRemoveRequest.js +0 -5
- package/api/resources/notifications/client/requests/V4GlobalErrorSubscribersRequest.d.ts +0 -11
- 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/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 -16
- package/api/types/ModelSyncMode.js +0 -15
- 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 -12
- 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/V3BulkSyncSourceCapabilities.d.ts +0 -6
- package/api/types/V3BulkSyncSourceCapabilities.js +0 -5
- package/api/types/V4BulkSyncExecutionLogs.d.ts +0 -9
- 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 -18
- 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 -7
- package/api/types/V4ExportSyncLogsResponse.js +0 -5
- package/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -7
- 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 -19
- 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 -14
- package/api/types/V4UserFieldRequest.js +0 -5
- package/dist/Client.d.ts +0 -68
- package/dist/Client.js +0 -82
- package/dist/api/errors/BadRequestError.d.ts +0 -8
- package/dist/api/errors/BadRequestError.js +0 -41
- package/dist/api/errors/ConflictError.d.ts +0 -8
- package/dist/api/errors/ConflictError.js +0 -41
- package/dist/api/errors/ForbiddenError.d.ts +0 -8
- package/dist/api/errors/ForbiddenError.js +0 -41
- package/dist/api/errors/InternalServerError.d.ts +0 -8
- package/dist/api/errors/InternalServerError.js +0 -41
- package/dist/api/errors/NotFoundError.d.ts +0 -8
- package/dist/api/errors/NotFoundError.js +0 -41
- package/dist/api/errors/UnauthorizedError.d.ts +0 -8
- package/dist/api/errors/UnauthorizedError.js +0 -41
- package/dist/api/errors/UnprocessableEntityError.d.ts +0 -8
- package/dist/api/errors/UnprocessableEntityError.js +0 -41
- 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 -397
- package/dist/api/resources/bulkSync/client/Client.js +0 -1068
- 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 -15
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.js +0 -5
- package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +0 -15
- 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 -18
- 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 -182
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +0 -569
- 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 -30
- 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 -35
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.d.ts +0 -142
- package/dist/api/resources/bulkSync/resources/schedules/client/Client.js +0 -457
- 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 -161
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +0 -472
- 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 -12
- 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 -13
- 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 -25
- 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 -353
- package/dist/api/resources/connections/client/Client.js +0 -1120
- 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 -71
- package/dist/api/resources/events/client/Client.js +0 -222
- 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 -33
- 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 -50
- package/dist/api/resources/identity/client/Client.js +0 -131
- 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 -55
- package/dist/api/resources/jobs/client/Client.d.ts +0 -54
- package/dist/api/resources/jobs/client/Client.js +0 -139
- 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 -380
- package/dist/api/resources/modelSync/client/Client.js +0 -1121
- 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 -13
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceFieldsRequest.js +0 -5
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.d.ts +0 -13
- 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 -140
- package/dist/api/resources/modelSync/resources/executions/client/Client.js +0 -458
- 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 -33
- package/dist/api/resources/modelSync/resources/targets/client/Client.d.ts +0 -160
- package/dist/api/resources/modelSync/resources/targets/client/Client.js +0 -435
- 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 -20
- 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 -17
- 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 -251
- package/dist/api/resources/models/client/Client.js +0 -837
- 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 -13
- 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 -63
- package/dist/api/resources/notifications/client/Client.js +0 -199
- 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 -11
- 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 -135
- package/dist/api/resources/organization/client/Client.js +0 -442
- 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 -23
- package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.js +0 -5
- package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +0 -23
- 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 -32
- 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 -33
- package/dist/api/resources/permissions/resources/policies/client/Client.d.ts +0 -129
- package/dist/api/resources/permissions/resources/policies/client/Client.js +0 -438
- 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 -133
- package/dist/api/resources/permissions/resources/roles/client/Client.js +0 -440
- 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 -82
- package/dist/api/resources/queryRunner/client/Client.js +0 -247
- 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 -13
- 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 -246
- package/dist/api/resources/schemas/client/Client.js +0 -727
- 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 -12
- package/dist/api/resources/schemas/client/requests/SetPrimaryKeysRequest.js +0 -5
- package/dist/api/resources/schemas/client/requests/UpsertSchemaFieldRequest.d.ts +0 -12
- 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 -154
- package/dist/api/resources/users/client/Client.js +0 -525
- 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 -17
- package/dist/api/resources/users/client/requests/CreateUserRequestSchema.js +0 -5
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +0 -17
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.js +0 -5
- package/dist/api/resources/users/client/requests/UsersCreateApiKeyRequest.d.ts +0 -15
- 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 -191
- package/dist/api/resources/webhooks/client/Client.js +0 -596
- 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 -7
- 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 -23
- 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/BulkOutputDisposition.d.ts +0 -9
- package/dist/api/types/BulkOutputDisposition.js +0 -11
- package/dist/api/types/BulkResyncMode.d.ts +0 -9
- package/dist/api/types/BulkResyncMode.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 -18
- 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 -15
- package/dist/api/types/BulkSchemaExecutionStatus.js +0 -17
- 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 -10
- 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 -23
- 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 -13
- 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/BulkSyncIngestionStatus.d.ts +0 -14
- package/dist/api/types/BulkSyncIngestionStatus.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 -23
- package/dist/api/types/BulkSyncSchemaExecutionStatus.js +0 -5
- package/dist/api/types/BulkSyncSource.d.ts +0 -9
- 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 -10
- 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/ConfigurationValue.d.ts +0 -7
- package/dist/api/types/ConfigurationValue.js +0 -5
- package/dist/api/types/ConnectCardResponse.d.ts +0 -9
- 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 -15
- 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 -23
- 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/IngestionStatusLevel.d.ts +0 -12
- package/dist/api/types/IngestionStatusLevel.js +0 -11
- package/dist/api/types/JobResponse.d.ts +0 -14
- 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 -16
- package/dist/api/types/ModelSyncMode.js +0 -15
- 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 -12
- package/dist/api/types/ModelSyncSourceMetaResponse.js +0 -5
- package/dist/api/types/Organization.d.ts +0 -15
- 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/OutputActor.d.ts +0 -8
- package/dist/api/types/OutputActor.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 -11
- 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 -15
- 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/V3BulkSyncSourceCapabilities.d.ts +0 -6
- package/dist/api/types/V3BulkSyncSourceCapabilities.js +0 -5
- package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +0 -9
- 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 -18
- 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 -7
- package/dist/api/types/V4ExportSyncLogsResponse.js +0 -5
- package/dist/api/types/V4GlobalErrorSubscribersResponse.d.ts +0 -7
- 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 -19
- 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 -14
- 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 -208
- package/dist/api/types/index.js +0 -224
- 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 -36
- package/dist/core/fetcher/Fetcher.js +0 -269
- package/dist/core/fetcher/Supplier.d.ts +0 -4
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/getHeader.d.ts +0 -1
- package/dist/core/fetcher/getHeader.js +0 -12
- package/dist/core/fetcher/index.d.ts +0 -5
- package/dist/core/fetcher/index.js +0 -9
- package/dist/core/index.d.ts +0 -3
- package/dist/core/index.js +0 -19
- 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 -8
- package/dist/core/runtime/runtime.js +0 -92
- 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 -32
- 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 -34
- package/jest.config.js +0 -5
- /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);
|
|
@@ -18,13 +16,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
18
16
|
}) : function(o, v) {
|
|
19
17
|
o["default"] = v;
|
|
20
18
|
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
};
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
28
36
|
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
37
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
38
|
return new (P || (P = Promise))(function (resolve, reject) {
|
|
@@ -34,21 +42,29 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
34
42
|
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
43
|
});
|
|
36
44
|
};
|
|
37
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
-
};
|
|
40
45
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
-
exports.
|
|
42
|
-
const
|
|
46
|
+
exports.ModelSyncClient = void 0;
|
|
47
|
+
const BaseClient_1 = require("../../../../BaseClient");
|
|
43
48
|
const core = __importStar(require("../../../../core"));
|
|
44
|
-
const
|
|
45
|
-
const
|
|
49
|
+
const headers_1 = require("../../../../core/headers");
|
|
50
|
+
const json_1 = require("../../../../core/json");
|
|
51
|
+
const environments = __importStar(require("../../../../environments"));
|
|
52
|
+
const handleNonStatusCodeError_1 = require("../../../../errors/handleNonStatusCodeError");
|
|
46
53
|
const errors = __importStar(require("../../../../errors/index"));
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
54
|
+
const Polytomic = __importStar(require("../../../index"));
|
|
55
|
+
const Client_1 = require("../resources/executions/client/Client");
|
|
56
|
+
const Client_2 = require("../resources/targets/client/Client");
|
|
57
|
+
class ModelSyncClient {
|
|
58
|
+
constructor(options = {}) {
|
|
59
|
+
this._options = (0, BaseClient_1.normalizeClientOptionsWithAuth)(options);
|
|
60
|
+
}
|
|
61
|
+
get targets() {
|
|
62
|
+
var _a;
|
|
63
|
+
return ((_a = this._targets) !== null && _a !== void 0 ? _a : (this._targets = new Client_2.TargetsClient(this._options)));
|
|
64
|
+
}
|
|
65
|
+
get executions() {
|
|
66
|
+
var _a;
|
|
67
|
+
return ((_a = this._executions) !== null && _a !== void 0 ? _a : (this._executions = new Client_1.ExecutionsClient(this._options)));
|
|
52
68
|
}
|
|
53
69
|
/**
|
|
54
70
|
* Describes the source configuration available on a connection for use as a model sync source.
|
|
@@ -60,10 +76,9 @@ class ModelSync {
|
|
|
60
76
|
*
|
|
61
77
|
* @param {string} id - Unique identifier of the connection.
|
|
62
78
|
* @param {Polytomic.ModelSyncGetSourceRequest} request
|
|
63
|
-
* @param {
|
|
79
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
80
|
*
|
|
65
81
|
* @throws {@link Polytomic.BadRequestError}
|
|
66
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
67
82
|
* @throws {@link Polytomic.ForbiddenError}
|
|
68
83
|
* @throws {@link Polytomic.NotFoundError}
|
|
69
84
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -72,68 +87,56 @@ class ModelSync {
|
|
|
72
87
|
* await client.modelSync.getSource("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
73
88
|
*/
|
|
74
89
|
getSource(id, request = {}, requestOptions) {
|
|
75
|
-
|
|
76
|
-
|
|
90
|
+
return core.HttpResponsePromise.fromPromise(this.__getSource(id, request, requestOptions));
|
|
91
|
+
}
|
|
92
|
+
__getSource(id_1) {
|
|
93
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
94
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
77
95
|
const { params } = request;
|
|
78
|
-
const _queryParams = {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
96
|
+
const _queryParams = {
|
|
97
|
+
params: params != null ? (0, json_1.toJson)(params) : undefined,
|
|
98
|
+
};
|
|
99
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
100
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
101
|
+
"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",
|
|
102
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
82
103
|
const _response = yield core.fetcher({
|
|
83
|
-
url:
|
|
104
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, `api/connections/${core.url.encodePathParam(id)}/modelsync/source`),
|
|
84
105
|
method: "GET",
|
|
85
|
-
headers:
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
94
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
95
|
-
},
|
|
96
|
-
contentType: "application/json",
|
|
97
|
-
queryParameters: _queryParams,
|
|
98
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
99
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
|
+
headers: _headers,
|
|
107
|
+
queryString: core.url
|
|
108
|
+
.queryBuilder()
|
|
109
|
+
.addMany(_queryParams)
|
|
110
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
111
|
+
.build(),
|
|
112
|
+
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,
|
|
113
|
+
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,
|
|
100
114
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
115
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
116
|
+
logging: this._options.logging,
|
|
101
117
|
});
|
|
102
118
|
if (_response.ok) {
|
|
103
|
-
return _response.body;
|
|
119
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
104
120
|
}
|
|
105
121
|
if (_response.error.reason === "status-code") {
|
|
106
122
|
switch (_response.error.statusCode) {
|
|
107
123
|
case 400:
|
|
108
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
109
|
-
case 401:
|
|
110
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
124
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
111
125
|
case 403:
|
|
112
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
126
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
113
127
|
case 404:
|
|
114
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
128
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
115
129
|
case 500:
|
|
116
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
130
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
117
131
|
default:
|
|
118
132
|
throw new errors.PolytomicError({
|
|
119
133
|
statusCode: _response.error.statusCode,
|
|
120
134
|
body: _response.error.body,
|
|
135
|
+
rawResponse: _response.rawResponse,
|
|
121
136
|
});
|
|
122
137
|
}
|
|
123
138
|
}
|
|
124
|
-
|
|
125
|
-
case "non-json":
|
|
126
|
-
throw new errors.PolytomicError({
|
|
127
|
-
statusCode: _response.error.statusCode,
|
|
128
|
-
body: _response.error.rawBody,
|
|
129
|
-
});
|
|
130
|
-
case "timeout":
|
|
131
|
-
throw new errors.PolytomicTimeoutError();
|
|
132
|
-
case "unknown":
|
|
133
|
-
throw new errors.PolytomicError({
|
|
134
|
-
message: _response.error.errorMessage,
|
|
135
|
-
});
|
|
136
|
-
}
|
|
139
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/connections/{id}/modelsync/source");
|
|
137
140
|
});
|
|
138
141
|
}
|
|
139
142
|
/**
|
|
@@ -152,10 +155,9 @@ class ModelSync {
|
|
|
152
155
|
*
|
|
153
156
|
* @param {string} id - Unique identifier of the connection.
|
|
154
157
|
* @param {Polytomic.ModelSyncGetSourceFieldsRequest} request
|
|
155
|
-
* @param {
|
|
158
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
156
159
|
*
|
|
157
160
|
* @throws {@link Polytomic.BadRequestError}
|
|
158
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
159
161
|
* @throws {@link Polytomic.ForbiddenError}
|
|
160
162
|
* @throws {@link Polytomic.NotFoundError}
|
|
161
163
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -164,72 +166,60 @@ class ModelSync {
|
|
|
164
166
|
* await client.modelSync.getSourceFields("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
165
167
|
*/
|
|
166
168
|
getSourceFields(id, request = {}, requestOptions) {
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
return core.HttpResponsePromise.fromPromise(this.__getSourceFields(id, request, requestOptions));
|
|
170
|
+
}
|
|
171
|
+
__getSourceFields(id_1) {
|
|
172
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
173
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
169
174
|
const { params } = request;
|
|
170
|
-
const _queryParams = {
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
175
|
+
const _queryParams = {
|
|
176
|
+
params: params != null ? (0, json_1.toJson)(params) : undefined,
|
|
177
|
+
};
|
|
178
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
179
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
180
|
+
"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",
|
|
181
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
174
182
|
const _response = yield core.fetcher({
|
|
175
|
-
url:
|
|
183
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.PolytomicEnvironment.Default, `api/connections/${core.url.encodePathParam(id)}/modelsync/source/fields`),
|
|
176
184
|
method: "GET",
|
|
177
|
-
headers:
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
186
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
187
|
-
},
|
|
188
|
-
contentType: "application/json",
|
|
189
|
-
queryParameters: _queryParams,
|
|
190
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
191
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
185
|
+
headers: _headers,
|
|
186
|
+
queryString: core.url
|
|
187
|
+
.queryBuilder()
|
|
188
|
+
.addMany(_queryParams)
|
|
189
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
190
|
+
.build(),
|
|
191
|
+
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,
|
|
192
|
+
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,
|
|
192
193
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
194
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
195
|
+
logging: this._options.logging,
|
|
193
196
|
});
|
|
194
197
|
if (_response.ok) {
|
|
195
|
-
return _response.body;
|
|
198
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
196
199
|
}
|
|
197
200
|
if (_response.error.reason === "status-code") {
|
|
198
201
|
switch (_response.error.statusCode) {
|
|
199
202
|
case 400:
|
|
200
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
201
|
-
case 401:
|
|
202
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
203
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
203
204
|
case 403:
|
|
204
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
205
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
205
206
|
case 404:
|
|
206
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
207
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
207
208
|
case 500:
|
|
208
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
209
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
209
210
|
default:
|
|
210
211
|
throw new errors.PolytomicError({
|
|
211
212
|
statusCode: _response.error.statusCode,
|
|
212
213
|
body: _response.error.body,
|
|
214
|
+
rawResponse: _response.rawResponse,
|
|
213
215
|
});
|
|
214
216
|
}
|
|
215
217
|
}
|
|
216
|
-
|
|
217
|
-
case "non-json":
|
|
218
|
-
throw new errors.PolytomicError({
|
|
219
|
-
statusCode: _response.error.statusCode,
|
|
220
|
-
body: _response.error.rawBody,
|
|
221
|
-
});
|
|
222
|
-
case "timeout":
|
|
223
|
-
throw new errors.PolytomicTimeoutError();
|
|
224
|
-
case "unknown":
|
|
225
|
-
throw new errors.PolytomicError({
|
|
226
|
-
message: _response.error.errorMessage,
|
|
227
|
-
});
|
|
228
|
-
}
|
|
218
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/connections/{id}/modelsync/source/fields");
|
|
229
219
|
});
|
|
230
220
|
}
|
|
231
221
|
/**
|
|
232
|
-
* Lists
|
|
222
|
+
* Lists model syncs in the caller's organization.
|
|
233
223
|
*
|
|
234
224
|
* Results are ordered by `updated_at` descending, with `id` used as a tiebreaker.
|
|
235
225
|
* If more results are available, the response includes `pagination.next_page_token`.
|
|
@@ -245,86 +235,74 @@ class ModelSync {
|
|
|
245
235
|
* [`GET /api/syncs/{id}`](../../api-reference/model-sync/get).
|
|
246
236
|
*
|
|
247
237
|
* @param {Polytomic.ModelSyncListRequest} request
|
|
248
|
-
* @param {
|
|
238
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
249
239
|
*
|
|
250
240
|
* @throws {@link Polytomic.BadRequestError}
|
|
251
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
252
241
|
* @throws {@link Polytomic.NotFoundError}
|
|
253
242
|
* @throws {@link Polytomic.InternalServerError}
|
|
254
243
|
*
|
|
255
244
|
* @example
|
|
256
245
|
* await client.modelSync.list({
|
|
257
246
|
* active: true,
|
|
258
|
-
*
|
|
247
|
+
* mode: "create",
|
|
248
|
+
* target_connection_id: "0b155265-c537-44c9-9359-a3ceb468a4da",
|
|
249
|
+
* page_token: "AmkYh8v0jR5B3kls2Qcc9y8MjrPmvR4CvaK7H0F4rEwqvg76K==",
|
|
250
|
+
* limit: 50
|
|
259
251
|
* })
|
|
260
252
|
*/
|
|
261
253
|
list(request = {}, requestOptions) {
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}
|
|
254
|
+
return core.HttpResponsePromise.fromPromise(this.__list(request, requestOptions));
|
|
255
|
+
}
|
|
256
|
+
__list() {
|
|
257
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
258
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
259
|
+
const { active, mode, target_connection_id: targetConnectionId, page_token: pageToken, limit } = request;
|
|
260
|
+
const _queryParams = {
|
|
261
|
+
active,
|
|
262
|
+
mode: mode != null ? mode : undefined,
|
|
263
|
+
target_connection_id: targetConnectionId,
|
|
264
|
+
page_token: pageToken,
|
|
265
|
+
limit,
|
|
266
|
+
};
|
|
267
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
268
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
269
|
+
"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",
|
|
270
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
275
271
|
const _response = yield core.fetcher({
|
|
276
|
-
url:
|
|
272
|
+
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/syncs"),
|
|
277
273
|
method: "GET",
|
|
278
|
-
headers:
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
287
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
288
|
-
},
|
|
289
|
-
contentType: "application/json",
|
|
290
|
-
queryParameters: _queryParams,
|
|
291
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
292
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
274
|
+
headers: _headers,
|
|
275
|
+
queryString: core.url
|
|
276
|
+
.queryBuilder()
|
|
277
|
+
.addMany(_queryParams)
|
|
278
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
279
|
+
.build(),
|
|
280
|
+
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,
|
|
281
|
+
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,
|
|
293
282
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
283
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
284
|
+
logging: this._options.logging,
|
|
294
285
|
});
|
|
295
286
|
if (_response.ok) {
|
|
296
|
-
return _response.body;
|
|
287
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
297
288
|
}
|
|
298
289
|
if (_response.error.reason === "status-code") {
|
|
299
290
|
switch (_response.error.statusCode) {
|
|
300
291
|
case 400:
|
|
301
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
302
|
-
case 401:
|
|
303
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
292
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
304
293
|
case 404:
|
|
305
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
294
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
306
295
|
case 500:
|
|
307
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
296
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
308
297
|
default:
|
|
309
298
|
throw new errors.PolytomicError({
|
|
310
299
|
statusCode: _response.error.statusCode,
|
|
311
300
|
body: _response.error.body,
|
|
301
|
+
rawResponse: _response.rawResponse,
|
|
312
302
|
});
|
|
313
303
|
}
|
|
314
304
|
}
|
|
315
|
-
|
|
316
|
-
case "non-json":
|
|
317
|
-
throw new errors.PolytomicError({
|
|
318
|
-
statusCode: _response.error.statusCode,
|
|
319
|
-
body: _response.error.rawBody,
|
|
320
|
-
});
|
|
321
|
-
case "timeout":
|
|
322
|
-
throw new errors.PolytomicTimeoutError();
|
|
323
|
-
case "unknown":
|
|
324
|
-
throw new errors.PolytomicError({
|
|
325
|
-
message: _response.error.errorMessage,
|
|
326
|
-
});
|
|
327
|
-
}
|
|
305
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/syncs");
|
|
328
306
|
});
|
|
329
307
|
}
|
|
330
308
|
/**
|
|
@@ -387,11 +365,10 @@ class ModelSync {
|
|
|
387
365
|
* The [Get Target List](../../api-reference/model-sync/targets/list) endpoint returns information about whether
|
|
388
366
|
* a connection supports target creation.
|
|
389
367
|
*
|
|
390
|
-
* @param {Polytomic.
|
|
391
|
-
* @param {
|
|
368
|
+
* @param {Polytomic.CreateSyncRequest} request
|
|
369
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
392
370
|
*
|
|
393
371
|
* @throws {@link Polytomic.BadRequestError}
|
|
394
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
395
372
|
* @throws {@link Polytomic.ForbiddenError}
|
|
396
373
|
* @throws {@link Polytomic.UnprocessableEntityError}
|
|
397
374
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -401,7 +378,7 @@ class ModelSync {
|
|
|
401
378
|
* fields: [{
|
|
402
379
|
* target: "name"
|
|
403
380
|
* }],
|
|
404
|
-
* mode:
|
|
381
|
+
* mode: "create",
|
|
405
382
|
* name: "Users Sync",
|
|
406
383
|
* schedule: {},
|
|
407
384
|
* target: {
|
|
@@ -410,63 +387,52 @@ class ModelSync {
|
|
|
410
387
|
* })
|
|
411
388
|
*/
|
|
412
389
|
create(request, requestOptions) {
|
|
413
|
-
|
|
390
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
391
|
+
}
|
|
392
|
+
__create(request, requestOptions) {
|
|
414
393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
394
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
395
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
396
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
397
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
398
|
+
"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",
|
|
399
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
415
400
|
const _response = yield core.fetcher({
|
|
416
|
-
url:
|
|
401
|
+
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/syncs"),
|
|
417
402
|
method: "POST",
|
|
418
|
-
headers:
|
|
419
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
420
|
-
"X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
421
|
-
? yield core.Supplier.get(this._options.version)
|
|
422
|
-
: undefined,
|
|
423
|
-
"X-Fern-Language": "JavaScript",
|
|
424
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
425
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
426
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
427
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
428
|
-
},
|
|
403
|
+
headers: _headers,
|
|
429
404
|
contentType: "application/json",
|
|
405
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
406
|
+
requestType: "json",
|
|
430
407
|
body: request,
|
|
431
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
432
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
408
|
+
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,
|
|
409
|
+
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,
|
|
433
410
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
411
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
412
|
+
logging: this._options.logging,
|
|
434
413
|
});
|
|
435
414
|
if (_response.ok) {
|
|
436
|
-
return _response.body;
|
|
415
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
437
416
|
}
|
|
438
417
|
if (_response.error.reason === "status-code") {
|
|
439
418
|
switch (_response.error.statusCode) {
|
|
440
419
|
case 400:
|
|
441
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
442
|
-
case 401:
|
|
443
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
420
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
444
421
|
case 403:
|
|
445
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
422
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
446
423
|
case 422:
|
|
447
|
-
throw new Polytomic.UnprocessableEntityError(_response.error.body);
|
|
424
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
448
425
|
case 500:
|
|
449
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
426
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
450
427
|
default:
|
|
451
428
|
throw new errors.PolytomicError({
|
|
452
429
|
statusCode: _response.error.statusCode,
|
|
453
430
|
body: _response.error.body,
|
|
431
|
+
rawResponse: _response.rawResponse,
|
|
454
432
|
});
|
|
455
433
|
}
|
|
456
434
|
}
|
|
457
|
-
|
|
458
|
-
case "non-json":
|
|
459
|
-
throw new errors.PolytomicError({
|
|
460
|
-
statusCode: _response.error.statusCode,
|
|
461
|
-
body: _response.error.rawBody,
|
|
462
|
-
});
|
|
463
|
-
case "timeout":
|
|
464
|
-
throw new errors.PolytomicTimeoutError();
|
|
465
|
-
case "unknown":
|
|
466
|
-
throw new errors.PolytomicError({
|
|
467
|
-
message: _response.error.errorMessage,
|
|
468
|
-
});
|
|
469
|
-
}
|
|
435
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/syncs");
|
|
470
436
|
});
|
|
471
437
|
}
|
|
472
438
|
/**
|
|
@@ -476,65 +442,53 @@ class ModelSync {
|
|
|
476
442
|
* when creating or updating a sync via
|
|
477
443
|
* [`POST /api/syncs`](../../../api-reference/model-sync/create) or [`PUT /api/syncs/{id}`](../../../api-reference/model-sync/update).
|
|
478
444
|
*
|
|
479
|
-
* @param {
|
|
445
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
480
446
|
*
|
|
481
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
482
447
|
* @throws {@link Polytomic.InternalServerError}
|
|
483
448
|
*
|
|
484
449
|
* @example
|
|
485
450
|
* await client.modelSync.getScheduleOptions()
|
|
486
451
|
*/
|
|
487
452
|
getScheduleOptions(requestOptions) {
|
|
488
|
-
|
|
453
|
+
return core.HttpResponsePromise.fromPromise(this.__getScheduleOptions(requestOptions));
|
|
454
|
+
}
|
|
455
|
+
__getScheduleOptions(requestOptions) {
|
|
489
456
|
return __awaiter(this, void 0, void 0, function* () {
|
|
457
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
458
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
459
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
460
|
+
"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",
|
|
461
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
490
462
|
const _response = yield core.fetcher({
|
|
491
|
-
url:
|
|
463
|
+
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/syncs/schedules"),
|
|
492
464
|
method: "GET",
|
|
493
|
-
headers:
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
: undefined,
|
|
498
|
-
"X-Fern-Language": "JavaScript",
|
|
499
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
500
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
501
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
502
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
503
|
-
},
|
|
504
|
-
contentType: "application/json",
|
|
505
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
506
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
465
|
+
headers: _headers,
|
|
466
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
467
|
+
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,
|
|
468
|
+
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,
|
|
507
469
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
470
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
471
|
+
logging: this._options.logging,
|
|
508
472
|
});
|
|
509
473
|
if (_response.ok) {
|
|
510
|
-
return
|
|
474
|
+
return {
|
|
475
|
+
data: _response.body,
|
|
476
|
+
rawResponse: _response.rawResponse,
|
|
477
|
+
};
|
|
511
478
|
}
|
|
512
479
|
if (_response.error.reason === "status-code") {
|
|
513
480
|
switch (_response.error.statusCode) {
|
|
514
|
-
case 401:
|
|
515
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
516
481
|
case 500:
|
|
517
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
482
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
518
483
|
default:
|
|
519
484
|
throw new errors.PolytomicError({
|
|
520
485
|
statusCode: _response.error.statusCode,
|
|
521
486
|
body: _response.error.body,
|
|
487
|
+
rawResponse: _response.rawResponse,
|
|
522
488
|
});
|
|
523
489
|
}
|
|
524
490
|
}
|
|
525
|
-
|
|
526
|
-
case "non-json":
|
|
527
|
-
throw new errors.PolytomicError({
|
|
528
|
-
statusCode: _response.error.statusCode,
|
|
529
|
-
body: _response.error.rawBody,
|
|
530
|
-
});
|
|
531
|
-
case "timeout":
|
|
532
|
-
throw new errors.PolytomicTimeoutError();
|
|
533
|
-
case "unknown":
|
|
534
|
-
throw new errors.PolytomicError({
|
|
535
|
-
message: _response.error.errorMessage,
|
|
536
|
-
});
|
|
537
|
-
}
|
|
491
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/syncs/schedules");
|
|
538
492
|
});
|
|
539
493
|
}
|
|
540
494
|
/**
|
|
@@ -545,9 +499,8 @@ class ModelSync {
|
|
|
545
499
|
* executions, use [`GET /api/syncs/{id}/executions`](../../../api-reference/model-sync/executions/list).
|
|
546
500
|
*
|
|
547
501
|
* @param {string} id
|
|
548
|
-
* @param {
|
|
502
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
549
503
|
*
|
|
550
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
551
504
|
* @throws {@link Polytomic.NotFoundError}
|
|
552
505
|
* @throws {@link Polytomic.InternalServerError}
|
|
553
506
|
*
|
|
@@ -555,58 +508,44 @@ class ModelSync {
|
|
|
555
508
|
* await client.modelSync.get("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
556
509
|
*/
|
|
557
510
|
get(id, requestOptions) {
|
|
558
|
-
|
|
511
|
+
return core.HttpResponsePromise.fromPromise(this.__get(id, requestOptions));
|
|
512
|
+
}
|
|
513
|
+
__get(id, requestOptions) {
|
|
559
514
|
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
516
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
517
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
518
|
+
"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",
|
|
519
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
560
520
|
const _response = yield core.fetcher({
|
|
561
|
-
url:
|
|
521
|
+
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/syncs/${core.url.encodePathParam(id)}`),
|
|
562
522
|
method: "GET",
|
|
563
|
-
headers:
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
: undefined,
|
|
568
|
-
"X-Fern-Language": "JavaScript",
|
|
569
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
570
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
571
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
572
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
573
|
-
},
|
|
574
|
-
contentType: "application/json",
|
|
575
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
576
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
523
|
+
headers: _headers,
|
|
524
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
525
|
+
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,
|
|
526
|
+
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,
|
|
577
527
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
528
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
529
|
+
logging: this._options.logging,
|
|
578
530
|
});
|
|
579
531
|
if (_response.ok) {
|
|
580
|
-
return _response.body;
|
|
532
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
581
533
|
}
|
|
582
534
|
if (_response.error.reason === "status-code") {
|
|
583
535
|
switch (_response.error.statusCode) {
|
|
584
|
-
case 401:
|
|
585
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
586
536
|
case 404:
|
|
587
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
537
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
588
538
|
case 500:
|
|
589
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
539
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
590
540
|
default:
|
|
591
541
|
throw new errors.PolytomicError({
|
|
592
542
|
statusCode: _response.error.statusCode,
|
|
593
543
|
body: _response.error.body,
|
|
544
|
+
rawResponse: _response.rawResponse,
|
|
594
545
|
});
|
|
595
546
|
}
|
|
596
547
|
}
|
|
597
|
-
|
|
598
|
-
case "non-json":
|
|
599
|
-
throw new errors.PolytomicError({
|
|
600
|
-
statusCode: _response.error.statusCode,
|
|
601
|
-
body: _response.error.rawBody,
|
|
602
|
-
});
|
|
603
|
-
case "timeout":
|
|
604
|
-
throw new errors.PolytomicTimeoutError();
|
|
605
|
-
case "unknown":
|
|
606
|
-
throw new errors.PolytomicError({
|
|
607
|
-
message: _response.error.errorMessage,
|
|
608
|
-
});
|
|
609
|
-
}
|
|
548
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/syncs/{id}");
|
|
610
549
|
});
|
|
611
550
|
}
|
|
612
551
|
/**
|
|
@@ -627,8 +566,8 @@ class ModelSync {
|
|
|
627
566
|
* take effect on the sync's next execution.
|
|
628
567
|
*
|
|
629
568
|
* @param {string} id
|
|
630
|
-
* @param {Polytomic.
|
|
631
|
-
* @param {
|
|
569
|
+
* @param {Polytomic.UpdateSyncRequest} request
|
|
570
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
632
571
|
*
|
|
633
572
|
* @throws {@link Polytomic.BadRequestError}
|
|
634
573
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
@@ -642,7 +581,7 @@ class ModelSync {
|
|
|
642
581
|
* fields: [{
|
|
643
582
|
* target: "name"
|
|
644
583
|
* }],
|
|
645
|
-
* mode:
|
|
584
|
+
* mode: "create",
|
|
646
585
|
* name: "Users Sync",
|
|
647
586
|
* schedule: {},
|
|
648
587
|
* target: {
|
|
@@ -651,65 +590,56 @@ class ModelSync {
|
|
|
651
590
|
* })
|
|
652
591
|
*/
|
|
653
592
|
update(id, request, requestOptions) {
|
|
654
|
-
|
|
593
|
+
return core.HttpResponsePromise.fromPromise(this.__update(id, request, requestOptions));
|
|
594
|
+
}
|
|
595
|
+
__update(id, request, requestOptions) {
|
|
655
596
|
return __awaiter(this, void 0, void 0, function* () {
|
|
597
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
598
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
599
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
600
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
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);
|
|
656
603
|
const _response = yield core.fetcher({
|
|
657
|
-
url:
|
|
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/syncs/${core.url.encodePathParam(id)}`),
|
|
658
605
|
method: "PUT",
|
|
659
|
-
headers:
|
|
660
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
661
|
-
"X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
662
|
-
? yield core.Supplier.get(this._options.version)
|
|
663
|
-
: undefined,
|
|
664
|
-
"X-Fern-Language": "JavaScript",
|
|
665
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
666
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
667
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
668
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
669
|
-
},
|
|
606
|
+
headers: _headers,
|
|
670
607
|
contentType: "application/json",
|
|
608
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
609
|
+
requestType: "json",
|
|
671
610
|
body: request,
|
|
672
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
673
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
611
|
+
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,
|
|
612
|
+
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,
|
|
674
613
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
614
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
615
|
+
logging: this._options.logging,
|
|
675
616
|
});
|
|
676
617
|
if (_response.ok) {
|
|
677
|
-
return _response.body;
|
|
618
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
678
619
|
}
|
|
679
620
|
if (_response.error.reason === "status-code") {
|
|
680
621
|
switch (_response.error.statusCode) {
|
|
681
622
|
case 400:
|
|
682
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
623
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
683
624
|
case 401:
|
|
684
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
625
|
+
throw new Polytomic.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
685
626
|
case 403:
|
|
686
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
627
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
687
628
|
case 404:
|
|
688
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
629
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
689
630
|
case 422:
|
|
690
|
-
throw new Polytomic.UnprocessableEntityError(_response.error.body);
|
|
631
|
+
throw new Polytomic.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
691
632
|
case 500:
|
|
692
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
633
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
693
634
|
default:
|
|
694
635
|
throw new errors.PolytomicError({
|
|
695
636
|
statusCode: _response.error.statusCode,
|
|
696
637
|
body: _response.error.body,
|
|
638
|
+
rawResponse: _response.rawResponse,
|
|
697
639
|
});
|
|
698
640
|
}
|
|
699
641
|
}
|
|
700
|
-
|
|
701
|
-
case "non-json":
|
|
702
|
-
throw new errors.PolytomicError({
|
|
703
|
-
statusCode: _response.error.statusCode,
|
|
704
|
-
body: _response.error.rawBody,
|
|
705
|
-
});
|
|
706
|
-
case "timeout":
|
|
707
|
-
throw new errors.PolytomicTimeoutError();
|
|
708
|
-
case "unknown":
|
|
709
|
-
throw new errors.PolytomicError({
|
|
710
|
-
message: _response.error.errorMessage,
|
|
711
|
-
});
|
|
712
|
-
}
|
|
642
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "PUT", "/api/syncs/{id}");
|
|
713
643
|
});
|
|
714
644
|
}
|
|
715
645
|
/**
|
|
@@ -720,7 +650,7 @@ class ModelSync {
|
|
|
720
650
|
* [`POST /api/syncs`](../../../api-reference/model-sync/create) if needed.
|
|
721
651
|
*
|
|
722
652
|
* @param {string} id
|
|
723
|
-
* @param {
|
|
653
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
724
654
|
*
|
|
725
655
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
726
656
|
* @throws {@link Polytomic.ForbiddenError}
|
|
@@ -729,65 +659,54 @@ class ModelSync {
|
|
|
729
659
|
* @throws {@link Polytomic.InternalServerError}
|
|
730
660
|
*
|
|
731
661
|
* @example
|
|
732
|
-
* await client.modelSync.
|
|
662
|
+
* await client.modelSync.delete("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
733
663
|
*/
|
|
734
|
-
|
|
735
|
-
|
|
664
|
+
delete(id, requestOptions) {
|
|
665
|
+
return core.HttpResponsePromise.fromPromise(this.__delete(id, requestOptions));
|
|
666
|
+
}
|
|
667
|
+
__delete(id, requestOptions) {
|
|
736
668
|
return __awaiter(this, void 0, void 0, function* () {
|
|
669
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
670
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
671
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
672
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
673
|
+
"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",
|
|
674
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
737
675
|
const _response = yield core.fetcher({
|
|
738
|
-
url:
|
|
676
|
+
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/syncs/${core.url.encodePathParam(id)}`),
|
|
739
677
|
method: "DELETE",
|
|
740
|
-
headers:
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
: undefined,
|
|
745
|
-
"X-Fern-Language": "JavaScript",
|
|
746
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
747
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
748
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
749
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
750
|
-
},
|
|
751
|
-
contentType: "application/json",
|
|
752
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
753
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
678
|
+
headers: _headers,
|
|
679
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
680
|
+
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,
|
|
681
|
+
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,
|
|
754
682
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
683
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
684
|
+
logging: this._options.logging,
|
|
755
685
|
});
|
|
756
686
|
if (_response.ok) {
|
|
757
|
-
return;
|
|
687
|
+
return { data: undefined, rawResponse: _response.rawResponse };
|
|
758
688
|
}
|
|
759
689
|
if (_response.error.reason === "status-code") {
|
|
760
690
|
switch (_response.error.statusCode) {
|
|
761
691
|
case 401:
|
|
762
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
692
|
+
throw new Polytomic.UnauthorizedError(_response.error.body, _response.rawResponse);
|
|
763
693
|
case 403:
|
|
764
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
694
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
765
695
|
case 404:
|
|
766
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
696
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
767
697
|
case 409:
|
|
768
|
-
throw new Polytomic.ConflictError(_response.error.body);
|
|
698
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
769
699
|
case 500:
|
|
770
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
700
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
771
701
|
default:
|
|
772
702
|
throw new errors.PolytomicError({
|
|
773
703
|
statusCode: _response.error.statusCode,
|
|
774
704
|
body: _response.error.body,
|
|
705
|
+
rawResponse: _response.rawResponse,
|
|
775
706
|
});
|
|
776
707
|
}
|
|
777
708
|
}
|
|
778
|
-
|
|
779
|
-
case "non-json":
|
|
780
|
-
throw new errors.PolytomicError({
|
|
781
|
-
statusCode: _response.error.statusCode,
|
|
782
|
-
body: _response.error.rawBody,
|
|
783
|
-
});
|
|
784
|
-
case "timeout":
|
|
785
|
-
throw new errors.PolytomicTimeoutError();
|
|
786
|
-
case "unknown":
|
|
787
|
-
throw new errors.PolytomicError({
|
|
788
|
-
message: _response.error.errorMessage,
|
|
789
|
-
});
|
|
790
|
-
}
|
|
709
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/api/syncs/{id}");
|
|
791
710
|
});
|
|
792
711
|
}
|
|
793
712
|
/**
|
|
@@ -802,9 +721,8 @@ class ModelSync {
|
|
|
802
721
|
*
|
|
803
722
|
* @param {string} id
|
|
804
723
|
* @param {Polytomic.ActivateSyncInput} request
|
|
805
|
-
* @param {
|
|
724
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
806
725
|
*
|
|
807
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
808
726
|
* @throws {@link Polytomic.ForbiddenError}
|
|
809
727
|
* @throws {@link Polytomic.NotFoundError}
|
|
810
728
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -815,61 +733,50 @@ class ModelSync {
|
|
|
815
733
|
* })
|
|
816
734
|
*/
|
|
817
735
|
activate(id, request, requestOptions) {
|
|
818
|
-
|
|
736
|
+
return core.HttpResponsePromise.fromPromise(this.__activate(id, request, requestOptions));
|
|
737
|
+
}
|
|
738
|
+
__activate(id, request, requestOptions) {
|
|
819
739
|
return __awaiter(this, void 0, void 0, function* () {
|
|
740
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
741
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
742
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
743
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
744
|
+
"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",
|
|
745
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
820
746
|
const _response = yield core.fetcher({
|
|
821
|
-
url:
|
|
747
|
+
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/syncs/${core.url.encodePathParam(id)}/activate`),
|
|
822
748
|
method: "POST",
|
|
823
|
-
headers:
|
|
824
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
825
|
-
"X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
826
|
-
? yield core.Supplier.get(this._options.version)
|
|
827
|
-
: undefined,
|
|
828
|
-
"X-Fern-Language": "JavaScript",
|
|
829
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
830
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
831
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
832
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
833
|
-
},
|
|
749
|
+
headers: _headers,
|
|
834
750
|
contentType: "application/json",
|
|
751
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
752
|
+
requestType: "json",
|
|
835
753
|
body: request,
|
|
836
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
837
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
754
|
+
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,
|
|
755
|
+
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,
|
|
838
756
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
757
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
758
|
+
logging: this._options.logging,
|
|
839
759
|
});
|
|
840
760
|
if (_response.ok) {
|
|
841
|
-
return _response.body;
|
|
761
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
842
762
|
}
|
|
843
763
|
if (_response.error.reason === "status-code") {
|
|
844
764
|
switch (_response.error.statusCode) {
|
|
845
|
-
case 401:
|
|
846
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
847
765
|
case 403:
|
|
848
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
766
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
849
767
|
case 404:
|
|
850
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
768
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
851
769
|
case 500:
|
|
852
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
770
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
853
771
|
default:
|
|
854
772
|
throw new errors.PolytomicError({
|
|
855
773
|
statusCode: _response.error.statusCode,
|
|
856
774
|
body: _response.error.body,
|
|
775
|
+
rawResponse: _response.rawResponse,
|
|
857
776
|
});
|
|
858
777
|
}
|
|
859
778
|
}
|
|
860
|
-
|
|
861
|
-
case "non-json":
|
|
862
|
-
throw new errors.PolytomicError({
|
|
863
|
-
statusCode: _response.error.statusCode,
|
|
864
|
-
body: _response.error.rawBody,
|
|
865
|
-
});
|
|
866
|
-
case "timeout":
|
|
867
|
-
throw new errors.PolytomicTimeoutError();
|
|
868
|
-
case "unknown":
|
|
869
|
-
throw new errors.PolytomicError({
|
|
870
|
-
message: _response.error.errorMessage,
|
|
871
|
-
});
|
|
872
|
-
}
|
|
779
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/syncs/{id}/activate");
|
|
873
780
|
});
|
|
874
781
|
}
|
|
875
782
|
/**
|
|
@@ -882,9 +789,8 @@ class ModelSync {
|
|
|
882
789
|
* cancellation has taken effect.
|
|
883
790
|
*
|
|
884
791
|
* @param {string} id - The active execution of this sync ID will be cancelled.
|
|
885
|
-
* @param {
|
|
792
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
886
793
|
*
|
|
887
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
888
794
|
* @throws {@link Polytomic.ForbiddenError}
|
|
889
795
|
* @throws {@link Polytomic.NotFoundError}
|
|
890
796
|
* @throws {@link Polytomic.InternalServerError}
|
|
@@ -893,60 +799,47 @@ class ModelSync {
|
|
|
893
799
|
* await client.modelSync.cancel("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
894
800
|
*/
|
|
895
801
|
cancel(id, requestOptions) {
|
|
896
|
-
|
|
802
|
+
return core.HttpResponsePromise.fromPromise(this.__cancel(id, requestOptions));
|
|
803
|
+
}
|
|
804
|
+
__cancel(id, requestOptions) {
|
|
897
805
|
return __awaiter(this, void 0, void 0, function* () {
|
|
806
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
807
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
808
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
809
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
810
|
+
"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",
|
|
811
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
898
812
|
const _response = yield core.fetcher({
|
|
899
|
-
url:
|
|
813
|
+
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/syncs/${core.url.encodePathParam(id)}/cancel`),
|
|
900
814
|
method: "POST",
|
|
901
|
-
headers:
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
: undefined,
|
|
906
|
-
"X-Fern-Language": "JavaScript",
|
|
907
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
908
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
909
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
910
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
911
|
-
},
|
|
912
|
-
contentType: "application/json",
|
|
913
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
914
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
815
|
+
headers: _headers,
|
|
816
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
817
|
+
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,
|
|
818
|
+
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,
|
|
915
819
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
820
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
821
|
+
logging: this._options.logging,
|
|
916
822
|
});
|
|
917
823
|
if (_response.ok) {
|
|
918
|
-
return _response.body;
|
|
824
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
919
825
|
}
|
|
920
826
|
if (_response.error.reason === "status-code") {
|
|
921
827
|
switch (_response.error.statusCode) {
|
|
922
|
-
case 401:
|
|
923
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
924
828
|
case 403:
|
|
925
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
829
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
926
830
|
case 404:
|
|
927
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
831
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
928
832
|
case 500:
|
|
929
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
833
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
930
834
|
default:
|
|
931
835
|
throw new errors.PolytomicError({
|
|
932
836
|
statusCode: _response.error.statusCode,
|
|
933
837
|
body: _response.error.body,
|
|
838
|
+
rawResponse: _response.rawResponse,
|
|
934
839
|
});
|
|
935
840
|
}
|
|
936
841
|
}
|
|
937
|
-
|
|
938
|
-
case "non-json":
|
|
939
|
-
throw new errors.PolytomicError({
|
|
940
|
-
statusCode: _response.error.statusCode,
|
|
941
|
-
body: _response.error.rawBody,
|
|
942
|
-
});
|
|
943
|
-
case "timeout":
|
|
944
|
-
throw new errors.PolytomicTimeoutError();
|
|
945
|
-
case "unknown":
|
|
946
|
-
throw new errors.PolytomicError({
|
|
947
|
-
message: _response.error.errorMessage,
|
|
948
|
-
});
|
|
949
|
-
}
|
|
842
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/syncs/{id}/cancel");
|
|
950
843
|
});
|
|
951
844
|
}
|
|
952
845
|
/**
|
|
@@ -957,11 +850,10 @@ class ModelSync {
|
|
|
957
850
|
* > Use caution when setting the `resync` parameter to `true`. This will force a full resync of the data from the source system. This can be a time-consuming operation and may impact the performance of the source system. It is recommended to only use this option when necessary.
|
|
958
851
|
*
|
|
959
852
|
* @param {string} id
|
|
960
|
-
* @param {Polytomic.
|
|
961
|
-
* @param {
|
|
853
|
+
* @param {Polytomic.StartSyncRequest} request
|
|
854
|
+
* @param {ModelSyncClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
962
855
|
*
|
|
963
856
|
* @throws {@link Polytomic.BadRequestError}
|
|
964
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
965
857
|
* @throws {@link Polytomic.ForbiddenError}
|
|
966
858
|
* @throws {@link Polytomic.NotFoundError}
|
|
967
859
|
* @throws {@link Polytomic.ConflictError}
|
|
@@ -971,65 +863,54 @@ class ModelSync {
|
|
|
971
863
|
* await client.modelSync.start("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
972
864
|
*/
|
|
973
865
|
start(id, request = {}, requestOptions) {
|
|
974
|
-
|
|
975
|
-
|
|
866
|
+
return core.HttpResponsePromise.fromPromise(this.__start(id, request, requestOptions));
|
|
867
|
+
}
|
|
868
|
+
__start(id_1) {
|
|
869
|
+
return __awaiter(this, arguments, void 0, function* (id, request = {}, requestOptions) {
|
|
870
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
871
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
872
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
873
|
+
"Idempotency-Key": requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.idempotencyKey,
|
|
874
|
+
"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",
|
|
875
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
976
876
|
const _response = yield core.fetcher({
|
|
977
|
-
url:
|
|
877
|
+
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/syncs/${core.url.encodePathParam(id)}/executions`),
|
|
978
878
|
method: "POST",
|
|
979
|
-
headers:
|
|
980
|
-
Authorization: yield this._getAuthorizationHeader(),
|
|
981
|
-
"X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
982
|
-
? yield core.Supplier.get(this._options.version)
|
|
983
|
-
: undefined,
|
|
984
|
-
"X-Fern-Language": "JavaScript",
|
|
985
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
986
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
987
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
988
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
989
|
-
},
|
|
879
|
+
headers: _headers,
|
|
990
880
|
contentType: "application/json",
|
|
881
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
882
|
+
requestType: "json",
|
|
991
883
|
body: request,
|
|
992
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
993
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
884
|
+
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,
|
|
885
|
+
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,
|
|
994
886
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
887
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
888
|
+
logging: this._options.logging,
|
|
995
889
|
});
|
|
996
890
|
if (_response.ok) {
|
|
997
|
-
return _response.body;
|
|
891
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
998
892
|
}
|
|
999
893
|
if (_response.error.reason === "status-code") {
|
|
1000
894
|
switch (_response.error.statusCode) {
|
|
1001
895
|
case 400:
|
|
1002
|
-
throw new Polytomic.BadRequestError(_response.error.body);
|
|
1003
|
-
case 401:
|
|
1004
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
896
|
+
throw new Polytomic.BadRequestError(_response.error.body, _response.rawResponse);
|
|
1005
897
|
case 403:
|
|
1006
|
-
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
898
|
+
throw new Polytomic.ForbiddenError(_response.error.body, _response.rawResponse);
|
|
1007
899
|
case 404:
|
|
1008
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
900
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1009
901
|
case 409:
|
|
1010
|
-
throw new Polytomic.ConflictError(_response.error.body);
|
|
902
|
+
throw new Polytomic.ConflictError(_response.error.body, _response.rawResponse);
|
|
1011
903
|
case 500:
|
|
1012
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
904
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1013
905
|
default:
|
|
1014
906
|
throw new errors.PolytomicError({
|
|
1015
907
|
statusCode: _response.error.statusCode,
|
|
1016
908
|
body: _response.error.body,
|
|
909
|
+
rawResponse: _response.rawResponse,
|
|
1017
910
|
});
|
|
1018
911
|
}
|
|
1019
912
|
}
|
|
1020
|
-
|
|
1021
|
-
case "non-json":
|
|
1022
|
-
throw new errors.PolytomicError({
|
|
1023
|
-
statusCode: _response.error.statusCode,
|
|
1024
|
-
body: _response.error.rawBody,
|
|
1025
|
-
});
|
|
1026
|
-
case "timeout":
|
|
1027
|
-
throw new errors.PolytomicTimeoutError();
|
|
1028
|
-
case "unknown":
|
|
1029
|
-
throw new errors.PolytomicError({
|
|
1030
|
-
message: _response.error.errorMessage,
|
|
1031
|
-
});
|
|
1032
|
-
}
|
|
913
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "POST", "/api/syncs/{id}/executions");
|
|
1033
914
|
});
|
|
1034
915
|
}
|
|
1035
916
|
/**
|
|
@@ -1040,9 +921,8 @@ class ModelSync {
|
|
|
1040
921
|
* history, use [`GET /api/syncs/{id}/executions`](../../../../api-reference/model-sync/executions/list).
|
|
1041
922
|
*
|
|
1042
923
|
* @param {string} id
|
|
1043
|
-
* @param {
|
|
924
|
+
* @param {ModelSyncClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
1044
925
|
*
|
|
1045
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
1046
926
|
* @throws {@link Polytomic.NotFoundError}
|
|
1047
927
|
* @throws {@link Polytomic.InternalServerError}
|
|
1048
928
|
*
|
|
@@ -1050,72 +930,45 @@ class ModelSync {
|
|
|
1050
930
|
* await client.modelSync.getStatus("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
1051
931
|
*/
|
|
1052
932
|
getStatus(id, requestOptions) {
|
|
1053
|
-
|
|
933
|
+
return core.HttpResponsePromise.fromPromise(this.__getStatus(id, requestOptions));
|
|
934
|
+
}
|
|
935
|
+
__getStatus(id, requestOptions) {
|
|
1054
936
|
return __awaiter(this, void 0, void 0, function* () {
|
|
937
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
938
|
+
const _authRequest = yield this._options.authProvider.getAuthRequest();
|
|
939
|
+
const _headers = (0, headers_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({
|
|
940
|
+
"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",
|
|
941
|
+
}), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1055
942
|
const _response = yield core.fetcher({
|
|
1056
|
-
url:
|
|
943
|
+
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/syncs/${core.url.encodePathParam(id)}/status`),
|
|
1057
944
|
method: "GET",
|
|
1058
|
-
headers:
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
: undefined,
|
|
1063
|
-
"X-Fern-Language": "JavaScript",
|
|
1064
|
-
"X-Fern-SDK-Name": "polytomic",
|
|
1065
|
-
"X-Fern-SDK-Version": "1.18.1",
|
|
1066
|
-
"X-Fern-Runtime": core.RUNTIME.type,
|
|
1067
|
-
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
1068
|
-
},
|
|
1069
|
-
contentType: "application/json",
|
|
1070
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
1071
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
945
|
+
headers: _headers,
|
|
946
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
947
|
+
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,
|
|
948
|
+
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,
|
|
1072
949
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
950
|
+
fetchFn: (_m = this._options) === null || _m === void 0 ? void 0 : _m.fetch,
|
|
951
|
+
logging: this._options.logging,
|
|
1073
952
|
});
|
|
1074
953
|
if (_response.ok) {
|
|
1075
|
-
return _response.body;
|
|
954
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
1076
955
|
}
|
|
1077
956
|
if (_response.error.reason === "status-code") {
|
|
1078
957
|
switch (_response.error.statusCode) {
|
|
1079
|
-
case 401:
|
|
1080
|
-
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
1081
958
|
case 404:
|
|
1082
|
-
throw new Polytomic.NotFoundError(_response.error.body);
|
|
959
|
+
throw new Polytomic.NotFoundError(_response.error.body, _response.rawResponse);
|
|
1083
960
|
case 500:
|
|
1084
|
-
throw new Polytomic.InternalServerError(_response.error.body);
|
|
961
|
+
throw new Polytomic.InternalServerError(_response.error.body, _response.rawResponse);
|
|
1085
962
|
default:
|
|
1086
963
|
throw new errors.PolytomicError({
|
|
1087
964
|
statusCode: _response.error.statusCode,
|
|
1088
965
|
body: _response.error.body,
|
|
966
|
+
rawResponse: _response.rawResponse,
|
|
1089
967
|
});
|
|
1090
968
|
}
|
|
1091
969
|
}
|
|
1092
|
-
|
|
1093
|
-
case "non-json":
|
|
1094
|
-
throw new errors.PolytomicError({
|
|
1095
|
-
statusCode: _response.error.statusCode,
|
|
1096
|
-
body: _response.error.rawBody,
|
|
1097
|
-
});
|
|
1098
|
-
case "timeout":
|
|
1099
|
-
throw new errors.PolytomicTimeoutError();
|
|
1100
|
-
case "unknown":
|
|
1101
|
-
throw new errors.PolytomicError({
|
|
1102
|
-
message: _response.error.errorMessage,
|
|
1103
|
-
});
|
|
1104
|
-
}
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
get targets() {
|
|
1108
|
-
var _a;
|
|
1109
|
-
return ((_a = this._targets) !== null && _a !== void 0 ? _a : (this._targets = new Client_1.Targets(this._options)));
|
|
1110
|
-
}
|
|
1111
|
-
get executions() {
|
|
1112
|
-
var _a;
|
|
1113
|
-
return ((_a = this._executions) !== null && _a !== void 0 ? _a : (this._executions = new Client_2.Executions(this._options)));
|
|
1114
|
-
}
|
|
1115
|
-
_getAuthorizationHeader() {
|
|
1116
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1117
|
-
return `Bearer ${yield core.Supplier.get(this._options.token)}`;
|
|
970
|
+
return (0, handleNonStatusCodeError_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "GET", "/api/syncs/{id}/status");
|
|
1118
971
|
});
|
|
1119
972
|
}
|
|
1120
973
|
}
|
|
1121
|
-
exports.
|
|
974
|
+
exports.ModelSyncClient = ModelSyncClient;
|