polytomic 25.9.4 → 25.9.5
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 +3 -0
- package/Client.js +41 -36
- package/api/errors/GoneError.d.ts +7 -0
- package/api/errors/GoneError.js +54 -0
- package/api/errors/index.d.ts +1 -0
- package/api/errors/index.js +1 -0
- package/api/resources/activity/client/Client.d.ts +144 -0
- package/api/resources/activity/client/Client.js +359 -0
- package/api/resources/activity/client/index.d.ts +1 -0
- package/api/resources/activity/client/index.js +17 -0
- package/api/resources/activity/client/requests/ActivityGetSessionRequest.d.ts +17 -0
- package/api/resources/activity/client/requests/ActivityGetSessionRequest.js +3 -0
- package/api/resources/activity/client/requests/ActivityListRequest.d.ts +47 -0
- package/api/resources/activity/client/requests/ActivityListRequest.js +3 -0
- package/api/resources/activity/client/requests/index.d.ts +2 -0
- package/api/resources/activity/client/requests/index.js +2 -0
- package/api/resources/activity/exports.d.ts +2 -0
- package/api/resources/activity/exports.js +21 -0
- package/api/resources/activity/index.d.ts +2 -0
- package/api/resources/activity/index.js +18 -0
- package/api/resources/activity/types/ActivityGetSessionRequestOrder.d.ts +6 -0
- package/api/resources/activity/types/ActivityGetSessionRequestOrder.js +9 -0
- package/api/resources/activity/types/ActivityListRequestOrder.d.ts +6 -0
- package/api/resources/activity/types/ActivityListRequestOrder.js +9 -0
- package/api/resources/activity/types/index.d.ts +2 -0
- package/api/resources/activity/types/index.js +18 -0
- package/api/resources/bulkSync/resources/errorHandling/client/requests/UpdateBulkSyncErrorHandlingRequest.d.ts +2 -0
- package/api/resources/connections/client/Client.d.ts +12 -0
- package/api/resources/connections/client/Client.js +16 -0
- package/api/resources/harbors/client/Client.d.ts +4 -0
- package/api/resources/harbors/client/Client.js +4 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/queryRunner/client/Client.d.ts +11 -1
- package/api/resources/queryRunner/client/Client.js +29 -3
- package/api/resources/queryRunner/client/requests/QueryRunnerGetQueryRequest.d.ts +2 -0
- package/api/resources/queryRunner/client/requests/RunQueryRequest.d.ts +2 -0
- package/api/resources/recordViewLinks/client/Client.d.ts +2 -0
- package/api/resources/recordViewLinks/client/Client.js +21 -1
- package/api/resources/recordViewLinks/client/requests/CreateRecordViewLinkRequest.d.ts +2 -0
- package/api/types/BulkSyncErrorHandling.d.ts +2 -0
- package/api/types/Filter.d.ts +1 -0
- package/api/types/HarborActivityEventEnvelope.d.ts +4 -0
- package/api/types/HarborActivityEventEnvelope.js +3 -0
- package/api/types/HarborActivityListEnvelope.d.ts +5 -0
- package/api/types/HarborActivityListEnvelope.js +3 -0
- package/api/types/HarborActivitySessionEnvelope.d.ts +5 -0
- package/api/types/HarborActivitySessionEnvelope.js +3 -0
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.d.ts +6 -0
- package/api/types/HarboractivityapiHarborActivityActorSnapshot.js +3 -0
- package/api/types/HarboractivityapiHarborActivityEvent.d.ts +24 -0
- package/api/types/HarboractivityapiHarborActivityEvent.js +3 -0
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.d.ts +3 -0
- package/api/types/HarboractivityapiHarborActivityIdentitySnapshot.js +3 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.d.ts +31 -0
- package/api/types/HarboractivityapiHarborActivityMetadata.js +3 -0
- package/api/types/HarboractivityapiHarborActivitySession.d.ts +27 -0
- package/api/types/HarboractivityapiHarborActivitySession.js +12 -0
- package/api/types/HarboractivityapiHarborActivityTarget.d.ts +6 -0
- package/api/types/HarboractivityapiHarborActivityTarget.js +3 -0
- package/api/types/ModelFilterCondition.d.ts +1 -1
- package/api/types/ModelFilters.d.ts +1 -1
- package/api/types/QueryStatus.d.ts +8 -0
- package/api/types/QueryStatus.js +11 -0
- package/api/types/RunQueryResult.d.ts +2 -2
- package/api/types/SchemaField.d.ts +4 -0
- package/api/types/SupportedFilterFunction.d.ts +12 -0
- package/api/types/SupportedFilterFunction.js +3 -0
- package/api/types/TargetField.d.ts +2 -0
- package/api/types/TargetFilterCondition.d.ts +2 -2
- package/api/types/TargetFilters.d.ts +1 -1
- package/api/types/index.d.ts +11 -0
- package/api/types/index.js +11 -0
- package/package.json +1 -1
- package/reference.md +291 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Polytomic from "../index";
|
|
2
|
+
export interface SupportedFilterFunction {
|
|
3
|
+
id?: Polytomic.FilterFunction | undefined;
|
|
4
|
+
/** Human-readable label for the comparison. */
|
|
5
|
+
label?: string | undefined;
|
|
6
|
+
/** True if this comparison takes a list of values rather than a single one. */
|
|
7
|
+
multi_value?: boolean | undefined;
|
|
8
|
+
/** True if a condition using this comparison must carry a value; comparisons such as 'IsNotNull' take none. */
|
|
9
|
+
requires_value?: boolean | undefined;
|
|
10
|
+
/** Closed set of values this comparison accepts. A condition whose value is absent from this list is rejected when the sync is saved: the relative datetime comparisons ('InTheLast', 'RelativeOnOrAfter', 'RelativeOnOrBefore') take one of these duration keywords rather than a timestamp. Empty when the comparison accepts any value that coerces to the field's type. */
|
|
11
|
+
values?: Polytomic.PickValue[] | undefined;
|
|
12
|
+
}
|
|
@@ -8,6 +8,8 @@ export interface TargetField {
|
|
|
8
8
|
description?: string | undefined;
|
|
9
9
|
/** True if this field supports field-level encryption. */
|
|
10
10
|
encryptable?: boolean | undefined;
|
|
11
|
+
/** Comparisons this field accepts in a target filter. A condition whose function is absent from this list is rejected when the sync is saved. Empty when the destination publishes no per-field list, in which case any comparison is accepted. */
|
|
12
|
+
filter_functions?: Polytomic.SupportedFilterFunction[] | undefined;
|
|
11
13
|
/** True if this field can be used in a target filter. */
|
|
12
14
|
filterable?: boolean | undefined;
|
|
13
15
|
/** Backend-specific identifier of the field; use this value when configuring field mappings. */
|
|
@@ -4,10 +4,10 @@ export interface TargetFilterCondition {
|
|
|
4
4
|
field: string;
|
|
5
5
|
/** Comparison this condition applies to the field's value. */
|
|
6
6
|
function: Polytomic.FilterFunction;
|
|
7
|
-
/** Handle naming this condition in 'logic'. Labels are scoped to this object, so a model condition and a target condition may share one. Optional: label every condition in the object or none of them, and an unlabelled object is labelled by position -- A, B, C -- which is how labels are always reported back. */
|
|
7
|
+
/** Handle naming this condition in 'logic'. A label starts with a letter or underscore and continues with letters, digits and underscores. Labels are scoped to this object, so a model condition and a target condition may share one. Optional: label every condition in the object or none of them, and an unlabelled object is labelled by position -- A, B, C -- which is how labels are always reported back. */
|
|
8
8
|
label?: string | undefined;
|
|
9
9
|
/** Value the field is compared against. Omitted for functions which take no value, such as 'IsNotNull'. */
|
|
10
10
|
value?: unknown | undefined;
|
|
11
|
-
/** Model field whose value the destination field is compared against, resolved separately for every record, named the way a model condition names its source. Mutually exclusive with 'value', and accepted only by destinations
|
|
11
|
+
/** Model field whose value the destination field is compared against, resolved separately for every record, named the way a model condition names its source. Mutually exclusive with 'value', and accepted only by destinations reporting 'supports_filter_value_fields'. */
|
|
12
12
|
value_source?: Polytomic.Source | undefined;
|
|
13
13
|
}
|
|
@@ -5,6 +5,6 @@ import type * as Polytomic from "../index";
|
|
|
5
5
|
export interface TargetFilters {
|
|
6
6
|
/** Conditions a destination record must satisfy to be written. An empty list writes every matched record. */
|
|
7
7
|
conditions?: Polytomic.TargetFilterCondition[] | undefined;
|
|
8
|
-
/** Expression combining the conditions in this object by their labels; 'and', 'or', and parentheses are supported. An empty expression means every condition must be satisfied. */
|
|
8
|
+
/** Expression combining the conditions in this object by their labels; 'and', 'or', and parentheses are supported. The operators are not case-sensitive but the labels are, and the expression has to name every condition in this object -- a condition may be repeated, as in '(A and B) or (A and C)' -- and an expression which leaves one out is rejected. An empty expression means every condition must be satisfied. */
|
|
9
9
|
logic?: string | undefined;
|
|
10
10
|
}
|
package/api/types/index.d.ts
CHANGED
|
@@ -147,7 +147,16 @@ export * from "./GetIdentityResponseSchema";
|
|
|
147
147
|
export * from "./GetRecordViewCapabilitiesEnvelope";
|
|
148
148
|
export * from "./GetSyncSourceMetaEnvelope";
|
|
149
149
|
export * from "./GlobalErrorSubscribersResponse";
|
|
150
|
+
export * from "./HarborActivityEventEnvelope";
|
|
151
|
+
export * from "./HarborActivityListEnvelope";
|
|
152
|
+
export * from "./HarborActivitySessionEnvelope";
|
|
150
153
|
export * from "./HarborApiKeyCreatedResponse";
|
|
154
|
+
export * from "./HarboractivityapiHarborActivityActorSnapshot";
|
|
155
|
+
export * from "./HarboractivityapiHarborActivityEvent";
|
|
156
|
+
export * from "./HarboractivityapiHarborActivityIdentitySnapshot";
|
|
157
|
+
export * from "./HarboractivityapiHarborActivityMetadata";
|
|
158
|
+
export * from "./HarboractivityapiHarborActivitySession";
|
|
159
|
+
export * from "./HarboractivityapiHarborActivityTarget";
|
|
151
160
|
export * from "./HarborConnectionListEnvelope";
|
|
152
161
|
export * from "./HarborConnectionResponse";
|
|
153
162
|
export * from "./HarborConnectionSchemaEnvelope";
|
|
@@ -237,6 +246,7 @@ export * from "./PolicyAction";
|
|
|
237
246
|
export * from "./PolicyResponse";
|
|
238
247
|
export * from "./PolicyResponseEnvelope";
|
|
239
248
|
export * from "./QueryResultsEnvelope";
|
|
249
|
+
export * from "./QueryStatus";
|
|
240
250
|
export * from "./RecordLoggingSettingsEnvelope";
|
|
241
251
|
export * from "./RecordLoggingSettingsResponse";
|
|
242
252
|
export * from "./RecordviewCapabilities";
|
|
@@ -274,6 +284,7 @@ export * from "./SourceMeta";
|
|
|
274
284
|
export * from "./StartSyncResponseEnvelope";
|
|
275
285
|
export * from "./StartSyncResponseSchema";
|
|
276
286
|
export * from "./SupportedBulkMode";
|
|
287
|
+
export * from "./SupportedFilterFunction";
|
|
277
288
|
export * from "./SupportedMode";
|
|
278
289
|
export * from "./SyncDestinationProperties";
|
|
279
290
|
export * from "./SyncErrorHandling";
|
package/api/types/index.js
CHANGED
|
@@ -163,7 +163,16 @@ __exportStar(require("./GetIdentityResponseSchema"), exports);
|
|
|
163
163
|
__exportStar(require("./GetRecordViewCapabilitiesEnvelope"), exports);
|
|
164
164
|
__exportStar(require("./GetSyncSourceMetaEnvelope"), exports);
|
|
165
165
|
__exportStar(require("./GlobalErrorSubscribersResponse"), exports);
|
|
166
|
+
__exportStar(require("./HarborActivityEventEnvelope"), exports);
|
|
167
|
+
__exportStar(require("./HarborActivityListEnvelope"), exports);
|
|
168
|
+
__exportStar(require("./HarborActivitySessionEnvelope"), exports);
|
|
166
169
|
__exportStar(require("./HarborApiKeyCreatedResponse"), exports);
|
|
170
|
+
__exportStar(require("./HarboractivityapiHarborActivityActorSnapshot"), exports);
|
|
171
|
+
__exportStar(require("./HarboractivityapiHarborActivityEvent"), exports);
|
|
172
|
+
__exportStar(require("./HarboractivityapiHarborActivityIdentitySnapshot"), exports);
|
|
173
|
+
__exportStar(require("./HarboractivityapiHarborActivityMetadata"), exports);
|
|
174
|
+
__exportStar(require("./HarboractivityapiHarborActivitySession"), exports);
|
|
175
|
+
__exportStar(require("./HarboractivityapiHarborActivityTarget"), exports);
|
|
167
176
|
__exportStar(require("./HarborConnectionListEnvelope"), exports);
|
|
168
177
|
__exportStar(require("./HarborConnectionResponse"), exports);
|
|
169
178
|
__exportStar(require("./HarborConnectionSchemaEnvelope"), exports);
|
|
@@ -253,6 +262,7 @@ __exportStar(require("./PolicyAction"), exports);
|
|
|
253
262
|
__exportStar(require("./PolicyResponse"), exports);
|
|
254
263
|
__exportStar(require("./PolicyResponseEnvelope"), exports);
|
|
255
264
|
__exportStar(require("./QueryResultsEnvelope"), exports);
|
|
265
|
+
__exportStar(require("./QueryStatus"), exports);
|
|
256
266
|
__exportStar(require("./RecordLoggingSettingsEnvelope"), exports);
|
|
257
267
|
__exportStar(require("./RecordLoggingSettingsResponse"), exports);
|
|
258
268
|
__exportStar(require("./RecordviewCapabilities"), exports);
|
|
@@ -290,6 +300,7 @@ __exportStar(require("./SourceMeta"), exports);
|
|
|
290
300
|
__exportStar(require("./StartSyncResponseEnvelope"), exports);
|
|
291
301
|
__exportStar(require("./StartSyncResponseSchema"), exports);
|
|
292
302
|
__exportStar(require("./SupportedBulkMode"), exports);
|
|
303
|
+
__exportStar(require("./SupportedFilterFunction"), exports);
|
|
293
304
|
__exportStar(require("./SupportedMode"), exports);
|
|
294
305
|
__exportStar(require("./SyncDestinationProperties"), exports);
|
|
295
306
|
__exportStar(require("./SyncErrorHandling"), exports);
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1594,6 +1594,10 @@ await client.connections.get("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
|
1594
1594
|
|
|
1595
1595
|
Updates a connection's configuration.
|
|
1596
1596
|
|
|
1597
|
+
Connections owned by a managed Harbor return `409 Conflict`. To rename the
|
|
1598
|
+
Connection, [update its Harbor](../../../api-reference/harbors/update). Customer-managed
|
|
1599
|
+
Harbor backing Connections remain independently editable.
|
|
1600
|
+
|
|
1597
1601
|
Updating a connection is a **full replacement** of its configuration. Any
|
|
1598
1602
|
`configuration` field you omit is cleared. To make a partial change, fetch
|
|
1599
1603
|
the current connection with
|
|
@@ -1687,6 +1691,12 @@ await client.connections.update("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
|
1687
1691
|
|
|
1688
1692
|
Deletes a connection.
|
|
1689
1693
|
|
|
1694
|
+
A Connection that backs any active Harbor returns `409 Conflict`, including
|
|
1695
|
+
when you pass `force=true`. No dependent resources are deleted in this case.
|
|
1696
|
+
[Delete the Harbor](../../../api-reference/harbors/delete) first. Deleting a managed
|
|
1697
|
+
Harbor also deletes its managed Connection; deleting a customer-managed Harbor
|
|
1698
|
+
preserves its backing Connection.
|
|
1699
|
+
|
|
1690
1700
|
> 🚧 Deleting a connection that is referenced by fieldsets, syncs, bulk
|
|
1691
1701
|
> syncs, or schedules returns `422 connection in use` unless you pass
|
|
1692
1702
|
> `force=true`. With `force=true`, the API deletes those dependent
|
|
@@ -1917,7 +1927,7 @@ Submits a query for asynchronous execution against the connection.
|
|
|
1917
1927
|
|
|
1918
1928
|
This endpoint returns immediately with a query task ID. It does not wait for
|
|
1919
1929
|
the query to finish. Poll [`GET /api/queries/{id}`](../../../../api-reference/query-runner/get-query) until `status`
|
|
1920
|
-
reaches `done` or `
|
|
1930
|
+
reaches `done`, `failed`, or `unknown`. These statuses are terminal.
|
|
1921
1931
|
|
|
1922
1932
|
Only the user who created the query can fetch its results later. Query results
|
|
1923
1933
|
are stored temporarily and may expire; use the `expires` field from the result
|
|
@@ -2005,6 +2015,10 @@ opaque `links.next` and `links.previous` URLs exactly as returned. Do not try to
|
|
|
2005
2015
|
construct the `page` token yourself.
|
|
2006
2016
|
|
|
2007
2017
|
If the query is still running, the response may include only status metadata.
|
|
2018
|
+
The terminal statuses are `done`, `failed`, and `unknown`. An `unknown` status
|
|
2019
|
+
means execution started, but its durable terminal result was lost or expired.
|
|
2020
|
+
Stop polling when you receive any terminal status.
|
|
2021
|
+
|
|
2008
2022
|
If the task is complete but the caller is not the same user that created it,
|
|
2009
2023
|
the endpoint returns `404`.
|
|
2010
2024
|
</dd>
|
|
@@ -5396,6 +5410,10 @@ await client.harbors.get("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
|
5396
5410
|
|
|
5397
5411
|
Updates a Harbor's name and description.
|
|
5398
5412
|
|
|
5413
|
+
Renaming a managed Harbor also renames its backing Connection. Both names
|
|
5414
|
+
change together; a name conflict returns `409 Conflict` and leaves both
|
|
5415
|
+
unchanged. Renaming a customer-managed Harbor preserves its Connection's name.
|
|
5416
|
+
|
|
5399
5417
|
This operation does not change `backing_mode` or `backing_connection_id`.
|
|
5400
5418
|
</dd>
|
|
5401
5419
|
</dl>
|
|
@@ -8117,6 +8135,278 @@ await client.organization.delete("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
|
8117
8135
|
</dl>
|
|
8118
8136
|
|
|
8119
8137
|
|
|
8138
|
+
</dd>
|
|
8139
|
+
</dl>
|
|
8140
|
+
</details>
|
|
8141
|
+
|
|
8142
|
+
## Activity
|
|
8143
|
+
<details><summary><code>client.activity.<a href="/src/api/resources/activity/client/Client.ts">list</a>({ ...params }) -> Polytomic.HarborActivityListEnvelope</code></summary>
|
|
8144
|
+
<dl>
|
|
8145
|
+
<dd>
|
|
8146
|
+
|
|
8147
|
+
#### 📝 Description
|
|
8148
|
+
|
|
8149
|
+
<dl>
|
|
8150
|
+
<dd>
|
|
8151
|
+
|
|
8152
|
+
<dl>
|
|
8153
|
+
<dd>
|
|
8154
|
+
|
|
8155
|
+
Lists Harbor Activity recorded for the caller's organization.
|
|
8156
|
+
|
|
8157
|
+
You must be an active Organization administrator to use this endpoint.
|
|
8158
|
+
|
|
8159
|
+
`start_time` is inclusive and `end_time` is exclusive. Both filter the time at
|
|
8160
|
+
which Polytomic recorded each event, which can differ from `occurred_at`. A
|
|
8161
|
+
single request can cover at most 90 days.
|
|
8162
|
+
|
|
8163
|
+
Results are ordered from newest to oldest by default. Set `order` to `asc` to
|
|
8164
|
+
retrieve the oldest events first. A page contains at most 100 events. Pass
|
|
8165
|
+
`next_page_token` from the response as `page_token` with the same time range,
|
|
8166
|
+
filters, order, and limit to retrieve the next page. The token expires 24 hours
|
|
8167
|
+
after the first page. Pagination uses a live descending cursor, so an event from
|
|
8168
|
+
a transaction that commits between pages can require a fresh traversal.
|
|
8169
|
+
|
|
8170
|
+
Responses include stable identities, bounded resource snapshots, schema label
|
|
8171
|
+
snapshots with truncation state, field counts, and row counts when available.
|
|
8172
|
+
They do not include internal recorded-order values, submitted SQL, raw field
|
|
8173
|
+
names, detailed provider errors, result rows, or raw pagination tokens.
|
|
8174
|
+
|
|
8175
|
+
> ℹ️ Activity retention
|
|
8176
|
+
>
|
|
8177
|
+
> Polytomic retains Activity events for at least 90 days. Pagination tokens
|
|
8178
|
+
> expire 24 hours after the first page.
|
|
8179
|
+
</dd>
|
|
8180
|
+
</dl>
|
|
8181
|
+
</dd>
|
|
8182
|
+
</dl>
|
|
8183
|
+
|
|
8184
|
+
#### 🔌 Usage
|
|
8185
|
+
|
|
8186
|
+
<dl>
|
|
8187
|
+
<dd>
|
|
8188
|
+
|
|
8189
|
+
<dl>
|
|
8190
|
+
<dd>
|
|
8191
|
+
|
|
8192
|
+
```typescript
|
|
8193
|
+
await client.activity.list({
|
|
8194
|
+
start_time: "2024-01-15T09:30:00Z",
|
|
8195
|
+
end_time: "2024-01-15T09:30:00Z",
|
|
8196
|
+
limit: 1,
|
|
8197
|
+
page_token: "page_token",
|
|
8198
|
+
order: "asc",
|
|
8199
|
+
harbor_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"],
|
|
8200
|
+
event_type: ["event_type"],
|
|
8201
|
+
outcome: ["outcome"],
|
|
8202
|
+
operation_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"],
|
|
8203
|
+
session_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"],
|
|
8204
|
+
actor_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"],
|
|
8205
|
+
credential_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"],
|
|
8206
|
+
connection_id: ["248df4b7-aa70-47b8-a036-33ac447e668d"]
|
|
8207
|
+
});
|
|
8208
|
+
|
|
8209
|
+
```
|
|
8210
|
+
</dd>
|
|
8211
|
+
</dl>
|
|
8212
|
+
</dd>
|
|
8213
|
+
</dl>
|
|
8214
|
+
|
|
8215
|
+
#### ⚙️ Parameters
|
|
8216
|
+
|
|
8217
|
+
<dl>
|
|
8218
|
+
<dd>
|
|
8219
|
+
|
|
8220
|
+
<dl>
|
|
8221
|
+
<dd>
|
|
8222
|
+
|
|
8223
|
+
**request:** `Polytomic.ActivityListRequest`
|
|
8224
|
+
|
|
8225
|
+
</dd>
|
|
8226
|
+
</dl>
|
|
8227
|
+
|
|
8228
|
+
<dl>
|
|
8229
|
+
<dd>
|
|
8230
|
+
|
|
8231
|
+
**requestOptions:** `ActivityClient.RequestOptions`
|
|
8232
|
+
|
|
8233
|
+
</dd>
|
|
8234
|
+
</dl>
|
|
8235
|
+
</dd>
|
|
8236
|
+
</dl>
|
|
8237
|
+
|
|
8238
|
+
|
|
8239
|
+
</dd>
|
|
8240
|
+
</dl>
|
|
8241
|
+
</details>
|
|
8242
|
+
|
|
8243
|
+
<details><summary><code>client.activity.<a href="/src/api/resources/activity/client/Client.ts">getSession</a>(session_id, { ...params }) -> Polytomic.HarborActivitySessionEnvelope</code></summary>
|
|
8244
|
+
<dl>
|
|
8245
|
+
<dd>
|
|
8246
|
+
|
|
8247
|
+
#### 📝 Description
|
|
8248
|
+
|
|
8249
|
+
<dl>
|
|
8250
|
+
<dd>
|
|
8251
|
+
|
|
8252
|
+
<dl>
|
|
8253
|
+
<dd>
|
|
8254
|
+
|
|
8255
|
+
Returns one Harbor Activity session and its events.
|
|
8256
|
+
|
|
8257
|
+
You must be an active Organization administrator to use this endpoint. The
|
|
8258
|
+
session must belong to the Organization against which you authenticated.
|
|
8259
|
+
|
|
8260
|
+
Events are ordered from oldest to newest by default. Set `order` to `desc` to
|
|
8261
|
+
retrieve the newest events first. A page contains at most 100 events. Pass
|
|
8262
|
+
`next_page_token` from the response as `page_token` with the same order and
|
|
8263
|
+
limit to retrieve the next page.
|
|
8264
|
+
|
|
8265
|
+
`history_truncated` is `true` when Activity retention removed events from the
|
|
8266
|
+
beginning of the session. The lifecycle summary remains available while the
|
|
8267
|
+
session itself is retained.
|
|
8268
|
+
|
|
8269
|
+
The response uses the same event allowlist as the Activity list and detail
|
|
8270
|
+
endpoints. It does not include session tokens, submitted SQL, raw field names,
|
|
8271
|
+
detailed provider errors, result rows, or raw pagination tokens.
|
|
8272
|
+
|
|
8273
|
+
> ℹ️ Activity retention
|
|
8274
|
+
>
|
|
8275
|
+
> Polytomic retains Activity events for at least 90 days. Pagination tokens
|
|
8276
|
+
> expire 24 hours after the first page.
|
|
8277
|
+
</dd>
|
|
8278
|
+
</dl>
|
|
8279
|
+
</dd>
|
|
8280
|
+
</dl>
|
|
8281
|
+
|
|
8282
|
+
#### 🔌 Usage
|
|
8283
|
+
|
|
8284
|
+
<dl>
|
|
8285
|
+
<dd>
|
|
8286
|
+
|
|
8287
|
+
<dl>
|
|
8288
|
+
<dd>
|
|
8289
|
+
|
|
8290
|
+
```typescript
|
|
8291
|
+
await client.activity.getSession("248df4b7-aa70-47b8-a036-33ac447e668d", {
|
|
8292
|
+
limit: 1,
|
|
8293
|
+
page_token: "page_token",
|
|
8294
|
+
order: "asc"
|
|
8295
|
+
});
|
|
8296
|
+
|
|
8297
|
+
```
|
|
8298
|
+
</dd>
|
|
8299
|
+
</dl>
|
|
8300
|
+
</dd>
|
|
8301
|
+
</dl>
|
|
8302
|
+
|
|
8303
|
+
#### ⚙️ Parameters
|
|
8304
|
+
|
|
8305
|
+
<dl>
|
|
8306
|
+
<dd>
|
|
8307
|
+
|
|
8308
|
+
<dl>
|
|
8309
|
+
<dd>
|
|
8310
|
+
|
|
8311
|
+
**session_id:** `string` — Harbor Activity session ID.
|
|
8312
|
+
|
|
8313
|
+
</dd>
|
|
8314
|
+
</dl>
|
|
8315
|
+
|
|
8316
|
+
<dl>
|
|
8317
|
+
<dd>
|
|
8318
|
+
|
|
8319
|
+
**request:** `Polytomic.ActivityGetSessionRequest`
|
|
8320
|
+
|
|
8321
|
+
</dd>
|
|
8322
|
+
</dl>
|
|
8323
|
+
|
|
8324
|
+
<dl>
|
|
8325
|
+
<dd>
|
|
8326
|
+
|
|
8327
|
+
**requestOptions:** `ActivityClient.RequestOptions`
|
|
8328
|
+
|
|
8329
|
+
</dd>
|
|
8330
|
+
</dl>
|
|
8331
|
+
</dd>
|
|
8332
|
+
</dl>
|
|
8333
|
+
|
|
8334
|
+
|
|
8335
|
+
</dd>
|
|
8336
|
+
</dl>
|
|
8337
|
+
</details>
|
|
8338
|
+
|
|
8339
|
+
<details><summary><code>client.activity.<a href="/src/api/resources/activity/client/Client.ts">get</a>(event_id) -> Polytomic.HarborActivityEventEnvelope</code></summary>
|
|
8340
|
+
<dl>
|
|
8341
|
+
<dd>
|
|
8342
|
+
|
|
8343
|
+
#### 📝 Description
|
|
8344
|
+
|
|
8345
|
+
<dl>
|
|
8346
|
+
<dd>
|
|
8347
|
+
|
|
8348
|
+
<dl>
|
|
8349
|
+
<dd>
|
|
8350
|
+
|
|
8351
|
+
Returns one Harbor Activity event from the caller's organization.
|
|
8352
|
+
|
|
8353
|
+
You must be an active Organization administrator to use this endpoint. The
|
|
8354
|
+
event must belong to the Organization against which you authenticated.
|
|
8355
|
+
|
|
8356
|
+
The response can include stable identities, bounded resource snapshots, schema
|
|
8357
|
+
label snapshots with truncation state, field counts, and row counts. It does
|
|
8358
|
+
not include internal recorded-order values, submitted SQL, raw field names,
|
|
8359
|
+
detailed provider errors, result rows, or raw pagination tokens.
|
|
8360
|
+
|
|
8361
|
+
> ℹ️ Activity retention
|
|
8362
|
+
>
|
|
8363
|
+
> Polytomic retains Activity events for at least 90 days.
|
|
8364
|
+
</dd>
|
|
8365
|
+
</dl>
|
|
8366
|
+
</dd>
|
|
8367
|
+
</dl>
|
|
8368
|
+
|
|
8369
|
+
#### 🔌 Usage
|
|
8370
|
+
|
|
8371
|
+
<dl>
|
|
8372
|
+
<dd>
|
|
8373
|
+
|
|
8374
|
+
<dl>
|
|
8375
|
+
<dd>
|
|
8376
|
+
|
|
8377
|
+
```typescript
|
|
8378
|
+
await client.activity.get("248df4b7-aa70-47b8-a036-33ac447e668d");
|
|
8379
|
+
|
|
8380
|
+
```
|
|
8381
|
+
</dd>
|
|
8382
|
+
</dl>
|
|
8383
|
+
</dd>
|
|
8384
|
+
</dl>
|
|
8385
|
+
|
|
8386
|
+
#### ⚙️ Parameters
|
|
8387
|
+
|
|
8388
|
+
<dl>
|
|
8389
|
+
<dd>
|
|
8390
|
+
|
|
8391
|
+
<dl>
|
|
8392
|
+
<dd>
|
|
8393
|
+
|
|
8394
|
+
**event_id:** `string` — Activity event ID.
|
|
8395
|
+
|
|
8396
|
+
</dd>
|
|
8397
|
+
</dl>
|
|
8398
|
+
|
|
8399
|
+
<dl>
|
|
8400
|
+
<dd>
|
|
8401
|
+
|
|
8402
|
+
**requestOptions:** `ActivityClient.RequestOptions`
|
|
8403
|
+
|
|
8404
|
+
</dd>
|
|
8405
|
+
</dl>
|
|
8406
|
+
</dd>
|
|
8407
|
+
</dl>
|
|
8408
|
+
|
|
8409
|
+
|
|
8120
8410
|
</dd>
|
|
8121
8411
|
</dl>
|
|
8122
8412
|
</details>
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "25.9.
|
|
1
|
+
export declare const SDK_VERSION = "25.9.5";
|
package/version.js
CHANGED