@toolpath/api 0.2.2 → 0.2.4
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/dist/generated/apis/FeaturesApi.d.ts +2 -2
- package/dist/generated/apis/FeaturesApi.js +2 -2
- package/dist/generated/apis/JobsApi.d.ts +2 -2
- package/dist/generated/apis/JobsApi.js +2 -2
- package/dist/generated/apis/KeysApi.d.ts +2 -2
- package/dist/generated/apis/KeysApi.js +2 -2
- package/dist/generated/apis/PartsApi.d.ts +9 -9
- package/dist/generated/apis/PartsApi.js +8 -8
- package/dist/generated/apis/ServiceApi.d.ts +2 -2
- package/dist/generated/apis/ServiceApi.js +2 -2
- package/dist/generated/models/BevelFacts.d.ts +2 -2
- package/dist/generated/models/BevelFacts.js +2 -2
- package/dist/generated/models/BossFacts.d.ts +2 -2
- package/dist/generated/models/BossFacts.js +2 -2
- package/dist/generated/models/CdBounds.d.ts +2 -2
- package/dist/generated/models/CdBounds.js +2 -2
- package/dist/generated/models/CdData.d.ts +2 -2
- package/dist/generated/models/CdData.js +2 -2
- package/dist/generated/models/ChamferFacts.d.ts +2 -2
- package/dist/generated/models/ChamferFacts.js +2 -2
- package/dist/generated/models/CreatePartResponse.d.ts +2 -2
- package/dist/generated/models/CreatePartResponse.js +2 -2
- package/dist/generated/models/DirectionZBounds.d.ts +2 -2
- package/dist/generated/models/DirectionZBounds.js +2 -2
- package/dist/generated/models/DirectionZBoundsDirection.d.ts +2 -2
- package/dist/generated/models/DirectionZBoundsDirection.js +2 -2
- package/dist/generated/models/DovetailFacts.d.ts +2 -2
- package/dist/generated/models/DovetailFacts.js +2 -2
- package/dist/generated/models/FaceFacts.d.ts +2 -2
- package/dist/generated/models/FaceFacts.js +2 -2
- package/dist/generated/models/FeatureDatasheet.d.ts +2 -2
- package/dist/generated/models/FeatureDatasheet.js +2 -2
- package/dist/generated/models/FeatureDatasheetFacts.d.ts +2 -2
- package/dist/generated/models/FeatureDatasheetFacts.js +2 -2
- package/dist/generated/models/FeatureType.d.ts +2 -2
- package/dist/generated/models/FeatureType.js +2 -2
- package/dist/generated/models/HealthResponse.d.ts +2 -2
- package/dist/generated/models/HealthResponse.js +2 -2
- package/dist/generated/models/HoleFacts.d.ts +2 -2
- package/dist/generated/models/HoleFacts.js +2 -2
- package/dist/generated/models/HoleProcess.d.ts +2 -2
- package/dist/generated/models/HoleProcess.js +2 -2
- package/dist/generated/models/JobDetail.d.ts +4 -4
- package/dist/generated/models/JobDetail.js +2 -2
- package/dist/generated/models/JobSummary.d.ts +3 -3
- package/dist/generated/models/JobSummary.js +2 -2
- package/dist/generated/models/KeyValidationResponse.d.ts +2 -2
- package/dist/generated/models/KeyValidationResponse.js +2 -2
- package/dist/generated/models/ListJobsResponse.d.ts +2 -2
- package/dist/generated/models/ListJobsResponse.js +2 -2
- package/dist/generated/models/OpenApiDocument.d.ts +2 -2
- package/dist/generated/models/OpenApiDocument.js +2 -2
- package/dist/generated/models/PartFeature.d.ts +3 -3
- package/dist/generated/models/PartFeature.js +2 -2
- package/dist/generated/models/PartFeatureAxis.d.ts +3 -3
- package/dist/generated/models/PartFeatureAxis.js +2 -2
- package/dist/generated/models/PartFeatureEntry.d.ts +3 -3
- package/dist/generated/models/PartFeatureEntry.js +2 -2
- package/dist/generated/models/PartFeatureMachiningDirection.d.ts +2 -2
- package/dist/generated/models/PartFeatureMachiningDirection.js +2 -2
- package/dist/generated/models/PartFeaturesResponse.d.ts +4 -4
- package/dist/generated/models/PartFeaturesResponse.js +2 -2
- package/dist/generated/models/PartResponse.d.ts +139 -0
- package/dist/generated/models/{PartReportResponse.js → PartResponse.js} +13 -13
- package/dist/generated/models/PartResponseUnits.d.ts +52 -0
- package/dist/generated/models/PartResponseUnits.js +63 -0
- package/dist/generated/models/PocketFacts.d.ts +2 -2
- package/dist/generated/models/PocketFacts.js +2 -2
- package/dist/generated/models/ProblemDetails.d.ts +2 -2
- package/dist/generated/models/ProblemDetails.js +2 -2
- package/dist/generated/models/ProfileFacts.d.ts +2 -2
- package/dist/generated/models/ProfileFacts.js +2 -2
- package/dist/generated/models/Region.d.ts +3 -3
- package/dist/generated/models/Region.js +2 -2
- package/dist/generated/models/ReportUnits.d.ts +2 -2
- package/dist/generated/models/ReportUnits.js +2 -2
- package/dist/generated/models/SinkFacts.d.ts +2 -2
- package/dist/generated/models/SinkFacts.js +2 -2
- package/dist/generated/models/SurfaceFacts.d.ts +2 -2
- package/dist/generated/models/SurfaceFacts.js +2 -2
- package/dist/generated/models/ThreadProcess.d.ts +2 -2
- package/dist/generated/models/ThreadProcess.js +2 -2
- package/dist/generated/models/ThreadSpec.d.ts +2 -2
- package/dist/generated/models/ThreadSpec.js +2 -2
- package/dist/generated/models/Threading.d.ts +2 -2
- package/dist/generated/models/Threading.js +2 -2
- package/dist/generated/models/ToleranceBand.d.ts +2 -2
- package/dist/generated/models/ToleranceBand.js +2 -2
- package/dist/generated/models/ToolFitResult.d.ts +2 -2
- package/dist/generated/models/ToolFitResult.js +2 -2
- package/dist/generated/models/TslotFacts.d.ts +2 -2
- package/dist/generated/models/TslotFacts.js +2 -2
- package/dist/generated/models/UpdatePartFeaturesRequest.d.ts +3 -3
- package/dist/generated/models/UpdatePartFeaturesRequest.js +2 -2
- package/dist/generated/models/UpdatePartFeaturesResponse.d.ts +2 -2
- package/dist/generated/models/UpdatePartFeaturesResponse.js +2 -2
- package/dist/generated/models/UpdatePartResponse.d.ts +5 -5
- package/dist/generated/models/UpdatePartResponse.js +2 -2
- package/dist/generated/models/Vec2.d.ts +2 -2
- package/dist/generated/models/Vec2.js +2 -2
- package/dist/generated/models/Vec3.d.ts +2 -2
- package/dist/generated/models/Vec3.js +2 -2
- package/dist/generated/models/WallFacts.d.ts +2 -2
- package/dist/generated/models/WallFacts.js +2 -2
- package/dist/generated/models/index.d.ts +2 -2
- package/dist/generated/models/index.js +2 -2
- package/dist/generated/runtime.d.ts +2 -2
- package/dist/generated/runtime.js +2 -2
- package/package.json +5 -5
- package/dist/generated/models/PartReportResponse.d.ts +0 -139
- package/dist/generated/models/PartReportResponseUnits.d.ts +0 -52
- package/dist/generated/models/PartReportResponseUnits.js +0 -63
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -16,19 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdatePartResponse {
|
|
18
18
|
/**
|
|
19
|
-
* Identifier of the queued
|
|
19
|
+
* Identifier of the queued processing job.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdatePartResponse
|
|
22
22
|
*/
|
|
23
23
|
jobId: string;
|
|
24
24
|
/**
|
|
25
|
-
* Identifier of the part submitted for
|
|
25
|
+
* Identifier of the part submitted for processing.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdatePartResponse
|
|
28
28
|
*/
|
|
29
29
|
partId: string;
|
|
30
30
|
/**
|
|
31
|
-
* Initial state of the accepted
|
|
31
|
+
* Initial state of the accepted processing job.
|
|
32
32
|
* @type {UpdatePartResponseStatusEnum}
|
|
33
33
|
* @memberof UpdatePartResponse
|
|
34
34
|
*/
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -24,8 +24,8 @@ export * from './PartFeatureAxis.js';
|
|
|
24
24
|
export * from './PartFeatureEntry.js';
|
|
25
25
|
export * from './PartFeatureMachiningDirection.js';
|
|
26
26
|
export * from './PartFeaturesResponse.js';
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './
|
|
27
|
+
export * from './PartResponse.js';
|
|
28
|
+
export * from './PartResponseUnits.js';
|
|
29
29
|
export * from './PocketFacts.js';
|
|
30
30
|
export * from './ProblemDetails.js';
|
|
31
31
|
export * from './ProfileFacts.js';
|
|
@@ -26,8 +26,8 @@ export * from './PartFeatureAxis.js';
|
|
|
26
26
|
export * from './PartFeatureEntry.js';
|
|
27
27
|
export * from './PartFeatureMachiningDirection.js';
|
|
28
28
|
export * from './PartFeaturesResponse.js';
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './
|
|
29
|
+
export * from './PartResponse.js';
|
|
30
|
+
export * from './PartResponseUnits.js';
|
|
31
31
|
export * from './PocketFacts.js';
|
|
32
32
|
export * from './ProblemDetails.js';
|
|
33
33
|
export * from './ProfileFacts.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
3
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.3
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in
|
|
5
|
+
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in parts and in feature details — are in millimetres; all angles are in degrees. Each part response also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.3
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toolpath/api",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "TypeScript bindings and upload helper for the Toolpath Engine API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "https://github.com/toolpath/
|
|
11
|
+
"url": "https://github.com/toolpath/ui-packages.git",
|
|
12
12
|
"directory": "packages/sdk-typescript"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://developers.toolpath.com",
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/toolpath/
|
|
16
|
+
"url": "https://github.com/toolpath/ui-packages/issues"
|
|
17
17
|
},
|
|
18
18
|
"publishConfig": {
|
|
19
19
|
"access": "public",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"typescript": "5.9.3"
|
|
39
39
|
},
|
|
40
40
|
"toolpath": {
|
|
41
|
-
"openApiSha256": "
|
|
42
|
-
"openApiVersion": "1.0.
|
|
41
|
+
"openApiSha256": "fbef12ef673e2af6e52acef44b6ac4224a7a6ff30cd5b2f8a81b92d388308e8b",
|
|
42
|
+
"openApiVersion": "1.0.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc",
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { PartReportResponseUnits } from './PartReportResponseUnits.js';
|
|
13
|
-
import type { DirectionZBounds } from './DirectionZBounds.js';
|
|
14
|
-
import type { Vec3 } from './Vec3.js';
|
|
15
|
-
import type { Region } from './Region.js';
|
|
16
|
-
import type { PartFeature } from './PartFeature.js';
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @export
|
|
20
|
-
* @interface PartReportResponse
|
|
21
|
-
*/
|
|
22
|
-
export interface PartReportResponse {
|
|
23
|
-
/**
|
|
24
|
-
* Identifier of the part this report describes.
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof PartReportResponse
|
|
27
|
-
*/
|
|
28
|
-
partId: string;
|
|
29
|
-
/**
|
|
30
|
-
* Identifier of this immutable analysis report.
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof PartReportResponse
|
|
33
|
-
*/
|
|
34
|
-
reportId: string;
|
|
35
|
-
/**
|
|
36
|
-
* Identifier of the analysis job that produced this report.
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof PartReportResponse
|
|
39
|
-
*/
|
|
40
|
-
jobId: string;
|
|
41
|
-
/**
|
|
42
|
-
* Version of the Toolpath kernel that produced this report.
|
|
43
|
-
* @type {string}
|
|
44
|
-
* @memberof PartReportResponse
|
|
45
|
-
*/
|
|
46
|
-
kernelVersion: string;
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {PartReportResponseUnits}
|
|
50
|
-
* @memberof PartReportResponse
|
|
51
|
-
*/
|
|
52
|
-
units: PartReportResponseUnits;
|
|
53
|
-
/**
|
|
54
|
-
* Recognized B-rep regions, ordered by region index.
|
|
55
|
-
* @type {Array<Region>}
|
|
56
|
-
* @memberof PartReportResponse
|
|
57
|
-
*/
|
|
58
|
-
regions: Array<Region>;
|
|
59
|
-
/**
|
|
60
|
-
* Features recognized in this analysis run.
|
|
61
|
-
* @type {Array<PartFeature>}
|
|
62
|
-
* @memberof PartReportResponse
|
|
63
|
-
*/
|
|
64
|
-
features: Array<PartFeature>;
|
|
65
|
-
/**
|
|
66
|
-
* Directions from which the part can be analyzed or machined.
|
|
67
|
-
* @type {Array<Vec3>}
|
|
68
|
-
* @memberof PartReportResponse
|
|
69
|
-
*/
|
|
70
|
-
candidateDirections: Array<Vec3>;
|
|
71
|
-
/**
|
|
72
|
-
* Part z extents for each candidate direction, or null when detail enrichment did not run.
|
|
73
|
-
* @type {Array<DirectionZBounds>}
|
|
74
|
-
* @memberof PartReportResponse
|
|
75
|
-
*/
|
|
76
|
-
directionZBounds: Array<DirectionZBounds> | null;
|
|
77
|
-
/**
|
|
78
|
-
* Number of points in the generated mesh.
|
|
79
|
-
* @type {number}
|
|
80
|
-
* @memberof PartReportResponse
|
|
81
|
-
*/
|
|
82
|
-
meshPointCount: number;
|
|
83
|
-
/**
|
|
84
|
-
* Number of triangles in the generated mesh.
|
|
85
|
-
* @type {number}
|
|
86
|
-
* @memberof PartReportResponse
|
|
87
|
-
*/
|
|
88
|
-
meshTriangleCount: number;
|
|
89
|
-
/**
|
|
90
|
-
* 15-minute URL for the rendered PNG thumbnail, or null when absent.
|
|
91
|
-
* @type {string}
|
|
92
|
-
* @memberof PartReportResponse
|
|
93
|
-
*/
|
|
94
|
-
thumbnailUrl: string | null;
|
|
95
|
-
/**
|
|
96
|
-
* 15-minute URL for the generated STL mesh, or null when absent.
|
|
97
|
-
* @type {string}
|
|
98
|
-
* @memberof PartReportResponse
|
|
99
|
-
*/
|
|
100
|
-
meshStlUrl: string | null;
|
|
101
|
-
/**
|
|
102
|
-
* 15-minute URL for the generated GLB mesh, or null when absent.
|
|
103
|
-
* @type {string}
|
|
104
|
-
* @memberof PartReportResponse
|
|
105
|
-
*/
|
|
106
|
-
meshGlbUrl: string | null;
|
|
107
|
-
/**
|
|
108
|
-
* Worker time spent downloading the source CAD file, in milliseconds.
|
|
109
|
-
* @type {number}
|
|
110
|
-
* @memberof PartReportResponse
|
|
111
|
-
*/
|
|
112
|
-
downloadMs: number;
|
|
113
|
-
/**
|
|
114
|
-
* Kernel time spent on initial part analysis, in milliseconds.
|
|
115
|
-
* @type {number}
|
|
116
|
-
* @memberof PartReportResponse
|
|
117
|
-
*/
|
|
118
|
-
recognitionMs: number;
|
|
119
|
-
/**
|
|
120
|
-
* Kernel time spent building per-feature details, in milliseconds.
|
|
121
|
-
* @type {number}
|
|
122
|
-
* @memberof PartReportResponse
|
|
123
|
-
*/
|
|
124
|
-
enrichmentMs: number;
|
|
125
|
-
/**
|
|
126
|
-
* Total worker processing time for this report, in milliseconds.
|
|
127
|
-
* @type {number}
|
|
128
|
-
* @memberof PartReportResponse
|
|
129
|
-
*/
|
|
130
|
-
totalMs: number;
|
|
131
|
-
}
|
|
132
|
-
/**
|
|
133
|
-
* Check if a given object implements the PartReportResponse interface.
|
|
134
|
-
*/
|
|
135
|
-
export declare function instanceOfPartReportResponse(value: object): value is PartReportResponse;
|
|
136
|
-
export declare function PartReportResponseFromJSON(json: any): PartReportResponse;
|
|
137
|
-
export declare function PartReportResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartReportResponse;
|
|
138
|
-
export declare function PartReportResponseToJSON(json: any): PartReportResponse;
|
|
139
|
-
export declare function PartReportResponseToJSONTyped(value?: PartReportResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Toolpath Engine API
|
|
3
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.2
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Units used by all dimensional values in this report.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface PartReportResponseUnits
|
|
16
|
-
*/
|
|
17
|
-
export interface PartReportResponseUnits {
|
|
18
|
-
/**
|
|
19
|
-
* Unit used by every length and area measurement.
|
|
20
|
-
* @type {PartReportResponseUnitsLengthEnum}
|
|
21
|
-
* @memberof PartReportResponseUnits
|
|
22
|
-
*/
|
|
23
|
-
length: PartReportResponseUnitsLengthEnum;
|
|
24
|
-
/**
|
|
25
|
-
* Unit used by every angular measurement.
|
|
26
|
-
* @type {PartReportResponseUnitsAngleEnum}
|
|
27
|
-
* @memberof PartReportResponseUnits
|
|
28
|
-
*/
|
|
29
|
-
angle: PartReportResponseUnitsAngleEnum;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const PartReportResponseUnitsLengthEnum: {
|
|
35
|
-
readonly Mm: "mm";
|
|
36
|
-
};
|
|
37
|
-
export type PartReportResponseUnitsLengthEnum = (typeof PartReportResponseUnitsLengthEnum)[keyof typeof PartReportResponseUnitsLengthEnum];
|
|
38
|
-
/**
|
|
39
|
-
* @export
|
|
40
|
-
*/
|
|
41
|
-
export declare const PartReportResponseUnitsAngleEnum: {
|
|
42
|
-
readonly Deg: "deg";
|
|
43
|
-
};
|
|
44
|
-
export type PartReportResponseUnitsAngleEnum = (typeof PartReportResponseUnitsAngleEnum)[keyof typeof PartReportResponseUnitsAngleEnum];
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the PartReportResponseUnits interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfPartReportResponseUnits(value: object): value is PartReportResponseUnits;
|
|
49
|
-
export declare function PartReportResponseUnitsFromJSON(json: any): PartReportResponseUnits;
|
|
50
|
-
export declare function PartReportResponseUnitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartReportResponseUnits;
|
|
51
|
-
export declare function PartReportResponseUnitsToJSON(json: any): PartReportResponseUnits;
|
|
52
|
-
export declare function PartReportResponseUnitsToJSONTyped(value?: PartReportResponseUnits | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Toolpath Engine API
|
|
5
|
-
* Public REST API for Toolpath engine operations. **Units.** All dimensional values — in reports and in feature datasheets — are in millimetres; all angles are in degrees. Each report also states this in its `units` field. **Browser use.** CORS is per API key: a request only receives an `Access-Control-Allow-Origin` header when its `Origin` is in the allowlist configured on the key used (set when creating or editing the key in the portal). A key with no allowed origins is server-to-server only. A Bearer API key placed in client-side JavaScript is readable by anyone — restrict its origins, prefer a `read_only` key (read_only keys may call GET operations only; writes are rejected with 403), or proxy requests through your own server.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.2
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* @export
|
|
16
|
-
*/
|
|
17
|
-
export const PartReportResponseUnitsLengthEnum = {
|
|
18
|
-
Mm: 'mm',
|
|
19
|
-
};
|
|
20
|
-
/**
|
|
21
|
-
* @export
|
|
22
|
-
*/
|
|
23
|
-
export const PartReportResponseUnitsAngleEnum = {
|
|
24
|
-
Deg: 'deg',
|
|
25
|
-
};
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the PartReportResponseUnits interface.
|
|
28
|
-
*/
|
|
29
|
-
export function instanceOfPartReportResponseUnits(value) {
|
|
30
|
-
if (!('length' in value) || value['length'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (value['length'] !== 'mm')
|
|
33
|
-
return false;
|
|
34
|
-
if (!('angle' in value) || value['angle'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (value['angle'] !== 'deg')
|
|
37
|
-
return false;
|
|
38
|
-
return true;
|
|
39
|
-
}
|
|
40
|
-
export function PartReportResponseUnitsFromJSON(json) {
|
|
41
|
-
return PartReportResponseUnitsFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
export function PartReportResponseUnitsFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
-
if (json == null) {
|
|
45
|
-
return json;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
length: json['length'],
|
|
49
|
-
angle: json['angle'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export function PartReportResponseUnitsToJSON(json) {
|
|
53
|
-
return PartReportResponseUnitsToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
export function PartReportResponseUnitsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
length: value['length'],
|
|
61
|
-
angle: value['angle'],
|
|
62
|
-
};
|
|
63
|
-
}
|