polytomic 0.1.2 → 1.0.0
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/Client.d.ts +8 -6
- package/Client.js +27 -22
- package/api/errors/BadRequestError.d.ts +8 -0
- package/api/errors/BadRequestError.js +41 -0
- package/api/errors/ForbiddenError.d.ts +8 -0
- package/api/errors/ForbiddenError.js +41 -0
- package/api/errors/InternalServerError.d.ts +8 -0
- package/api/errors/InternalServerError.js +41 -0
- package/api/errors/NotFoundError.d.ts +8 -0
- package/api/errors/NotFoundError.js +41 -0
- package/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/api/errors/UnprocessableEntityError.js +41 -0
- package/api/errors/index.d.ts +5 -0
- package/api/errors/index.js +5 -0
- package/api/resources/bulkSync/client/Client.d.ts +62 -46
- package/api/resources/bulkSync/client/Client.js +174 -184
- package/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +0 -1
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/{resources/executions/client → client}/requests/StartBulkSyncRequest.d.ts +1 -4
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -1
- package/api/resources/bulkSync/client/requests/index.d.ts +3 -2
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +5 -14
- package/api/resources/bulkSync/resources/executions/client/Client.js +12 -74
- package/api/resources/bulkSync/resources/executions/client/index.d.ts +1 -1
- package/api/resources/bulkSync/resources/executions/client/index.js +0 -15
- package/api/resources/bulkSync/resources/index.d.ts +0 -1
- package/api/resources/bulkSync/resources/index.js +0 -1
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +20 -9
- package/api/resources/bulkSync/resources/schemas/client/Client.js +90 -24
- package/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +11 -0
- package/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +1 -4
- package/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +1 -0
- package/api/resources/connections/client/Client.d.ts +40 -49
- package/api/resources/connections/client/Client.js +113 -298
- package/api/resources/connections/client/requests/ConnectCardRequest.d.ts +18 -0
- package/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +2 -4
- package/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +1 -4
- package/api/resources/connections/client/requests/index.d.ts +2 -4
- package/api/resources/events/client/Client.d.ts +9 -8
- package/api/resources/events/client/Client.js +16 -18
- package/{dist/api/resources/events/client/requests/EventsApiV2GetEventsRequest.d.ts → api/resources/events/client/requests/EventsListRequest.d.ts} +1 -1
- package/api/resources/events/client/requests/index.d.ts +1 -1
- package/api/resources/identity/client/Client.d.ts +29 -0
- package/api/resources/identity/client/Client.js +114 -0
- package/api/resources/identity/client/index.d.ts +1 -0
- package/api/resources/identity/index.d.ts +1 -0
- package/api/resources/identity/index.js +17 -0
- package/api/resources/index.d.ts +3 -2
- package/api/resources/index.js +4 -3
- package/api/resources/jobs/client/Client.d.ts +6 -4
- package/api/resources/jobs/client/Client.js +13 -10
- package/api/resources/modelSync/client/Client.d.ts +87 -53
- package/api/resources/modelSync/client/Client.js +405 -100
- package/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +1 -21
- package/api/resources/{connections/client/requests/ModelFieldsRequest.d.ts → modelSync/client/requests/ModelSyncGetSourceRequest.d.ts} +2 -2
- package/{dist/api/resources/connections/client/requests/TargetRequest.d.ts → api/resources/modelSync/client/requests/ModelSyncGetTargetFieldsRequest.d.ts} +4 -4
- package/{dist/api/resources/connections/client/requests/ConnectionsGetTargetRequest.d.ts → api/resources/modelSync/client/requests/ModelSyncGetTargetRequest.d.ts} +2 -5
- package/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +1 -0
- package/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +1 -21
- package/api/resources/modelSync/client/requests/index.d.ts +3 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +16 -64
- package/api/resources/modelSync/resources/executions/client/Client.js +43 -476
- package/api/resources/models/client/Client.d.ts +22 -13
- package/api/resources/models/client/Client.js +67 -47
- package/api/resources/models/client/requests/CreateModelRequest.d.ts +0 -1
- package/api/resources/models/client/requests/UpdateModelRequest.d.ts +0 -1
- package/api/resources/organization/client/Client.d.ts +23 -26
- package/api/resources/organization/client/Client.js +53 -53
- package/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +1 -6
- package/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +1 -6
- package/api/resources/permissions/client/Client.d.ts +2 -3
- package/api/resources/permissions/client/Client.js +1 -1
- package/api/resources/permissions/resources/policies/client/Client.d.ts +24 -19
- package/api/resources/permissions/resources/policies/client/Client.js +66 -46
- package/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -5
- package/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -5
- package/api/resources/permissions/resources/roles/client/Client.d.ts +22 -10
- package/api/resources/permissions/resources/roles/client/Client.js +62 -37
- package/api/resources/schemas/client/Client.d.ts +39 -6
- package/api/resources/schemas/client/Client.js +208 -13
- package/api/resources/users/client/Client.d.ts +27 -19
- package/api/resources/users/client/Client.js +63 -48
- package/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -2
- package/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -2
- package/api/resources/webhooks/client/Client.d.ts +22 -15
- package/api/resources/webhooks/client/Client.js +56 -46
- package/api/types/ApiError.d.ts +8 -0
- package/api/types/GetModelSyncSourceMetaEnvelope.d.ts +7 -0
- package/api/types/ModelSyncSourceMetaResponse.d.ts +9 -0
- package/api/types/SourceMeta.d.ts +8 -0
- package/api/types/SourceMeta.js +5 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/Client.d.ts +8 -6
- package/dist/Client.js +27 -22
- package/dist/api/errors/BadRequestError.d.ts +8 -0
- package/dist/api/errors/BadRequestError.js +41 -0
- package/dist/api/errors/ForbiddenError.d.ts +8 -0
- package/dist/api/errors/ForbiddenError.js +41 -0
- package/dist/api/errors/InternalServerError.d.ts +8 -0
- package/dist/api/errors/InternalServerError.js +41 -0
- package/dist/api/errors/NotFoundError.d.ts +8 -0
- package/dist/api/errors/NotFoundError.js +41 -0
- package/dist/api/errors/UnprocessableEntityError.d.ts +8 -0
- package/dist/api/errors/UnprocessableEntityError.js +41 -0
- package/dist/api/errors/index.d.ts +5 -0
- package/dist/api/errors/index.js +5 -0
- package/dist/api/resources/bulkSync/client/Client.d.ts +62 -46
- package/dist/api/resources/bulkSync/client/Client.js +174 -184
- package/dist/api/resources/bulkSync/client/requests/BulkSyncGetSourceRequest.d.ts +0 -1
- package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -1
- package/dist/api/resources/bulkSync/{resources/executions/client → client}/requests/StartBulkSyncRequest.d.ts +1 -4
- package/dist/api/resources/bulkSync/client/requests/StartBulkSyncRequest.js +5 -0
- package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -1
- package/dist/api/resources/bulkSync/client/requests/index.d.ts +3 -2
- package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +5 -14
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +12 -74
- package/dist/api/resources/bulkSync/resources/executions/client/index.d.ts +1 -1
- package/dist/api/resources/bulkSync/resources/executions/client/index.js +0 -15
- package/dist/api/resources/bulkSync/resources/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/index.js +0 -1
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +20 -9
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +90 -24
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.d.ts +11 -0
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js +5 -0
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/UpdateBulkSchema.d.ts +1 -4
- package/dist/api/resources/bulkSync/resources/schemas/client/requests/index.d.ts +1 -0
- package/dist/api/resources/connections/client/Client.d.ts +40 -49
- package/dist/api/resources/connections/client/Client.js +113 -298
- package/dist/api/resources/connections/client/requests/ConnectCardRequest.d.ts +18 -0
- package/dist/api/resources/connections/client/requests/ConnectCardRequest.js +5 -0
- package/dist/api/resources/connections/client/requests/CreateConnectionRequestSchema.d.ts +2 -4
- package/dist/api/resources/connections/client/requests/UpdateConnectionRequestSchema.d.ts +1 -4
- package/dist/api/resources/connections/client/requests/index.d.ts +2 -4
- package/dist/api/resources/events/client/Client.d.ts +9 -8
- package/dist/api/resources/events/client/Client.js +16 -18
- package/{api/resources/events/client/requests/EventsApiV2GetEventsRequest.d.ts → dist/api/resources/events/client/requests/EventsListRequest.d.ts} +1 -1
- package/dist/api/resources/events/client/requests/EventsListRequest.js +5 -0
- package/dist/api/resources/events/client/requests/index.d.ts +1 -1
- package/dist/api/resources/identity/client/Client.d.ts +29 -0
- package/dist/api/resources/identity/client/Client.js +114 -0
- package/dist/api/resources/identity/client/index.d.ts +1 -0
- package/dist/api/resources/identity/index.d.ts +1 -0
- package/dist/api/resources/identity/index.js +17 -0
- package/dist/api/resources/index.d.ts +3 -2
- package/dist/api/resources/index.js +4 -3
- package/dist/api/resources/jobs/client/Client.d.ts +6 -4
- package/dist/api/resources/jobs/client/Client.js +13 -10
- package/dist/api/resources/modelSync/client/Client.d.ts +87 -53
- package/dist/api/resources/modelSync/client/Client.js +405 -100
- package/dist/api/resources/modelSync/client/requests/CreateModelSyncRequest.d.ts +1 -21
- package/dist/api/resources/{connections/client/requests/ModelFieldsRequest.d.ts → modelSync/client/requests/ModelSyncGetSourceRequest.d.ts} +2 -2
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetSourceRequest.js +5 -0
- package/{api/resources/connections/client/requests/TargetRequest.d.ts → dist/api/resources/modelSync/client/requests/ModelSyncGetTargetFieldsRequest.d.ts} +4 -4
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetTargetFieldsRequest.js +5 -0
- package/{api/resources/connections/client/requests/ConnectionsGetTargetRequest.d.ts → dist/api/resources/modelSync/client/requests/ModelSyncGetTargetRequest.d.ts} +2 -5
- package/dist/api/resources/modelSync/client/requests/ModelSyncGetTargetRequest.js +5 -0
- package/dist/api/resources/modelSync/client/requests/StartModelSyncRequest.d.ts +1 -0
- package/dist/api/resources/modelSync/client/requests/UpdateModelSyncRequest.d.ts +1 -21
- package/dist/api/resources/modelSync/client/requests/index.d.ts +3 -0
- package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +16 -64
- package/dist/api/resources/modelSync/resources/executions/client/Client.js +43 -476
- package/dist/api/resources/models/client/Client.d.ts +22 -13
- package/dist/api/resources/models/client/Client.js +67 -47
- package/dist/api/resources/models/client/requests/CreateModelRequest.d.ts +0 -1
- package/dist/api/resources/models/client/requests/UpdateModelRequest.d.ts +0 -1
- package/dist/api/resources/organization/client/Client.d.ts +23 -26
- package/dist/api/resources/organization/client/Client.js +53 -53
- package/dist/api/resources/organization/client/requests/CreateOrganizationRequestSchema.d.ts +1 -6
- package/dist/api/resources/organization/client/requests/UpdateOrganizationRequestSchema.d.ts +1 -6
- package/dist/api/resources/permissions/client/Client.d.ts +2 -3
- package/dist/api/resources/permissions/client/Client.js +1 -1
- package/dist/api/resources/permissions/resources/policies/client/Client.d.ts +24 -19
- package/dist/api/resources/permissions/resources/policies/client/Client.js +66 -46
- package/dist/api/resources/permissions/resources/policies/client/requests/CreatePolicyRequest.d.ts +1 -5
- package/dist/api/resources/permissions/resources/policies/client/requests/UpdatePolicyRequest.d.ts +1 -5
- package/dist/api/resources/permissions/resources/roles/client/Client.d.ts +22 -10
- package/dist/api/resources/permissions/resources/roles/client/Client.js +62 -37
- package/dist/api/resources/schemas/client/Client.d.ts +39 -6
- package/dist/api/resources/schemas/client/Client.js +208 -13
- package/dist/api/resources/users/client/Client.d.ts +27 -19
- package/dist/api/resources/users/client/Client.js +63 -48
- package/dist/api/resources/users/client/requests/CreateUserRequestSchema.d.ts +1 -2
- package/dist/api/resources/users/client/requests/UpdateUserRequestSchema.d.ts +1 -2
- package/dist/api/resources/webhooks/client/Client.d.ts +22 -15
- package/dist/api/resources/webhooks/client/Client.js +56 -46
- package/dist/api/types/ApiError.d.ts +8 -0
- package/dist/api/types/ApiError.js +5 -0
- package/dist/api/types/GetModelSyncSourceMetaEnvelope.d.ts +7 -0
- package/dist/api/types/GetModelSyncSourceMetaEnvelope.js +5 -0
- package/dist/api/types/ModelSyncSourceMetaResponse.d.ts +9 -0
- package/dist/api/types/ModelSyncSourceMetaResponse.js +5 -0
- package/dist/api/types/SourceMeta.d.ts +8 -0
- package/dist/api/types/SourceMeta.js +5 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/package.json +2 -2
- package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +0 -1
- package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +0 -1
- /package/api/resources/bulkSync/{resources/executions/client → client}/requests/StartBulkSyncRequest.js +0 -0
- /package/api/resources/{connections/client/requests/ConnectionsGetTargetRequest.js → bulkSync/resources/schemas/client/requests/BulkSyncSchemasRequest.js} +0 -0
- /package/api/resources/connections/client/requests/{ModelFieldsRequest.js → ConnectCardRequest.js} +0 -0
- /package/api/resources/{connections/client/requests/TargetRequest.js → events/client/requests/EventsListRequest.js} +0 -0
- /package/api/resources/{bulkSync/resources/executions/client/requests → identity/client}/index.js +0 -0
- /package/api/resources/{events/client/requests/EventsApiV2GetEventsRequest.js → modelSync/client/requests/ModelSyncGetSourceRequest.js} +0 -0
- /package/{dist/api/resources/bulkSync/resources/executions/client/requests/StartBulkSyncRequest.js → api/resources/modelSync/client/requests/ModelSyncGetTargetFieldsRequest.js} +0 -0
- /package/{dist/api/resources/connections/client/requests/ConnectionsGetTargetRequest.js → api/resources/modelSync/client/requests/ModelSyncGetTargetRequest.js} +0 -0
- /package/{dist/api/resources/connections/client/requests/ModelFieldsRequest.js → api/types/ApiError.js} +0 -0
- /package/{dist/api/resources/connections/client/requests/TargetRequest.js → api/types/GetModelSyncSourceMetaEnvelope.js} +0 -0
- /package/{dist/api/resources/events/client/requests/EventsApiV2GetEventsRequest.js → api/types/ModelSyncSourceMetaResponse.js} +0 -0
- /package/dist/api/resources/{bulkSync/resources/executions/client/requests → identity/client}/index.js +0 -0
|
@@ -5,29 +5,9 @@ import * as Polytomic from "../../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* fields: [{
|
|
9
|
-
* source: {
|
|
10
|
-
* field: "id",
|
|
11
|
-
* model_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
12
|
-
* },
|
|
13
|
-
* target: "name"
|
|
14
|
-
* }],
|
|
15
|
-
* filter_logic: "A and B or C",
|
|
16
|
-
* identity: {
|
|
17
|
-
* function: "Equality",
|
|
18
|
-
* source: {
|
|
19
|
-
* field: "id",
|
|
20
|
-
* model_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
21
|
-
* },
|
|
22
|
-
* target: "name"
|
|
23
|
-
* },
|
|
24
8
|
* mode: "create",
|
|
25
9
|
* name: "Users Sync",
|
|
26
|
-
* schedule: {
|
|
27
|
-
* connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
28
|
-
* frequency: "daily"
|
|
29
|
-
* },
|
|
30
|
-
* sync_all_records: false,
|
|
10
|
+
* schedule: {},
|
|
31
11
|
* target: {
|
|
32
12
|
* connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
33
13
|
* object: "Users"
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
-
*
|
|
8
|
-
*
|
|
7
|
+
* target: "database.table",
|
|
8
|
+
* refresh: false
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
|
-
export interface
|
|
12
|
-
refresh?: boolean;
|
|
11
|
+
export interface ModelSyncGetTargetFieldsRequest {
|
|
13
12
|
target: string;
|
|
13
|
+
refresh?: boolean;
|
|
14
14
|
}
|
|
@@ -5,29 +5,9 @@ import * as Polytomic from "../../../..";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* fields: [{
|
|
9
|
-
* source: {
|
|
10
|
-
* field: "id",
|
|
11
|
-
* model_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
12
|
-
* },
|
|
13
|
-
* target: "name"
|
|
14
|
-
* }],
|
|
15
|
-
* filter_logic: "A and B or C",
|
|
16
|
-
* identity: {
|
|
17
|
-
* function: "Equality",
|
|
18
|
-
* source: {
|
|
19
|
-
* field: "id",
|
|
20
|
-
* model_id: "248df4b7-aa70-47b8-a036-33ac447e668d"
|
|
21
|
-
* },
|
|
22
|
-
* target: "name"
|
|
23
|
-
* },
|
|
24
8
|
* mode: "create",
|
|
25
9
|
* name: "Users Sync",
|
|
26
|
-
* schedule: {
|
|
27
|
-
* connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
28
|
-
* frequency: "daily"
|
|
29
|
-
* },
|
|
30
|
-
* sync_all_records: false,
|
|
10
|
+
* schedule: {},
|
|
31
11
|
* target: {
|
|
32
12
|
* connection_id: "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
33
13
|
* object: "Users"
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export { ModelSyncGetSourceRequest } from "./ModelSyncGetSourceRequest";
|
|
2
|
+
export { ModelSyncGetTargetRequest } from "./ModelSyncGetTargetRequest";
|
|
3
|
+
export { ModelSyncGetTargetFieldsRequest } from "./ModelSyncGetTargetFieldsRequest";
|
|
1
4
|
export { CreateModelSyncRequest } from "./CreateModelSyncRequest";
|
|
2
5
|
export { UpdateModelSyncRequest } from "./UpdateModelSyncRequest";
|
|
3
6
|
export { StartModelSyncRequest } from "./StartModelSyncRequest";
|
|
@@ -7,8 +7,7 @@ import * as Polytomic from "../../../../..";
|
|
|
7
7
|
export declare namespace Executions {
|
|
8
8
|
interface Options {
|
|
9
9
|
environment?: core.Supplier<environments.PolytomicEnvironment | string>;
|
|
10
|
-
token
|
|
11
|
-
xPolytomicVersion?: core.Supplier<"2023-04-25" | undefined>;
|
|
10
|
+
token: core.Supplier<core.BearerToken>;
|
|
12
11
|
}
|
|
13
12
|
interface RequestOptions {
|
|
14
13
|
timeoutInSeconds?: number;
|
|
@@ -17,9 +16,10 @@ export declare namespace Executions {
|
|
|
17
16
|
}
|
|
18
17
|
export declare class Executions {
|
|
19
18
|
protected readonly _options: Executions.Options;
|
|
20
|
-
constructor(_options
|
|
19
|
+
constructor(_options: Executions.Options);
|
|
21
20
|
/**
|
|
22
21
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
22
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* await polytomic.modelSync.executions.list("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
@@ -27,80 +27,32 @@ export declare class Executions {
|
|
|
27
27
|
list(syncId: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ListExecutionResponseEnvelope>;
|
|
28
28
|
/**
|
|
29
29
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
30
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
31
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* await polytomic.modelSync.executions.get("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
33
35
|
*/
|
|
34
36
|
get(syncId: string, id: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.GetExecutionResponseEnvelope>;
|
|
35
37
|
/**
|
|
38
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
36
39
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
40
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
41
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
37
42
|
*
|
|
38
43
|
* @example
|
|
39
|
-
* await polytomic.modelSync.executions.
|
|
44
|
+
* await polytomic.modelSync.executions.getLogUrls("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "records")
|
|
40
45
|
*/
|
|
41
|
-
|
|
46
|
+
getLogUrls(syncId: string, id: string, type: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
42
47
|
/**
|
|
48
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
43
49
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
50
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
51
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
44
52
|
*
|
|
45
53
|
* @example
|
|
46
|
-
* await polytomic.modelSync.executions.
|
|
54
|
+
* await polytomic.modelSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "records", "path/to/file.json")
|
|
47
55
|
*/
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
51
|
-
*
|
|
52
|
-
* @example
|
|
53
|
-
* await polytomic.modelSync.executions.getInsertLogUrLs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
54
|
-
*/
|
|
55
|
-
getInsertLogUrLs(syncId: string, id: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
56
|
-
/**
|
|
57
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
58
|
-
*
|
|
59
|
-
* @example
|
|
60
|
-
* await polytomic.modelSync.executions.getInsertLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "path/to/file.json")
|
|
61
|
-
*/
|
|
62
|
-
getInsertLogs(syncId: string, id: string, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
63
|
-
/**
|
|
64
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* await polytomic.modelSync.executions.getRecordLogUrLs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
68
|
-
*/
|
|
69
|
-
getRecordLogUrLs(syncId: string, id: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
70
|
-
/**
|
|
71
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* await polytomic.modelSync.executions.getRecordLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "path/to/file.json")
|
|
75
|
-
*/
|
|
76
|
-
getRecordLogs(syncId: string, id: string, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
77
|
-
/**
|
|
78
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
79
|
-
*
|
|
80
|
-
* @example
|
|
81
|
-
* await polytomic.modelSync.executions.getUpdateLogUrLs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
82
|
-
*/
|
|
83
|
-
getUpdateLogUrLs(syncId: string, id: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
84
|
-
/**
|
|
85
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* await polytomic.modelSync.executions.getUpdateLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "path/to/file.json")
|
|
89
|
-
*/
|
|
90
|
-
getUpdateLogs(syncId: string, id: string, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
91
|
-
/**
|
|
92
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
93
|
-
*
|
|
94
|
-
* @example
|
|
95
|
-
* await polytomic.modelSync.executions.getWarningLogUrLs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
96
|
-
*/
|
|
97
|
-
getWarningLogUrLs(syncId: string, id: string, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
98
|
-
/**
|
|
99
|
-
* @throws {@link Polytomic.UnauthorizedError}
|
|
100
|
-
*
|
|
101
|
-
* @example
|
|
102
|
-
* await polytomic.modelSync.executions.getWarningLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", "path/to/file.json")
|
|
103
|
-
*/
|
|
104
|
-
getWarningLogs(syncId: string, id: string, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
105
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
56
|
+
getLogs(syncId: string, id: string, type: string, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
57
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
106
58
|
}
|