@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.
Files changed (114) hide show
  1. package/README.md +1 -1
  2. package/dist/generated/apis/FeaturesApi.d.ts +22 -20
  3. package/dist/generated/apis/FeaturesApi.js +41 -33
  4. package/dist/generated/apis/JobsApi.d.ts +1 -1
  5. package/dist/generated/apis/JobsApi.js +1 -1
  6. package/dist/generated/apis/KeysApi.d.ts +1 -1
  7. package/dist/generated/apis/KeysApi.js +1 -1
  8. package/dist/generated/apis/PartsApi.d.ts +28 -28
  9. package/dist/generated/apis/PartsApi.js +49 -49
  10. package/dist/generated/apis/ServiceApi.d.ts +1 -1
  11. package/dist/generated/apis/ServiceApi.js +1 -1
  12. package/dist/generated/models/BevelFacts.d.ts +62 -0
  13. package/dist/generated/models/BevelFacts.js +58 -0
  14. package/dist/generated/models/BossFacts.d.ts +64 -0
  15. package/dist/generated/models/BossFacts.js +68 -0
  16. package/dist/generated/models/CdBounds.d.ts +41 -0
  17. package/dist/generated/models/CdBounds.js +47 -0
  18. package/dist/generated/models/CdData.d.ts +52 -0
  19. package/dist/generated/models/CdData.js +56 -0
  20. package/dist/generated/models/ChamferFacts.d.ts +55 -0
  21. package/dist/generated/models/ChamferFacts.js +61 -0
  22. package/dist/generated/models/CreatePartResponse.d.ts +5 -5
  23. package/dist/generated/models/CreatePartResponse.js +1 -1
  24. package/dist/generated/models/DirectionZBounds.d.ts +6 -6
  25. package/dist/generated/models/DirectionZBounds.js +4 -4
  26. package/dist/generated/models/DirectionZBoundsDirection.d.ts +44 -0
  27. package/dist/generated/models/DirectionZBoundsDirection.js +51 -0
  28. package/dist/generated/models/DovetailFacts.d.ts +98 -0
  29. package/dist/generated/models/DovetailFacts.js +84 -0
  30. package/dist/generated/models/FaceFacts.d.ts +70 -0
  31. package/dist/generated/models/FaceFacts.js +72 -0
  32. package/dist/generated/models/FeatureDatasheet.d.ts +110 -0
  33. package/dist/generated/models/FeatureDatasheet.js +94 -0
  34. package/dist/generated/models/FeatureDatasheetFacts.d.ts +51 -0
  35. package/dist/generated/models/FeatureDatasheetFacts.js +89 -0
  36. package/dist/generated/models/FeatureType.d.ts +58 -0
  37. package/dist/generated/models/FeatureType.js +76 -0
  38. package/dist/generated/models/HealthResponse.d.ts +3 -3
  39. package/dist/generated/models/HealthResponse.js +1 -1
  40. package/dist/generated/models/HoleFacts.d.ts +109 -0
  41. package/dist/generated/models/HoleFacts.js +96 -0
  42. package/dist/generated/models/HoleProcess.d.ts +26 -0
  43. package/dist/generated/models/HoleProcess.js +44 -0
  44. package/dist/generated/models/JobDetail.d.ts +9 -9
  45. package/dist/generated/models/JobDetail.js +1 -1
  46. package/dist/generated/models/JobSummary.d.ts +7 -7
  47. package/dist/generated/models/JobSummary.js +1 -1
  48. package/dist/generated/models/KeyValidationResponse.d.ts +1 -1
  49. package/dist/generated/models/KeyValidationResponse.js +1 -1
  50. package/dist/generated/models/ListJobsResponse.d.ts +5 -5
  51. package/dist/generated/models/ListJobsResponse.js +1 -1
  52. package/dist/generated/models/OpenApiDocument.d.ts +2 -2
  53. package/dist/generated/models/OpenApiDocument.js +1 -1
  54. package/dist/generated/models/PartFeature.d.ts +8 -8
  55. package/dist/generated/models/PartFeature.js +4 -4
  56. package/dist/generated/models/PartFeatureAxis.d.ts +5 -5
  57. package/dist/generated/models/PartFeatureAxis.js +1 -1
  58. package/dist/generated/models/PartFeatureEntry.d.ts +51 -0
  59. package/dist/generated/models/{FeatureDatasheetEntry.js → PartFeatureEntry.js} +16 -11
  60. package/dist/generated/models/PartFeatureMachiningDirection.d.ts +44 -0
  61. package/dist/generated/models/PartFeatureMachiningDirection.js +51 -0
  62. package/dist/generated/models/PartFeaturesResponse.d.ts +39 -0
  63. package/dist/generated/models/{FeatureDatasheetsResponse.js → PartFeaturesResponse.js} +12 -12
  64. package/dist/generated/models/PartReportResponse.d.ts +21 -21
  65. package/dist/generated/models/PartReportResponse.js +4 -4
  66. package/dist/generated/models/PartReportResponseUnits.d.ts +52 -0
  67. package/dist/generated/models/PartReportResponseUnits.js +63 -0
  68. package/dist/generated/models/PocketFacts.d.ts +65 -0
  69. package/dist/generated/models/PocketFacts.js +68 -0
  70. package/dist/generated/models/ProblemDetails.d.ts +1 -1
  71. package/dist/generated/models/ProblemDetails.js +1 -1
  72. package/dist/generated/models/ProfileFacts.d.ts +58 -0
  73. package/dist/generated/models/ProfileFacts.js +64 -0
  74. package/dist/generated/models/Region.d.ts +12 -6
  75. package/dist/generated/models/Region.js +5 -1
  76. package/dist/generated/models/ReportUnits.d.ts +3 -3
  77. package/dist/generated/models/ReportUnits.js +1 -1
  78. package/dist/generated/models/SinkFacts.d.ts +47 -0
  79. package/dist/generated/models/SinkFacts.js +52 -0
  80. package/dist/generated/models/SurfaceFacts.d.ts +97 -0
  81. package/dist/generated/models/SurfaceFacts.js +89 -0
  82. package/dist/generated/models/ThreadProcess.d.ts +26 -0
  83. package/dist/generated/models/ThreadProcess.js +44 -0
  84. package/dist/generated/models/ThreadSpec.d.ts +62 -0
  85. package/dist/generated/models/ThreadSpec.js +63 -0
  86. package/dist/generated/models/Threading.d.ts +40 -0
  87. package/dist/generated/models/Threading.js +49 -0
  88. package/dist/generated/models/ToleranceBand.d.ts +45 -0
  89. package/dist/generated/models/ToleranceBand.js +51 -0
  90. package/dist/generated/models/ToolFitResult.d.ts +44 -0
  91. package/dist/generated/models/ToolFitResult.js +51 -0
  92. package/dist/generated/models/TslotFacts.d.ts +81 -0
  93. package/dist/generated/models/TslotFacts.js +76 -0
  94. package/dist/generated/models/{ComputeFeatureDatasheetsRequest.d.ts → UpdatePartFeaturesRequest.d.ts} +11 -11
  95. package/dist/generated/models/{ComputeFeatureDatasheetsRequest.js → UpdatePartFeaturesRequest.js} +9 -9
  96. package/dist/generated/models/UpdatePartFeaturesResponse.d.ts +51 -0
  97. package/dist/generated/models/{ComputeFeatureDatasheetsResponse.js → UpdatePartFeaturesResponse.js} +10 -10
  98. package/dist/generated/models/UpdatePartResponse.d.ts +51 -0
  99. package/dist/generated/models/{AnalyzeJobResponse.js → UpdatePartResponse.js} +10 -10
  100. package/dist/generated/models/Vec2.d.ts +38 -0
  101. package/dist/generated/models/Vec2.js +47 -0
  102. package/dist/generated/models/Vec3.d.ts +4 -4
  103. package/dist/generated/models/Vec3.js +1 -1
  104. package/dist/generated/models/WallFacts.d.ts +46 -0
  105. package/dist/generated/models/WallFacts.js +56 -0
  106. package/dist/generated/models/index.d.ts +32 -5
  107. package/dist/generated/models/index.js +32 -5
  108. package/dist/generated/runtime.d.ts +1 -1
  109. package/dist/generated/runtime.js +1 -1
  110. package/package.json +3 -3
  111. package/dist/generated/models/AnalyzeJobResponse.d.ts +0 -51
  112. package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +0 -51
  113. package/dist/generated/models/FeatureDatasheetEntry.d.ts +0 -52
  114. package/dist/generated/models/FeatureDatasheetsResponse.d.ts +0 -39
