polytomic 1.9.0 → 1.9.2

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.
Files changed (117) hide show
  1. package/Client.d.ts +3 -3
  2. package/Client.js +9 -9
  3. package/api/resources/bulkSync/client/Client.d.ts +5 -2
  4. package/api/resources/bulkSync/client/Client.js +21 -12
  5. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
  6. package/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
  7. package/api/resources/bulkSync/client/requests/index.d.ts +1 -0
  8. package/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
  9. package/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
  10. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
  11. package/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
  12. package/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  13. package/api/resources/bulkSync/resources/schemas/client/Client.js +4 -4
  14. package/api/resources/connections/client/Client.js +8 -8
  15. package/api/resources/events/client/Client.js +2 -2
  16. package/api/resources/identity/client/Client.js +1 -1
  17. package/api/resources/index.d.ts +2 -2
  18. package/api/resources/index.js +3 -3
  19. package/api/resources/jobs/client/Client.js +1 -1
  20. package/api/resources/modelSync/client/Client.d.ts +7 -2
  21. package/api/resources/modelSync/client/Client.js +35 -16
  22. package/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
  23. package/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
  24. package/api/resources/modelSync/client/requests/index.d.ts +1 -0
  25. package/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
  26. package/api/resources/modelSync/resources/executions/client/Client.js +8 -8
  27. package/api/resources/models/client/Client.d.ts +15 -0
  28. package/api/resources/models/client/Client.js +87 -8
  29. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
  30. package/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
  31. package/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -0
  32. package/api/resources/models/client/requests/index.d.ts +1 -0
  33. package/api/resources/organization/client/Client.js +5 -5
  34. package/api/resources/permissions/resources/policies/client/Client.js +5 -5
  35. package/api/resources/permissions/resources/roles/client/Client.js +5 -5
  36. package/api/resources/queryRunner/client/Client.js +2 -2
  37. package/api/resources/schemas/client/Client.js +4 -4
  38. package/api/resources/users/client/Client.js +6 -6
  39. package/api/resources/webhooks/client/Client.js +5 -5
  40. package/api/types/BulkSyncSchemaExecution.d.ts +1 -0
  41. package/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
  42. package/api/types/SchemaField.d.ts +3 -1
  43. package/api/types/TypesType.d.ts +4 -0
  44. package/api/types/TypesType.js +5 -0
  45. package/api/types/UtilFieldType.d.ts +13 -0
  46. package/api/types/UtilFieldType.js +15 -0
  47. package/api/types/V2ExecutionLogType.d.ts +12 -0
  48. package/api/types/V2ExecutionLogType.js +14 -0
  49. package/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
  50. package/api/types/V4BulkSyncExecutionLogs.js +5 -0
  51. package/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
  52. package/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
  53. package/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
  54. package/api/types/V4ExportSyncLogsEnvelope.js +5 -0
  55. package/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
  56. package/api/types/V4ExportSyncLogsResponse.js +5 -0
  57. package/api/types/index.d.ts +7 -0
  58. package/api/types/index.js +7 -0
  59. package/dist/Client.d.ts +3 -3
  60. package/dist/Client.js +9 -9
  61. package/dist/api/resources/bulkSync/client/Client.d.ts +5 -2
  62. package/dist/api/resources/bulkSync/client/Client.js +21 -12
  63. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.d.ts +12 -0
  64. package/dist/api/resources/bulkSync/client/requests/BulkSyncListRequest.js +5 -0
  65. package/dist/api/resources/bulkSync/client/requests/index.d.ts +1 -0
  66. package/dist/api/resources/bulkSync/resources/executions/client/Client.d.ts +27 -0
  67. package/dist/api/resources/bulkSync/resources/executions/client/Client.js +144 -3
  68. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.d.ts +13 -0
  69. package/dist/api/resources/bulkSync/resources/executions/client/requests/ExecutionsExportLogsRequest.js +5 -0
  70. package/dist/api/resources/bulkSync/resources/executions/client/requests/index.d.ts +1 -0
  71. package/dist/api/resources/bulkSync/resources/schemas/client/Client.js +4 -4
  72. package/dist/api/resources/connections/client/Client.js +8 -8
  73. package/dist/api/resources/events/client/Client.js +2 -2
  74. package/dist/api/resources/identity/client/Client.js +1 -1
  75. package/dist/api/resources/index.d.ts +2 -2
  76. package/dist/api/resources/index.js +3 -3
  77. package/dist/api/resources/jobs/client/Client.js +1 -1
  78. package/dist/api/resources/modelSync/client/Client.d.ts +7 -2
  79. package/dist/api/resources/modelSync/client/Client.js +35 -16
  80. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.d.ts +16 -0
  81. package/dist/api/resources/modelSync/client/requests/ModelSyncListRequest.js +5 -0
  82. package/dist/api/resources/modelSync/client/requests/index.d.ts +1 -0
  83. package/dist/api/resources/modelSync/resources/executions/client/Client.d.ts +6 -6
  84. package/dist/api/resources/modelSync/resources/executions/client/Client.js +8 -8
  85. package/dist/api/resources/models/client/Client.d.ts +15 -0
  86. package/dist/api/resources/models/client/Client.js +87 -8
  87. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.d.ts +10 -0
  88. package/dist/api/resources/models/client/requests/ModelsGetEnrichmentSourceRequest.js +5 -0
  89. package/dist/api/resources/models/client/requests/UpdateModelRequest.d.ts +1 -0
  90. package/dist/api/resources/models/client/requests/index.d.ts +1 -0
  91. package/dist/api/resources/organization/client/Client.js +5 -5
  92. package/dist/api/resources/permissions/resources/policies/client/Client.js +5 -5
  93. package/dist/api/resources/permissions/resources/roles/client/Client.js +5 -5
  94. package/dist/api/resources/queryRunner/client/Client.js +2 -2
  95. package/dist/api/resources/schemas/client/Client.js +4 -4
  96. package/dist/api/resources/users/client/Client.js +6 -6
  97. package/dist/api/resources/webhooks/client/Client.js +5 -5
  98. package/dist/api/types/BulkSyncSchemaExecution.d.ts +1 -0
  99. package/dist/api/types/BulkSyncSchemaExecutionStatus.d.ts +1 -0
  100. package/dist/api/types/SchemaField.d.ts +3 -1
  101. package/dist/api/types/TypesType.d.ts +4 -0
  102. package/dist/api/types/TypesType.js +5 -0
  103. package/dist/api/types/UtilFieldType.d.ts +13 -0
  104. package/dist/api/types/UtilFieldType.js +15 -0
  105. package/dist/api/types/V2ExecutionLogType.d.ts +12 -0
  106. package/dist/api/types/V2ExecutionLogType.js +14 -0
  107. package/dist/api/types/V4BulkSyncExecutionLogs.d.ts +4 -0
  108. package/dist/api/types/V4BulkSyncExecutionLogs.js +5 -0
  109. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.d.ts +7 -0
  110. package/dist/api/types/V4BulkSyncExecutionLogsEnvelope.js +5 -0
  111. package/dist/api/types/V4ExportSyncLogsEnvelope.d.ts +8 -0
  112. package/dist/api/types/V4ExportSyncLogsEnvelope.js +5 -0
  113. package/dist/api/types/V4ExportSyncLogsResponse.d.ts +6 -0
  114. package/dist/api/types/V4ExportSyncLogsResponse.js +5 -0
  115. package/dist/api/types/index.d.ts +7 -0
  116. package/dist/api/types/index.js +7 -0
  117. package/package.json +1 -1
