polytomic 25.9.12 → 25.9.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.js +2 -2
- package/Client.d.ts +0 -3
- package/Client.js +38 -43
- package/api/resources/bulkSync/client/Client.d.ts +42 -18
- package/api/resources/bulkSync/client/Client.js +54 -22
- package/api/resources/bulkSync/client/requests/BulkSyncGetDestinationRequest.d.ts +10 -0
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +17 -10
- package/api/resources/bulkSync/resources/executions/client/Client.js +17 -10
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +1 -1
- package/api/resources/bulkSync/resources/schedules/client/Client.d.ts +8 -0
- package/api/resources/bulkSync/resources/schedules/client/Client.js +8 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +13 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.js +10 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +1 -1
- package/api/resources/bulkSync/resources/schemas/client/requests/index.js +3 -0
- package/api/resources/connections/client/Client.d.ts +8 -7
- package/api/resources/connections/client/Client.js +8 -7
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +4 -1
- package/api/resources/connections/client/requests/GetConnectionTypeParameterValuesRequestSchema.d.ts +5 -1
- package/api/resources/connections/resources/proxy/client/Client.d.ts +13 -2
- package/api/resources/connections/resources/proxy/client/Client.js +13 -2
- package/api/resources/events/client/Client.d.ts +10 -7
- package/api/resources/events/client/Client.js +10 -7
- package/api/resources/harbors/client/Client.d.ts +73 -1290
- package/api/resources/harbors/client/Client.js +108 -3353
- package/api/resources/harbors/client/requests/index.d.ts +0 -29
- package/api/resources/harbors/resources/actionConfiguration/client/Client.d.ts +267 -0
- package/api/resources/harbors/resources/actionConfiguration/client/Client.js +686 -0
- package/api/resources/harbors/{client/requests/HarborsListActionConfigurationSchemasRequest.d.ts → resources/actionConfiguration/client/requests/ActionConfigurationListSchemasRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsRemoveActionConfigurationRequest.d.ts → resources/actionConfiguration/client/requests/ActionConfigurationRemoveRequest.d.ts} +1 -1
- package/api/resources/harbors/{client → resources/actionConfiguration/client}/requests/SetHarborActionConfigurationRequest.d.ts +1 -1
- package/api/resources/harbors/resources/actionConfiguration/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/actionConfiguration/exports.d.ts +2 -0
- package/api/resources/harbors/resources/actionConfiguration/exports.js +21 -0
- package/api/resources/harbors/resources/actionConfiguration/index.d.ts +1 -0
- package/api/resources/harbors/resources/actionConfiguration/index.js +17 -0
- package/api/resources/harbors/resources/actions/client/Client.d.ts +4 -0
- package/api/resources/harbors/resources/actions/client/Client.js +4 -0
- package/api/resources/{activity → harbors/resources/activity}/client/Client.d.ts +11 -11
- package/api/resources/{activity → harbors/resources/activity}/client/Client.js +12 -12
- package/api/resources/harbors/resources/activity/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/activity/client/index.js +17 -0
- package/api/resources/{activity → harbors/resources/activity}/client/requests/ActivityGetSessionRequest.d.ts +2 -2
- package/api/resources/{activity → harbors/resources/activity}/client/requests/ActivityListRequest.d.ts +2 -2
- package/api/resources/harbors/resources/activity/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/connections/client/Client.d.ts +64 -0
- package/api/resources/harbors/resources/connections/client/Client.js +236 -0
- package/api/resources/harbors/resources/connections/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/connections/client/index.js +17 -0
- package/api/resources/harbors/{client/requests/HarborsDeleteContextRequest.d.ts → resources/connections/client/requests/ConnectionsGetSchemaRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsListAuthorizedSchemasRequest.d.ts → resources/connections/client/requests/ConnectionsListRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsListAuthorizedConnectionsRequest.d.ts → resources/connections/client/requests/ConnectionsListSchemasRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/connections/client/requests/index.d.ts +3 -0
- package/api/resources/harbors/resources/connections/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/connections/exports.d.ts +2 -0
- package/api/resources/harbors/resources/connections/exports.js +21 -0
- package/api/resources/harbors/resources/connections/index.d.ts +1 -0
- package/api/resources/harbors/resources/connections/index.js +17 -0
- package/api/resources/harbors/resources/contexts/client/Client.d.ts +395 -0
- package/api/resources/harbors/resources/contexts/client/Client.js +1142 -0
- package/api/resources/harbors/resources/contexts/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/contexts/client/index.js +17 -0
- package/api/resources/harbors/{client/requests/HarborsGetSavedQueryRequest.d.ts → resources/contexts/client/requests/ContextsDeleteDraftRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsGetContextRequest.d.ts → resources/contexts/client/requests/ContextsDeleteRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsGetContextDraftRequest.d.ts → resources/contexts/client/requests/ContextsGetDraftRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/contexts/client/requests/ContextsGetRequest.d.ts +10 -0
- package/api/resources/harbors/resources/contexts/client/requests/ContextsGetVersionRequest.d.ts +10 -0
- package/api/resources/harbors/{client/requests/HarborsListContextDraftsRequest.d.ts → resources/contexts/client/requests/ContextsListDraftsRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsListContextsRequest.d.ts → resources/contexts/client/requests/ContextsListRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsListContextVersionsRequest.d.ts → resources/contexts/client/requests/ContextsListVersionsRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/contexts/client/requests/ContextsPromoteDraftRequest.d.ts +10 -0
- package/api/resources/harbors/{client → resources/contexts/client}/requests/ResolveHarborSourceMappingsRequest.d.ts +6 -2
- package/api/resources/harbors/resources/contexts/client/requests/index.d.ts +14 -0
- package/api/resources/harbors/resources/contexts/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/contexts/exports.d.ts +2 -0
- package/api/resources/harbors/resources/contexts/exports.js +21 -0
- package/api/resources/harbors/resources/contexts/index.d.ts +1 -0
- package/api/resources/harbors/resources/contexts/index.js +17 -0
- package/api/resources/harbors/resources/index.d.ts +15 -0
- package/api/resources/harbors/resources/index.js +16 -1
- package/api/resources/harbors/resources/keys/client/Client.d.ts +86 -0
- package/api/resources/harbors/resources/keys/client/Client.js +266 -0
- package/api/resources/harbors/resources/keys/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/client/index.js +17 -0
- package/api/resources/harbors/{client/requests/HarborsListKeysRequest.d.ts → resources/keys/client/requests/KeysListRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/keys/client/requests/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/keys/exports.d.ts +2 -0
- package/api/resources/harbors/resources/keys/exports.js +21 -0
- package/api/resources/harbors/resources/keys/index.d.ts +1 -0
- package/api/resources/harbors/resources/keys/index.js +17 -0
- package/api/resources/harbors/resources/savedQueries/client/Client.d.ts +430 -0
- package/api/resources/harbors/resources/savedQueries/client/Client.js +1008 -0
- package/api/resources/harbors/resources/savedQueries/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/savedQueries/client/index.js +17 -0
- package/api/resources/harbors/{client → resources/savedQueries/client}/requests/CreateHarborSavedQueryDraftRequest.d.ts +1 -1
- package/api/resources/harbors/{client → resources/savedQueries/client}/requests/SaveHarborSavedQueryDraftRequest.d.ts +1 -1
- package/api/resources/harbors/resources/savedQueries/client/requests/SavedQueriesGetRequest.d.ts +10 -0
- package/api/resources/harbors/{client/requests/HarborsListSavedQueryDraftsRequest.d.ts → resources/savedQueries/client/requests/SavedQueriesListDraftsRequest.d.ts} +1 -1
- package/api/resources/harbors/{client/requests/HarborsListSavedQueriesRequest.d.ts → resources/savedQueries/client/requests/SavedQueriesListRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/savedQueries/client/requests/index.d.ts +6 -0
- package/api/resources/harbors/resources/savedQueries/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/savedQueries/exports.d.ts +2 -0
- package/api/resources/harbors/resources/savedQueries/exports.js +21 -0
- package/api/resources/harbors/resources/savedQueries/index.d.ts +1 -0
- package/api/resources/harbors/resources/savedQueries/index.js +17 -0
- package/api/resources/harbors/resources/users/client/Client.d.ts +105 -0
- package/api/resources/harbors/resources/users/client/Client.js +342 -0
- package/api/resources/harbors/resources/users/client/index.d.ts +1 -0
- package/api/resources/harbors/resources/users/client/index.js +17 -0
- package/api/resources/harbors/{client/requests/HarborsListUsersRequest.d.ts → resources/users/client/requests/UsersListRequest.d.ts} +1 -1
- package/api/resources/harbors/resources/users/client/requests/UsersListRequest.js +3 -0
- package/api/resources/harbors/resources/users/client/requests/index.d.ts +2 -0
- package/api/resources/harbors/resources/users/client/requests/index.js +2 -0
- package/api/resources/harbors/resources/users/exports.d.ts +2 -0
- package/api/resources/harbors/resources/users/exports.js +21 -0
- package/api/resources/harbors/resources/users/index.d.ts +1 -0
- package/api/resources/harbors/resources/users/index.js +17 -0
- package/api/resources/index.d.ts +0 -3
- package/api/resources/index.js +1 -4
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +12 -6
- package/api/resources/modelSync/resources/executions/client/Client.js +12 -6
- package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts +1 -1
- package/api/resources/models/client/Client.d.ts +83 -10
- package/api/resources/models/client/Client.js +83 -10
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +2 -0
- package/api/resources/permissions/resources/policies/client/Client.d.ts +10 -2
- package/api/resources/permissions/resources/policies/client/Client.js +10 -2
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +5 -1
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +5 -1
- package/api/resources/queryRunner/client/Client.d.ts +5 -0
- package/api/resources/queryRunner/client/Client.js +5 -0
- package/api/resources/recordViewLinks/client/Client.d.ts +5 -0
- package/api/resources/recordViewLinks/client/Client.js +5 -0
- package/api/resources/schemas/client/Client.d.ts +4 -11
- package/api/resources/schemas/client/Client.js +4 -11
- package/api/resources/temporaryCredentials/client/Client.d.ts +3 -0
- package/api/resources/temporaryCredentials/client/Client.js +3 -0
- package/api/resources/users/client/Client.d.ts +30 -15
- package/api/resources/users/client/Client.js +30 -15
- package/api/resources/webhooks/client/Client.d.ts +7 -7
- package/api/resources/webhooks/client/Client.js +7 -7
- package/api/types/BulkBulkSyncSchedule.d.ts +0 -1
- package/api/types/BulkSchema.d.ts +13 -0
- package/api/types/BulkSchema.js +10 -0
- package/api/types/BulkSchemaListItem.d.ts +11 -0
- package/api/types/BulkSchemaListItem.js +10 -0
- package/api/types/BulkSelectiveMode.d.ts +9 -0
- package/api/types/BulkSelectiveMode.js +9 -0
- package/api/types/BulkSyncAdditionalScheduleRequest.d.ts +0 -1
- package/api/types/BulkSyncAdditionalScheduleResponse.d.ts +0 -1
- package/api/types/BulkSyncDest.d.ts +2 -0
- package/api/types/BulkSyncScheduleApi.d.ts +0 -1
- package/api/types/BulkSyncSourceCapabilities.d.ts +2 -0
- package/api/types/BulkSyncSourceStatus.d.ts +5 -0
- package/api/types/ConnectAccessLevel.d.ts +5 -0
- package/api/types/ConnectAccessLevel.js +8 -0
- package/api/types/ConnectionType.d.ts +4 -0
- package/api/types/CreateModelRequest.d.ts +2 -0
- package/api/types/EventPayload.d.ts +1 -1
- package/api/types/EventingBulkSyncCanceledEvent.d.ts +5 -2
- package/api/types/EventingBulkSyncCompletedEvent.d.ts +5 -2
- package/api/types/EventingBulkSyncCompletedWithErrorEvent.d.ts +5 -2
- package/api/types/EventingBulkSyncFailedEvent.d.ts +5 -2
- package/api/types/EventingBulkSyncRunningEvent.d.ts +5 -2
- package/api/types/EventingBulkSyncSchedule.d.ts +1 -1
- package/api/types/EventingIngestionRecoveredEvent.d.ts +17 -0
- package/api/types/EventingIngestionRecoveredEvent.js +3 -0
- package/api/types/EventingIngestionStalledEvent.d.ts +19 -0
- package/api/types/EventingIngestionStalledEvent.js +3 -0
- package/api/types/EventingSyncCanceledEvent.d.ts +5 -2
- package/api/types/EventingSyncCompletedEvent.d.ts +6 -3
- package/api/types/EventingSyncCompletedWithErrorsEvent.d.ts +5 -2
- package/api/types/EventingSyncFailedEvent.d.ts +5 -2
- package/api/types/EventingSyncRunningEvent.d.ts +5 -2
- package/api/types/GetIdentityResponseSchema.d.ts +2 -0
- package/api/types/HarborStatusScheduleResponse.d.ts +0 -1
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +2 -2
- package/api/types/IdentityCredentialSchema.d.ts +2 -0
- package/api/types/IdentityCredentialSupportAccessSchema.d.ts +6 -0
- package/api/types/IdentityCredentialSupportAccessSchema.js +3 -0
- package/api/types/ModelModelFieldOverride.d.ts +17 -0
- package/api/types/ModelModelFieldOverride.js +17 -0
- package/api/types/SchemaConfiguration.d.ts +11 -0
- package/api/types/SchemaConfiguration.js +10 -0
- package/api/types/SchemaField.d.ts +4 -0
- package/api/types/SchemaSchemaError.d.ts +4 -0
- package/api/types/SchemaSchemaError.js +3 -0
- package/api/types/SyncDestinationProperties.d.ts +2 -0
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/package.json +1 -1
- package/reference.md +2822 -2622
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/harbors/client/requests/HarborsDeleteContextDraftRequest.d.ts +0 -10
- package/api/resources/harbors/client/requests/HarborsGetAuthorizedSchemaRequest.d.ts +0 -10
- package/api/resources/harbors/client/requests/HarborsGetContextVersionRequest.d.ts +0 -10
- package/api/resources/harbors/client/requests/HarborsPromoteContextDraftRequest.d.ts +0 -10
- /package/api/resources/{activity/client/requests/ActivityGetSessionRequest.js → bulkSync/client/requests/BulkSyncGetDestinationRequest.js} +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/index.js +0 -0
- /package/api/resources/{activity/client/requests/ActivityListRequest.js → harbors/resources/actionConfiguration/client/requests/ActionConfigurationListSchemasRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborContextDraftRequest.js → resources/actionConfiguration/client/requests/ActionConfigurationRemoveRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/actionConfiguration/client}/requests/SetHarborActionConfigurationRequest.js +0 -0
- /package/api/resources/{activity → harbors/resources/actionConfiguration}/client/requests/index.js +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborContextRequest.js → resources/activity/client/requests/ActivityGetSessionRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/CreateHarborSavedQueryDraftRequest.js → resources/activity/client/requests/ActivityListRequest.js} +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/client/requests/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/exports.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/exports.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/index.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityGetSessionRequestOrder.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityGetSessionRequestOrder.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityListRequestOrder.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/ActivityListRequestOrder.js +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/index.d.ts +0 -0
- /package/api/resources/{activity → harbors/resources/activity}/types/index.js +0 -0
- /package/api/resources/harbors/{client/requests/ExecuteHarborSavedQueryRequest.js → resources/connections/client/requests/ConnectionsGetSchemaRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsDeleteContextDraftRequest.js → resources/connections/client/requests/ConnectionsListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsDeleteContextRequest.js → resources/connections/client/requests/ConnectionsListSchemasRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetAuthorizedSchemaRequest.js → resources/contexts/client/requests/ContextsDeleteDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextDraftRequest.js → resources/contexts/client/requests/ContextsDeleteRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextRequest.js → resources/contexts/client/requests/ContextsGetDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetContextVersionRequest.js → resources/contexts/client/requests/ContextsGetRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsGetSavedQueryRequest.js → resources/contexts/client/requests/ContextsGetVersionRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListActionConfigurationSchemasRequest.js → resources/contexts/client/requests/ContextsListDraftsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListAuthorizedConnectionsRequest.js → resources/contexts/client/requests/ContextsListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListAuthorizedSchemasRequest.js → resources/contexts/client/requests/ContextsListVersionsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextDraftsRequest.js → resources/contexts/client/requests/ContextsPromoteDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/CreateHarborContextDraftRequest.d.ts +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextVersionsRequest.js → resources/contexts/client/requests/CreateHarborContextDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/CreateHarborContextRequest.d.ts +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListContextsRequest.js → resources/contexts/client/requests/CreateHarborContextRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/ResolveHarborSourceMappingsRequest.js +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextDraftRequest.d.ts +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextDraftRequest.js +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextRequest.d.ts +0 -0
- /package/api/resources/harbors/{client → resources/contexts/client}/requests/SaveHarborContextRequest.js +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListKeysRequest.js → resources/keys/client/requests/KeysListRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListSavedQueriesRequest.js → resources/savedQueries/client/requests/CreateHarborSavedQueryDraftRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/savedQueries/client}/requests/ExecuteHarborSavedQueryRequest.d.ts +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListSavedQueryDraftsRequest.js → resources/savedQueries/client/requests/ExecuteHarborSavedQueryRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/savedQueries/client}/requests/SaveHarborSavedQueryDraftRequest.js +0 -0
- /package/api/resources/harbors/{client/requests/HarborsListUsersRequest.js → resources/savedQueries/client/requests/SavedQueriesGetRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsPromoteContextDraftRequest.js → resources/savedQueries/client/requests/SavedQueriesListDraftsRequest.js} +0 -0
- /package/api/resources/harbors/{client/requests/HarborsRemoveActionConfigurationRequest.js → resources/savedQueries/client/requests/SavedQueriesListRequest.js} +0 -0
- /package/api/resources/harbors/{client → resources/users/client}/requests/InviteHarborUserRequest.d.ts +0 -0
- /package/api/resources/harbors/{client → resources/users/client}/requests/InviteHarborUserRequest.js +0 -0
|
@@ -113,9 +113,12 @@ export declare class UsersClient {
|
|
|
113
113
|
/**
|
|
114
114
|
* Lists all users in the specified organization.
|
|
115
115
|
*
|
|
116
|
-
*
|
|
117
|
-
*
|
|
118
|
-
*
|
|
116
|
+
* These endpoints accept a [partner key](../../../../guides/obtaining-api-keys#partner-keys)
|
|
117
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
118
|
+
* key can access users only in its own Organization.
|
|
119
|
+
*
|
|
120
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
121
|
+
* under `/api/organization/users`.
|
|
119
122
|
*
|
|
120
123
|
* Returns user records including each user's ID, email, and assigned roles.
|
|
121
124
|
*
|
|
@@ -135,9 +138,12 @@ export declare class UsersClient {
|
|
|
135
138
|
/**
|
|
136
139
|
* Creates a new user in the specified organization and assigns the requested permissions roles.
|
|
137
140
|
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
+
* These endpoints accept a [partner key](../../../../guides/obtaining-api-keys#partner-keys)
|
|
142
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
143
|
+
* key can access users only in its own Organization.
|
|
144
|
+
*
|
|
145
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
146
|
+
* under `/api/organization/users`.
|
|
141
147
|
*
|
|
142
148
|
* The new user receives an invitation email prompting them to set up their
|
|
143
149
|
* account. Role assignments take effect as soon as the invitation is accepted.
|
|
@@ -162,9 +168,12 @@ export declare class UsersClient {
|
|
|
162
168
|
/**
|
|
163
169
|
* Returns a single user in the specified organization.
|
|
164
170
|
*
|
|
165
|
-
*
|
|
166
|
-
*
|
|
167
|
-
*
|
|
171
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
172
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
173
|
+
* key can access users only in its own Organization.
|
|
174
|
+
*
|
|
175
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
176
|
+
* under `/api/organization/users`.
|
|
168
177
|
*
|
|
169
178
|
* @param {string} org_id - Unique identifier of the organization the user belongs to
|
|
170
179
|
* @param {string} id - Unique identifier of the user
|
|
@@ -184,9 +193,12 @@ export declare class UsersClient {
|
|
|
184
193
|
/**
|
|
185
194
|
* Updates a user's assigned permissions roles.
|
|
186
195
|
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
196
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
197
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
198
|
+
* key can access users only in its own Organization.
|
|
199
|
+
*
|
|
200
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
201
|
+
* under `/api/organization/users`.
|
|
190
202
|
*
|
|
191
203
|
* Only the user's role assignments are modified. Profile information such as name
|
|
192
204
|
* and email address is not affected by this endpoint.
|
|
@@ -212,9 +224,12 @@ export declare class UsersClient {
|
|
|
212
224
|
/**
|
|
213
225
|
* Deletes a user from the specified organization.
|
|
214
226
|
*
|
|
215
|
-
*
|
|
216
|
-
*
|
|
217
|
-
*
|
|
227
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
228
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
229
|
+
* key can access users only in its own Organization.
|
|
230
|
+
*
|
|
231
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
232
|
+
* under `/api/organization/users`.
|
|
218
233
|
*
|
|
219
234
|
* > 🚧 This action is permanent. The user is immediately removed from the
|
|
220
235
|
* > organization and loses access to all resources within it. This cannot be
|
|
@@ -372,9 +372,12 @@ class UsersClient {
|
|
|
372
372
|
/**
|
|
373
373
|
* Lists all users in the specified organization.
|
|
374
374
|
*
|
|
375
|
-
*
|
|
376
|
-
*
|
|
377
|
-
*
|
|
375
|
+
* These endpoints accept a [partner key](../../../../guides/obtaining-api-keys#partner-keys)
|
|
376
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
377
|
+
* key can access users only in its own Organization.
|
|
378
|
+
*
|
|
379
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
380
|
+
* under `/api/organization/users`.
|
|
378
381
|
*
|
|
379
382
|
* Returns user records including each user's ID, email, and assigned roles.
|
|
380
383
|
*
|
|
@@ -433,9 +436,12 @@ class UsersClient {
|
|
|
433
436
|
/**
|
|
434
437
|
* Creates a new user in the specified organization and assigns the requested permissions roles.
|
|
435
438
|
*
|
|
436
|
-
*
|
|
437
|
-
*
|
|
438
|
-
*
|
|
439
|
+
* These endpoints accept a [partner key](../../../../guides/obtaining-api-keys#partner-keys)
|
|
440
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
441
|
+
* key can access users only in its own Organization.
|
|
442
|
+
*
|
|
443
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
444
|
+
* under `/api/organization/users`.
|
|
439
445
|
*
|
|
440
446
|
* The new user receives an invitation email prompting them to set up their
|
|
441
447
|
* account. Role assignments take effect as soon as the invitation is accepted.
|
|
@@ -505,9 +511,12 @@ class UsersClient {
|
|
|
505
511
|
/**
|
|
506
512
|
* Returns a single user in the specified organization.
|
|
507
513
|
*
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
*
|
|
514
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
515
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
516
|
+
* key can access users only in its own Organization.
|
|
517
|
+
*
|
|
518
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
519
|
+
* under `/api/organization/users`.
|
|
511
520
|
*
|
|
512
521
|
* @param {string} org_id - Unique identifier of the organization the user belongs to
|
|
513
522
|
* @param {string} id - Unique identifier of the user
|
|
@@ -568,9 +577,12 @@ class UsersClient {
|
|
|
568
577
|
/**
|
|
569
578
|
* Updates a user's assigned permissions roles.
|
|
570
579
|
*
|
|
571
|
-
*
|
|
572
|
-
*
|
|
573
|
-
*
|
|
580
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
581
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
582
|
+
* key can access users only in its own Organization.
|
|
583
|
+
*
|
|
584
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
585
|
+
* under `/api/organization/users`.
|
|
574
586
|
*
|
|
575
587
|
* Only the user's role assignments are modified. Profile information such as name
|
|
576
588
|
* and email address is not affected by this endpoint.
|
|
@@ -641,9 +653,12 @@ class UsersClient {
|
|
|
641
653
|
/**
|
|
642
654
|
* Deletes a user from the specified organization.
|
|
643
655
|
*
|
|
644
|
-
*
|
|
645
|
-
*
|
|
646
|
-
*
|
|
656
|
+
* These endpoints accept a [partner key](../../../../../guides/obtaining-api-keys#partner-keys)
|
|
657
|
+
* or an Organization-scoped key derived from a partner key. An Organization-scoped
|
|
658
|
+
* key can access users only in its own Organization.
|
|
659
|
+
*
|
|
660
|
+
* To manage users with a user API key, use the current-Organization endpoints
|
|
661
|
+
* under `/api/organization/users`.
|
|
647
662
|
*
|
|
648
663
|
* > 🚧 This action is permanent. The user is immediately removed from the
|
|
649
664
|
* > organization and loses access to all resources within it. This cannot be
|
|
@@ -19,7 +19,7 @@ export declare class WebhooksClient {
|
|
|
19
19
|
* >
|
|
20
20
|
* > An organization can register a single webhook, which receives every event
|
|
21
21
|
* > produced in that organization. See the
|
|
22
|
-
* > [Events documentation](../../guides/events) for the
|
|
22
|
+
* > [Events documentation](../../guides/events/overview) for the
|
|
23
23
|
* > list of event types and payload shapes.
|
|
24
24
|
*
|
|
25
25
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -40,7 +40,7 @@ export declare class WebhooksClient {
|
|
|
40
40
|
* >
|
|
41
41
|
* > An organization can register a single webhook, which receives every event
|
|
42
42
|
* > produced in that organization. See the
|
|
43
|
-
* > [Events documentation](../../guides/events) for the
|
|
43
|
+
* > [Events documentation](../../guides/events/overview) for the
|
|
44
44
|
* > list of event types and payload shapes.
|
|
45
45
|
*
|
|
46
46
|
* @param {Polytomic.CreateWebhooksSchema} request
|
|
@@ -67,7 +67,7 @@ export declare class WebhooksClient {
|
|
|
67
67
|
* >
|
|
68
68
|
* > An organization can register a single webhook, which receives every event
|
|
69
69
|
* > produced in that organization. See the
|
|
70
|
-
* > [Events documentation](../../../guides/events) for the
|
|
70
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
71
71
|
* > list of event types and payload shapes.
|
|
72
72
|
*
|
|
73
73
|
* @param {string} id - Webhook ID
|
|
@@ -89,7 +89,7 @@ export declare class WebhooksClient {
|
|
|
89
89
|
* >
|
|
90
90
|
* > An organization can register a single webhook, which receives every event
|
|
91
91
|
* > produced in that organization. See the
|
|
92
|
-
* > [Events documentation](../../../guides/events) for the
|
|
92
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
93
93
|
* > list of event types and payload shapes.
|
|
94
94
|
*
|
|
95
95
|
* @param {string} id - Webhook ID
|
|
@@ -117,7 +117,7 @@ export declare class WebhooksClient {
|
|
|
117
117
|
* >
|
|
118
118
|
* > An organization can register a single webhook, which receives every event
|
|
119
119
|
* > produced in that organization. See the
|
|
120
|
-
* > [Events documentation](../../../guides/events) for the
|
|
120
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
121
121
|
* > list of event types and payload shapes.
|
|
122
122
|
*
|
|
123
123
|
* Deletion is permanent. To stop delivery without losing the webhook
|
|
@@ -176,7 +176,7 @@ export declare class WebhooksClient {
|
|
|
176
176
|
* >
|
|
177
177
|
* > An organization can register a single webhook, which receives every event
|
|
178
178
|
* > produced in that organization. See the
|
|
179
|
-
* > [Events documentation](../../../../guides/events) for the
|
|
179
|
+
* > [Events documentation](../../../../guides/events/overview) for the
|
|
180
180
|
* > list of event types and payload shapes.
|
|
181
181
|
*
|
|
182
182
|
* Events are not queued while the webhook is disabled — any activity that occurs
|
|
@@ -205,7 +205,7 @@ export declare class WebhooksClient {
|
|
|
205
205
|
* >
|
|
206
206
|
* > An organization can register a single webhook, which receives every event
|
|
207
207
|
* > produced in that organization. See the
|
|
208
|
-
* > [Events documentation](../../../../guides/events) for the
|
|
208
|
+
* > [Events documentation](../../../../guides/events/overview) for the
|
|
209
209
|
* > list of event types and payload shapes.
|
|
210
210
|
*
|
|
211
211
|
* Delivery resumes from the next event generated after this call. Events that
|
|
@@ -63,7 +63,7 @@ class WebhooksClient {
|
|
|
63
63
|
* >
|
|
64
64
|
* > An organization can register a single webhook, which receives every event
|
|
65
65
|
* > produced in that organization. See the
|
|
66
|
-
* > [Events documentation](../../guides/events) for the
|
|
66
|
+
* > [Events documentation](../../guides/events/overview) for the
|
|
67
67
|
* > list of event types and payload shapes.
|
|
68
68
|
*
|
|
69
69
|
* @param {WebhooksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -121,7 +121,7 @@ class WebhooksClient {
|
|
|
121
121
|
* >
|
|
122
122
|
* > An organization can register a single webhook, which receives every event
|
|
123
123
|
* > produced in that organization. See the
|
|
124
|
-
* > [Events documentation](../../guides/events) for the
|
|
124
|
+
* > [Events documentation](../../guides/events/overview) for the
|
|
125
125
|
* > list of event types and payload shapes.
|
|
126
126
|
*
|
|
127
127
|
* @param {Polytomic.CreateWebhooksSchema} request
|
|
@@ -193,7 +193,7 @@ class WebhooksClient {
|
|
|
193
193
|
* >
|
|
194
194
|
* > An organization can register a single webhook, which receives every event
|
|
195
195
|
* > produced in that organization. See the
|
|
196
|
-
* > [Events documentation](../../../guides/events) for the
|
|
196
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
197
197
|
* > list of event types and payload shapes.
|
|
198
198
|
*
|
|
199
199
|
* @param {string} id - Webhook ID
|
|
@@ -252,7 +252,7 @@ class WebhooksClient {
|
|
|
252
252
|
* >
|
|
253
253
|
* > An organization can register a single webhook, which receives every event
|
|
254
254
|
* > produced in that organization. See the
|
|
255
|
-
* > [Events documentation](../../../guides/events) for the
|
|
255
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
256
256
|
* > list of event types and payload shapes.
|
|
257
257
|
*
|
|
258
258
|
* @param {string} id - Webhook ID
|
|
@@ -325,7 +325,7 @@ class WebhooksClient {
|
|
|
325
325
|
* >
|
|
326
326
|
* > An organization can register a single webhook, which receives every event
|
|
327
327
|
* > produced in that organization. See the
|
|
328
|
-
* > [Events documentation](../../../guides/events) for the
|
|
328
|
+
* > [Events documentation](../../../guides/events/overview) for the
|
|
329
329
|
* > list of event types and payload shapes.
|
|
330
330
|
*
|
|
331
331
|
* Deletion is permanent. To stop delivery without losing the webhook
|
|
@@ -481,7 +481,7 @@ class WebhooksClient {
|
|
|
481
481
|
* >
|
|
482
482
|
* > An organization can register a single webhook, which receives every event
|
|
483
483
|
* > produced in that organization. See the
|
|
484
|
-
* > [Events documentation](../../../../guides/events) for the
|
|
484
|
+
* > [Events documentation](../../../../guides/events/overview) for the
|
|
485
485
|
* > list of event types and payload shapes.
|
|
486
486
|
*
|
|
487
487
|
* Events are not queued while the webhook is disabled — any activity that occurs
|
|
@@ -552,7 +552,7 @@ class WebhooksClient {
|
|
|
552
552
|
* >
|
|
553
553
|
* > An organization can register a single webhook, which receives every event
|
|
554
554
|
* > produced in that organization. See the
|
|
555
|
-
* > [Events documentation](../../../../guides/events) for the
|
|
555
|
+
* > [Events documentation](../../../../guides/events/overview) for the
|
|
556
556
|
* > list of event types and payload shapes.
|
|
557
557
|
*
|
|
558
558
|
* Delivery resumes from the next event generated after this call. Events that
|
|
@@ -24,7 +24,6 @@ export interface BulkBulkSyncSchedule {
|
|
|
24
24
|
month?: string | undefined;
|
|
25
25
|
/** Schema IDs this schedule applies to; empty means all schemas */
|
|
26
26
|
schemas?: string[] | undefined;
|
|
27
|
-
/** Whether this schedule runs a full fetch, only incremental fields, or only non-incremental fields */
|
|
28
27
|
selectiveMode?: Polytomic.BulkSelectiveMode | undefined;
|
|
29
28
|
/** Bulk sync ID */
|
|
30
29
|
syncId?: string | undefined;
|
|
@@ -2,12 +2,16 @@ import type * as Polytomic from "../index";
|
|
|
2
2
|
export interface BulkSchema {
|
|
3
3
|
/** Records older than this timestamp are excluded from sync runs. */
|
|
4
4
|
data_cutoff_timestamp?: string | undefined;
|
|
5
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them. Requires a destination that supports the selected mode. Always present in responses; when patching, omit it to keep the current value or send inherit to reset it. */
|
|
6
|
+
delete_propagation?: BulkSchema.DeletePropagation | undefined;
|
|
5
7
|
/** Name of the companion history table. Present only when history is enabled on a destination that supports it. This value is computed and ignored on input. */
|
|
6
8
|
destination_history_output_name?: string | undefined;
|
|
7
9
|
/** When true, the sync ignores any configured data_cutoff_timestamp for this schema. */
|
|
8
10
|
disable_data_cutoff?: boolean | undefined;
|
|
9
11
|
/** Whether this schema is included in sync runs */
|
|
10
12
|
enabled?: boolean | undefined;
|
|
13
|
+
/** IDs of fields that are never synced, even when automatically_add_new_fields would add them. Present in responses wherever fields are; when patching, omit it to keep the current list and send an empty list to clear it. */
|
|
14
|
+
excluded_fields?: string[] | undefined;
|
|
11
15
|
/** fields is not populated on the list endpoint and will be removed in a future version; retrieve individual schemas for fields. */
|
|
12
16
|
fields?: Polytomic.BulkField[] | undefined;
|
|
13
17
|
/** filters is not populated on the list endpoint and will be removed in a future version; retrieve individual schemas for filters. */
|
|
@@ -25,3 +29,12 @@ export interface BulkSchema {
|
|
|
25
29
|
/** User-specified override for the destination object name */
|
|
26
30
|
user_output_name?: string | undefined;
|
|
27
31
|
}
|
|
32
|
+
export declare namespace BulkSchema {
|
|
33
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them. Requires a destination that supports the selected mode. Always present in responses; when patching, omit it to keep the current value or send inherit to reset it. */
|
|
34
|
+
const DeletePropagation: {
|
|
35
|
+
readonly Inherit: "inherit";
|
|
36
|
+
readonly Soft: "soft";
|
|
37
|
+
readonly Hard: "hard";
|
|
38
|
+
};
|
|
39
|
+
type DeletePropagation = (typeof DeletePropagation)[keyof typeof DeletePropagation];
|
|
40
|
+
}
|
package/api/types/BulkSchema.js
CHANGED
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BulkSchema = void 0;
|
|
5
|
+
var BulkSchema;
|
|
6
|
+
(function (BulkSchema) {
|
|
7
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them. Requires a destination that supports the selected mode. Always present in responses; when patching, omit it to keep the current value or send inherit to reset it. */
|
|
8
|
+
BulkSchema.DeletePropagation = {
|
|
9
|
+
Inherit: "inherit",
|
|
10
|
+
Soft: "soft",
|
|
11
|
+
Hard: "hard",
|
|
12
|
+
};
|
|
13
|
+
})(BulkSchema || (exports.BulkSchema = BulkSchema = {}));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface BulkSchemaListItem {
|
|
2
2
|
/** Per-schema cutoff. Records older than this timestamp are excluded from sync runs. */
|
|
3
3
|
data_cutoff_timestamp?: string | undefined;
|
|
4
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them */
|
|
5
|
+
delete_propagation?: BulkSchemaListItem.DeletePropagation | undefined;
|
|
4
6
|
/** Name of the companion history table. Present only when history is enabled on a destination that supports it. */
|
|
5
7
|
destination_history_output_name?: string | undefined;
|
|
6
8
|
/** When true, the sync ignores any configured data_cutoff_timestamp and syncs the full history of this schema. */
|
|
@@ -20,3 +22,12 @@ export interface BulkSchemaListItem {
|
|
|
20
22
|
/** User-specified override for the destination object name. When empty, output_name is used. */
|
|
21
23
|
user_output_name?: string | undefined;
|
|
22
24
|
}
|
|
25
|
+
export declare namespace BulkSchemaListItem {
|
|
26
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them */
|
|
27
|
+
const DeletePropagation: {
|
|
28
|
+
readonly Inherit: "inherit";
|
|
29
|
+
readonly Soft: "soft";
|
|
30
|
+
readonly Hard: "hard";
|
|
31
|
+
};
|
|
32
|
+
type DeletePropagation = (typeof DeletePropagation)[keyof typeof DeletePropagation];
|
|
33
|
+
}
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.BulkSchemaListItem = void 0;
|
|
5
|
+
var BulkSchemaListItem;
|
|
6
|
+
(function (BulkSchemaListItem) {
|
|
7
|
+
/** Per-schema delete propagation: inherit uses the destination setting, soft marks deleted rows, and hard removes them */
|
|
8
|
+
BulkSchemaListItem.DeletePropagation = {
|
|
9
|
+
Inherit: "inherit",
|
|
10
|
+
Soft: "soft",
|
|
11
|
+
Hard: "hard",
|
|
12
|
+
};
|
|
13
|
+
})(BulkSchemaListItem || (exports.BulkSchemaListItem = BulkSchemaListItem = {}));
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Controls which source objects a schedule syncs. Check `capabilities.supports_selective_modes` in [Get bulk sync source](/api-reference/bulk-sync/get-source) to determine whether your source supports selective modes.
|
|
3
|
+
*
|
|
4
|
+
* - `none`: Sync all selected objects using their normal read behavior.
|
|
5
|
+
* - `incrementalFields`: Sync objects that support incremental reads and contain fields classified as incremental.
|
|
6
|
+
* - `nonincrementalFields`: Sync objects that cannot be read incrementally or contain fields classified as non-incremental.
|
|
7
|
+
*
|
|
8
|
+
* Each mode reads all selected fields of the included objects. Objects containing both kinds of fields can participate in both modes. `none` does not force a full read.
|
|
9
|
+
*/
|
|
1
10
|
export declare const BulkSelectiveMode: {
|
|
2
11
|
readonly None: "none";
|
|
3
12
|
readonly IncrementalFields: "incrementalFields";
|
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.BulkSelectiveMode = void 0;
|
|
5
|
+
/**
|
|
6
|
+
* Controls which source objects a schedule syncs. Check `capabilities.supports_selective_modes` in [Get bulk sync source](/api-reference/bulk-sync/get-source) to determine whether your source supports selective modes.
|
|
7
|
+
*
|
|
8
|
+
* - `none`: Sync all selected objects using their normal read behavior.
|
|
9
|
+
* - `incrementalFields`: Sync objects that support incremental reads and contain fields classified as incremental.
|
|
10
|
+
* - `nonincrementalFields`: Sync objects that cannot be read incrementally or contain fields classified as non-incremental.
|
|
11
|
+
*
|
|
12
|
+
* Each mode reads all selected fields of the included objects. Objects containing both kinds of fields can participate in both modes. `none` does not force a full read.
|
|
13
|
+
*/
|
|
5
14
|
exports.BulkSelectiveMode = {
|
|
6
15
|
None: "none",
|
|
7
16
|
IncrementalFields: "incrementalFields",
|
|
@@ -18,6 +18,5 @@ export interface BulkSyncAdditionalScheduleRequest {
|
|
|
18
18
|
resync_mode?: Polytomic.BulkScheduleSyncMode | undefined;
|
|
19
19
|
/** Optional list of schema IDs this schedule applies to. If empty, the schedule applies to all schemas. */
|
|
20
20
|
schemas?: string[] | undefined;
|
|
21
|
-
/** Whether this schedule runs a full fetch, only incremental fields, or only non-incremental fields */
|
|
22
21
|
selective_mode?: Polytomic.BulkSelectiveMode | undefined;
|
|
23
22
|
}
|
|
@@ -22,7 +22,6 @@ export interface BulkSyncAdditionalScheduleResponse {
|
|
|
22
22
|
resync_mode?: Polytomic.BulkScheduleSyncMode | undefined;
|
|
23
23
|
/** Schema IDs this schedule applies to. Empty means all schemas. */
|
|
24
24
|
schemas?: string[] | undefined;
|
|
25
|
-
/** Whether this schedule runs a full fetch, only incremental fields, or only non-incremental fields */
|
|
26
25
|
selective_mode?: Polytomic.BulkSelectiveMode | undefined;
|
|
27
26
|
/** Timestamp the schedule was last updated */
|
|
28
27
|
updated_at?: string | undefined;
|
|
@@ -2,6 +2,8 @@ import type * as Polytomic from "../index";
|
|
|
2
2
|
export interface BulkSyncDest {
|
|
3
3
|
/** Destination configuration options this connection accepts, keyed by option name */
|
|
4
4
|
configuration?: Record<string, unknown> | undefined;
|
|
5
|
+
/** Suggested values for a new destination configuration, when source_connection_id is provided and the destination generates them. Preserve explicit choices and existing configurations. */
|
|
6
|
+
initial_configuration?: Record<string, unknown> | undefined;
|
|
5
7
|
/** Bulk sync modes this destination supports */
|
|
6
8
|
modes?: Polytomic.SupportedBulkMode[] | undefined;
|
|
7
9
|
/** Resync modes supported by this destination (refetch, resync, rebuild) */
|
|
@@ -12,6 +12,5 @@ export interface BulkSyncScheduleApi {
|
|
|
12
12
|
minute?: string | undefined;
|
|
13
13
|
/** Month of the year for custom and builder schedules */
|
|
14
14
|
month?: string | undefined;
|
|
15
|
-
/** Whether this schedule runs a full fetch, only incremental fields, or only non-incremental fields */
|
|
16
15
|
selectiveMode?: Polytomic.BulkSelectiveMode | undefined;
|
|
17
16
|
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export interface BulkSyncSourceCapabilities {
|
|
2
2
|
/** When true, the portion of a schema ID before its last dot is that schema's namespace. */
|
|
3
3
|
supports_namespaces?: boolean | undefined;
|
|
4
|
+
/** Whether bulk sync schedules from this source can set a selective mode other than none */
|
|
5
|
+
supports_selective_modes?: boolean | undefined;
|
|
4
6
|
/** Whether the source supports a tracking field for detecting changes between sync runs */
|
|
5
7
|
supports_tracking_fields?: boolean | undefined;
|
|
6
8
|
}
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
1
2
|
export interface BulkSyncSourceStatus {
|
|
2
3
|
/** State of the connection schema cache: uninitialized, initializing, cached, refreshing or errors */
|
|
3
4
|
cache_status?: string | undefined;
|
|
5
|
+
/** Connection-wide errors from the most recently completed schema refresh, retained while a new refresh is in progress. Omitted when empty. */
|
|
6
|
+
errors?: string[] | undefined;
|
|
4
7
|
/** When the most recent schema refresh finished */
|
|
5
8
|
last_refresh_finished?: string | undefined;
|
|
6
9
|
/** When the most recent schema refresh started */
|
|
7
10
|
last_refresh_started?: string | undefined;
|
|
11
|
+
/** Errors for individual schemas from the most recently completed schema refresh, identified by schema_id and retained while a new refresh is in progress. Omitted when empty. */
|
|
12
|
+
schema_errors?: Polytomic.SchemaSchemaError[] | undefined;
|
|
8
13
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
2
|
export interface ConnectionType {
|
|
3
|
+
/** Alternate names or search terms used to find this connection type */
|
|
4
|
+
aliases?: string[] | undefined;
|
|
3
5
|
capabilities: Polytomic.BackendConnectionCapabilities;
|
|
4
6
|
configurationForm?: Polytomic.ConnectionForm | undefined;
|
|
5
7
|
envConfig?: Record<string, unknown> | undefined;
|
|
@@ -9,5 +11,7 @@ export interface ConnectionType {
|
|
|
9
11
|
logo_url?: string | undefined;
|
|
10
12
|
name?: string | undefined;
|
|
11
13
|
oauth_prompt?: Polytomic.BackendOAuthPrompt | undefined;
|
|
14
|
+
/** Whether this deployment supports creating this connection type through Connect with access set to ["read"]. */
|
|
15
|
+
supports_read_only_access: boolean;
|
|
12
16
|
use_oauth?: boolean | undefined;
|
|
13
17
|
}
|
|
@@ -8,6 +8,8 @@ export interface CreateModelRequest {
|
|
|
8
8
|
connection_id: string;
|
|
9
9
|
/** Enrichment to apply to the model */
|
|
10
10
|
enricher?: Polytomic.Enrichment | undefined;
|
|
11
|
+
/** Type updates keyed by exact source field name, for models that support type selection. Applies only to detected source fields and does not publish them. Omitted entries retain their current types; an empty or omitted map leaves all types unchanged. */
|
|
12
|
+
field_overrides?: Record<string, Polytomic.ModelModelFieldOverride | undefined> | undefined;
|
|
11
13
|
/** Technical/source field names to publish in the model. Use source names, not model-field UUIDs or display labels. For example, use dealname rather than Deal Name. Omit or pass an empty array to publish all standard source fields. */
|
|
12
14
|
fields?: string[] | undefined;
|
|
13
15
|
/** Source field name of the model's unique identifier */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
|
-
export type EventPayload = Polytomic.EventingSyncRunningEvent | Polytomic.EventingSyncCompletedEvent | Polytomic.EventingSyncFailedEvent | Polytomic.EventingSyncCanceledEvent | Polytomic.EventingSyncCompletedWithErrorsEvent | Polytomic.EventingBulkSyncRunningEvent | Polytomic.EventingBulkSyncCompletedEvent | Polytomic.EventingBulkSyncCanceledEvent | Polytomic.EventingBulkSyncCompletedWithErrorEvent | Polytomic.EventingBulkSyncFailedEvent;
|
|
2
|
+
export type EventPayload = Polytomic.EventingSyncRunningEvent | Polytomic.EventingSyncCompletedEvent | Polytomic.EventingSyncFailedEvent | Polytomic.EventingSyncCanceledEvent | Polytomic.EventingSyncCompletedWithErrorsEvent | Polytomic.EventingBulkSyncRunningEvent | Polytomic.EventingBulkSyncCompletedEvent | Polytomic.EventingBulkSyncCanceledEvent | Polytomic.EventingBulkSyncCompletedWithErrorEvent | Polytomic.EventingBulkSyncFailedEvent | Polytomic.EventingIngestionStalledEvent | Polytomic.EventingIngestionRecoveredEvent;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fires when you cancel a whole Bulk Sync execution or when every object in it is canceled. An execution ends with one of `bulk_sync.completed`, `bulk_sync.completed_with_errors`, `bulk_sync.failed`, or `bulk_sync.canceled`.
|
|
3
|
+
*/
|
|
1
4
|
export interface EventingBulkSyncCanceledEvent {
|
|
2
5
|
/** Destination connection ID */
|
|
3
6
|
destination_connection_id?: string | undefined;
|
|
@@ -7,8 +10,8 @@ export interface EventingBulkSyncCanceledEvent {
|
|
|
7
10
|
organization_id?: string | undefined;
|
|
8
11
|
/** Source connection ID */
|
|
9
12
|
source_connection_id?: string | undefined;
|
|
10
|
-
/** Bulk
|
|
13
|
+
/** Bulk Sync ID */
|
|
11
14
|
sync_id?: string | undefined;
|
|
12
|
-
/** Name of the
|
|
15
|
+
/** Name of the Bulk Sync */
|
|
13
16
|
sync_name?: string | undefined;
|
|
14
17
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Fires when a Bulk Sync execution finishes with no failed objects, including when you cancel some of its objects and the rest finish. An execution ends with one of `bulk_sync.completed`, `bulk_sync.completed_with_errors`, `bulk_sync.failed`, or `bulk_sync.canceled`.
|
|
4
|
+
*/
|
|
2
5
|
export interface EventingBulkSyncCompletedEvent {
|
|
3
6
|
/** Destination connection ID */
|
|
4
7
|
destination_connection_id?: string | undefined;
|
|
@@ -10,9 +13,9 @@ export interface EventingBulkSyncCompletedEvent {
|
|
|
10
13
|
schedule?: Polytomic.EventingBulkSyncSchedule | undefined;
|
|
11
14
|
/** Source connection ID */
|
|
12
15
|
source_connection_id?: string | undefined;
|
|
13
|
-
/** Bulk
|
|
16
|
+
/** Bulk Sync ID */
|
|
14
17
|
sync_id?: string | undefined;
|
|
15
|
-
/** Name of the
|
|
18
|
+
/** Name of the Bulk Sync */
|
|
16
19
|
sync_name?: string | undefined;
|
|
17
20
|
/** What started the execution */
|
|
18
21
|
trigger_source?: string | undefined;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Fires when a Bulk Sync execution finishes with some objects failed and others not, or with an error reported for the execution as a whole. An execution ends with one of `bulk_sync.completed`, `bulk_sync.completed_with_errors`, `bulk_sync.failed`, or `bulk_sync.canceled`.
|
|
4
|
+
*/
|
|
2
5
|
export interface EventingBulkSyncCompletedWithErrorEvent {
|
|
3
6
|
/** Destination connection ID */
|
|
4
7
|
destination_connection_id?: string | undefined;
|
|
@@ -10,9 +13,9 @@ export interface EventingBulkSyncCompletedWithErrorEvent {
|
|
|
10
13
|
schedule?: Polytomic.EventingBulkSyncSchedule | undefined;
|
|
11
14
|
/** Source connection ID */
|
|
12
15
|
source_connection_id?: string | undefined;
|
|
13
|
-
/** Bulk
|
|
16
|
+
/** Bulk Sync ID */
|
|
14
17
|
sync_id?: string | undefined;
|
|
15
|
-
/** Name of the
|
|
18
|
+
/** Name of the Bulk Sync */
|
|
16
19
|
sync_name?: string | undefined;
|
|
17
20
|
/** What started the execution */
|
|
18
21
|
trigger_source?: string | undefined;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import type * as Polytomic from "../index";
|
|
2
|
+
/**
|
|
3
|
+
* Fires when a Bulk Sync execution fails because every object failed, an error stopped the whole execution, or ingestion fell behind the failure threshold set on the Bulk Sync. An execution ends with one of `bulk_sync.completed`, `bulk_sync.completed_with_errors`, `bulk_sync.failed`, or `bulk_sync.canceled`.
|
|
4
|
+
*/
|
|
2
5
|
export interface EventingBulkSyncFailedEvent {
|
|
3
6
|
/** Destination connection ID */
|
|
4
7
|
destination_connection_id?: string | undefined;
|
|
@@ -12,9 +15,9 @@ export interface EventingBulkSyncFailedEvent {
|
|
|
12
15
|
schedule?: Polytomic.EventingBulkSyncSchedule | undefined;
|
|
13
16
|
/** Source connection ID */
|
|
14
17
|
source_connection_id?: string | undefined;
|
|
15
|
-
/** Bulk
|
|
18
|
+
/** Bulk Sync ID */
|
|
16
19
|
sync_id?: string | undefined;
|
|
17
|
-
/** Name of the
|
|
20
|
+
/** Name of the Bulk Sync */
|
|
18
21
|
sync_name?: string | undefined;
|
|
19
22
|
/** What started the execution */
|
|
20
23
|
trigger_source?: string | undefined;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fires when a Bulk Sync execution starts running.
|
|
3
|
+
*/
|
|
1
4
|
export interface EventingBulkSyncRunningEvent {
|
|
2
5
|
/** Destination connection ID */
|
|
3
6
|
destination_connection_id?: string | undefined;
|
|
@@ -7,8 +10,8 @@ export interface EventingBulkSyncRunningEvent {
|
|
|
7
10
|
organization_id?: string | undefined;
|
|
8
11
|
/** Source connection ID */
|
|
9
12
|
source_connection_id?: string | undefined;
|
|
10
|
-
/** Bulk
|
|
13
|
+
/** Bulk Sync ID */
|
|
11
14
|
sync_id?: string | undefined;
|
|
12
|
-
/** Name of the
|
|
15
|
+
/** Name of the Bulk Sync */
|
|
13
16
|
sync_name?: string | undefined;
|
|
14
17
|
}
|