@toolpath/api 0.2.1 → 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 (122) hide show
  1. package/README.md +1 -1
  2. package/dist/generated/apis/FeaturesApi.d.ts +23 -21
  3. package/dist/generated/apis/FeaturesApi.js +42 -34
  4. package/dist/generated/apis/JobsApi.d.ts +2 -2
  5. package/dist/generated/apis/JobsApi.js +2 -2
  6. package/dist/generated/apis/KeysApi.d.ts +2 -2
  7. package/dist/generated/apis/KeysApi.js +2 -2
  8. package/dist/generated/apis/PartsApi.d.ts +30 -30
  9. package/dist/generated/apis/PartsApi.js +51 -51
  10. package/dist/generated/apis/ServiceApi.d.ts +2 -2
  11. package/dist/generated/apis/ServiceApi.js +2 -2
  12. package/dist/generated/models/BevelFacts.d.ts +2 -2
  13. package/dist/generated/models/BevelFacts.js +2 -2
  14. package/dist/generated/models/BossFacts.d.ts +2 -2
  15. package/dist/generated/models/BossFacts.js +2 -2
  16. package/dist/generated/models/CdBounds.d.ts +2 -2
  17. package/dist/generated/models/CdBounds.js +2 -2
  18. package/dist/generated/models/CdData.d.ts +2 -2
  19. package/dist/generated/models/CdData.js +2 -2
  20. package/dist/generated/models/ChamferFacts.d.ts +2 -2
  21. package/dist/generated/models/ChamferFacts.js +2 -2
  22. package/dist/generated/models/CreatePartResponse.d.ts +2 -2
  23. package/dist/generated/models/CreatePartResponse.js +2 -2
  24. package/dist/generated/models/DirectionZBounds.d.ts +2 -2
  25. package/dist/generated/models/DirectionZBounds.js +2 -2
  26. package/dist/generated/models/DirectionZBoundsDirection.d.ts +2 -2
  27. package/dist/generated/models/DirectionZBoundsDirection.js +2 -2
  28. package/dist/generated/models/DovetailFacts.d.ts +2 -2
  29. package/dist/generated/models/DovetailFacts.js +2 -2
  30. package/dist/generated/models/FaceFacts.d.ts +2 -2
  31. package/dist/generated/models/FaceFacts.js +2 -2
  32. package/dist/generated/models/FeatureDatasheet.d.ts +2 -2
  33. package/dist/generated/models/FeatureDatasheet.js +2 -2
  34. package/dist/generated/models/FeatureDatasheetFacts.d.ts +2 -2
  35. package/dist/generated/models/FeatureDatasheetFacts.js +2 -2
  36. package/dist/generated/models/FeatureType.d.ts +2 -2
  37. package/dist/generated/models/FeatureType.js +2 -2
  38. package/dist/generated/models/HealthResponse.d.ts +2 -2
  39. package/dist/generated/models/HealthResponse.js +2 -2
  40. package/dist/generated/models/HoleFacts.d.ts +2 -2
  41. package/dist/generated/models/HoleFacts.js +2 -2
  42. package/dist/generated/models/HoleProcess.d.ts +2 -2
  43. package/dist/generated/models/HoleProcess.js +2 -2
  44. package/dist/generated/models/JobDetail.d.ts +4 -4
  45. package/dist/generated/models/JobDetail.js +2 -2
  46. package/dist/generated/models/JobSummary.d.ts +3 -3
  47. package/dist/generated/models/JobSummary.js +2 -2
  48. package/dist/generated/models/KeyValidationResponse.d.ts +2 -2
  49. package/dist/generated/models/KeyValidationResponse.js +2 -2
  50. package/dist/generated/models/ListJobsResponse.d.ts +2 -2
  51. package/dist/generated/models/ListJobsResponse.js +2 -2
  52. package/dist/generated/models/OpenApiDocument.d.ts +2 -2
  53. package/dist/generated/models/OpenApiDocument.js +2 -2
  54. package/dist/generated/models/PartFeature.d.ts +3 -3
  55. package/dist/generated/models/PartFeature.js +2 -2
  56. package/dist/generated/models/PartFeatureAxis.d.ts +3 -3
  57. package/dist/generated/models/PartFeatureAxis.js +2 -2
  58. package/dist/generated/models/PartFeatureEntry.d.ts +51 -0
  59. package/dist/generated/models/{FeatureDatasheetEntry.js → PartFeatureEntry.js} +10 -10
  60. package/dist/generated/models/PartFeatureMachiningDirection.d.ts +2 -2
  61. package/dist/generated/models/PartFeatureMachiningDirection.js +2 -2
  62. package/dist/generated/models/PartFeaturesResponse.d.ts +39 -0
  63. package/dist/generated/models/PartFeaturesResponse.js +48 -0
  64. package/dist/generated/models/PartResponse.d.ts +139 -0
  65. package/dist/generated/models/{PartReportResponse.js → PartResponse.js} +13 -13
  66. package/dist/generated/models/PartResponseUnits.d.ts +52 -0
  67. package/dist/generated/models/PartResponseUnits.js +63 -0
  68. package/dist/generated/models/PocketFacts.d.ts +2 -2
  69. package/dist/generated/models/PocketFacts.js +2 -2
  70. package/dist/generated/models/ProblemDetails.d.ts +2 -2
  71. package/dist/generated/models/ProblemDetails.js +2 -2
  72. package/dist/generated/models/ProfileFacts.d.ts +2 -2
  73. package/dist/generated/models/ProfileFacts.js +2 -2
  74. package/dist/generated/models/Region.d.ts +3 -3
  75. package/dist/generated/models/Region.js +2 -2
  76. package/dist/generated/models/ReportUnits.d.ts +2 -2
  77. package/dist/generated/models/ReportUnits.js +2 -2
  78. package/dist/generated/models/SinkFacts.d.ts +2 -2
  79. package/dist/generated/models/SinkFacts.js +2 -2
  80. package/dist/generated/models/SurfaceFacts.d.ts +2 -2
  81. package/dist/generated/models/SurfaceFacts.js +2 -2
  82. package/dist/generated/models/ThreadProcess.d.ts +2 -2
  83. package/dist/generated/models/ThreadProcess.js +2 -2
  84. package/dist/generated/models/ThreadSpec.d.ts +2 -2
  85. package/dist/generated/models/ThreadSpec.js +2 -2
  86. package/dist/generated/models/Threading.d.ts +2 -2
  87. package/dist/generated/models/Threading.js +2 -2
  88. package/dist/generated/models/ToleranceBand.d.ts +2 -2
  89. package/dist/generated/models/ToleranceBand.js +2 -2
  90. package/dist/generated/models/ToolFitResult.d.ts +2 -2
  91. package/dist/generated/models/ToolFitResult.js +2 -2
  92. package/dist/generated/models/TslotFacts.d.ts +2 -2
  93. package/dist/generated/models/TslotFacts.js +2 -2
  94. package/dist/generated/models/UpdatePartFeaturesRequest.d.ts +32 -0
  95. package/dist/generated/models/UpdatePartFeaturesRequest.js +43 -0
  96. package/dist/generated/models/UpdatePartFeaturesResponse.d.ts +51 -0
  97. package/dist/generated/models/UpdatePartFeaturesResponse.js +59 -0
  98. package/dist/generated/models/UpdatePartResponse.d.ts +51 -0
  99. package/dist/generated/models/UpdatePartResponse.js +59 -0
  100. package/dist/generated/models/Vec2.d.ts +2 -2
  101. package/dist/generated/models/Vec2.js +2 -2
  102. package/dist/generated/models/Vec3.d.ts +2 -2
  103. package/dist/generated/models/Vec3.js +2 -2
  104. package/dist/generated/models/WallFacts.d.ts +2 -2
  105. package/dist/generated/models/WallFacts.js +2 -2
  106. package/dist/generated/models/index.d.ts +7 -7
  107. package/dist/generated/models/index.js +7 -7
  108. package/dist/generated/runtime.d.ts +2 -2
  109. package/dist/generated/runtime.js +2 -2
  110. package/package.json +3 -3
  111. package/dist/generated/models/AnalyzeJobResponse.d.ts +0 -51
  112. package/dist/generated/models/AnalyzeJobResponse.js +0 -59
  113. package/dist/generated/models/ComputeFeatureDatasheetsRequest.d.ts +0 -32
  114. package/dist/generated/models/ComputeFeatureDatasheetsRequest.js +0 -43
  115. package/dist/generated/models/ComputeFeatureDatasheetsResponse.d.ts +0 -51
  116. package/dist/generated/models/ComputeFeatureDatasheetsResponse.js +0 -59
  117. package/dist/generated/models/FeatureDatasheetEntry.d.ts +0 -51
  118. package/dist/generated/models/FeatureDatasheetsResponse.d.ts +0 -39
  119. package/dist/generated/models/FeatureDatasheetsResponse.js +0 -48
  120. package/dist/generated/models/PartReportResponse.d.ts +0 -139
  121. package/dist/generated/models/PartReportResponseUnits.d.ts +0 -52
  122. package/dist/generated/models/PartReportResponseUnits.js +0 -63
