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
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
16
|
+
};
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.UsersClient = void 0;
|
|
19
|
+
var Client_1 = require("./client/Client");
|
|
20
|
+
Object.defineProperty(exports, "UsersClient", { enumerable: true, get: function () { return Client_1.UsersClient; } });
|
|
21
|
+
__exportStar(require("./client/index"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./client";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
package/api/resources/index.d.ts
CHANGED
package/api/resources/index.js
CHANGED
|
@@ -36,10 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.webhooks = exports.users = exports.temporaryCredentials = exports.schemas = exports.recordViewLinks = exports.queryRunner = exports.permissions = exports.organization = exports.operations = exports.notifications = exports.models = exports.modelSync = exports.jobs = exports.identity = exports.harbors = exports.events = exports.entities = exports.connections = exports.bulkSync =
|
|
40
|
-
exports.activity = __importStar(require("./activity"));
|
|
41
|
-
__exportStar(require("./activity/client/requests"), exports);
|
|
42
|
-
__exportStar(require("./activity/types"), exports);
|
|
39
|
+
exports.webhooks = exports.users = exports.temporaryCredentials = exports.schemas = exports.recordViewLinks = exports.queryRunner = exports.permissions = exports.organization = exports.operations = exports.notifications = exports.models = exports.modelSync = exports.jobs = exports.identity = exports.harbors = exports.events = exports.entities = exports.connections = exports.bulkSync = void 0;
|
|
43
40
|
exports.bulkSync = __importStar(require("./bulkSync"));
|
|
44
41
|
__exportStar(require("./bulkSync/client/requests"), exports);
|
|
45
42
|
exports.connections = __importStar(require("./connections"));
|
|
@@ -15,14 +15,20 @@ export declare class ExecutionsClient {
|
|
|
15
15
|
/**
|
|
16
16
|
* Lists executions for a model sync.
|
|
17
17
|
*
|
|
18
|
-
* Results are ordered by
|
|
19
|
-
*
|
|
20
|
-
*
|
|
18
|
+
* Results are ordered by `created_at` descending. Pass the opaque
|
|
19
|
+
* `pagination.next_page_token` back as `page_token` to continue paging. A token is
|
|
20
|
+
* returned even on the last page and on empty pages. Stop paging when `data` is
|
|
21
|
+
* empty; the presence of a token does not mean more results are available.
|
|
21
22
|
*
|
|
22
|
-
*
|
|
23
|
+
* Use `ascending=true` to walk forward from the oldest executions. Each page
|
|
24
|
+
* still lists its executions newest first; subsequent pages contain newer
|
|
25
|
+
* executions.
|
|
23
26
|
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
27
|
+
* Use `only_completed=true` to return only executions in terminal statuses.
|
|
28
|
+
* Ordering and pagination still use `created_at`.
|
|
29
|
+
*
|
|
30
|
+
* For full details about a specific execution, including record counts and error
|
|
31
|
+
* summaries, use
|
|
26
32
|
* [`GET /api/syncs/{sync_id}/executions/{id}`](../../../../api-reference/model-sync/executions/get).
|
|
27
33
|
*
|
|
28
34
|
* @param {string} sync_id - Model sync ID
|
|
@@ -58,14 +58,20 @@ class ExecutionsClient {
|
|
|
58
58
|
/**
|
|
59
59
|
* Lists executions for a model sync.
|
|
60
60
|
*
|
|
61
|
-
* Results are ordered by
|
|
62
|
-
*
|
|
63
|
-
*
|
|
61
|
+
* Results are ordered by `created_at` descending. Pass the opaque
|
|
62
|
+
* `pagination.next_page_token` back as `page_token` to continue paging. A token is
|
|
63
|
+
* returned even on the last page and on empty pages. Stop paging when `data` is
|
|
64
|
+
* empty; the presence of a token does not mean more results are available.
|
|
64
65
|
*
|
|
65
|
-
*
|
|
66
|
+
* Use `ascending=true` to walk forward from the oldest executions. Each page
|
|
67
|
+
* still lists its executions newest first; subsequent pages contain newer
|
|
68
|
+
* executions.
|
|
66
69
|
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
70
|
+
* Use `only_completed=true` to return only executions in terminal statuses.
|
|
71
|
+
* Ordering and pagination still use `created_at`.
|
|
72
|
+
*
|
|
73
|
+
* For full details about a specific execution, including record counts and error
|
|
74
|
+
* summaries, use
|
|
69
75
|
* [`GET /api/syncs/{sync_id}/executions/{id}`](../../../../api-reference/model-sync/executions/get).
|
|
70
76
|
*
|
|
71
77
|
* @param {string} sync_id - Model sync ID
|
package/api/resources/modelSync/resources/executions/client/requests/ExecutionsListRequest.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export interface ExecutionsListRequest {
|
|
|
11
11
|
page_token?: string;
|
|
12
12
|
/** Return only completed executions. */
|
|
13
13
|
only_completed?: boolean;
|
|
14
|
-
/**
|
|
14
|
+
/** Traverse from the oldest executions; each page is ordered newest first. */
|
|
15
15
|
ascending?: boolean;
|
|
16
16
|
}
|
|
@@ -79,6 +79,32 @@ export declare class ModelsClient {
|
|
|
79
79
|
* endpoint to validate a query or configuration before calling
|
|
80
80
|
* [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
81
81
|
*
|
|
82
|
+
* ## Field type overrides
|
|
83
|
+
*
|
|
84
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
85
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
86
|
+
* Keep `additional_fields` for user-defined fields.
|
|
87
|
+
*
|
|
88
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
89
|
+
* as a number:
|
|
90
|
+
*
|
|
91
|
+
* ```json
|
|
92
|
+
* {
|
|
93
|
+
* "field_overrides": {
|
|
94
|
+
* "amount": { "type": "number" }
|
|
95
|
+
* }
|
|
96
|
+
* }
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
100
|
+
* `fields[].type` contains each published field's effective type.
|
|
101
|
+
*
|
|
102
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
103
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
104
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
105
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
106
|
+
* the response.
|
|
107
|
+
*
|
|
82
108
|
* @param {Polytomic.ModelsPreviewRequest} request
|
|
83
109
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
84
110
|
*
|
|
@@ -105,14 +131,8 @@ export declare class ModelsClient {
|
|
|
105
131
|
/**
|
|
106
132
|
* Lists all models in the caller's organization.
|
|
107
133
|
*
|
|
108
|
-
* Results are
|
|
109
|
-
*
|
|
110
|
-
* Pass that token back unchanged to continue from the last item you received.
|
|
111
|
-
*
|
|
112
|
-
* The token is opaque. Do not construct or edit it yourself.
|
|
113
|
-
*
|
|
114
|
-
* The `limit` is capped at 50. Values above that cap are reduced to 50, and
|
|
115
|
-
* non-positive values fall back to the same default.
|
|
134
|
+
* Results are returned as a single `data` array. This endpoint does not support
|
|
135
|
+
* pagination, `limit`, or `page_token` query parameters.
|
|
116
136
|
*
|
|
117
137
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
118
138
|
*
|
|
@@ -136,6 +156,32 @@ export declare class ModelsClient {
|
|
|
136
156
|
* [`GET /api/connection_types/{id}`](../../api-reference/connections/get-connection-type-schema) to check
|
|
137
157
|
* whether a connection type supports use as a source.
|
|
138
158
|
*
|
|
159
|
+
* ## Field type overrides
|
|
160
|
+
*
|
|
161
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
162
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
163
|
+
* Keep `additional_fields` for user-defined fields.
|
|
164
|
+
*
|
|
165
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
166
|
+
* as a number:
|
|
167
|
+
*
|
|
168
|
+
* ```json
|
|
169
|
+
* {
|
|
170
|
+
* "field_overrides": {
|
|
171
|
+
* "amount": { "type": "number" }
|
|
172
|
+
* }
|
|
173
|
+
* }
|
|
174
|
+
* ```
|
|
175
|
+
*
|
|
176
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
177
|
+
* `fields[].type` contains each published field's effective type.
|
|
178
|
+
*
|
|
179
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
180
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
181
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
182
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
183
|
+
* the response.
|
|
184
|
+
*
|
|
139
185
|
* @param {Polytomic.ModelsCreateRequest} request
|
|
140
186
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
141
187
|
*
|
|
@@ -187,8 +233,9 @@ export declare class ModelsClient {
|
|
|
187
233
|
*
|
|
188
234
|
* Updating a model is a **full replacement** of its configuration. Every field in
|
|
189
235
|
* the request body is written to the model; any field you omit is cleared or reset
|
|
190
|
-
* to its default value
|
|
191
|
-
*
|
|
236
|
+
* to its default value, with two exceptions: an empty or omitted `policies` list
|
|
237
|
+
* leaves policies unchanged, and omitted `field_overrides` entries retain their
|
|
238
|
+
* current types.
|
|
192
239
|
*
|
|
193
240
|
* To make a partial change, fetch the current model with
|
|
194
241
|
* [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
|
|
@@ -197,6 +244,32 @@ export declare class ModelsClient {
|
|
|
197
244
|
* Changes to source fields, filters, or the identity column take effect on the
|
|
198
245
|
* next sync execution that uses this model.
|
|
199
246
|
*
|
|
247
|
+
* ## Field type overrides
|
|
248
|
+
*
|
|
249
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
250
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
251
|
+
* Keep `additional_fields` for user-defined fields.
|
|
252
|
+
*
|
|
253
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
254
|
+
* as a number:
|
|
255
|
+
*
|
|
256
|
+
* ```json
|
|
257
|
+
* {
|
|
258
|
+
* "field_overrides": {
|
|
259
|
+
* "amount": { "type": "number" }
|
|
260
|
+
* }
|
|
261
|
+
* }
|
|
262
|
+
* ```
|
|
263
|
+
*
|
|
264
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
265
|
+
* `fields[].type` contains each published field's effective type.
|
|
266
|
+
*
|
|
267
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
268
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
269
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
270
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
271
|
+
* the response.
|
|
272
|
+
*
|
|
200
273
|
* @param {string} id - Model ID
|
|
201
274
|
* @param {Polytomic.UpdateModelRequest} request
|
|
202
275
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -236,6 +236,32 @@ class ModelsClient {
|
|
|
236
236
|
* endpoint to validate a query or configuration before calling
|
|
237
237
|
* [`POST /api/models`](../../api-reference/models/create) to save it.
|
|
238
238
|
*
|
|
239
|
+
* ## Field type overrides
|
|
240
|
+
*
|
|
241
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
242
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
243
|
+
* Keep `additional_fields` for user-defined fields.
|
|
244
|
+
*
|
|
245
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
246
|
+
* as a number:
|
|
247
|
+
*
|
|
248
|
+
* ```json
|
|
249
|
+
* {
|
|
250
|
+
* "field_overrides": {
|
|
251
|
+
* "amount": { "type": "number" }
|
|
252
|
+
* }
|
|
253
|
+
* }
|
|
254
|
+
* ```
|
|
255
|
+
*
|
|
256
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
257
|
+
* `fields[].type` contains each published field's effective type.
|
|
258
|
+
*
|
|
259
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
260
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
261
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
262
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
263
|
+
* the response.
|
|
264
|
+
*
|
|
239
265
|
* @param {Polytomic.ModelsPreviewRequest} request
|
|
240
266
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
241
267
|
*
|
|
@@ -315,14 +341,8 @@ class ModelsClient {
|
|
|
315
341
|
/**
|
|
316
342
|
* Lists all models in the caller's organization.
|
|
317
343
|
*
|
|
318
|
-
* Results are
|
|
319
|
-
*
|
|
320
|
-
* Pass that token back unchanged to continue from the last item you received.
|
|
321
|
-
*
|
|
322
|
-
* The token is opaque. Do not construct or edit it yourself.
|
|
323
|
-
*
|
|
324
|
-
* The `limit` is capped at 50. Values above that cap are reduced to 50, and
|
|
325
|
-
* non-positive values fall back to the same default.
|
|
344
|
+
* Results are returned as a single `data` array. This endpoint does not support
|
|
345
|
+
* pagination, `limit`, or `page_token` query parameters.
|
|
326
346
|
*
|
|
327
347
|
* @param {ModelsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
328
348
|
*
|
|
@@ -383,6 +403,32 @@ class ModelsClient {
|
|
|
383
403
|
* [`GET /api/connection_types/{id}`](../../api-reference/connections/get-connection-type-schema) to check
|
|
384
404
|
* whether a connection type supports use as a source.
|
|
385
405
|
*
|
|
406
|
+
* ## Field type overrides
|
|
407
|
+
*
|
|
408
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
409
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
410
|
+
* Keep `additional_fields` for user-defined fields.
|
|
411
|
+
*
|
|
412
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
413
|
+
* as a number:
|
|
414
|
+
*
|
|
415
|
+
* ```json
|
|
416
|
+
* {
|
|
417
|
+
* "field_overrides": {
|
|
418
|
+
* "amount": { "type": "number" }
|
|
419
|
+
* }
|
|
420
|
+
* }
|
|
421
|
+
* ```
|
|
422
|
+
*
|
|
423
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
424
|
+
* `fields[].type` contains each published field's effective type.
|
|
425
|
+
*
|
|
426
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
427
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
428
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
429
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
430
|
+
* the response.
|
|
431
|
+
*
|
|
386
432
|
* @param {Polytomic.ModelsCreateRequest} request
|
|
387
433
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
388
434
|
*
|
|
@@ -534,8 +580,9 @@ class ModelsClient {
|
|
|
534
580
|
*
|
|
535
581
|
* Updating a model is a **full replacement** of its configuration. Every field in
|
|
536
582
|
* the request body is written to the model; any field you omit is cleared or reset
|
|
537
|
-
* to its default value
|
|
538
|
-
*
|
|
583
|
+
* to its default value, with two exceptions: an empty or omitted `policies` list
|
|
584
|
+
* leaves policies unchanged, and omitted `field_overrides` entries retain their
|
|
585
|
+
* current types.
|
|
539
586
|
*
|
|
540
587
|
* To make a partial change, fetch the current model with
|
|
541
588
|
* [`GET /api/models/{id}`](../../../api-reference/models/get), modify the fields you want to change, and send
|
|
@@ -544,6 +591,32 @@ class ModelsClient {
|
|
|
544
591
|
* Changes to source fields, filters, or the identity column take effect on the
|
|
545
592
|
* next sync execution that uses this model.
|
|
546
593
|
*
|
|
594
|
+
* ## Field type overrides
|
|
595
|
+
*
|
|
596
|
+
* Use `field_overrides` to choose types for detected source fields on CSV file,
|
|
597
|
+
* HTTP API, Google Sheets, and MongoDB models. Other model types reject overrides.
|
|
598
|
+
* Keep `additional_fields` for user-defined fields.
|
|
599
|
+
*
|
|
600
|
+
* For example, include this fragment in a complete model request to treat `amount`
|
|
601
|
+
* as a number:
|
|
602
|
+
*
|
|
603
|
+
* ```json
|
|
604
|
+
* {
|
|
605
|
+
* "field_overrides": {
|
|
606
|
+
* "amount": { "type": "number" }
|
|
607
|
+
* }
|
|
608
|
+
* }
|
|
609
|
+
* ```
|
|
610
|
+
*
|
|
611
|
+
* Use `fields` separately to choose which fields to publish. The response's
|
|
612
|
+
* `fields[].type` contains each published field's effective type.
|
|
613
|
+
*
|
|
614
|
+
* On update, only supplied override entries change types. Omitted entries, an
|
|
615
|
+
* empty map, or `null` preserve current types, including types chosen in the UI.
|
|
616
|
+
* Removing an entry does not restore its inferred type; supply another concrete
|
|
617
|
+
* type to change it. There is no separate inferred-type or override-state map in
|
|
618
|
+
* the response.
|
|
619
|
+
*
|
|
547
620
|
* @param {string} id - Model ID
|
|
548
621
|
* @param {Polytomic.UpdateModelRequest} request
|
|
549
622
|
* @param {ModelsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -21,6 +21,8 @@ export interface UpdateModelRequest {
|
|
|
21
21
|
connection_id: string;
|
|
22
22
|
/** Enrichment to apply to the model */
|
|
23
23
|
enricher?: Polytomic.Enrichment;
|
|
24
|
+
/** 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. */
|
|
25
|
+
field_overrides?: Record<string, Polytomic.ModelModelFieldOverride | undefined>;
|
|
24
26
|
/** 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. */
|
|
25
27
|
fields?: string[];
|
|
26
28
|
/** Source field name of the model's unique identifier */
|
|
@@ -52,7 +52,11 @@ export declare class PoliciesClient {
|
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* await client.permissions.policies.create({
|
|
55
|
-
* name: "Custom"
|
|
55
|
+
* name: "Custom",
|
|
56
|
+
* policy_actions: [{
|
|
57
|
+
* action: "edit",
|
|
58
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
59
|
+
* }]
|
|
56
60
|
* })
|
|
57
61
|
*/
|
|
58
62
|
create(request: Polytomic.permissions.CreatePolicyRequest, requestOptions?: PoliciesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.PolicyResponseEnvelope>;
|
|
@@ -98,7 +102,11 @@ export declare class PoliciesClient {
|
|
|
98
102
|
*
|
|
99
103
|
* @example
|
|
100
104
|
* await client.permissions.policies.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
101
|
-
* name: "Custom"
|
|
105
|
+
* name: "Custom",
|
|
106
|
+
* policy_actions: [{
|
|
107
|
+
* action: "edit",
|
|
108
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
109
|
+
* }]
|
|
102
110
|
* })
|
|
103
111
|
*/
|
|
104
112
|
update(id: string, request: Polytomic.permissions.UpdatePolicyRequest, requestOptions?: PoliciesClient.IdempotentRequestOptions): core.HttpResponsePromise<Polytomic.PolicyResponseEnvelope>;
|
|
@@ -136,7 +136,11 @@ class PoliciesClient {
|
|
|
136
136
|
*
|
|
137
137
|
* @example
|
|
138
138
|
* await client.permissions.policies.create({
|
|
139
|
-
* name: "Custom"
|
|
139
|
+
* name: "Custom",
|
|
140
|
+
* policy_actions: [{
|
|
141
|
+
* action: "edit",
|
|
142
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
143
|
+
* }]
|
|
140
144
|
* })
|
|
141
145
|
*/
|
|
142
146
|
create(request, requestOptions) {
|
|
@@ -268,7 +272,11 @@ class PoliciesClient {
|
|
|
268
272
|
*
|
|
269
273
|
* @example
|
|
270
274
|
* await client.permissions.policies.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
271
|
-
* name: "Custom"
|
|
275
|
+
* name: "Custom",
|
|
276
|
+
* policy_actions: [{
|
|
277
|
+
* action: "edit",
|
|
278
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
279
|
+
* }]
|
|
272
280
|
* })
|
|
273
281
|
*/
|
|
274
282
|
update(id, request, requestOptions) {
|
package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts
CHANGED
|
@@ -2,7 +2,11 @@ import type * as Polytomic from "../../../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
-
* name: "Custom"
|
|
5
|
+
* name: "Custom",
|
|
6
|
+
* policy_actions: [{
|
|
7
|
+
* action: "edit",
|
|
8
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
9
|
+
* }]
|
|
6
10
|
* }
|
|
7
11
|
*/
|
|
8
12
|
export interface CreatePolicyRequest {
|
package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts
CHANGED
|
@@ -2,7 +2,11 @@ import type * as Polytomic from "../../../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
-
* name: "Custom"
|
|
5
|
+
* name: "Custom",
|
|
6
|
+
* policy_actions: [{
|
|
7
|
+
* action: "edit",
|
|
8
|
+
* role_ids: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
9
|
+
* }]
|
|
6
10
|
* }
|
|
7
11
|
*/
|
|
8
12
|
export interface UpdatePolicyRequest {
|
|
@@ -56,6 +56,11 @@ export declare class QueryRunnerClient {
|
|
|
56
56
|
* opaque `links.next` and `links.previous` URLs exactly as returned. Do not try to
|
|
57
57
|
* construct the `page` token yourself.
|
|
58
58
|
*
|
|
59
|
+
* Non-finite numeric results use JSON strings: `"NaN"`, `"Infinity"`, and
|
|
60
|
+
* `"-Infinity"`. Finite numbers remain JSON numbers, and SQL NULL remains `null`.
|
|
61
|
+
* This also applies inside lists, structs, and maps. These strings are
|
|
62
|
+
* indistinguishable from literal text with the same spelling.
|
|
63
|
+
*
|
|
59
64
|
* If the query is still running, the response may include only status metadata.
|
|
60
65
|
* The terminal statuses are `done`, `failed`, and `unknown`. An `unknown` status
|
|
61
66
|
* means execution started, but its durable terminal result was lost or expired.
|
|
@@ -172,6 +172,11 @@ class QueryRunnerClient {
|
|
|
172
172
|
* opaque `links.next` and `links.previous` URLs exactly as returned. Do not try to
|
|
173
173
|
* construct the `page` token yourself.
|
|
174
174
|
*
|
|
175
|
+
* Non-finite numeric results use JSON strings: `"NaN"`, `"Infinity"`, and
|
|
176
|
+
* `"-Infinity"`. Finite numbers remain JSON numbers, and SQL NULL remains `null`.
|
|
177
|
+
* This also applies inside lists, structs, and maps. These strings are
|
|
178
|
+
* indistinguishable from literal text with the same spelling.
|
|
179
|
+
*
|
|
175
180
|
* If the query is still running, the response may include only status metadata.
|
|
176
181
|
* The terminal statuses are `done`, `failed`, and `unknown`. An `unknown` status
|
|
177
182
|
* means execution started, but its durable terminal result was lost or expired.
|
|
@@ -40,6 +40,11 @@ export declare class RecordViewLinksClient {
|
|
|
40
40
|
/**
|
|
41
41
|
* Checks whether record-view links can be created for a connection schema.
|
|
42
42
|
*
|
|
43
|
+
* Use the Connection and schema for the record you want to open. When working
|
|
44
|
+
* with Harbor query results, use the source Connection and schema rather than
|
|
45
|
+
* assuming the Harbor's backing Connection can create a link. You can use
|
|
46
|
+
* record-view links independently of Harbor.
|
|
47
|
+
*
|
|
43
48
|
* @param {Polytomic.RecordViewLinksGetCapabilitiesRequest} request
|
|
44
49
|
* @param {RecordViewLinksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
50
|
*
|
|
@@ -152,6 +152,11 @@ class RecordViewLinksClient {
|
|
|
152
152
|
/**
|
|
153
153
|
* Checks whether record-view links can be created for a connection schema.
|
|
154
154
|
*
|
|
155
|
+
* Use the Connection and schema for the record you want to open. When working
|
|
156
|
+
* with Harbor query results, use the source Connection and schema rather than
|
|
157
|
+
* assuming the Harbor's backing Connection can create a link. You can use
|
|
158
|
+
* record-view links independently of Harbor.
|
|
159
|
+
*
|
|
155
160
|
* @param {Polytomic.RecordViewLinksGetCapabilitiesRequest} request
|
|
156
161
|
* @param {RecordViewLinksClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
157
162
|
*
|
|
@@ -237,18 +237,11 @@ export declare class SchemasClient {
|
|
|
237
237
|
get(id: string, schema_id: string, requestOptions?: SchemasClient.RequestOptions): core.HttpResponsePromise<Polytomic.BulkSyncSourceSchemaEnvelope>;
|
|
238
238
|
private __get;
|
|
239
239
|
/**
|
|
240
|
-
* Returns
|
|
240
|
+
* Returns all records from a supported schema on a Connection.
|
|
241
241
|
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
* > 🚧 The sample is not guaranteed to be representative of the full dataset.
|
|
246
|
-
* > Row selection is implementation-defined and may differ across connection
|
|
247
|
-
* > types.
|
|
248
|
-
*
|
|
249
|
-
* > 📘 If the schema's field definitions are stale, refresh them first with
|
|
250
|
-
* > [`POST /api/connections/{id}/schemas/refresh`](../../../../../../api-reference/schemas/refresh) to ensure
|
|
251
|
-
* > the sample aligns with the current schema structure.
|
|
242
|
+
* This endpoint supports only the HubSpot `deals_pipelines` schema. It returns
|
|
243
|
+
* all records from that schema in a single response, without sampling or
|
|
244
|
+
* pagination. Other backends and schemas are unsupported.
|
|
252
245
|
*
|
|
253
246
|
* @param {string} id - Unique identifier of the connection
|
|
254
247
|
* @param {string} schema_id - Identifier of the schema within the connection
|
|
@@ -633,18 +633,11 @@ class SchemasClient {
|
|
|
633
633
|
});
|
|
634
634
|
}
|
|
635
635
|
/**
|
|
636
|
-
* Returns
|
|
636
|
+
* Returns all records from a supported schema on a Connection.
|
|
637
637
|
*
|
|
638
|
-
*
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
|
-
* > 🚧 The sample is not guaranteed to be representative of the full dataset.
|
|
642
|
-
* > Row selection is implementation-defined and may differ across connection
|
|
643
|
-
* > types.
|
|
644
|
-
*
|
|
645
|
-
* > 📘 If the schema's field definitions are stale, refresh them first with
|
|
646
|
-
* > [`POST /api/connections/{id}/schemas/refresh`](../../../../../../api-reference/schemas/refresh) to ensure
|
|
647
|
-
* > the sample aligns with the current schema structure.
|
|
638
|
+
* This endpoint supports only the HubSpot `deals_pipelines` schema. It returns
|
|
639
|
+
* all records from that schema in a single response, without sampling or
|
|
640
|
+
* pagination. Other backends and schemas are unsupported.
|
|
648
641
|
*
|
|
649
642
|
* @param {string} id - Unique identifier of the connection
|
|
650
643
|
* @param {string} schema_id - Identifier of the schema within the connection
|
|
@@ -55,6 +55,9 @@ export declare class TemporaryCredentialsClient {
|
|
|
55
55
|
* Polytomic periodically removes expired credential records. API usage history
|
|
56
56
|
* keeps its credential ID according to the normal API usage retention period.
|
|
57
57
|
*
|
|
58
|
+
* For a Harbor credential without an expiration, use
|
|
59
|
+
* [Create Harbor key](../../api-reference/harbors/keys/create).
|
|
60
|
+
*
|
|
58
61
|
* @param {Polytomic.CreateTemporaryCredentialRequest} request
|
|
59
62
|
* @param {TemporaryCredentialsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
60
63
|
*
|
|
@@ -99,6 +99,9 @@ class TemporaryCredentialsClient {
|
|
|
99
99
|
* Polytomic periodically removes expired credential records. API usage history
|
|
100
100
|
* keeps its credential ID according to the normal API usage retention period.
|
|
101
101
|
*
|
|
102
|
+
* For a Harbor credential without an expiration, use
|
|
103
|
+
* [Create Harbor key](../../api-reference/harbors/keys/create).
|
|
104
|
+
*
|
|
102
105
|
* @param {Polytomic.CreateTemporaryCredentialRequest} request
|
|
103
106
|
* @param {TemporaryCredentialsClient.IdempotentRequestOptions} requestOptions - Request-specific configuration.
|
|
104
107
|
*
|