polytomic 1.8.4 → 1.9.1
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 +3 -3
- package/Client.js +9 -9
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/bulkSync/client/Client.d.ts +6 -4
- package/api/resources/bulkSync/client/Client.js +24 -14
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
- package/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
- package/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
- package/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
- package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
- package/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
- package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
- package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
- package/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
- package/api/resources/connections/client/Client.js +8 -8
- package/api/resources/events/client/Client.js +2 -2
- package/api/resources/identity/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -2
- package/api/resources/index.js +3 -3
- package/api/resources/jobs/client/Client.js +1 -1
- package/api/resources/modelSync/client/Client.d.ts +21 -2
- package/api/resources/modelSync/client/Client.js +106 -15
- package/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
- package/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
- package/api/resources/modelSync/client/requests/index.d.ts +1 -0
- package/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
- package/api/resources/modelSync/resources/executions/client/Client.js +8 -8
- package/api/resources/models/client/Client.d.ts +15 -0
- package/api/resources/models/client/Client.js +87 -8
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
- package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
- package/api/resources/models/client/requests/index.d.ts +1 -0
- package/api/resources/organization/client/Client.js +5 -5
- package/api/resources/permissions/resources/policies/client/Client.js +5 -5
- package/api/resources/permissions/resources/roles/client/Client.js +5 -5
- package/api/resources/queryRunner/client/Client.js +2 -2
- package/api/resources/schemas/client/Client.js +4 -4
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/webhooks/client/Client.js +5 -5
- package/api/types/BulkSyncDest.d.ts +1 -1
- package/api/types/BulkSyncResponse.d.ts +4 -0
- package/api/types/BulkSyncSchemaExecution.d.ts +1 -0
- package/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
- package/api/types/SchemaField.d.ts +3 -1
- package/api/types/SupportedBulkMode.d.ts +12 -0
- package/api/types/SupportedBulkMode.js +5 -0
- package/api/types/SupportedMode.d.ts +6 -5
- package/api/types/SyncMode.d.ts +17 -0
- package/api/types/SyncMode.js +16 -0
- package/api/types/TargetObject.d.ts +10 -0
- package/api/types/TargetObject.js +5 -0
- package/api/types/TypesType.d.ts +4 -0
- package/api/types/TypesType.js +5 -0
- package/api/types/UtilFieldType.d.ts +13 -0
- package/api/types/UtilFieldType.js +15 -0
- package/api/types/V2ExecutionLogType.d.ts +12 -0
- package/api/types/V2ExecutionLogType.js +14 -0
- package/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
- package/api/types/V4BulkSyncExecutionLogs.js +5 -0
- package/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
- package/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
- package/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
- package/api/types/V4ExportSyncLogsEnvelope.js +5 -0
- package/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
- package/api/types/V4ExportSyncLogsResponse.js +5 -0
- package/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
- package/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
- package/api/types/index.d.ts +12 -1
- package/api/types/index.js +12 -1
- package/dist/Client.d.ts +3 -3
- package/dist/Client.js +9 -9
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/bulkSync/client/Client.d.ts +6 -4
- package/dist/api/resources/bulkSync/client/Client.js +24 -14
- package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
- package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
- package/dist/api/resources/bulkSync/client/requests/CreateBulkSyncRequest.d.ts +1 -3
- package/dist/api/resources/bulkSync/client/requests/UpdateBulkSyncRequest.d.ts +1 -3
- package/dist/api/resources/bulkSync/client/requests/index.d.ts +1 -0
- package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
- package/dist/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
- package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
- package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.d.ts +1 -0
- package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +7 -4
- package/dist/api/resources/connections/client/Client.js +8 -8
- package/dist/api/resources/events/client/Client.js +2 -2
- package/dist/api/resources/identity/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +2 -2
- package/dist/api/resources/index.js +3 -3
- package/dist/api/resources/jobs/client/Client.js +1 -1
- package/dist/api/resources/modelSync/client/Client.d.ts +21 -2
- package/dist/api/resources/modelSync/client/Client.js +106 -15
- package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
- package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
- package/dist/api/resources/modelSync/client/requests/index.d.ts +1 -0
- package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
- package/dist/api/resources/modelSync/resources/executions/client/Client.js +8 -8
- package/dist/api/resources/models/client/Client.d.ts +15 -0
- package/dist/api/resources/models/client/Client.js +87 -8
- package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
- package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
- package/dist/api/resources/models/client/requests/index.d.ts +1 -0
- package/dist/api/resources/organization/client/Client.js +5 -5
- package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
- package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
- package/dist/api/resources/queryRunner/client/Client.js +2 -2
- package/dist/api/resources/schemas/client/Client.js +4 -4
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/webhooks/client/Client.js +5 -5
- package/dist/api/types/BulkSyncDest.d.ts +1 -1
- package/dist/api/types/BulkSyncResponse.d.ts +4 -0
- package/dist/api/types/BulkSyncSchemaExecution.d.ts +1 -0
- package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
- package/dist/api/types/SchemaField.d.ts +3 -1
- package/dist/api/types/SupportedBulkMode.d.ts +12 -0
- package/dist/api/types/SupportedBulkMode.js +5 -0
- package/dist/api/types/SupportedMode.d.ts +6 -5
- package/dist/api/types/SyncMode.d.ts +17 -0
- package/dist/api/types/SyncMode.js +16 -0
- package/dist/api/types/TargetObject.d.ts +10 -0
- package/dist/api/types/TargetObject.js +5 -0
- package/dist/api/types/TypesType.d.ts +4 -0
- package/dist/api/types/TypesType.js +5 -0
- package/dist/api/types/UtilFieldType.d.ts +13 -0
- package/dist/api/types/UtilFieldType.js +15 -0
- package/dist/api/types/V2ExecutionLogType.d.ts +12 -0
- package/dist/api/types/V2ExecutionLogType.js +14 -0
- package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
- package/dist/api/types/V4BulkSyncExecutionLogs.js +5 -0
- package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
- package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
- package/dist/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
- package/dist/api/types/V4ExportSyncLogsEnvelope.js +5 -0
- package/dist/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
- package/dist/api/types/V4ExportSyncLogsResponse.js +5 -0
- package/dist/api/types/V4TargetObjectsResponseEnvelope.d.ts +7 -0
- package/dist/api/types/V4TargetObjectsResponseEnvelope.js +5 -0
- package/dist/api/types/index.d.ts +12 -1
- package/dist/api/types/index.js +12 -1
- package/package.json +1 -1
|
@@ -70,7 +70,7 @@ class Connections {
|
|
|
70
70
|
: undefined,
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "polytomic",
|
|
73
|
-
"X-Fern-SDK-Version": "1.
|
|
73
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
|
@@ -132,7 +132,7 @@ class Connections {
|
|
|
132
132
|
: undefined,
|
|
133
133
|
"X-Fern-Language": "JavaScript",
|
|
134
134
|
"X-Fern-SDK-Name": "polytomic",
|
|
135
|
-
"X-Fern-SDK-Version": "1.
|
|
135
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
136
136
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
137
137
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
138
138
|
},
|
|
@@ -208,7 +208,7 @@ class Connections {
|
|
|
208
208
|
: undefined,
|
|
209
209
|
"X-Fern-Language": "JavaScript",
|
|
210
210
|
"X-Fern-SDK-Name": "polytomic",
|
|
211
|
-
"X-Fern-SDK-Version": "1.
|
|
211
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
212
212
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
213
213
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
214
214
|
},
|
|
@@ -283,7 +283,7 @@ class Connections {
|
|
|
283
283
|
: undefined,
|
|
284
284
|
"X-Fern-Language": "JavaScript",
|
|
285
285
|
"X-Fern-SDK-Name": "polytomic",
|
|
286
|
-
"X-Fern-SDK-Version": "1.
|
|
286
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
287
287
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
288
288
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
289
289
|
},
|
|
@@ -352,7 +352,7 @@ class Connections {
|
|
|
352
352
|
: undefined,
|
|
353
353
|
"X-Fern-Language": "JavaScript",
|
|
354
354
|
"X-Fern-SDK-Name": "polytomic",
|
|
355
|
-
"X-Fern-SDK-Version": "1.
|
|
355
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
356
356
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
357
357
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
358
358
|
},
|
|
@@ -431,7 +431,7 @@ class Connections {
|
|
|
431
431
|
: undefined,
|
|
432
432
|
"X-Fern-Language": "JavaScript",
|
|
433
433
|
"X-Fern-SDK-Name": "polytomic",
|
|
434
|
-
"X-Fern-SDK-Version": "1.
|
|
434
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
435
435
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
436
436
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
437
437
|
},
|
|
@@ -514,7 +514,7 @@ class Connections {
|
|
|
514
514
|
: undefined,
|
|
515
515
|
"X-Fern-Language": "JavaScript",
|
|
516
516
|
"X-Fern-SDK-Name": "polytomic",
|
|
517
|
-
"X-Fern-SDK-Version": "1.
|
|
517
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
518
518
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
519
519
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
520
520
|
},
|
|
@@ -585,7 +585,7 @@ class Connections {
|
|
|
585
585
|
: undefined,
|
|
586
586
|
"X-Fern-Language": "JavaScript",
|
|
587
587
|
"X-Fern-SDK-Name": "polytomic",
|
|
588
|
-
"X-Fern-SDK-Version": "1.
|
|
588
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
589
589
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
590
590
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
591
591
|
},
|
|
@@ -93,7 +93,7 @@ class Events {
|
|
|
93
93
|
: undefined,
|
|
94
94
|
"X-Fern-Language": "JavaScript",
|
|
95
95
|
"X-Fern-SDK-Name": "polytomic",
|
|
96
|
-
"X-Fern-SDK-Version": "1.
|
|
96
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
97
97
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
98
98
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
99
99
|
},
|
|
@@ -157,7 +157,7 @@ class Events {
|
|
|
157
157
|
: undefined,
|
|
158
158
|
"X-Fern-Language": "JavaScript",
|
|
159
159
|
"X-Fern-SDK-Name": "polytomic",
|
|
160
|
-
"X-Fern-SDK-Version": "1.
|
|
160
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
161
161
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
162
162
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
163
163
|
},
|
|
@@ -70,7 +70,7 @@ class Identity {
|
|
|
70
70
|
: undefined,
|
|
71
71
|
"X-Fern-Language": "JavaScript",
|
|
72
72
|
"X-Fern-SDK-Name": "polytomic",
|
|
73
|
-
"X-Fern-SDK-Version": "1.
|
|
73
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
74
74
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
75
75
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
76
76
|
},
|
package/api/resources/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ export * as bulkSync from "./bulkSync";
|
|
|
2
2
|
export * from "./bulkSync/types";
|
|
3
3
|
export * as connections from "./connections";
|
|
4
4
|
export * as queryRunner from "./queryRunner";
|
|
5
|
+
export * as models from "./models";
|
|
5
6
|
export * as modelSync from "./modelSync";
|
|
6
7
|
export * as schemas from "./schemas";
|
|
7
|
-
export * as models from "./models";
|
|
8
8
|
export * as events from "./events";
|
|
9
9
|
export * as jobs from "./jobs";
|
|
10
10
|
export * as identity from "./identity";
|
|
@@ -15,8 +15,8 @@ export * as webhooks from "./webhooks";
|
|
|
15
15
|
export * from "./bulkSync/client/requests";
|
|
16
16
|
export * from "./connections/client/requests";
|
|
17
17
|
export * from "./queryRunner/client/requests";
|
|
18
|
-
export * from "./modelSync/client/requests";
|
|
19
18
|
export * from "./models/client/requests";
|
|
19
|
+
export * from "./modelSync/client/requests";
|
|
20
20
|
export * from "./events/client/requests";
|
|
21
21
|
export * from "./organization/client/requests";
|
|
22
22
|
export * from "./users/client/requests";
|
package/api/resources/index.js
CHANGED
|
@@ -26,14 +26,14 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.webhooks = exports.permissions = exports.users = exports.organization = exports.identity = exports.jobs = exports.events = exports.
|
|
29
|
+
exports.webhooks = exports.permissions = exports.users = exports.organization = exports.identity = exports.jobs = exports.events = exports.schemas = exports.modelSync = exports.models = exports.queryRunner = exports.connections = exports.bulkSync = void 0;
|
|
30
30
|
exports.bulkSync = __importStar(require("./bulkSync"));
|
|
31
31
|
__exportStar(require("./bulkSync/types"), exports);
|
|
32
32
|
exports.connections = __importStar(require("./connections"));
|
|
33
33
|
exports.queryRunner = __importStar(require("./queryRunner"));
|
|
34
|
+
exports.models = __importStar(require("./models"));
|
|
34
35
|
exports.modelSync = __importStar(require("./modelSync"));
|
|
35
36
|
exports.schemas = __importStar(require("./schemas"));
|
|
36
|
-
exports.models = __importStar(require("./models"));
|
|
37
37
|
exports.events = __importStar(require("./events"));
|
|
38
38
|
exports.jobs = __importStar(require("./jobs"));
|
|
39
39
|
exports.identity = __importStar(require("./identity"));
|
|
@@ -44,8 +44,8 @@ exports.webhooks = __importStar(require("./webhooks"));
|
|
|
44
44
|
__exportStar(require("./bulkSync/client/requests"), exports);
|
|
45
45
|
__exportStar(require("./connections/client/requests"), exports);
|
|
46
46
|
__exportStar(require("./queryRunner/client/requests"), exports);
|
|
47
|
-
__exportStar(require("./modelSync/client/requests"), exports);
|
|
48
47
|
__exportStar(require("./models/client/requests"), exports);
|
|
48
|
+
__exportStar(require("./modelSync/client/requests"), exports);
|
|
49
49
|
__exportStar(require("./events/client/requests"), exports);
|
|
50
50
|
__exportStar(require("./organization/client/requests"), exports);
|
|
51
51
|
__exportStar(require("./users/client/requests"), exports);
|
|
@@ -74,7 +74,7 @@ class Jobs {
|
|
|
74
74
|
: undefined,
|
|
75
75
|
"X-Fern-Language": "JavaScript",
|
|
76
76
|
"X-Fern-SDK-Name": "polytomic",
|
|
77
|
-
"X-Fern-SDK-Version": "1.
|
|
77
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
78
78
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
79
79
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
80
80
|
},
|
|
@@ -87,16 +87,35 @@ export declare class ModelSync {
|
|
|
87
87
|
*/
|
|
88
88
|
getTargetFields(id: string, request: Polytomic.ModelSyncGetTargetFieldsRequest, requestOptions?: ModelSync.RequestOptions): Promise<Polytomic.TargetResponseEnvelope>;
|
|
89
89
|
/**
|
|
90
|
+
* @param {string} id
|
|
91
|
+
* @param {ModelSync.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
94
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
95
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
96
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
97
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* await client.modelSync.getTargetObjects("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
101
|
+
*/
|
|
102
|
+
getTargetObjects(id: string, requestOptions?: ModelSync.RequestOptions): Promise<Polytomic.V4TargetObjectsResponseEnvelope>;
|
|
103
|
+
/**
|
|
104
|
+
* @param {Polytomic.ModelSyncListRequest} request
|
|
90
105
|
* @param {ModelSync.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
106
|
*
|
|
107
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
92
108
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
93
109
|
* @throws {@link Polytomic.NotFoundError}
|
|
94
110
|
* @throws {@link Polytomic.InternalServerError}
|
|
95
111
|
*
|
|
96
112
|
* @example
|
|
97
|
-
* await client.modelSync.list(
|
|
113
|
+
* await client.modelSync.list({
|
|
114
|
+
* active: true,
|
|
115
|
+
* target_connection_id: "0b155265-c537-44c9-9359-a3ceb468a4da"
|
|
116
|
+
* })
|
|
98
117
|
*/
|
|
99
|
-
list(requestOptions?: ModelSync.RequestOptions): Promise<Polytomic.ListModelSyncResponseEnvelope>;
|
|
118
|
+
list(request?: Polytomic.ModelSyncListRequest, requestOptions?: ModelSync.RequestOptions): Promise<Polytomic.ListModelSyncResponseEnvelope>;
|
|
100
119
|
/**
|
|
101
120
|
* @param {Polytomic.CreateModelSyncRequest} request
|
|
102
121
|
* @param {ModelSync.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -81,7 +81,7 @@ class ModelSync {
|
|
|
81
81
|
: undefined,
|
|
82
82
|
"X-Fern-Language": "JavaScript",
|
|
83
83
|
"X-Fern-SDK-Name": "polytomic",
|
|
84
|
-
"X-Fern-SDK-Version": "1.
|
|
84
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
85
85
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
86
86
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
87
87
|
},
|
|
@@ -154,7 +154,7 @@ class ModelSync {
|
|
|
154
154
|
: undefined,
|
|
155
155
|
"X-Fern-Language": "JavaScript",
|
|
156
156
|
"X-Fern-SDK-Name": "polytomic",
|
|
157
|
-
"X-Fern-SDK-Version": "1.
|
|
157
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
158
158
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
159
159
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
160
160
|
},
|
|
@@ -235,7 +235,7 @@ class ModelSync {
|
|
|
235
235
|
: undefined,
|
|
236
236
|
"X-Fern-Language": "JavaScript",
|
|
237
237
|
"X-Fern-SDK-Name": "polytomic",
|
|
238
|
-
"X-Fern-SDK-Version": "1.
|
|
238
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
239
239
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
240
240
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
241
241
|
},
|
|
@@ -317,7 +317,7 @@ class ModelSync {
|
|
|
317
317
|
: undefined,
|
|
318
318
|
"X-Fern-Language": "JavaScript",
|
|
319
319
|
"X-Fern-SDK-Name": "polytomic",
|
|
320
|
-
"X-Fern-SDK-Version": "1.
|
|
320
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
321
321
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
322
322
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
323
323
|
},
|
|
@@ -363,18 +363,106 @@ class ModelSync {
|
|
|
363
363
|
});
|
|
364
364
|
}
|
|
365
365
|
/**
|
|
366
|
+
* @param {string} id
|
|
366
367
|
* @param {ModelSync.RequestOptions} requestOptions - Request-specific configuration.
|
|
367
368
|
*
|
|
369
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
368
370
|
* @throws {@link Polytomic.UnauthorizedError}
|
|
371
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
369
372
|
* @throws {@link Polytomic.NotFoundError}
|
|
370
373
|
* @throws {@link Polytomic.InternalServerError}
|
|
371
374
|
*
|
|
372
375
|
* @example
|
|
373
|
-
* await client.modelSync.
|
|
376
|
+
* await client.modelSync.getTargetObjects("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
374
377
|
*/
|
|
375
|
-
|
|
378
|
+
getTargetObjects(id, requestOptions) {
|
|
376
379
|
var _a;
|
|
377
380
|
return __awaiter(this, void 0, void 0, function* () {
|
|
381
|
+
const _response = yield core.fetcher({
|
|
382
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, `api/connections/${encodeURIComponent(id)}/modelsync/targetobjects`),
|
|
383
|
+
method: "GET",
|
|
384
|
+
headers: {
|
|
385
|
+
Authorization: yield this._getAuthorizationHeader(),
|
|
386
|
+
"X-Polytomic-Version": (yield core.Supplier.get(this._options.version)) != null
|
|
387
|
+
? yield core.Supplier.get(this._options.version)
|
|
388
|
+
: undefined,
|
|
389
|
+
"X-Fern-Language": "JavaScript",
|
|
390
|
+
"X-Fern-SDK-Name": "polytomic",
|
|
391
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
392
|
+
"X-Fern-Runtime": core.RUNTIME.type,
|
|
393
|
+
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
394
|
+
},
|
|
395
|
+
contentType: "application/json",
|
|
396
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
397
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
398
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
399
|
+
});
|
|
400
|
+
if (_response.ok) {
|
|
401
|
+
return _response.body;
|
|
402
|
+
}
|
|
403
|
+
if (_response.error.reason === "status-code") {
|
|
404
|
+
switch (_response.error.statusCode) {
|
|
405
|
+
case 400:
|
|
406
|
+
throw new Polytomic.BadRequestError(_response.error.body);
|
|
407
|
+
case 401:
|
|
408
|
+
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
409
|
+
case 403:
|
|
410
|
+
throw new Polytomic.ForbiddenError(_response.error.body);
|
|
411
|
+
case 404:
|
|
412
|
+
throw new Polytomic.NotFoundError(_response.error.body);
|
|
413
|
+
case 500:
|
|
414
|
+
throw new Polytomic.InternalServerError(_response.error.body);
|
|
415
|
+
default:
|
|
416
|
+
throw new errors.PolytomicError({
|
|
417
|
+
statusCode: _response.error.statusCode,
|
|
418
|
+
body: _response.error.body,
|
|
419
|
+
});
|
|
420
|
+
}
|
|
421
|
+
}
|
|
422
|
+
switch (_response.error.reason) {
|
|
423
|
+
case "non-json":
|
|
424
|
+
throw new errors.PolytomicError({
|
|
425
|
+
statusCode: _response.error.statusCode,
|
|
426
|
+
body: _response.error.rawBody,
|
|
427
|
+
});
|
|
428
|
+
case "timeout":
|
|
429
|
+
throw new errors.PolytomicTimeoutError();
|
|
430
|
+
case "unknown":
|
|
431
|
+
throw new errors.PolytomicError({
|
|
432
|
+
message: _response.error.errorMessage,
|
|
433
|
+
});
|
|
434
|
+
}
|
|
435
|
+
});
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* @param {Polytomic.ModelSyncListRequest} request
|
|
439
|
+
* @param {ModelSync.RequestOptions} requestOptions - Request-specific configuration.
|
|
440
|
+
*
|
|
441
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
442
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
443
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
444
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
445
|
+
*
|
|
446
|
+
* @example
|
|
447
|
+
* await client.modelSync.list({
|
|
448
|
+
* active: true,
|
|
449
|
+
* target_connection_id: "0b155265-c537-44c9-9359-a3ceb468a4da"
|
|
450
|
+
* })
|
|
451
|
+
*/
|
|
452
|
+
list(request = {}, requestOptions) {
|
|
453
|
+
var _a;
|
|
454
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
455
|
+
const { active, mode, target_connection_id: targetConnectionId } = request;
|
|
456
|
+
const _queryParams = {};
|
|
457
|
+
if (active != null) {
|
|
458
|
+
_queryParams["active"] = active.toString();
|
|
459
|
+
}
|
|
460
|
+
if (mode != null) {
|
|
461
|
+
_queryParams["mode"] = mode;
|
|
462
|
+
}
|
|
463
|
+
if (targetConnectionId != null) {
|
|
464
|
+
_queryParams["target_connection_id"] = targetConnectionId;
|
|
465
|
+
}
|
|
378
466
|
const _response = yield core.fetcher({
|
|
379
467
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.PolytomicEnvironment.Default, "api/syncs"),
|
|
380
468
|
method: "GET",
|
|
@@ -385,11 +473,12 @@ class ModelSync {
|
|
|
385
473
|
: undefined,
|
|
386
474
|
"X-Fern-Language": "JavaScript",
|
|
387
475
|
"X-Fern-SDK-Name": "polytomic",
|
|
388
|
-
"X-Fern-SDK-Version": "1.
|
|
476
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
389
477
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
390
478
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
391
479
|
},
|
|
392
480
|
contentType: "application/json",
|
|
481
|
+
queryParameters: _queryParams,
|
|
393
482
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
394
483
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
395
484
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -399,6 +488,8 @@ class ModelSync {
|
|
|
399
488
|
}
|
|
400
489
|
if (_response.error.reason === "status-code") {
|
|
401
490
|
switch (_response.error.statusCode) {
|
|
491
|
+
case 400:
|
|
492
|
+
throw new Polytomic.BadRequestError(_response.error.body);
|
|
402
493
|
case 401:
|
|
403
494
|
throw new Polytomic.UnauthorizedError(_response.error.body);
|
|
404
495
|
case 404:
|
|
@@ -464,7 +555,7 @@ class ModelSync {
|
|
|
464
555
|
: undefined,
|
|
465
556
|
"X-Fern-Language": "JavaScript",
|
|
466
557
|
"X-Fern-SDK-Name": "polytomic",
|
|
467
|
-
"X-Fern-SDK-Version": "1.
|
|
558
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
468
559
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
469
560
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
470
561
|
},
|
|
@@ -533,7 +624,7 @@ class ModelSync {
|
|
|
533
624
|
: undefined,
|
|
534
625
|
"X-Fern-Language": "JavaScript",
|
|
535
626
|
"X-Fern-SDK-Name": "polytomic",
|
|
536
|
-
"X-Fern-SDK-Version": "1.
|
|
627
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
537
628
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
538
629
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
539
630
|
},
|
|
@@ -597,7 +688,7 @@ class ModelSync {
|
|
|
597
688
|
: undefined,
|
|
598
689
|
"X-Fern-Language": "JavaScript",
|
|
599
690
|
"X-Fern-SDK-Name": "polytomic",
|
|
600
|
-
"X-Fern-SDK-Version": "1.
|
|
691
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
601
692
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
602
693
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
603
694
|
},
|
|
@@ -678,7 +769,7 @@ class ModelSync {
|
|
|
678
769
|
: undefined,
|
|
679
770
|
"X-Fern-Language": "JavaScript",
|
|
680
771
|
"X-Fern-SDK-Name": "polytomic",
|
|
681
|
-
"X-Fern-SDK-Version": "1.
|
|
772
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
682
773
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
683
774
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
684
775
|
},
|
|
@@ -752,7 +843,7 @@ class ModelSync {
|
|
|
752
843
|
: undefined,
|
|
753
844
|
"X-Fern-Language": "JavaScript",
|
|
754
845
|
"X-Fern-SDK-Name": "polytomic",
|
|
755
|
-
"X-Fern-SDK-Version": "1.
|
|
846
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
756
847
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
757
848
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
758
849
|
},
|
|
@@ -824,7 +915,7 @@ class ModelSync {
|
|
|
824
915
|
: undefined,
|
|
825
916
|
"X-Fern-Language": "JavaScript",
|
|
826
917
|
"X-Fern-SDK-Name": "polytomic",
|
|
827
|
-
"X-Fern-SDK-Version": "1.
|
|
918
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
828
919
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
829
920
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
830
921
|
},
|
|
@@ -900,7 +991,7 @@ class ModelSync {
|
|
|
900
991
|
: undefined,
|
|
901
992
|
"X-Fern-Language": "JavaScript",
|
|
902
993
|
"X-Fern-SDK-Name": "polytomic",
|
|
903
|
-
"X-Fern-SDK-Version": "1.
|
|
994
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
904
995
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
905
996
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
906
997
|
},
|
|
@@ -971,7 +1062,7 @@ class ModelSync {
|
|
|
971
1062
|
: undefined,
|
|
972
1063
|
"X-Fern-Language": "JavaScript",
|
|
973
1064
|
"X-Fern-SDK-Name": "polytomic",
|
|
974
|
-
"X-Fern-SDK-Version": "1.
|
|
1065
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
975
1066
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
976
1067
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
977
1068
|
},
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Polytomic from "../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* active: true,
|
|
9
|
+
* target_connection_id: "0b155265-c537-44c9-9359-a3ceb468a4da"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface ModelSyncListRequest {
|
|
13
|
+
active?: boolean;
|
|
14
|
+
mode?: Polytomic.SyncMode;
|
|
15
|
+
target_connection_id?: string;
|
|
16
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { type ModelSyncGetSourceRequest } from "./ModelSyncGetSourceRequest";
|
|
2
2
|
export { type ModelSyncGetTargetRequest } from "./ModelSyncGetTargetRequest";
|
|
3
3
|
export { type ModelSyncGetTargetFieldsRequest } from "./ModelSyncGetTargetFieldsRequest";
|
|
4
|
+
export { type ModelSyncListRequest } from "./ModelSyncListRequest";
|
|
4
5
|
export { type CreateModelSyncRequest } from "./CreateModelSyncRequest";
|
|
5
6
|
export { type UpdateModelSyncRequest } from "./UpdateModelSyncRequest";
|
|
6
7
|
export { type StartModelSyncRequest } from "./StartModelSyncRequest";
|
|
@@ -51,7 +51,7 @@ export declare class Executions {
|
|
|
51
51
|
/**
|
|
52
52
|
* @param {string} syncId
|
|
53
53
|
* @param {string} id
|
|
54
|
-
* @param {
|
|
54
|
+
* @param {Polytomic.V2ExecutionLogType} type
|
|
55
55
|
* @param {Executions.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
56
|
*
|
|
57
57
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -60,13 +60,13 @@ export declare class Executions {
|
|
|
60
60
|
* @throws {@link Polytomic.InternalServerError}
|
|
61
61
|
*
|
|
62
62
|
* @example
|
|
63
|
-
* await client.modelSync.executions.getLogUrls("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
63
|
+
* await client.modelSync.executions.getLogUrls("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", Polytomic.V2ExecutionLogType.Records)
|
|
64
64
|
*/
|
|
65
|
-
getLogUrls(syncId: string, id: string, type:
|
|
65
|
+
getLogUrls(syncId: string, id: string, type: Polytomic.V2ExecutionLogType, requestOptions?: Executions.RequestOptions): Promise<Polytomic.ExecutionLogsResponseEnvelope>;
|
|
66
66
|
/**
|
|
67
67
|
* @param {string} syncId
|
|
68
68
|
* @param {string} id
|
|
69
|
-
* @param {
|
|
69
|
+
* @param {Polytomic.V2ExecutionLogType} type
|
|
70
70
|
* @param {string} filename
|
|
71
71
|
* @param {Executions.RequestOptions} requestOptions - Request-specific configuration.
|
|
72
72
|
*
|
|
@@ -76,8 +76,8 @@ export declare class Executions {
|
|
|
76
76
|
* @throws {@link Polytomic.InternalServerError}
|
|
77
77
|
*
|
|
78
78
|
* @example
|
|
79
|
-
* await client.modelSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "
|
|
79
|
+
* await client.modelSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", Polytomic.V2ExecutionLogType.Records, "path/to/file.json")
|
|
80
80
|
*/
|
|
81
|
-
getLogs(syncId: string, id: string, type:
|
|
81
|
+
getLogs(syncId: string, id: string, type: Polytomic.V2ExecutionLogType, filename: string, requestOptions?: Executions.RequestOptions): Promise<void>;
|
|
82
82
|
protected _getAuthorizationHeader(): Promise<string>;
|
|
83
83
|
}
|
|
@@ -71,7 +71,7 @@ class Executions {
|
|
|
71
71
|
: undefined,
|
|
72
72
|
"X-Fern-Language": "JavaScript",
|
|
73
73
|
"X-Fern-SDK-Name": "polytomic",
|
|
74
|
-
"X-Fern-SDK-Version": "1.
|
|
74
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
75
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
76
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
77
77
|
},
|
|
@@ -136,7 +136,7 @@ class Executions {
|
|
|
136
136
|
: undefined,
|
|
137
137
|
"X-Fern-Language": "JavaScript",
|
|
138
138
|
"X-Fern-SDK-Name": "polytomic",
|
|
139
|
-
"X-Fern-SDK-Version": "1.
|
|
139
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
140
140
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
141
141
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
142
142
|
},
|
|
@@ -181,7 +181,7 @@ class Executions {
|
|
|
181
181
|
/**
|
|
182
182
|
* @param {string} syncId
|
|
183
183
|
* @param {string} id
|
|
184
|
-
* @param {
|
|
184
|
+
* @param {Polytomic.V2ExecutionLogType} type
|
|
185
185
|
* @param {Executions.RequestOptions} requestOptions - Request-specific configuration.
|
|
186
186
|
*
|
|
187
187
|
* @throws {@link Polytomic.BadRequestError}
|
|
@@ -190,7 +190,7 @@ class Executions {
|
|
|
190
190
|
* @throws {@link Polytomic.InternalServerError}
|
|
191
191
|
*
|
|
192
192
|
* @example
|
|
193
|
-
* await client.modelSync.executions.getLogUrls("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d",
|
|
193
|
+
* await client.modelSync.executions.getLogUrls("248df4b7-aa70-47b8-a036-33ac447e668d", "248df4b7-aa70-47b8-a036-33ac447e668d", Polytomic.V2ExecutionLogType.Records)
|
|
194
194
|
*/
|
|
195
195
|
getLogUrls(syncId, id, type, requestOptions) {
|
|
196
196
|
var _a;
|
|
@@ -205,7 +205,7 @@ class Executions {
|
|
|
205
205
|
: undefined,
|
|
206
206
|
"X-Fern-Language": "JavaScript",
|
|
207
207
|
"X-Fern-SDK-Name": "polytomic",
|
|
208
|
-
"X-Fern-SDK-Version": "1.
|
|
208
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
209
209
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
210
210
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
211
211
|
},
|
|
@@ -252,7 +252,7 @@ class Executions {
|
|
|
252
252
|
/**
|
|
253
253
|
* @param {string} syncId
|
|
254
254
|
* @param {string} id
|
|
255
|
-
* @param {
|
|
255
|
+
* @param {Polytomic.V2ExecutionLogType} type
|
|
256
256
|
* @param {string} filename
|
|
257
257
|
* @param {Executions.RequestOptions} requestOptions - Request-specific configuration.
|
|
258
258
|
*
|
|
@@ -262,7 +262,7 @@ class Executions {
|
|
|
262
262
|
* @throws {@link Polytomic.InternalServerError}
|
|
263
263
|
*
|
|
264
264
|
* @example
|
|
265
|
-
* await client.modelSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "
|
|
265
|
+
* await client.modelSync.executions.getLogs("248df4b7-aa70-47b8-a036-33ac447e668d", "0ecd09c1-b901-4d27-9053-f0367c427254", Polytomic.V2ExecutionLogType.Records, "path/to/file.json")
|
|
266
266
|
*/
|
|
267
267
|
getLogs(syncId, id, type, filename, requestOptions) {
|
|
268
268
|
var _a;
|
|
@@ -277,7 +277,7 @@ class Executions {
|
|
|
277
277
|
: undefined,
|
|
278
278
|
"X-Fern-Language": "JavaScript",
|
|
279
279
|
"X-Fern-SDK-Name": "polytomic",
|
|
280
|
-
"X-Fern-SDK-Version": "1.
|
|
280
|
+
"X-Fern-SDK-Version": "1.9.1",
|
|
281
281
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
282
282
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
283
283
|
},
|
|
@@ -24,6 +24,21 @@ export declare namespace Models {
|
|
|
24
24
|
export declare class Models {
|
|
25
25
|
protected readonly _options: Models.Options;
|
|
26
26
|
constructor(_options: Models.Options);
|
|
27
|
+
/**
|
|
28
|
+
* @param {string} id
|
|
29
|
+
* @param {Polytomic.ModelsGetEnrichmentSourceRequest} request
|
|
30
|
+
* @param {Models.RequestOptions} requestOptions - Request-specific configuration.
|
|
31
|
+
*
|
|
32
|
+
* @throws {@link Polytomic.BadRequestError}
|
|
33
|
+
* @throws {@link Polytomic.UnauthorizedError}
|
|
34
|
+
* @throws {@link Polytomic.ForbiddenError}
|
|
35
|
+
* @throws {@link Polytomic.NotFoundError}
|
|
36
|
+
* @throws {@link Polytomic.InternalServerError}
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* await client.models.getEnrichmentSource("248df4b7-aa70-47b8-a036-33ac447e668d")
|
|
40
|
+
*/
|
|
41
|
+
getEnrichmentSource(id: string, request?: Polytomic.ModelsGetEnrichmentSourceRequest, requestOptions?: Models.RequestOptions): Promise<Polytomic.GetModelSyncSourceMetaEnvelope>;
|
|
27
42
|
/**
|
|
28
43
|
* For a given connection and enrichment configuration, provides the valid sets of input fields.
|
|
29
44
|
*
|