@@ -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.1
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.1
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.1
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.1
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.1
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).
@@ -18,7 +18,7 @@ import type { PartFeatureAxis } from './PartFeatureAxis.js';
18
18
  */
19
19
  export interface PartFeature {
20
20
  /**
21
- * Globally unique identifier of this feature record within its report.
21
+ * Globally unique identifier of this feature record within its part result.
22
22
  * @type {string}
23
23
  * @memberof PartFeature
24
24
  */
@@ -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.1
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.1
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).
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Feature-local machining axis, such as a face normal; null for older reports.
13
+ * Feature-local machining axis, such as a face normal; null for older part results.
14
14
  * @export
15
15
  * @interface PartFeatureAxis
16
16
  */
@@ -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.1
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).
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Toolpath Engine API
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
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 { FeatureDatasheet } from './FeatureDatasheet.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PartFeatureEntry
17
+ */
18
+ export interface PartFeatureEntry {
19
+ /**
20
+ * Identifier of the resolved feature.
21
+ * @type {string}
22
+ * @memberof PartFeatureEntry
23
+ */
24
+ featureId: string;
25
+ /**
26
+ * Stable kernel feature tag, encoded as a lowercase hexadecimal string.
27
+ * @type {string}
28
+ * @memberof PartFeatureEntry
29
+ */
30
+ featureTag: string;
31
+ /**
32
+ * Kernel-recognized feature type; the vocabulary is open-ended.
33
+ * @type {string}
34
+ * @memberof PartFeatureEntry
35
+ */
36
+ featureType: string;
37
+ /**
38
+ * Generated machining detail, or null when this feature has no detail yet.
39
+ * @type {FeatureDatasheet}
40
+ * @memberof PartFeatureEntry
41
+ */
42
+ datasheet?: FeatureDatasheet | null;
43
+ }
44
+ /**
45
+ * Check if a given object implements the PartFeatureEntry interface.
46
+ */
47
+ export declare function instanceOfPartFeatureEntry(value: object): value is PartFeatureEntry;
48
+ export declare function PartFeatureEntryFromJSON(json: any): PartFeatureEntry;
49
+ export declare function PartFeatureEntryFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartFeatureEntry;
50
+ export declare function PartFeatureEntryToJSON(json: any): PartFeatureEntry;
51
+ export declare function PartFeatureEntryToJSONTyped(value?: PartFeatureEntry | null, ignoreDiscriminator?: boolean): any;
@@ -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.1
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).
@@ -13,9 +13,9 @@
13
13
  */
