@toolpath/api 0.1.0 → 0.2.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.
- package/README.md +1 -1
- package/dist/generated/apis/FeaturesApi.d.ts +22 -20
- package/dist/generated/apis/FeaturesApi.js +41 -33
- package/dist/generated/apis/JobsApi.d.ts +1 -1
- package/dist/generated/apis/JobsApi.js +1 -1
- package/dist/generated/apis/KeysApi.d.ts +1 -1
- package/dist/generated/apis/KeysApi.js +1 -1
- package/dist/generated/apis/PartsApi.d.ts +28 -28
- package/dist/generated/apis/PartsApi.js +49 -49
- package/dist/generated/apis/ServiceApi.d.ts +1 -1
- package/dist/generated/apis/ServiceApi.js +1 -1
- package/dist/generated/models/BevelFacts.d.ts +62 -0
- package/dist/generated/models/BevelFacts.js +58 -0
- package/dist/generated/models/BossFacts.d.ts +64 -0
- package/dist/generated/models/BossFacts.js +68 -0
- package/dist/generated/models/CdBounds.d.ts +41 -0
- package/dist/generated/models/CdBounds.js +47 -0
- package/dist/generated/models/CdData.d.ts +52 -0
- package/dist/generated/models/CdData.js +56 -0
- package/dist/generated/models/ChamferFacts.d.ts +55 -0
- package/dist/generated/models/ChamferFacts.js +61 -0
- package/dist/generated/models/CreatePartResponse.d.ts +5 -5
- package/dist/generated/models/CreatePartResponse.js +1 -1
- package/dist/generated/models/DirectionZBounds.d.ts +6 -6
- package/dist/generated/models/DirectionZBounds.js +4 -4
- package/dist/generated/models/DirectionZBoundsDirection.d.ts +44 -0
- package/dist/generated/models/DirectionZBoundsDirection.js +51 -0
- package/dist/generated/models/DovetailFacts.d.ts +98 -0
- package/dist/generated/models/DovetailFacts.js +84 -0
- package/dist/generated/models/FaceFacts.d.ts +70 -0
- package/dist/generated/models/FaceFacts.js +72 -0
- package/dist/generated/models/FeatureDatasheet.d.ts +110 -0
- package/dist/generated/models/FeatureDatasheet.js +94 -0
- package/dist/generated/models/FeatureDatasheetFacts.d.ts +51 -0
- package/dist/generated/models/FeatureDatasheetFacts.js +89 -0
- package/dist/generated/models/FeatureType.d.ts +58 -0
- package/dist/generated/models/FeatureType.js +76 -0
- package/dist/generated/models/HealthResponse.d.ts +3 -3
- package/dist/generated/models/HealthResponse.js +1 -1
- package/dist/generated/models/HoleFacts.d.ts +109 -0
- package/dist/generated/models/HoleFacts.js +96 -0
- package/dist/generated/models/HoleProcess.d.ts +26 -0
- package/dist/generated/models/HoleProcess.js +44 -0
- package/dist/generated/models/JobDetail.d.ts +9 -9
- package/dist/generated/models/JobDetail.js +1 -1
- package/dist/generated/models/JobSummary.d.ts +7 -7
- package/dist/generated/models/JobSummary.js +1 -1
- package/dist/generated/models/KeyValidationResponse.d.ts +1 -1
- package/dist/generated/models/KeyValidationResponse.js +1 -1
- package/dist/generated/models/ListJobsResponse.d.ts +5 -5
- package/dist/generated/models/ListJobsResponse.js +1 -1
- package/dist/generated/models/OpenApiDocument.d.ts +2 -2
- package/dist/generated/models/OpenApiDocument.js +1 -1
- package/dist/generated/models/PartFeature.d.ts +8 -8
- package/dist/generated/models/PartFeature.js +4 -4
- package/dist/generated/models/PartFeatureAxis.d.ts +5 -5
- package/dist/generated/models/PartFeatureAxis.js +1 -1
- package/dist/generated/models/PartFeatureEntry.d.ts +51 -0
- package/dist/generated/models/{FeatureDatasheetEntry.js → PartFeatureEntry.js} +16 -11
- package/dist/generated/models/PartFeatureMachiningDirection.d.ts +44 -0
- package/dist/generated/models/PartFeatureMachiningDirection.js +51 -0
- package/dist/generated/models/PartFeaturesResponse.d.ts +39 -0
- package/dist/generated/models/{FeatureDatasheetsResponse.js → PartFeaturesResponse.js} +12 -12
- package/dist/generated/models/PartReportResponse.d.ts +21 -21
- package/dist/generated/models/PartReportResponse.js +4 -4
- package/dist/generated/models/PartReportResponseUnits.d.ts +52 -0
- package/dist/generated/models/PartReportResponseUnits.js +63 -0
- package/dist/generated/models/PocketFacts.d.ts +65 -0
- package/dist/generated/models/PocketFacts.js +68 -0
- package/dist/generated/models/ProblemDetails.d.ts +1 -1
- package/dist/generated/models/ProblemDetails.js +1 -1
- package/dist/generated/models/ProfileFacts.d.ts +58 -0
- package/dist/generated/models/ProfileFacts.js +64 -0
- package/dist/generated/models/Region.d.ts +12 -6
- package/dist/generated/models/Region.js +5 -1
- package/dist/generated/models/ReportUnits.d.ts +3 -3
- package/dist/generated/models/ReportUnits.js +1 -1
- package/dist/generated/models/SinkFacts.d.ts +47 -0
- package/dist/generated/models/SinkFacts.js +52 -0
- package/dist/generated/models/SurfaceFacts.d.ts +97 -0
- package/dist/generated/models/SurfaceFacts.js +89 -0
- package/dist/generated/models/ThreadProcess.d.ts +26 -0
- package/dist/generated/models/ThreadProcess.js +44 -0
- package/dist/generated/models/ThreadSpec.d.ts +62 -0
- package/dist/generated/models/ThreadSpec.js +63 -0
- package/dist/generated/models/Threading.d.ts +40 -0
- package/dist/generated/models/Threading.js +49 -0
- package/dist/generated/models/ToleranceBand.d.ts +45 -0
- package/dist/generated/models/ToleranceBand.js +51 -0
- package/dist/generated/models/ToolFitResult.d.ts +44 -0
- package/dist/generated/models/ToolFitResult.js +51 -0
- package/dist/generated/models/TslotFacts.d.ts +81 -0
- package/dist/generated/models/TslotFacts.js +76 -0
- package/dist/generated/models/{ComputeFeatureDatasheetsRequest.d.ts → UpdatePartFeaturesRequest.d.ts} +11 -11
- package/dist/generated/models/{ComputeFeatureDatasheetsRequest.js → UpdatePartFeaturesRequest.js} +9 -9
- package/dist/generated/models/UpdatePartFeaturesResponse.d.ts +51 -0
- package/dist/generated/models/{ComputeFeatureDatasheetsResponse.js → UpdatePartFeaturesResponse.js} +10 -10
- package/dist/generated/models/UpdatePartResponse.d.ts +51 -0
- package/dist/generated/models/{AnalyzeJobResponse.js → UpdatePartResponse.js} +10 -10
- package/dist/generated/models/Vec2.d.ts +38 -0
- package/dist/generated/models/Vec2.js +47 -0
- package/dist/generated/models/Vec3.d.ts +4 -4
- package/dist/generated/models/Vec3.js +1 -1
- package/dist/generated/models/WallFacts.d.ts +46 -0
- package/dist/generated/models/WallFacts.js +56 -0
- package/dist/generated/models/index.d.ts +32 -5
- package/dist/generated/models/index.js +32 -5
- package/dist/generated/runtime.d.ts +1 -1
- package/dist/generated/runtime.js +1 -1
- package/package.json +3 -3
- package/dist/generated/models/AnalyzeJobResponse.d.ts +0 -51
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +0 -51
- package/dist/generated/models/FeatureDatasheetEntry.d.ts +0 -52
- package/dist/generated/models/FeatureDatasheetsResponse.d.ts +0 -39
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
* Check if a given object implements the Vec2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfVec2(value) {
|
|
18
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function Vec2FromJSON(json) {
|
|
25
|
+
return Vec2FromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function Vec2FromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
x: json['x'],
|
|
33
|
+
y: json['y'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function Vec2ToJSON(json) {
|
|
37
|
+
return Vec2ToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function Vec2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
x: value['x'],
|
|
45
|
+
y: value['y'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
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 Vec3 {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* X coordinate or direction component.
|
|
20
20
|
* @type {number}
|
|
21
21
|
* @memberof Vec3
|
|
22
22
|
*/
|
|
23
23
|
x: number;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Y coordinate or direction component.
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof Vec3
|
|
28
28
|
*/
|
|
29
29
|
y: number;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Z coordinate or direction component.
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof Vec3
|
|
34
34
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { CdData } from './CdData.js';
|
|
13
|
+
/**
|
|
14
|
+
* A wall: a run of surface square to the tool axis, with no floor of its own.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WallFacts
|
|
17
|
+
*/
|
|
18
|
+
export interface WallFacts {
|
|
19
|
+
/**
|
|
20
|
+
* Discriminator for this facts variant.
|
|
21
|
+
* @type {WallFactsKindEnum}
|
|
22
|
+
* @memberof WallFacts
|
|
23
|
+
*/
|
|
24
|
+
kind: WallFactsKindEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Clearance-diameter limits for tools machining the wall.
|
|
27
|
+
* @type {CdData}
|
|
28
|
+
* @memberof WallFacts
|
|
29
|
+
*/
|
|
30
|
+
cd: CdData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export declare const WallFactsKindEnum: {
|
|
36
|
+
readonly Wall: "Wall";
|
|
37
|
+
};
|
|
38
|
+
export type WallFactsKindEnum = (typeof WallFactsKindEnum)[keyof typeof WallFactsKindEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the WallFacts interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfWallFacts(value: object): value is WallFacts;
|
|
43
|
+
export declare function WallFactsFromJSON(json: any): WallFacts;
|
|
44
|
+
export declare function WallFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): WallFacts;
|
|
45
|
+
export declare function WallFactsToJSON(json: any): WallFacts;
|
|
46
|
+
export declare function WallFactsToJSONTyped(value?: WallFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
import { CdDataFromJSON, CdDataToJSON } from './CdData.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const WallFactsKindEnum = {
|
|
19
|
+
Wall: 'Wall',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the WallFacts interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfWallFacts(value) {
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['kind'] !== 'Wall')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cd' in value) || value['cd'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function WallFactsFromJSON(json) {
|
|
34
|
+
return WallFactsFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function WallFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
kind: json['kind'],
|
|
42
|
+
cd: CdDataFromJSON(json['cd']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function WallFactsToJSON(json) {
|
|
46
|
+
return WallFactsToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function WallFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
kind: value['kind'],
|
|
54
|
+
cd: CdDataToJSON(value['cd']),
|
|
55
|
+
};
|
|
56
|
+
}
|
|
@@ -1,11 +1,19 @@
|
|
|
1
|
-
export * from './
|
|
2
|
-
export * from './
|
|
3
|
-
export * from './
|
|
1
|
+
export * from './BevelFacts.js';
|
|
2
|
+
export * from './BossFacts.js';
|
|
3
|
+
export * from './CdBounds.js';
|
|
4
|
+
export * from './CdData.js';
|
|
5
|
+
export * from './ChamferFacts.js';
|
|
4
6
|
export * from './CreatePartResponse.js';
|
|
5
7
|
export * from './DirectionZBounds.js';
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
+
export * from './DirectionZBoundsDirection.js';
|
|
9
|
+
export * from './DovetailFacts.js';
|
|
10
|
+
export * from './FaceFacts.js';
|
|
11
|
+
export * from './FeatureDatasheet.js';
|
|
12
|
+
export * from './FeatureDatasheetFacts.js';
|
|
13
|
+
export * from './FeatureType.js';
|
|
8
14
|
export * from './HealthResponse.js';
|
|
15
|
+
export * from './HoleFacts.js';
|
|
16
|
+
export * from './HoleProcess.js';
|
|
9
17
|
export * from './JobDetail.js';
|
|
10
18
|
export * from './JobSummary.js';
|
|
11
19
|
export * from './KeyValidationResponse.js';
|
|
@@ -13,8 +21,27 @@ export * from './ListJobsResponse.js';
|
|
|
13
21
|
export * from './OpenApiDocument.js';
|
|
14
22
|
export * from './PartFeature.js';
|
|
15
23
|
export * from './PartFeatureAxis.js';
|
|
24
|
+
export * from './PartFeatureEntry.js';
|
|
25
|
+
export * from './PartFeatureMachiningDirection.js';
|
|
26
|
+
export * from './PartFeaturesResponse.js';
|
|
16
27
|
export * from './PartReportResponse.js';
|
|
28
|
+
export * from './PartReportResponseUnits.js';
|
|
29
|
+
export * from './PocketFacts.js';
|
|
17
30
|
export * from './ProblemDetails.js';
|
|
31
|
+
export * from './ProfileFacts.js';
|
|
18
32
|
export * from './Region.js';
|
|
19
33
|
export * from './ReportUnits.js';
|
|
34
|
+
export * from './SinkFacts.js';
|
|
35
|
+
export * from './SurfaceFacts.js';
|
|
36
|
+
export * from './ThreadProcess.js';
|
|
37
|
+
export * from './ThreadSpec.js';
|
|
38
|
+
export * from './Threading.js';
|
|
39
|
+
export * from './ToleranceBand.js';
|
|
40
|
+
export * from './ToolFitResult.js';
|
|
41
|
+
export * from './TslotFacts.js';
|
|
42
|
+
export * from './UpdatePartFeaturesRequest.js';
|
|
43
|
+
export * from './UpdatePartFeaturesResponse.js';
|
|
44
|
+
export * from './UpdatePartResponse.js';
|
|
45
|
+
export * from './Vec2.js';
|
|
20
46
|
export * from './Vec3.js';
|
|
47
|
+
export * from './WallFacts.js';
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export * from './
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
3
|
+
export * from './BevelFacts.js';
|
|
4
|
+
export * from './BossFacts.js';
|
|
5
|
+
export * from './CdBounds.js';
|
|
6
|
+
export * from './CdData.js';
|
|
7
|
+
export * from './ChamferFacts.js';
|
|
6
8
|
export * from './CreatePartResponse.js';
|
|
7
9
|
export * from './DirectionZBounds.js';
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
+
export * from './DirectionZBoundsDirection.js';
|
|
11
|
+
export * from './DovetailFacts.js';
|
|
12
|
+
export * from './FaceFacts.js';
|
|
13
|
+
export * from './FeatureDatasheet.js';
|
|
14
|
+
export * from './FeatureDatasheetFacts.js';
|
|
15
|
+
export * from './FeatureType.js';
|
|
10
16
|
export * from './HealthResponse.js';
|
|
17
|
+
export * from './HoleFacts.js';
|
|
18
|
+
export * from './HoleProcess.js';
|
|
11
19
|
export * from './JobDetail.js';
|
|
12
20
|
export * from './JobSummary.js';
|
|
13
21
|
export * from './KeyValidationResponse.js';
|
|
@@ -15,8 +23,27 @@ export * from './ListJobsResponse.js';
|
|
|
15
23
|
export * from './OpenApiDocument.js';
|
|
16
24
|
export * from './PartFeature.js';
|
|
17
25
|
export * from './PartFeatureAxis.js';
|
|
26
|
+
export * from './PartFeatureEntry.js';
|
|
27
|
+
export * from './PartFeatureMachiningDirection.js';
|
|
28
|
+
export * from './PartFeaturesResponse.js';
|
|
18
29
|
export * from './PartReportResponse.js';
|
|
30
|
+
export * from './PartReportResponseUnits.js';
|
|
31
|
+
export * from './PocketFacts.js';
|
|
19
32
|
export * from './ProblemDetails.js';
|
|
33
|
+
export * from './ProfileFacts.js';
|
|
20
34
|
export * from './Region.js';
|
|
21
35
|
export * from './ReportUnits.js';
|
|
36
|
+
export * from './SinkFacts.js';
|
|
37
|
+
export * from './SurfaceFacts.js';
|
|
38
|
+
export * from './ThreadProcess.js';
|
|
39
|
+
export * from './ThreadSpec.js';
|
|
40
|
+
export * from './Threading.js';
|
|
41
|
+
export * from './ToleranceBand.js';
|
|
42
|
+
export * from './ToolFitResult.js';
|
|
43
|
+
export * from './TslotFacts.js';
|
|
44
|
+
export * from './UpdatePartFeaturesRequest.js';
|
|
45
|
+
export * from './UpdatePartFeaturesResponse.js';
|
|
46
|
+
export * from './UpdatePartResponse.js';
|
|
47
|
+
export * from './Vec2.js';
|
|
22
48
|
export * from './Vec3.js';
|
|
49
|
+
export * from './WallFacts.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Toolpath Engine API
|
|
3
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
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Toolpath Engine API
|
|
5
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
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.2
|
|
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.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "TypeScript bindings and upload helper for the Toolpath Engine API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"typescript": "5.9.3"
|
|
39
39
|
},
|
|
40
40
|
"toolpath": {
|
|
41
|
-
"openApiSha256": "
|
|
42
|
-
"openApiVersion": "1.0.
|
|
41
|
+
"openApiSha256": "4226bcf33e41ebdcb7c1b606da8ffd4fd8965a7ef5f65e697d3268c60c4cb9fb",
|
|
42
|
+
"openApiVersion": "1.0.2"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsc",
|
|
@@ -1,51 +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.0
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface AnalyzeJobResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface AnalyzeJobResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof AnalyzeJobResponse
|
|
22
|
-
*/
|
|
23
|
-
jobId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof AnalyzeJobResponse
|
|
28
|
-
*/
|
|
29
|
-
partId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {AnalyzeJobResponseStatusEnum}
|
|
33
|
-
* @memberof AnalyzeJobResponse
|
|
34
|
-
*/
|
|
35
|
-
status: AnalyzeJobResponseStatusEnum;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const AnalyzeJobResponseStatusEnum: {
|
|
41
|
-
readonly Queued: "queued";
|
|
42
|
-
};
|
|
43
|
-
export type AnalyzeJobResponseStatusEnum = (typeof AnalyzeJobResponseStatusEnum)[keyof typeof AnalyzeJobResponseStatusEnum];
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the AnalyzeJobResponse interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfAnalyzeJobResponse(value: object): value is AnalyzeJobResponse;
|
|
48
|
-
export declare function AnalyzeJobResponseFromJSON(json: any): AnalyzeJobResponse;
|
|
49
|
-
export declare function AnalyzeJobResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnalyzeJobResponse;
|
|
50
|
-
export declare function AnalyzeJobResponseToJSON(json: any): AnalyzeJobResponse;
|
|
51
|
-
export declare function AnalyzeJobResponseToJSONTyped(value?: AnalyzeJobResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +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.0
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ComputeFeatureDatasheetsResponse
|
|
16
|
-
*/
|
|
17
|
-
export interface ComputeFeatureDatasheetsResponse {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ComputeFeatureDatasheetsResponse
|
|
22
|
-
*/
|
|
23
|
-
jobId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ComputeFeatureDatasheetsResponse
|
|
28
|
-
*/
|
|
29
|
-
partId: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {ComputeFeatureDatasheetsResponseStatusEnum}
|
|
33
|
-
* @memberof ComputeFeatureDatasheetsResponse
|
|
34
|
-
*/
|
|
35
|
-
status: ComputeFeatureDatasheetsResponseStatusEnum;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const ComputeFeatureDatasheetsResponseStatusEnum: {
|
|
41
|
-
readonly Queued: "queued";
|
|
42
|
-
};
|
|
43
|
-
export type ComputeFeatureDatasheetsResponseStatusEnum = (typeof ComputeFeatureDatasheetsResponseStatusEnum)[keyof typeof ComputeFeatureDatasheetsResponseStatusEnum];
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ComputeFeatureDatasheetsResponse interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfComputeFeatureDatasheetsResponse(value: object): value is ComputeFeatureDatasheetsResponse;
|
|
48
|
-
export declare function ComputeFeatureDatasheetsResponseFromJSON(json: any): ComputeFeatureDatasheetsResponse;
|
|
49
|
-
export declare function ComputeFeatureDatasheetsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComputeFeatureDatasheetsResponse;
|
|
50
|
-
export declare function ComputeFeatureDatasheetsResponseToJSON(json: any): ComputeFeatureDatasheetsResponse;
|
|
51
|
-
export declare function ComputeFeatureDatasheetsResponseToJSONTyped(value?: ComputeFeatureDatasheetsResponse | 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.0
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface FeatureDatasheetEntry
|
|
16
|
-
*/
|
|
17
|
-
export interface FeatureDatasheetEntry {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof FeatureDatasheetEntry
|
|
22
|
-
*/
|
|
23
|
-
featureId: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof FeatureDatasheetEntry
|
|
28
|
-
*/
|
|
29
|
-
featureTag: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof FeatureDatasheetEntry
|
|
34
|
-
*/
|
|
35
|
-
featureType: string;
|
|
36
|
-
/**
|
|
37
|
-
* Per-feature DFM measurement facts. Z bounds in the direction frame (zMin/zMax; local height is zMax − zMin), stock-to-leave, tolerance band, floor/wall flags and areas, plus a per-kind `facts` object (narrow on `facts.kind` for diameters, tool bounds, corner/fillet radius). Lengths are mm, angles degrees. The exact shape is the kernel’s FeatureDatasheet (@toolpath/tp-kernel).
|
|
38
|
-
* @type {{ [key: string]: any; }}
|
|
39
|
-
* @memberof FeatureDatasheetEntry
|
|
40
|
-
*/
|
|
41
|
-
datasheet?: {
|
|
42
|
-
[key: string]: any;
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the FeatureDatasheetEntry interface.
|
|
47
|
-
*/
|
|
48
|
-
export declare function instanceOfFeatureDatasheetEntry(value: object): value is FeatureDatasheetEntry;
|
|
49
|
-
export declare function FeatureDatasheetEntryFromJSON(json: any): FeatureDatasheetEntry;
|
|
50
|
-
export declare function FeatureDatasheetEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureDatasheetEntry;
|
|
51
|
-
export declare function FeatureDatasheetEntryToJSON(json: any): FeatureDatasheetEntry;
|
|
52
|
-
export declare function FeatureDatasheetEntryToJSONTyped(value?: FeatureDatasheetEntry | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,39 +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.0
|
|
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 { FeatureDatasheetEntry } from './FeatureDatasheetEntry.js';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface FeatureDatasheetsResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface FeatureDatasheetsResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<FeatureDatasheetEntry>}
|
|
22
|
-
* @memberof FeatureDatasheetsResponse
|
|
23
|
-
*/
|
|
24
|
-
datasheets: Array<FeatureDatasheetEntry>;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<string>}
|
|
28
|
-
* @memberof FeatureDatasheetsResponse
|
|
29
|
-
*/
|
|
30
|
-
notFound: Array<string>;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Check if a given object implements the FeatureDatasheetsResponse interface.
|
|
34
|
-
*/
|
|
35
|
-
export declare function instanceOfFeatureDatasheetsResponse(value: object): value is FeatureDatasheetsResponse;
|
|
36
|
-
export declare function FeatureDatasheetsResponseFromJSON(json: any): FeatureDatasheetsResponse;
|
|
37
|
-
export declare function FeatureDatasheetsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeatureDatasheetsResponse;
|
|
38
|
-
export declare function FeatureDatasheetsResponseToJSON(json: any): FeatureDatasheetsResponse;
|
|
39
|
-
export declare function FeatureDatasheetsResponseToJSONTyped(value?: FeatureDatasheetsResponse | null, ignoreDiscriminator?: boolean): any;
|