@@ -0,0 +1,51 @@
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 ToleranceBand interface.
16
+ */
17
+ export function instanceOfToleranceBand(value) {
18
+ if (!('atolIgnore' in value) || value['atolIgnore'] === undefined)
19
+ return false;
20
+ if (!('atolDeviate' in value) || value['atolDeviate'] === undefined)
21
+ return false;
22
+ if (!('atolMax' in value) || value['atolMax'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function ToleranceBandFromJSON(json) {
27
+ return ToleranceBandFromJSONTyped(json, false);
28
+ }
29
+ export function ToleranceBandFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ atolIgnore: json['atolIgnore'],
35
+ atolDeviate: json['atolDeviate'],
36
+ atolMax: json['atolMax'],
37
+ };
38
+ }
39
+ export function ToleranceBandToJSON(json) {
40
+ return ToleranceBandToJSONTyped(json, false);
41
+ }
42
+ export function ToleranceBandToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ atolIgnore: value['atolIgnore'],
48
+ atolDeviate: value['atolDeviate'],
49
+ atolMax: value['atolMax'],
50
+ };
51
+ }
@@ -0,0 +1,44 @@
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
+ * The tool geometry a surface's own shape admits, before the layers are consulted.
14
+ * @export
15
+ * @interface ToolFitResult
16
+ */
17
+ export interface ToolFitResult {
18
+ /**
19
+ * Corner radius the surface shape admits, in mm.
20
+ * @type {number}
21
+ * @memberof ToolFitResult
22
+ */
23
+ cornerRadius: number;
24
+ /**
25
+ * Largest full-diameter tool the surface shape admits, in mm.
26
+ * @type {number}
27
+ * @memberof ToolFitResult
28
+ */
29
+ toolDiameter: number;
30
+ /**
31
+ * Largest bottom diameter the surface shape admits, in mm.
32
+ * @type {number}
33
+ * @memberof ToolFitResult
34
+ */
35
+ toolBottomDiameter: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ToolFitResult interface.
39
+ */
40
+ export declare function instanceOfToolFitResult(value: object): value is ToolFitResult;
41
+ export declare function ToolFitResultFromJSON(json: any): ToolFitResult;
42
+ export declare function ToolFitResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToolFitResult;
43
+ export declare function ToolFitResultToJSON(json: any): ToolFitResult;
44
+ export declare function ToolFitResultToJSONTyped(value?: ToolFitResult | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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 ToolFitResult interface.
16
+ */
17
+ export function instanceOfToolFitResult(value) {
18
+ if (!('cornerRadius' in value) || value['cornerRadius'] === undefined)
19
+ return false;
20
+ if (!('toolDiameter' in value) || value['toolDiameter'] === undefined)
21
+ return false;
22
+ if (!('toolBottomDiameter' in value) || value['toolBottomDiameter'] === undefined)
23
+ return false;
24
+ return true;
25
+ }
26
+ export function ToolFitResultFromJSON(json) {
27
+ return ToolFitResultFromJSONTyped(json, false);
28
+ }
29
+ export function ToolFitResultFromJSONTyped(json, ignoreDiscriminator) {
30
+ if (json == null) {
31
+ return json;
32
+ }
33
+ return {
34
+ cornerRadius: json['cornerRadius'],
35
+ toolDiameter: json['toolDiameter'],
36
+ toolBottomDiameter: json['toolBottomDiameter'],
37
+ };
38
+ }
39
+ export function ToolFitResultToJSON(json) {
40
+ return ToolFitResultToJSONTyped(json, false);
41
+ }
42
+ export function ToolFitResultToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ cornerRadius: value['cornerRadius'],
48
+ toolDiameter: value['toolDiameter'],
49
+ toolBottomDiameter: value['toolBottomDiameter'],
50
+ };
51
+ }
@@ -0,0 +1,81 @@
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 t-slot: a groove cut sideways into a wall or around a post, under a ceiling the
15
+ * machining direction cannot see past.
16
+ * @export
17
+ * @interface TslotFacts
18
+ */
19
+ export interface TslotFacts {
20
+ /**
21
+ * Discriminator for this facts variant.
22
+ * @type {TslotFactsKindEnum}
23
+ * @memberof TslotFacts
24
+ */
25
+ kind: TslotFactsKindEnum;
26
+ /**
27
+ * The slot runs around material standing in it rather than into the material
28
+ * around a void.
29
+ * @type {boolean}
30
+ * @memberof TslotFacts
31
+ */
32
+ isExternal: boolean;
33
+ /**
34
+ * The slot's walls close on themselves in plan view.
35
+ * @type {boolean}
36
+ * @memberof TslotFacts
37
+ */
38
+ isClosed: boolean;
39
+ /**
40
+ * How far the groove runs back from its opening, radially; infinite when the slot
41
+ * could not be measured.
42
+ * @type {number}
43
+ * @memberof TslotFacts
44
+ */
45
+ undercutDepth: number;
46
+ /**
47
+ * The widest tool that can come down through the opening above the slot to reach
48
+ * it; infinite when nothing above constrains one, zero when nothing fits at all.
49
+ * @type {number}
50
+ * @memberof TslotFacts
51
+ */
52
+ maxEntryCd: number;
53
+ /**
54
+ * Clearance-diameter limits for tools machining inside the slot.
55
+ * @type {CdData}
56
+ * @memberof TslotFacts
57
+ */
58
+ cd: CdData;
59
+ /**
60
+ * Radius of the blend where the slot's walls meet its floor and ceiling; 0.0 when
61
+ * sharp.
62
+ * @type {number}
63
+ * @memberof TslotFacts
64
+ */
65
+ filletRadius: number;
66
+ }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const TslotFactsKindEnum: {
71
+ readonly Tslot: "Tslot";
72
+ };
73
+ export type TslotFactsKindEnum = (typeof TslotFactsKindEnum)[keyof typeof TslotFactsKindEnum];
74
+ /**
75
+ * Check if a given object implements the TslotFacts interface.
76
+ */
77
+ export declare function instanceOfTslotFacts(value: object): value is TslotFacts;
78
+ export declare function TslotFactsFromJSON(json: any): TslotFacts;
79
+ export declare function TslotFactsFromJSONTyped(json: any, ignoreDiscriminator: boolean): TslotFacts;
80
+ export declare function TslotFactsToJSON(json: any): TslotFacts;
81
+ export declare function TslotFactsToJSONTyped(value?: TslotFacts | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,76 @@
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 TslotFactsKindEnum = {
19
+ Tslot: 'Tslot',
20
+ };
21
+ /**
22
+ * Check if a given object implements the TslotFacts interface.
23
+ */
24
+ export function instanceOfTslotFacts(value) {
25
+ if (!('kind' in value) || value['kind'] === undefined)
26
+ return false;
27
+ if (value['kind'] !== 'Tslot')
28
+ return false;
29
+ if (!('isExternal' in value) || value['isExternal'] === undefined)
30
+ return false;
31
+ if (!('isClosed' in value) || value['isClosed'] === undefined)
32
+ return false;
33
+ if (!('undercutDepth' in value) || value['undercutDepth'] === undefined)
34
+ return false;
35
+ if (!('maxEntryCd' in value) || value['maxEntryCd'] === undefined)
36
+ return false;
37
+ if (!('cd' in value) || value['cd'] === undefined)
38
+ return false;
39
+ if (!('filletRadius' in value) || value['filletRadius'] === undefined)
40
+ return false;
41
+ return true;
42
+ }
43
+ export function TslotFactsFromJSON(json) {
44
+ return TslotFactsFromJSONTyped(json, false);
45
+ }
46
+ export function TslotFactsFromJSONTyped(json, ignoreDiscriminator) {
47
+ if (json == null) {
48
+ return json;
49
+ }
50
+ return {
51
+ kind: json['kind'],
52
+ isExternal: json['isExternal'],
53
+ isClosed: json['isClosed'],
54
+ undercutDepth: json['undercutDepth'],
55
+ maxEntryCd: json['maxEntryCd'],
56
+ cd: CdDataFromJSON(json['cd']),
57
+ filletRadius: json['filletRadius'],
58
+ };
59
+ }
60
+ export function TslotFactsToJSON(json) {
61
+ return TslotFactsToJSONTyped(json, false);
62
+ }
63
+ export function TslotFactsToJSONTyped(value, ignoreDiscriminator = false) {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+ return {
68
+ kind: value['kind'],
69
+ isExternal: value['isExternal'],
70
+ isClosed: value['isClosed'],
71
+ undercutDepth: value['undercutDepth'],
72
+ maxEntryCd: value['maxEntryCd'],
73
+ cd: CdDataToJSON(value['cd']),
74
+ filletRadius: value['filletRadius'],
75
+ };
76
+ }
@@ -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.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).
@@ -12,21 +12,21 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface ComputeFeatureDatasheetsRequest
15
+ * @interface UpdatePartFeaturesRequest
16
16
  */