14
14
  import { FeatureDatasheetFromJSON, FeatureDatasheetToJSON, } from './FeatureDatasheet.js';
15
15
  /**
16
- * Check if a given object implements the FeatureDatasheetEntry interface.
16
+ * Check if a given object implements the PartFeatureEntry interface.
17
17
  */
18
- export function instanceOfFeatureDatasheetEntry(value) {
18
+ export function instanceOfPartFeatureEntry(value) {
19
19
  if (!('featureId' in value) || value['featureId'] === undefined)
20
20
  return false;
21
21
  if (!('featureTag' in value) || value['featureTag'] === undefined)
@@ -24,10 +24,10 @@ export function instanceOfFeatureDatasheetEntry(value) {
24
24
  return false;
25
25
  return true;
26
26
  }
27
- export function FeatureDatasheetEntryFromJSON(json) {
28
- return FeatureDatasheetEntryFromJSONTyped(json, false);
27
+ export function PartFeatureEntryFromJSON(json) {
28
+ return PartFeatureEntryFromJSONTyped(json, false);
29
29
  }
30
- export function FeatureDatasheetEntryFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function PartFeatureEntryFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if (json == null) {
32
32
  return json;
33
33
  }
@@ -42,10 +42,10 @@ export function FeatureDatasheetEntryFromJSONTyped(json, ignoreDiscriminator) {
42
42
  : FeatureDatasheetFromJSON(json['datasheet']),
43
43
  };
44
44
  }
45
- export function FeatureDatasheetEntryToJSON(json) {
46
- return FeatureDatasheetEntryToJSONTyped(json, false);
45
+ export function PartFeatureEntryToJSON(json) {
46
+ return PartFeatureEntryToJSONTyped(json, false);
47
47
  }
48
- export function FeatureDatasheetEntryToJSONTyped(value, ignoreDiscriminator = false) {
48
+ export function PartFeatureEntryToJSONTyped(value, ignoreDiscriminator = false) {
49
49
  if (value == null) {
50
50
  return value;
51
51
  }
@@ -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.1
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.1
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).
@@ -0,0 +1,39 @@
1
+ /**
2
+ * Toolpath Engine API
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
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 { PartFeatureEntry } from './PartFeatureEntry.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PartFeaturesResponse
17
+ */
18
+ export interface PartFeaturesResponse {
19
+ /**
20
+ * Detailed machining data for requested features.
21
+ * @type {Array<PartFeatureEntry>}
22
+ * @memberof PartFeaturesResponse
23
+ */
24
+ datasheets: Array<PartFeatureEntry>;
25
+ /**
26
+ * Requested feature identifiers that were unknown.
27
+ * @type {Array<string>}
28
+ * @memberof PartFeaturesResponse
29
+ */
30
+ notFound: Array<string>;
31
+ }
32
+ /**
33
+ * Check if a given object implements the PartFeaturesResponse interface.
34
+ */
35
+ export declare function instanceOfPartFeaturesResponse(value: object): value is PartFeaturesResponse;
36
+ export declare function PartFeaturesResponseFromJSON(json: any): PartFeaturesResponse;
37
+ export declare function PartFeaturesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartFeaturesResponse;
38
+ export declare function PartFeaturesResponseToJSON(json: any): PartFeaturesResponse;
39
+ export declare function PartFeaturesResponseToJSONTyped(value?: PartFeaturesResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Toolpath Engine API
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
+ *
7
+ * The version of the OpenAPI document: 1.0.3
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 { PartFeatureEntryFromJSON, PartFeatureEntryToJSON, } from './PartFeatureEntry.js';
15
+ /**
16
+ * Check if a given object implements the PartFeaturesResponse interface.
17
+ */
18
+ export function instanceOfPartFeaturesResponse(value) {
19
+ if (!('datasheets' in value) || value['datasheets'] === undefined)
20
+ return false;
21
+ if (!('notFound' in value) || value['notFound'] === undefined)
22
+ return false;
23
+ return true;
24
+ }
25
+ export function PartFeaturesResponseFromJSON(json) {
26
+ return PartFeaturesResponseFromJSONTyped(json, false);
27
+ }
28
+ export function PartFeaturesResponseFromJSONTyped(json, ignoreDiscriminator) {
29
+ if (json == null) {
30
+ return json;
31
+ }
32
+ return {
33
+ datasheets: json['datasheets'].map(PartFeatureEntryFromJSON),
34
+ notFound: json['notFound'],
35
+ };
36
+ }
37
+ export function PartFeaturesResponseToJSON(json) {
38
+ return PartFeaturesResponseToJSONTyped(json, false);
39
+ }
40
+ export function PartFeaturesResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
+ if (value == null) {
42
+ return value;
43
+ }
44
+ return {
45
+ datasheets: value['datasheets'].map(PartFeatureEntryToJSON),
46
+ notFound: value['notFound'],
47
+ };
48
+ }
@@ -0,0 +1,139 @@
1
+ /**
2
+ * Toolpath Engine API
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
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 { DirectionZBounds } from './DirectionZBounds.js';
13
+ import type { Vec3 } from './Vec3.js';
14
+ import type { Region } from './Region.js';
15
+ import type { PartFeature } from './PartFeature.js';
16
+ import type { PartResponseUnits } from './PartResponseUnits.js';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PartResponse
21
+ */
22
+ export interface PartResponse {
23
+ /**
24
+ * Identifier of this part.
25
+ * @type {string}
26
+ * @memberof PartResponse
27
+ */
28
+ partId: string;
29
+ /**
30
+ * Identifier of this immutable part result.
31
+ * @type {string}
32
+ * @memberof PartResponse
33
+ */
34
+ reportId: string;
35
+ /**
36
+ * Identifier of the processing job that produced this part result.
37
+ * @type {string}
38
+ * @memberof PartResponse
39
+ */
40
+ jobId: string;
41
+ /**
42
+ * Version of the Toolpath kernel that produced this part result.
43
+ * @type {string}
44
+ * @memberof PartResponse
45
+ */
46
+ kernelVersion: string;
47
+ /**
48
+ *
49
+ * @type {PartResponseUnits}
50
+ * @memberof PartResponse
51
+ */
52
+ units: PartResponseUnits;
53
+ /**
54
+ * Recognized B-rep regions, ordered by region index.
55
+ * @type {Array<Region>}
56
+ * @memberof PartResponse
57
+ */
58
+ regions: Array<Region>;
59
+ /**
60
+ * Features recognized during this processing run.
61
+ * @type {Array<PartFeature>}
62
+ * @memberof PartResponse
63
+ */
64
+ features: Array<PartFeature>;
65
+ /**
66
+ * Directions from which the part can be machined.
67
+ * @type {Array<Vec3>}
68
+ * @memberof PartResponse
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 PartResponse
75
+ */
76
+ directionZBounds: Array<DirectionZBounds> | null;
77
+ /**
78
+ * Number of points in the generated mesh.
79
+ * @type {number}
80
+ * @memberof PartResponse
81
+ */
82
+ meshPointCount: number;
83
+ /**
84
+ * Number of triangles in the generated mesh.
85
+ * @type {number}
86
+ * @memberof PartResponse
87
+ */
88
+ meshTriangleCount: number;
89
+ /**
90
+ * 15-minute URL for the rendered PNG thumbnail, or null when absent.
91
+ * @type {string}
92
+ * @memberof PartResponse
93
+ */
94
+ thumbnailUrl: string | null;
95
+ /**
96
+ * 15-minute URL for the generated STL mesh, or null when absent.
97
+ * @type {string}
98
+ * @memberof PartResponse
99
+ */
100
+ meshStlUrl: string | null;
101
+ /**
102
+ * 15-minute URL for the generated GLB mesh, or null when absent.
103
+ * @type {string}
104
+ * @memberof PartResponse
105
+ */
106
+ meshGlbUrl: string | null;
107
+ /**
108
+ * Worker time spent downloading the source CAD file, in milliseconds.
109
+ * @type {number}
110
+ * @memberof PartResponse
111
+ */
112
+ downloadMs: number;
113
+ /**
114
+ * Kernel time spent on initial part processing, in milliseconds.
115
+ * @type {number}
116
+ * @memberof PartResponse
117
+ */
118
+ recognitionMs: number;
119
+ /**
120
+ * Kernel time spent building per-feature details, in milliseconds.
121
+ * @type {number}
122
+ * @memberof PartResponse
123
+ */
124
+ enrichmentMs: number;
125
+ /**
126
+ * Total worker processing time for this part, in milliseconds.
127
+ * @type {number}
128
+ * @memberof PartResponse
129
+ */
130
+ totalMs: number;
131
+ }
132
+ /**
133
+ * Check if a given object implements the PartResponse interface.
134
+ */
135
+ export declare function instanceOfPartResponse(value: object): value is PartResponse;
136
+ export declare function PartResponseFromJSON(json: any): PartResponse;
137
+ export declare function PartResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartResponse;
138
+ export declare function PartResponseToJSON(json: any): PartResponse;
139
+ export declare function PartResponseToJSONTyped(value?: PartResponse | null, ignoreDiscriminator?: boolean): any;
@@ -2,24 +2,24 @@
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.1
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).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { PartReportResponseUnitsFromJSON, PartReportResponseUnitsToJSON, } from './PartReportResponseUnits.js';
15
14
  import { DirectionZBoundsFromJSON, DirectionZBoundsToJSON, } from './DirectionZBounds.js';
16
15
  import { Vec3FromJSON, Vec3ToJSON } from './Vec3.js';
17
16
  import { RegionFromJSON, RegionToJSON } from './Region.js';
18
17
  import { PartFeatureFromJSON, PartFeatureToJSON, } from './PartFeature.js';
18
+ import { PartResponseUnitsFromJSON, PartResponseUnitsToJSON, } from './PartResponseUnits.js';
19
19
  /**
20
- * Check if a given object implements the PartReportResponse interface.
20
+ * Check if a given object implements the PartResponse interface.
21
21
  */
22
- export function instanceOfPartReportResponse(value) {
22
+ export function instanceOfPartResponse(value) {
23
23
  if (!('partId' in value) || value['partId'] === undefined)
24
24
  return false;
25
25
  if (!('reportId' in value) || value['reportId'] === undefined)
@@ -58,10 +58,10 @@ export function instanceOfPartReportResponse(value) {
58
58
  return false;
59
59
  return true;
60
60
  }
61
- export function PartReportResponseFromJSON(json) {
62
- return PartReportResponseFromJSONTyped(json, false);
61
+ export function PartResponseFromJSON(json) {
62
+ return PartResponseFromJSONTyped(json, false);
63
63
  }
64
- export function PartReportResponseFromJSONTyped(json, ignoreDiscriminator) {
64
+ export function PartResponseFromJSONTyped(json, ignoreDiscriminator) {
65
65
  if (json == null) {
66
66
  return json;
67
67
  }
@@ -70,7 +70,7 @@ export function PartReportResponseFromJSONTyped(json, ignoreDiscriminator) {
70
70
  reportId: json['reportId'],
71
71
  jobId: json['jobId'],
72
72
  kernelVersion: json['kernelVersion'],
73
- units: PartReportResponseUnitsFromJSON(json['units']),
73
+ units: PartResponseUnitsFromJSON(json['units']),
74
74
  regions: json['regions'].map(RegionFromJSON),
75
75
  features: json['features'].map(PartFeatureFromJSON),
76
76
  candidateDirections: json['candidateDirections'].map(Vec3FromJSON),
@@ -88,10 +88,10 @@ export function PartReportResponseFromJSONTyped(json, ignoreDiscriminator) {
88
88
  totalMs: json['totalMs'],
89
89
  };
90
90
  }
91
- export function PartReportResponseToJSON(json) {
92
- return PartReportResponseToJSONTyped(json, false);
91
+ export function PartResponseToJSON(json) {
92
+ return PartResponseToJSONTyped(json, false);
93
93
  }
94
- export function PartReportResponseToJSONTyped(value, ignoreDiscriminator = false) {
94
+ export function PartResponseToJSONTyped(value, ignoreDiscriminator = false) {
95
95
  if (value == null) {
96
96
  return value;
97
97
  }
@@ -100,7 +100,7 @@ export function PartReportResponseToJSONTyped(value, ignoreDiscriminator = false
100
100
  reportId: value['reportId'],
101
101
  jobId: value['jobId'],
102
102
  kernelVersion: value['kernelVersion'],
103
- units: PartReportResponseUnitsToJSON(value['units']),
103
+ units: PartResponseUnitsToJSON(value['units']),
104
104
  regions: value['regions'].map(RegionToJSON),
105
105
  features: value['features'].map(PartFeatureToJSON),
106
106
  candidateDirections: value['candidateDirections'].map(Vec3ToJSON),
@@ -0,0 +1,52 @@
1
+ /**
2
+ * Toolpath Engine API
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
+ *
5
+ * The version of the OpenAPI document: 1.0.3
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 part response.
14
+ * @export
15
+ * @interface PartResponseUnits
16
+ */
17
+ export interface PartResponseUnits {
18
+ /**
19
+ * Unit used by every length and area measurement.
20
+ * @type {PartResponseUnitsLengthEnum}
21
+ * @memberof PartResponseUnits
22
+ */
23
+ length: PartResponseUnitsLengthEnum;
24
+ /**
25
+ * Unit used by every angular measurement.
26
+ * @type {PartResponseUnitsAngleEnum}
27
+ * @memberof PartResponseUnits
28
+ */
29
+ angle: PartResponseUnitsAngleEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ */
34
+ export declare const PartResponseUnitsLengthEnum: {
35
+ readonly Mm: "mm";
36
+ };
37
+ export type PartResponseUnitsLengthEnum = (typeof PartResponseUnitsLengthEnum)[keyof typeof PartResponseUnitsLengthEnum];
38
+ /**
39
+ * @export
40
+ */
41
+ export declare const PartResponseUnitsAngleEnum: {
42
+ readonly Deg: "deg";
43
+ };
44
+ export type PartResponseUnitsAngleEnum = (typeof PartResponseUnitsAngleEnum)[keyof typeof PartResponseUnitsAngleEnum];
45
+ /**
46
+ * Check if a given object implements the PartResponseUnits interface.
47
+ */
48
+ export declare function instanceOfPartResponseUnits(value: object): value is PartResponseUnits;
49
+ export declare function PartResponseUnitsFromJSON(json: any): PartResponseUnits;
50
+ export declare function PartResponseUnitsFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartResponseUnits;
51
+ export declare function PartResponseUnitsToJSON(json: any): PartResponseUnits;
52
+ export declare function PartResponseUnitsToJSONTyped(value?: PartResponseUnits | null, ignoreDiscriminator?: boolean): any;