@@ -70,7 +70,7 @@ class Policies {
70
70
  : undefined,
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "polytomic",
73
- "X-Fern-SDK-Version": "1.9.0",
73
+ "X-Fern-SDK-Version": "1.9.2",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -138,7 +138,7 @@ class Policies {
138
138
  : undefined,
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "polytomic",
141
- "X-Fern-SDK-Version": "1.9.0",
141
+ "X-Fern-SDK-Version": "1.9.2",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -209,7 +209,7 @@ class Policies {
209
209
  : undefined,
210
210
  "X-Fern-Language": "JavaScript",
211
211
  "X-Fern-SDK-Name": "polytomic",
212
- "X-Fern-SDK-Version": "1.9.0",
212
+ "X-Fern-SDK-Version": "1.9.2",
213
213
  "X-Fern-Runtime": core.RUNTIME.type,
214
214
  "X-Fern-Runtime-Version": core.RUNTIME.version,
215
215
  },
@@ -280,7 +280,7 @@ class Policies {
280
280
  : undefined,
281
281
  "X-Fern-Language": "JavaScript",
282
282
  "X-Fern-SDK-Name": "polytomic",
283
- "X-Fern-SDK-Version": "1.9.0",
283
+ "X-Fern-SDK-Version": "1.9.2",
284
284
  "X-Fern-Runtime": core.RUNTIME.type,
285
285
  "X-Fern-Runtime-Version": core.RUNTIME.version,
286
286
  },
@@ -352,7 +352,7 @@ class Policies {
352
352
  : undefined,
353
353
  "X-Fern-Language": "JavaScript",
354
354
  "X-Fern-SDK-Name": "polytomic",
355
- "X-Fern-SDK-Version": "1.9.0",
355
+ "X-Fern-SDK-Version": "1.9.2",
356
356
  "X-Fern-Runtime": core.RUNTIME.type,
357
357
  "X-Fern-Runtime-Version": core.RUNTIME.version,
358
358
  },
@@ -70,7 +70,7 @@ class Roles {
70
70
  : undefined,
71
71
  "X-Fern-Language": "JavaScript",
72
72
  "X-Fern-SDK-Name": "polytomic",
73
- "X-Fern-SDK-Version": "1.9.0",
73
+ "X-Fern-SDK-Version": "1.9.2",
74
74
  "X-Fern-Runtime": core.RUNTIME.type,
75
75
  "X-Fern-Runtime-Version": core.RUNTIME.version,
76
76
  },
@@ -138,7 +138,7 @@ class Roles {
138
138
  : undefined,
139
139
  "X-Fern-Language": "JavaScript",
140
140
  "X-Fern-SDK-Name": "polytomic",
141
- "X-Fern-SDK-Version": "1.9.0",
141
+ "X-Fern-SDK-Version": "1.9.2",
142
142
  "X-Fern-Runtime": core.RUNTIME.type,
143
143
  "X-Fern-Runtime-Version": core.RUNTIME.version,
144
144
  },
@@ -208,7 +208,7 @@ class Roles {
208
208
  : undefined,
209
209
  "X-Fern-Language": "JavaScript",
210
210
  "X-Fern-SDK-Name": "polytomic",
211
- "X-Fern-SDK-Version": "1.9.0",
211
+ "X-Fern-SDK-Version": "1.9.2",
212
212
  "X-Fern-Runtime": core.RUNTIME.type,
213
213
  "X-Fern-Runtime-Version": core.RUNTIME.version,
214
214
  },
@@ -277,7 +277,7 @@ class Roles {
277
277
  : undefined,
278
278
  "X-Fern-Language": "JavaScript",
279
279
  "X-Fern-SDK-Name": "polytomic",
280
- "X-Fern-SDK-Version": "1.9.0",
280
+ "X-Fern-SDK-Version": "1.9.2",
281
281
  "X-Fern-Runtime": core.RUNTIME.type,
282
282
  "X-Fern-Runtime-Version": core.RUNTIME.version,
283
283
  },
@@ -349,7 +349,7 @@ class Roles {
349
349
  : undefined,
350
350
  "X-Fern-Language": "JavaScript",
351
351
  "X-Fern-SDK-Name": "polytomic",
352
- "X-Fern-SDK-Version": "1.9.0",
352
+ "X-Fern-SDK-Version": "1.9.2",
353
353
  "X-Fern-Runtime": core.RUNTIME.type,
354
354
  "X-Fern-Runtime-Version": core.RUNTIME.version,
355
355
  },
@@ -92,7 +92,7 @@ class QueryRunner {
92
92
  : undefined,
93
93
  "X-Fern-Language": "JavaScript",
94
94
  "X-Fern-SDK-Name": "polytomic",
95
- "X-Fern-SDK-Version": "1.9.0",
95
+ "X-Fern-SDK-Version": "1.9.2",
96
96
  "X-Fern-Runtime": core.RUNTIME.type,
97
97
  "X-Fern-Runtime-Version": core.RUNTIME.version,
98
98
  },
@@ -169,7 +169,7 @@ class QueryRunner {
169
169
  : undefined,
170
170
  "X-Fern-Language": "JavaScript",
171
171
  "X-Fern-SDK-Name": "polytomic",
172
- "X-Fern-SDK-Version": "1.9.0",
172
+ "X-Fern-SDK-Version": "1.9.2",
173
173
  "X-Fern-Runtime": core.RUNTIME.type,
174
174
  "X-Fern-Runtime-Version": core.RUNTIME.version,
175
175
  },
@@ -73,7 +73,7 @@ class Schemas {
73
73
  : undefined,
74
74
  "X-Fern-Language": "JavaScript",
75
75
  "X-Fern-SDK-Name": "polytomic",
76
- "X-Fern-SDK-Version": "1.9.0",
76
+ "X-Fern-SDK-Version": "1.9.2",
77
77
  "X-Fern-Runtime": core.RUNTIME.type,
78
78
  "X-Fern-Runtime-Version": core.RUNTIME.version,
79
79
  },
@@ -142,7 +142,7 @@ class Schemas {
142
142
  : undefined,
143
143
  "X-Fern-Language": "JavaScript",
144
144
  "X-Fern-SDK-Name": "polytomic",
145
- "X-Fern-SDK-Version": "1.9.0",
145
+ "X-Fern-SDK-Version": "1.9.2",
146
146
  "X-Fern-Runtime": core.RUNTIME.type,
147
147
  "X-Fern-Runtime-Version": core.RUNTIME.version,
148
148
  },
@@ -212,7 +212,7 @@ class Schemas {
212
212
  : undefined,
213
213
  "X-Fern-Language": "JavaScript",
214
214
  "X-Fern-SDK-Name": "polytomic",
215
- "X-Fern-SDK-Version": "1.9.0",
215
+ "X-Fern-SDK-Version": "1.9.2",
216
216
  "X-Fern-Runtime": core.RUNTIME.type,
217
217
  "X-Fern-Runtime-Version": core.RUNTIME.version,
218
218
  },
@@ -283,7 +283,7 @@ class Schemas {
283
283
  : undefined,
284
284
  "X-Fern-Language": "JavaScript",
285
285
  "X-Fern-SDK-Name": "polytomic",
286
- "X-Fern-SDK-Version": "1.9.0",
286
+ "X-Fern-SDK-Version": "1.9.2",
287
287
  "X-Fern-Runtime": core.RUNTIME.type,
288
288
  "X-Fern-Runtime-Version": core.RUNTIME.version,
289
289
  },
@@ -75,7 +75,7 @@ class Users {
75
75
  : undefined,
76
76
  "X-Fern-Language": "JavaScript",
77
77
  "X-Fern-SDK-Name": "polytomic",
78
- "X-Fern-SDK-Version": "1.9.0",
78
+ "X-Fern-SDK-Version": "1.9.2",
79
79
  "X-Fern-Runtime": core.RUNTIME.type,
80
80
  "X-Fern-Runtime-Version": core.RUNTIME.version,
81
81
  },
@@ -146,7 +146,7 @@ class Users {
146
146
  : undefined,
147
147
  "X-Fern-Language": "JavaScript",
148
148
  "X-Fern-SDK-Name": "polytomic",
149
- "X-Fern-SDK-Version": "1.9.0",
149
+ "X-Fern-SDK-Version": "1.9.2",
150
150
  "X-Fern-Runtime": core.RUNTIME.type,
151
151
  "X-Fern-Runtime-Version": core.RUNTIME.version,
152
152
  },
@@ -218,7 +218,7 @@ class Users {
218
218
  : undefined,
219
219
  "X-Fern-Language": "JavaScript",
220
220
  "X-Fern-SDK-Name": "polytomic",
221
- "X-Fern-SDK-Version": "1.9.0",
221
+ "X-Fern-SDK-Version": "1.9.2",
222
222
  "X-Fern-Runtime": core.RUNTIME.type,
223
223
  "X-Fern-Runtime-Version": core.RUNTIME.version,
224
224
  },
@@ -292,7 +292,7 @@ class Users {
292
292
  : undefined,
293
293
  "X-Fern-Language": "JavaScript",
294
294
  "X-Fern-SDK-Name": "polytomic",
295
- "X-Fern-SDK-Version": "1.9.0",
295
+ "X-Fern-SDK-Version": "1.9.2",
296
296
  "X-Fern-Runtime": core.RUNTIME.type,
297
297
  "X-Fern-Runtime-Version": core.RUNTIME.version,
298
298
  },
@@ -364,7 +364,7 @@ class Users {
364
364
  : undefined,
365
365
  "X-Fern-Language": "JavaScript",
366
366
  "X-Fern-SDK-Name": "polytomic",
367
- "X-Fern-SDK-Version": "1.9.0",
367
+ "X-Fern-SDK-Version": "1.9.2",
368
368
  "X-Fern-Runtime": core.RUNTIME.type,
369
369
  "X-Fern-Runtime-Version": core.RUNTIME.version,
370
370
  },
@@ -443,7 +443,7 @@ class Users {
443
443
  : undefined,
444
444
  "X-Fern-Language": "JavaScript",
445
445
  "X-Fern-SDK-Name": "polytomic",
446
- "X-Fern-SDK-Version": "1.9.0",
446
+ "X-Fern-SDK-Version": "1.9.2",
447
447
  "X-Fern-Runtime": core.RUNTIME.type,
448
448
  "X-Fern-Runtime-Version": core.RUNTIME.version,
449
449
  },
@@ -76,7 +76,7 @@ class Webhooks {
76
76
  : undefined,
77
77
  "X-Fern-Language": "JavaScript",
78
78
  "X-Fern-SDK-Name": "polytomic",
79
- "X-Fern-SDK-Version": "1.9.0",
79
+ "X-Fern-SDK-Version": "1.9.2",
80
80
  "X-Fern-Runtime": core.RUNTIME.type,
81
81
  "X-Fern-Runtime-Version": core.RUNTIME.version,
82
82
  },
@@ -149,7 +149,7 @@ class Webhooks {
149
149
  : undefined,
150
150
  "X-Fern-Language": "JavaScript",
151
151
  "X-Fern-SDK-Name": "polytomic",
152
- "X-Fern-SDK-Version": "1.9.0",
152
+ "X-Fern-SDK-Version": "1.9.2",
153
153
  "X-Fern-Runtime": core.RUNTIME.type,
154
154
  "X-Fern-Runtime-Version": core.RUNTIME.version,
155
155
  },
@@ -221,7 +221,7 @@ class Webhooks {
221
221
  : undefined,
222
222
  "X-Fern-Language": "JavaScript",
223
223
  "X-Fern-SDK-Name": "polytomic",
224
- "X-Fern-SDK-Version": "1.9.0",
224
+ "X-Fern-SDK-Version": "1.9.2",
225
225
  "X-Fern-Runtime": core.RUNTIME.type,
226
226
  "X-Fern-Runtime-Version": core.RUNTIME.version,
227
227
  },
@@ -295,7 +295,7 @@ class Webhooks {
295
295
  : undefined,
296
296
  "X-Fern-Language": "JavaScript",
297
297
  "X-Fern-SDK-Name": "polytomic",
298
- "X-Fern-SDK-Version": "1.9.0",
298
+ "X-Fern-SDK-Version": "1.9.2",
299
299
  "X-Fern-Runtime": core.RUNTIME.type,
300
300
  "X-Fern-Runtime-Version": core.RUNTIME.version,
301
301
  },
@@ -362,7 +362,7 @@ class Webhooks {
362
362
  : undefined,
363
363
  "X-Fern-Language": "JavaScript",
364
364
  "X-Fern-SDK-Name": "polytomic",
365
- "X-Fern-SDK-Version": "1.9.0",
365
+ "X-Fern-SDK-Version": "1.9.2",
366
366
  "X-Fern-Runtime": core.RUNTIME.type,
367
367
  "X-Fern-Runtime-Version": core.RUNTIME.version,
368
368
  },
@@ -10,4 +10,5 @@ export interface BulkSyncSchemaExecution {
10
10
  started_at?: string;
11
11
  status?: Polytomic.BulkSchemaExecutionStatus;
12
12
  status_message?: string;
13
+ warning_count?: number;
13
14
  }
@@ -12,4 +12,5 @@ export interface BulkSyncSchemaExecutionStatus {
12
12
  started_at?: string;
13
13
  status?: Polytomic.BulkSchemaExecutionStatus;
14
14
  status_message?: string;
15
+ warning_count?: number;
15
16
  }
@@ -6,7 +6,9 @@ export interface SchemaField {
6
6
  association?: Polytomic.SchemaAssociation;
7
7
  id?: string;
8
8
  name?: string;
9
+ /** The type of the field from the remote system. */
9
10
  remote_type?: string;
10
- type?: string;
11
+ type?: Polytomic.UtilFieldType;
12
+ type_spec?: Polytomic.TypesType | undefined;
11
13
  values?: Polytomic.PickValue[];
12
14
  }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type TypesType = unknown;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type UtilFieldType = "unknown" | "string" | "number" | "boolean" | "datetime" | "array" | "object";
5
+ export declare const UtilFieldType: {
6
+ readonly Unknown: "unknown";
7
+ readonly String: "string";
8
+ readonly Number: "number";
9
+ readonly Boolean: "boolean";
10
+ readonly Datetime: "datetime";
11
+ readonly Array: "array";
12
+ readonly Object: "object";
13
+ };
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.UtilFieldType = void 0;
7
+ exports.UtilFieldType = {
8
+ Unknown: "unknown",
9
+ String: "string",
10
+ Number: "number",
11
+ Boolean: "boolean",
12
+ Datetime: "datetime",
13
+ Array: "array",
14
+ Object: "object",
15
+ };
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type V2ExecutionLogType = "records" | "errors" | "warnings" | "inserts" | "updates" | "deletes";
5
+ export declare const V2ExecutionLogType: {
6
+ readonly Records: "records";
7
+ readonly Errors: "errors";
8
+ readonly Warnings: "warnings";
9
+ readonly Inserts: "inserts";
10
+ readonly Updates: "updates";
11
+ readonly Deletes: "deletes";
12
+ };
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.V2ExecutionLogType = void 0;
7
+ exports.V2ExecutionLogType = {
8
+ Records: "records",
9
+ Errors: "errors",
10
+ Warnings: "warnings",
11
+ Inserts: "inserts",
12
+ Updates: "updates",
13
+ Deletes: "deletes",
14
+ };
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export declare type V4BulkSyncExecutionLogs = Record<string, unknown>;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,7 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4BulkSyncExecutionLogsEnvelope {
6
+ data?: Polytomic.V4BulkSyncExecutionLogs;
7
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ import * as Polytomic from "../index";
5
+ export interface V4ExportSyncLogsEnvelope {
6
+ data?: Polytomic.V4ExportSyncLogsResponse;
7
+ job?: Polytomic.JobResponse;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,6 @@
1
+ /**
2
+ * This file was auto-generated from our API Definition.
3
+ */
4
+ export interface V4ExportSyncLogsResponse {
5
+ url?: string;
6
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -29,7 +29,9 @@ export * from "./ScheduleScheduleOption";
29
29
  export * from "./SchemaAssociation";
30
30
  export * from "./SchemaIdentityFunction";
31
31
  export * from "./SyncDestinationProperties";
32
+ export * from "./TypesType";
32
33
  export * from "./ExecutionStatus";
34
+ export * from "./UtilFieldType";
33
35
  export * from "./SyncMode";
34
36
  export * from "./ApiKeyResponse";
35
37
  export * from "./ApiKeyResponseEnvelope";
@@ -66,6 +68,7 @@ export * from "./EventTypesEnvelope";
66
68
  export * from "./EventsEnvelope";
67
69
  export * from "./ExecutionCounts";
68
70
  export * from "./ExecutionLogResponse";
71
+ export * from "./V2ExecutionLogType";
69
72
  export * from "./ExecutionLogsResponseEnvelope";
70
73
  export * from "./FieldConfiguration";
71
74
  export * from "./Filter";
@@ -149,8 +152,12 @@ export * from "./PickValue";
149
152
  export * from "./Schema";
150
153
  export * from "./SchemaField";
151
154
  export * from "./SchemaRecordsResponseEnvelope";
155
+ export * from "./V4BulkSyncExecutionLogs";
156
+ export * from "./V4BulkSyncExecutionLogsEnvelope";
152
157
  export * from "./BulkSyncExecutionStatus";
153
158
  export * from "./BulkSyncSchemaExecutionStatus";
159
+ export * from "./V4ExportSyncLogsEnvelope";
160
+ export * from "./V4ExportSyncLogsResponse";
154
161
  export * from "./GetModelSyncSourceMetaEnvelope";
155
162
  export * from "./ListBulkSyncExecutionStatusEnvelope";
156
163
  export * from "./V4QueryResultsEnvelope";
@@ -45,7 +45,9 @@ __exportStar(require("./ScheduleScheduleOption"), exports);
45
45
  __exportStar(require("./SchemaAssociation"), exports);
46
46
  __exportStar(require("./SchemaIdentityFunction"), exports);
47
47
  __exportStar(require("./SyncDestinationProperties"), exports);
48
+ __exportStar(require("./TypesType"), exports);
48
49
  __exportStar(require("./ExecutionStatus"), exports);
50
+ __exportStar(require("./UtilFieldType"), exports);
49
51
  __exportStar(require("./SyncMode"), exports);
50
52
  __exportStar(require("./ApiKeyResponse"), exports);
51
53
  __exportStar(require("./ApiKeyResponseEnvelope"), exports);
@@ -82,6 +84,7 @@ __exportStar(require("./EventTypesEnvelope"), exports);
82
84
  __exportStar(require("./EventsEnvelope"), exports);
83
85
  __exportStar(require("./ExecutionCounts"), exports);
84
86
  __exportStar(require("./ExecutionLogResponse"), exports);
87
+ __exportStar(require("./V2ExecutionLogType"), exports);
85
88
  __exportStar(require("./ExecutionLogsResponseEnvelope"), exports);
86
89
  __exportStar(require("./FieldConfiguration"), exports);
87
90
  __exportStar(require("./Filter"), exports);
@@ -165,8 +168,12 @@ __exportStar(require("./PickValue"), exports);
165
168
  __exportStar(require("./Schema"), exports);
166
169
  __exportStar(require("./SchemaField"), exports);
167
170
  __exportStar(require("./SchemaRecordsResponseEnvelope"), exports);
171
+ __exportStar(require("./V4BulkSyncExecutionLogs"), exports);
172
+ __exportStar(require("./V4BulkSyncExecutionLogsEnvelope"), exports);
168
173
  __exportStar(require("./BulkSyncExecutionStatus"), exports);
169
174
  __exportStar(require("./BulkSyncSchemaExecutionStatus"), exports);
175
+ __exportStar(require("./V4ExportSyncLogsEnvelope"), exports);
176
+ __exportStar(require("./V4ExportSyncLogsResponse"), exports);
170
177
  __exportStar(require("./GetModelSyncSourceMetaEnvelope"), exports);
171
178
  __exportStar(require("./ListBulkSyncExecutionStatusEnvelope"), exports);
172
179
  __exportStar(require("./V4QueryResultsEnvelope"), exports);
package/dist/Client.d.ts CHANGED
@@ -6,9 +6,9 @@ import * as core from "./core";
6
6
  import { BulkSync } from "./api/resources/bulkSync/client/Client";
7
7
  import { Connections } from "./api/resources/connections/client/Client";
8
8
  import { QueryRunner } from "./api/resources/queryRunner/client/Client";
9
+ import { Models } from "./api/resources/models/client/Client";
9
10
  import { ModelSync } from "./api/resources/modelSync/client/Client";
10
11
  import { Schemas } from "./api/resources/schemas/client/Client";
11
- import { Models } from "./api/resources/models/client/Client";
12
12
  import { Events } from "./api/resources/events/client/Client";
13
13
  import { Jobs } from "./api/resources/jobs/client/Client";
14
14
  import { Identity } from "./api/resources/identity/client/Client";
@@ -42,12 +42,12 @@ export declare class PolytomicClient {
42
42
  get connections(): Connections;
43
43
  protected _queryRunner: QueryRunner | undefined;
44
44
  get queryRunner(): QueryRunner;
45
+ protected _models: Models | undefined;
46
+ get models(): Models;
45
47
  protected _modelSync: ModelSync | undefined;
46
48
  get modelSync(): ModelSync;
47
49
  protected _schemas: Schemas | undefined;
48
50
  get schemas(): Schemas;
49
- protected _models: Models | undefined;
50
- get models(): Models;
51
51
  protected _events: Events | undefined;
52
52
  get events(): Events;
53
53
  protected _jobs: Jobs | undefined;
package/dist/Client.js CHANGED
@@ -7,9 +7,9 @@ exports.PolytomicClient = void 0;
7
7
  const Client_1 = require("./api/resources/bulkSync/client/Client");
8
8
  const Client_2 = require("./api/resources/connections/client/Client");
9
9
  const Client_3 = require("./api/resources/queryRunner/client/Client");
10
- const Client_4 = require("./api/resources/modelSync/client/Client");
11
- const Client_5 = require("./api/resources/schemas/client/Client");
12
- const Client_6 = require("./api/resources/models/client/Client");
10
+ const Client_4 = require("./api/resources/models/client/Client");
11
+ const Client_5 = require("./api/resources/modelSync/client/Client");
12
+ const Client_6 = require("./api/resources/schemas/client/Client");
13
13
  const Client_7 = require("./api/resources/events/client/Client");
14
14
  const Client_8 = require("./api/resources/jobs/client/Client");
15
15
  const Client_9 = require("./api/resources/identity/client/Client");
@@ -33,17 +33,17 @@ class PolytomicClient {
33
33
  var _a;
34
34
  return ((_a = this._queryRunner) !== null && _a !== void 0 ? _a : (this._queryRunner = new Client_3.QueryRunner(this._options)));
35
35
  }
36
- get modelSync() {
36
+ get models() {
37
37
  var _a;
38
- return ((_a = this._modelSync) !== null && _a !== void 0 ? _a : (this._modelSync = new Client_4.ModelSync(this._options)));
38
+ return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_4.Models(this._options)));
39
39
  }
40
- get schemas() {
40
+ get modelSync() {
41
41
  var _a;
42
- return ((_a = this._schemas) !== null && _a !== void 0 ? _a : (this._schemas = new Client_5.Schemas(this._options)));
42
+ return ((_a = this._modelSync) !== null && _a !== void 0 ? _a : (this._modelSync = new Client_5.ModelSync(this._options)));
43
43
  }
44
- get models() {
44
+ get schemas() {
45
45
  var _a;
46
- return ((_a = this._models) !== null && _a !== void 0 ? _a : (this._models = new Client_6.Models(this._options)));
46
+ return ((_a = this._schemas) !== null && _a !== void 0 ? _a : (this._schemas = new Client_6.Schemas(this._options)));
47
47
  }
48
48
  get events() {
49
49
  var _a;
@@ -27,15 +27,18 @@ export declare class BulkSync {
27
27
  protected readonly _options: BulkSync.Options;
28
28
  constructor(_options: BulkSync.Options);
29
29
  /**
30
+ * @param {Polytomic.BulkSyncListRequest} request
30
31
  * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.
31
32
  *
32
33
  * @throws {@link Polytomic.UnauthorizedError}
33
34
  * @throws {@link Polytomic.InternalServerError}
34
35
  *
35
36
  * @example
36
- * await client.bulkSync.list()
37
+ * await client.bulkSync.list({
38
+ * active: true
39
+ * })
37
40
  */
38
- list(requestOptions?: BulkSync.RequestOptions): Promise<Polytomic.BulkSyncListEnvelope>;
41
+ list(request?: Polytomic.BulkSyncListRequest, requestOptions?: BulkSync.RequestOptions): Promise<Polytomic.BulkSyncListEnvelope>;
39
42
  /**
40
43
  * @param {Polytomic.CreateBulkSyncRequest} request
41
44
  * @param {BulkSync.RequestOptions} requestOptions - Request-specific configuration.