17
- export interface ComputeFeatureDatasheetsRequest {
17
+ export interface UpdatePartFeaturesRequest {
18
18
  /**
19
- *
19
+ * Identifiers of features from one part whose datasheets should be computed.
20
20
  * @type {Array<string>}
21
- * @memberof ComputeFeatureDatasheetsRequest
21
+ * @memberof UpdatePartFeaturesRequest
22
22
  */
23
23
  featureIds: Array<string>;
24
24
  }
25
25
  /**
26
- * Check if a given object implements the ComputeFeatureDatasheetsRequest interface.
26
+ * Check if a given object implements the UpdatePartFeaturesRequest interface.
27
27
  */
28
- export declare function instanceOfComputeFeatureDatasheetsRequest(value: object): value is ComputeFeatureDatasheetsRequest;
29
- export declare function ComputeFeatureDatasheetsRequestFromJSON(json: any): ComputeFeatureDatasheetsRequest;
30
- export declare function ComputeFeatureDatasheetsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ComputeFeatureDatasheetsRequest;
31
- export declare function ComputeFeatureDatasheetsRequestToJSON(json: any): ComputeFeatureDatasheetsRequest;
32
- export declare function ComputeFeatureDatasheetsRequestToJSONTyped(value?: ComputeFeatureDatasheetsRequest | null, ignoreDiscriminator?: boolean): any;
28
+ export declare function instanceOfUpdatePartFeaturesRequest(value: object): value is UpdatePartFeaturesRequest;
29
+ export declare function UpdatePartFeaturesRequestFromJSON(json: any): UpdatePartFeaturesRequest;
30
+ export declare function UpdatePartFeaturesRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePartFeaturesRequest;
31
+ export declare function UpdatePartFeaturesRequestToJSON(json: any): UpdatePartFeaturesRequest;
32
+ export declare function UpdatePartFeaturesRequestToJSONTyped(value?: UpdatePartFeaturesRequest | null, ignoreDiscriminator?: boolean): any;
@@ -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.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).
@@ -12,17 +12,17 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the ComputeFeatureDatasheetsRequest interface.
15
+ * Check if a given object implements the UpdatePartFeaturesRequest interface.
16
16
  */
