@toolpath/api 0.1.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/apis/FeaturesApi.d.ts +1 -1
- package/dist/generated/apis/FeaturesApi.js +1 -1
- 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 +1 -1
- package/dist/generated/apis/PartsApi.js +1 -1
- package/dist/generated/apis/ServiceApi.d.ts +1 -1
- package/dist/generated/apis/ServiceApi.js +1 -1
- package/dist/generated/models/AnalyzeJobResponse.d.ts +4 -4
- package/dist/generated/models/AnalyzeJobResponse.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/ComputeFeatureDatasheetsRequest.d.ts +2 -2
- package/dist/generated/models/ComputeFeatureDatasheetsRequest.js +1 -1
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +4 -4
- package/dist/generated/models/ComputeFeatureDatasheetsResponse.js +1 -1
- 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/FeatureDatasheetEntry.d.ts +8 -9
- package/dist/generated/models/FeatureDatasheetEntry.js +8 -3
- package/dist/generated/models/FeatureDatasheetFacts.d.ts +51 -0
- package/dist/generated/models/FeatureDatasheetFacts.js +89 -0
- package/dist/generated/models/FeatureDatasheetsResponse.d.ts +3 -3
- package/dist/generated/models/FeatureDatasheetsResponse.js +1 -1
- 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/PartFeatureMachiningDirection.d.ts +44 -0
- package/dist/generated/models/PartFeatureMachiningDirection.js +51 -0
- 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/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 +27 -0
- package/dist/generated/models/index.js +27 -0
- package/dist/generated/runtime.d.ts +1 -1
- package/dist/generated/runtime.js +1 -1
- package/package.json +3 -3
|
@@ -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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.1
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.1
|
|
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 AnalyzeJobResponse {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Identifier of the queued analysis job.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof AnalyzeJobResponse
|
|
22
22
|
*/
|
|
23
23
|
jobId: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Identifier of the part submitted for analysis.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof AnalyzeJobResponse
|
|
28
28
|
*/
|
|
29
29
|
partId: string;
|
|
30
30
|
/**
|
|
31
|
-
*
|
|
31
|
+
* Initial state of the accepted analysis job.
|
|
32
32
|
* @type {AnalyzeJobResponseStatusEnum}
|
|
33
33
|
* @memberof AnalyzeJobResponse
|
|
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.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,62 @@
|
|
|
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.1
|
|
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 { SinkFacts } from './SinkFacts.js';
|
|
13
|
+
/**
|
|
14
|
+
* The bevel itself: how it leans, how far it runs, and what its surroundings allow a
|
|
15
|
+
* cone to overshoot.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BevelFacts
|
|
18
|
+
*/
|
|
19
|
+
export interface BevelFacts {
|
|
20
|
+
/**
|
|
21
|
+
* Between the bevel's surface and the tool axis, degrees: zero for a wall, a right
|
|
22
|
+
* angle for a floor. A matching tool's cone half angle is this.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof BevelFacts
|
|
25
|
+
*/
|
|
26
|
+
angleDeg: number;
|
|
27
|
+
/**
|
|
28
|
+
* How far the bevel runs along its own slope — the length of cutting edge a tool
|
|
29
|
+
* needs to span it in one pass.
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof BevelFacts
|
|
32
|
+
*/
|
|
33
|
+
slant: number;
|
|
34
|
+
/**
|
|
35
|
+
* The highest bottom among the features the bevel stands on — how far down there
|
|
36
|
+
* is room under it before a tool would meet something. z grows up the tool axis,
|
|
37
|
+
* so this is *below* the bevel's own `zMin` by the room there is.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BevelFacts
|
|
40
|
+
*/
|
|
41
|
+
lowerAdjacentZMin: number;
|
|
42
|
+
/**
|
|
43
|
+
* The bevel breaks the edge along an open pocket's floor.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof BevelFacts
|
|
46
|
+
*/
|
|
47
|
+
isOpenPocketBottom: boolean;
|
|
48
|
+
/**
|
|
49
|
+
* Present only when the bevel is a countersink of revolution.
|
|
50
|
+
* @type {SinkFacts}
|
|
51
|
+
* @memberof BevelFacts
|
|
52
|
+
*/
|
|
53
|
+
countersink?: SinkFacts;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the BevelFacts interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfBevelFacts(value: object): value is BevelFacts;
|
|
59
|
+
export declare function BevelFactsFromJSON(json: any): BevelFacts;
|
|
60
|
+
export declare function BevelFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BevelFacts;
|
|
61
|
+
export declare function BevelFactsToJSON(json: any): BevelFacts;
|
|
62
|
+
export declare function BevelFactsToJSONTyped(value?: BevelFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
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.1
|
|
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 { SinkFactsFromJSON, SinkFactsToJSON, } from './SinkFacts.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the BevelFacts interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfBevelFacts(value) {
|
|
19
|
+
if (!('angleDeg' in value) || value['angleDeg'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('slant' in value) || value['slant'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('lowerAdjacentZMin' in value) || value['lowerAdjacentZMin'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('isOpenPocketBottom' in value) || value['isOpenPocketBottom'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function BevelFactsFromJSON(json) {
|
|
30
|
+
return BevelFactsFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function BevelFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
angleDeg: json['angleDeg'],
|
|
38
|
+
slant: json['slant'],
|
|
39
|
+
lowerAdjacentZMin: json['lowerAdjacentZMin'],
|
|
40
|
+
isOpenPocketBottom: json['isOpenPocketBottom'],
|
|
41
|
+
countersink: json['countersink'] == null ? undefined : SinkFactsFromJSON(json['countersink']),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
export function BevelFactsToJSON(json) {
|
|
45
|
+
return BevelFactsToJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function BevelFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
angleDeg: value['angleDeg'],
|
|
53
|
+
slant: value['slant'],
|
|
54
|
+
lowerAdjacentZMin: value['lowerAdjacentZMin'],
|
|
55
|
+
isOpenPocketBottom: value['isOpenPocketBottom'],
|
|
56
|
+
countersink: SinkFactsToJSON(value['countersink']),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
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.1
|
|
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 boss: a pocket turned inside out — material with void around it.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BossFacts
|
|
17
|
+
*/
|
|
18
|
+
export interface BossFacts {
|
|
19
|
+
/**
|
|
20
|
+
* Discriminator for this facts variant.
|
|
21
|
+
* @type {BossFactsKindEnum}
|
|
22
|
+
* @memberof BossFacts
|
|
23
|
+
*/
|
|
24
|
+
kind: BossFactsKindEnum;
|
|
25
|
+
/**
|
|
26
|
+
* Clearance-diameter limits for tools sweeping around the boss.
|
|
27
|
+
* @type {CdData}
|
|
28
|
+
* @memberof BossFacts
|
|
29
|
+
*/
|
|
30
|
+
cd: CdData;
|
|
31
|
+
/**
|
|
32
|
+
* Largest bottom diameter a terminal tool may have, in mm.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof BossFacts
|
|
35
|
+
*/
|
|
36
|
+
maxBottomDiameter: number;
|
|
37
|
+
/**
|
|
38
|
+
* Radius of the floor blend, in mm; zero when sharp.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BossFacts
|
|
41
|
+
*/
|
|
42
|
+
filletRadius: number;
|
|
43
|
+
/**
|
|
44
|
+
* Height of the floor blend, in mm; zero when sharp.
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof BossFacts
|
|
47
|
+
*/
|
|
48
|
+
filletHeight: number;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @export
|
|
52
|
+
*/
|
|
53
|
+
export declare const BossFactsKindEnum: {
|
|
54
|
+
readonly Boss: "Boss";
|
|
55
|
+
};
|
|
56
|
+
export type BossFactsKindEnum = (typeof BossFactsKindEnum)[keyof typeof BossFactsKindEnum];
|
|
57
|
+
/**
|
|
58
|
+
* Check if a given object implements the BossFacts interface.
|
|
59
|
+
*/
|
|
60
|
+
export declare function instanceOfBossFacts(value: object): value is BossFacts;
|
|
61
|
+
export declare function BossFactsFromJSON(json: any): BossFacts;
|
|
62
|
+
export declare function BossFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): BossFacts;
|
|
63
|
+
export declare function BossFactsToJSON(json: any): BossFacts;
|
|
64
|
+
export declare function BossFactsToJSONTyped(value?: BossFacts | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.1
|
|
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 BossFactsKindEnum = {
|
|
19
|
+
Boss: 'Boss',
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the BossFacts interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfBossFacts(value) {
|
|
25
|
+
if (!('kind' in value) || value['kind'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (value['kind'] !== 'Boss')
|
|
28
|
+
return false;
|
|
29
|
+
if (!('cd' in value) || value['cd'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('maxBottomDiameter' in value) || value['maxBottomDiameter'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
if (!('filletRadius' in value) || value['filletRadius'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('filletHeight' in value) || value['filletHeight'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
return true;
|
|
38
|
+
}
|
|
39
|
+
export function BossFactsFromJSON(json) {
|
|
40
|
+
return BossFactsFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function BossFactsFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
kind: json['kind'],
|
|
48
|
+
cd: CdDataFromJSON(json['cd']),
|
|
49
|
+
maxBottomDiameter: json['maxBottomDiameter'],
|
|
50
|
+
filletRadius: json['filletRadius'],
|
|
51
|
+
filletHeight: json['filletHeight'],
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
export function BossFactsToJSON(json) {
|
|
55
|
+
return BossFactsToJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
export function BossFactsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
+
if (value == null) {
|
|
59
|
+
return value;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
kind: value['kind'],
|
|
63
|
+
cd: CdDataToJSON(value['cd']),
|
|
64
|
+
maxBottomDiameter: value['maxBottomDiameter'],
|
|
65
|
+
filletRadius: value['filletRadius'],
|
|
66
|
+
filletHeight: value['filletHeight'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.1
|
|
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
|
+
* How wide a tool a feature admits — two upper bounds, differing in how much of the
|
|
14
|
+
* feature the tool has to reach. `min` is the largest tool that reaches every part of
|
|
15
|
+
* the feature, `max` the largest that fits somewhere; `min <= max`. Infinities are
|
|
16
|
+
* meaningful — see `CdBounds` in the `api` crate for the three sentinel states.
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CdBounds
|
|
19
|
+
*/
|
|
20
|
+
export interface CdBounds {
|
|
21
|
+
/**
|
|
22
|
+
* Largest tool diameter that reaches every point of the feature, in mm.
|
|
23
|
+
* @type {number}
|
|
24
|
+
* @memberof CdBounds
|
|
25
|
+
*/
|
|
26
|
+
min: number;
|
|
27
|
+
/**
|
|
28
|
+
* Largest tool diameter that fits somewhere in the feature, in mm.
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof CdBounds
|
|
31
|
+
*/
|
|
32
|
+
max: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the CdBounds interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfCdBounds(value: object): value is CdBounds;
|
|
38
|
+
export declare function CdBoundsFromJSON(json: any): CdBounds;
|
|
39
|
+
export declare function CdBoundsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CdBounds;
|
|
40
|
+
export declare function CdBoundsToJSON(json: any): CdBounds;
|
|
41
|
+
export declare function CdBoundsToJSONTyped(value?: CdBounds | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.1
|
|
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 CdBounds interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfCdBounds(value) {
|
|
18
|
+
if (!('min' in value) || value['min'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('max' in value) || value['max'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function CdBoundsFromJSON(json) {
|
|
25
|
+
return CdBoundsFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function CdBoundsFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
min: json['min'],
|
|
33
|
+
max: json['max'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function CdBoundsToJSON(json) {
|
|
37
|
+
return CdBoundsToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function CdBoundsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
min: value['min'],
|
|
45
|
+
max: value['max'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.1
|
|
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 { CdBounds } from './CdBounds.js';
|
|
13
|
+
/**
|
|
14
|
+
* Clearance-diameter bounds per tolerance regime, plus the flags derived with them.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CdData
|
|
17
|
+
*/
|
|
18
|
+
export interface CdData {
|
|
19
|
+
/**
|
|
20
|
+
* Clearance-diameter bounds while deviations in the ignored tolerance band are allowed.
|
|
21
|
+
* @type {CdBounds}
|
|
22
|
+
* @memberof CdData
|
|
23
|
+
*/
|
|
24
|
+
ignore: CdBounds;
|
|
25
|
+
/**
|
|
26
|
+
* Clearance-diameter bounds while deviations in the reported tolerance band are allowed.
|
|
27
|
+
* @type {CdBounds}
|
|
28
|
+
* @memberof CdData
|
|
29
|
+
*/
|
|
30
|
+
deviate: CdBounds;
|
|
31
|
+
/**
|
|
32
|
+
* Clearance-diameter bounds after adaptive-cutting allowances are applied.
|
|
33
|
+
* @type {CdBounds}
|
|
34
|
+
* @memberof CdData
|
|
35
|
+
*/
|
|
36
|
+
effectiveAdaptive: CdBounds;
|
|
37
|
+
/**
|
|
38
|
+
* The corner radius a terminal tool must not exceed; negative infinity when
|
|
39
|
+
* unconstrained.
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof CdData
|
|
42
|
+
*/
|
|
43
|
+
terminalCornerRadius: number;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the CdData interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfCdData(value: object): value is CdData;
|
|
49
|
+
export declare function CdDataFromJSON(json: any): CdData;
|
|
50
|
+
export declare function CdDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): CdData;
|
|
51
|
+
export declare function CdDataToJSON(json: any): CdData;
|
|
52
|
+
export declare function CdDataToJSONTyped(value?: CdData | 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.1
|
|
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 { CdBoundsFromJSON, CdBoundsToJSON, } from './CdBounds.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the CdData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfCdData(value) {
|
|
19
|
+
if (!('ignore' in value) || value['ignore'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('deviate' in value) || value['deviate'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('effectiveAdaptive' in value) || value['effectiveAdaptive'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('terminalCornerRadius' in value) || value['terminalCornerRadius'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
export function CdDataFromJSON(json) {
|
|
30
|
+
return CdDataFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function CdDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
ignore: CdBoundsFromJSON(json['ignore']),
|
|
38
|
+
deviate: CdBoundsFromJSON(json['deviate']),
|
|
39
|
+
effectiveAdaptive: CdBoundsFromJSON(json['effectiveAdaptive']),
|
|
40
|
+
terminalCornerRadius: json['terminalCornerRadius'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function CdDataToJSON(json) {
|
|
44
|
+
return CdDataToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function CdDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
ignore: CdBoundsToJSON(value['ignore']),
|
|
52
|
+
deviate: CdBoundsToJSON(value['deviate']),
|
|
53
|
+
effectiveAdaptive: CdBoundsToJSON(value['effectiveAdaptive']),
|
|
54
|
+
terminalCornerRadius: value['terminalCornerRadius'],
|
|
55
|
+
};
|
|
56
|
+
}
|