@toolpath/api 0.2.2 → 0.2.3

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