17
- export function instanceOfComputeFeatureDatasheetsRequest(value) {
17
+ export function instanceOfUpdatePartFeaturesRequest(value) {
18
18
  if (!('featureIds' in value) || value['featureIds'] === undefined)
19
19
  return false;
20
20
  return true;
21
21
  }
22
- export function ComputeFeatureDatasheetsRequestFromJSON(json) {
23
- return ComputeFeatureDatasheetsRequestFromJSONTyped(json, false);
22
+ export function UpdatePartFeaturesRequestFromJSON(json) {
23
+ return UpdatePartFeaturesRequestFromJSONTyped(json, false);
24
24
  }
25
- export function ComputeFeatureDatasheetsRequestFromJSONTyped(json, ignoreDiscriminator) {
25
+ export function UpdatePartFeaturesRequestFromJSONTyped(json, ignoreDiscriminator) {
26
26
  if (json == null) {
27
27
  return json;
28
28
  }
@@ -30,10 +30,10 @@ export function ComputeFeatureDatasheetsRequestFromJSONTyped(json, ignoreDiscrim
30
30
  featureIds: json['featureIds'],
31
31
  };
32
32
  }
33
- export function ComputeFeatureDatasheetsRequestToJSON(json) {
34
- return ComputeFeatureDatasheetsRequestToJSONTyped(json, false);
33
+ export function UpdatePartFeaturesRequestToJSON(json) {
34
+ return UpdatePartFeaturesRequestToJSONTyped(json, false);
35
35
  }
36
- export function ComputeFeatureDatasheetsRequestToJSONTyped(value, ignoreDiscriminator = false) {
36
+ export function UpdatePartFeaturesRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
37
  if (value == null) {
38
38
  return value;
39
39
  }
@@ -0,0 +1,51 @@
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
+ *
14
+ * @export
15
+ * @interface UpdatePartFeaturesResponse
16
+ */
17
+ export interface UpdatePartFeaturesResponse {
18
+ /**
19
+ * Identifier of the queued enrichment job.
20
+ * @type {string}
21
+ * @memberof UpdatePartFeaturesResponse
22
+ */
23
+ jobId: string;
24
+ /**
25
+ * Identifier of the part owning the requested features.
26
+ * @type {string}
27
+ * @memberof UpdatePartFeaturesResponse
28
+ */
29
+ partId: string;
30
+ /**
31
+ * Initial state of the accepted enrichment job.
32
+ * @type {UpdatePartFeaturesResponseStatusEnum}
33
+ * @memberof UpdatePartFeaturesResponse
34
+ */
35
+ status: UpdatePartFeaturesResponseStatusEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const UpdatePartFeaturesResponseStatusEnum: {
41
+ readonly Queued: "queued";
42
+ };
43
+ export type UpdatePartFeaturesResponseStatusEnum = (typeof UpdatePartFeaturesResponseStatusEnum)[keyof typeof UpdatePartFeaturesResponseStatusEnum];
44
+ /**
45
+ * Check if a given object implements the UpdatePartFeaturesResponse interface.
46
+ */
47
+ export declare function instanceOfUpdatePartFeaturesResponse(value: object): value is UpdatePartFeaturesResponse;
48
+ export declare function UpdatePartFeaturesResponseFromJSON(json: any): UpdatePartFeaturesResponse;
49
+ export declare function UpdatePartFeaturesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePartFeaturesResponse;
50
+ export declare function UpdatePartFeaturesResponseToJSON(json: any): UpdatePartFeaturesResponse;
51
+ export declare function UpdatePartFeaturesResponseToJSONTyped(value?: UpdatePartFeaturesResponse | null, ignoreDiscriminator?: boolean): any;
@@ -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.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).
@@ -14,13 +14,13 @@
14
14
  /**
15
15
  * @export
16
16
  */
17
- export const ComputeFeatureDatasheetsResponseStatusEnum = {
17
+ export const UpdatePartFeaturesResponseStatusEnum = {
18
18
  Queued: 'queued',
19
19
  };
20
20
  /**
21
- * Check if a given object implements the ComputeFeatureDatasheetsResponse interface.
21
+ * Check if a given object implements the UpdatePartFeaturesResponse interface.
22
22
  */
23
- export function instanceOfComputeFeatureDatasheetsResponse(value) {
23
+ export function instanceOfUpdatePartFeaturesResponse(value) {
24
24
  if (!('jobId' in value) || value['jobId'] === undefined)
25
25
  return false;
26
26
  if (!('partId' in value) || value['partId'] === undefined)
@@ -31,10 +31,10 @@ export function instanceOfComputeFeatureDatasheetsResponse(value) {
31
31
  return false;
32
32
  return true;
33
33
  }
34
- export function ComputeFeatureDatasheetsResponseFromJSON(json) {
35
- return ComputeFeatureDatasheetsResponseFromJSONTyped(json, false);
34
+ export function UpdatePartFeaturesResponseFromJSON(json) {
35
+ return UpdatePartFeaturesResponseFromJSONTyped(json, false);
36
36
  }
37
- export function ComputeFeatureDatasheetsResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ export function UpdatePartFeaturesResponseFromJSONTyped(json, ignoreDiscriminator) {
38
38
  if (json == null) {
39
39
  return json;
40
40
  }
@@ -44,10 +44,10 @@ export function ComputeFeatureDatasheetsResponseFromJSONTyped(json, ignoreDiscri
44
44
  status: json['status'],
45
45
  };
46
46
  }
47
- export function ComputeFeatureDatasheetsResponseToJSON(json) {
48
- return ComputeFeatureDatasheetsResponseToJSONTyped(json, false);
47
+ export function UpdatePartFeaturesResponseToJSON(json) {
48
+ return UpdatePartFeaturesResponseToJSONTyped(json, false);
49
49
  }
50
- export function ComputeFeatureDatasheetsResponseToJSONTyped(value, ignoreDiscriminator = false) {
50
+ export function UpdatePartFeaturesResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
51
  if (value == null) {
52
52
  return value;
53
53
  }
@@ -0,0 +1,51 @@
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
+ *
14
+ * @export
15
+ * @interface UpdatePartResponse
16
+ */
17
+ export interface UpdatePartResponse {
18
+ /**
19
+ * Identifier of the queued analysis job.
20
+ * @type {string}
21
+ * @memberof UpdatePartResponse
22
+ */
23
+ jobId: string;
24
+ /**
25
+ * Identifier of the part submitted for analysis.
26
+ * @type {string}
27
+ * @memberof UpdatePartResponse
28
+ */
29
+ partId: string;
30
+ /**
31
+ * Initial state of the accepted analysis job.
32
+ * @type {UpdatePartResponseStatusEnum}
33
+ * @memberof UpdatePartResponse
34
+ */
35
+ status: UpdatePartResponseStatusEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const UpdatePartResponseStatusEnum: {
41
+ readonly Queued: "queued";
42
+ };
43
+ export type UpdatePartResponseStatusEnum = (typeof UpdatePartResponseStatusEnum)[keyof typeof UpdatePartResponseStatusEnum];
44
+ /**
45
+ * Check if a given object implements the UpdatePartResponse interface.
46
+ */
47
+ export declare function instanceOfUpdatePartResponse(value: object): value is UpdatePartResponse;
48
+ export declare function UpdatePartResponseFromJSON(json: any): UpdatePartResponse;
49
+ export declare function UpdatePartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdatePartResponse;
50
+ export declare function UpdatePartResponseToJSON(json: any): UpdatePartResponse;
51
+ export declare function UpdatePartResponseToJSONTyped(value?: UpdatePartResponse | null, ignoreDiscriminator?: boolean): any;
@@ -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.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).
@@ -14,13 +14,13 @@
14
14
  /**
15
15
  * @export
16
16
  */
17
- export const AnalyzeJobResponseStatusEnum = {
17
+ export const UpdatePartResponseStatusEnum = {
18
18
  Queued: 'queued',
19
19
  };
20
20
  /**
21
- * Check if a given object implements the AnalyzeJobResponse interface.
21
+ * Check if a given object implements the UpdatePartResponse interface.
22
22
  */
23
- export function instanceOfAnalyzeJobResponse(value) {
23
+ export function instanceOfUpdatePartResponse(value) {
24
24
  if (!('jobId' in value) || value['jobId'] === undefined)
25
25
  return false;
26
26
  if (!('partId' in value) || value['partId'] === undefined)
@@ -31,10 +31,10 @@ export function instanceOfAnalyzeJobResponse(value) {
31
31
  return false;
32
32
  return true;
33
33
  }
34
- export function AnalyzeJobResponseFromJSON(json) {
35
- return AnalyzeJobResponseFromJSONTyped(json, false);
34
+ export function UpdatePartResponseFromJSON(json) {
35
+ return UpdatePartResponseFromJSONTyped(json, false);
36
36
  }
37
- export function AnalyzeJobResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ export function UpdatePartResponseFromJSONTyped(json, ignoreDiscriminator) {
38
38
  if (json == null) {
39
39
  return json;
40
40
  }
@@ -44,10 +44,10 @@ export function AnalyzeJobResponseFromJSONTyped(json, ignoreDiscriminator) {
44
44
  status: json['status'],
45
45
  };
46
46
  }
47
- export function AnalyzeJobResponseToJSON(json) {
48
- return AnalyzeJobResponseToJSONTyped(json, false);
47
+ export function UpdatePartResponseToJSON(json) {
48
+ return UpdatePartResponseToJSONTyped(json, false);
49
49
  }
50
- export function AnalyzeJobResponseToJSONTyped(value, ignoreDiscriminator = false) {
50
+ export function UpdatePartResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
51
  if (value == null) {
52
52
  return value;
53
53
  }
@@ -0,0 +1,38 @@
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
+ * A 2D vector (a plain `{ x, y }` object).
14
+ * @export
15
+ * @interface Vec2
16
+ */
17
+ export interface Vec2 {
18
+ /**
19
+ * Horizontal x coordinate in the current frame.
20
+ * @type {number}
21
+ * @memberof Vec2
22
+ */
23
+ x: number;
24
+ /**
25
+ * Horizontal y coordinate in the current frame.
26
+ * @type {number}
27
+ * @memberof Vec2
28
+ */
29
+ y: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the Vec2 interface.
33
+ */
34
+ export declare function instanceOfVec2(value: object): value is Vec2;
35
+ export declare function Vec2FromJSON(json: any): Vec2;
36
+ export declare function Vec2FromJSONTyped(json: any, ignoreDiscriminator: boolean): Vec2;
37
+ export declare function Vec2ToJSON(json: any): Vec2;
38
+ export declare function Vec2ToJSONTyped(value?: Vec2 | null, ignoreDiscriminator?: boolean): any;