@augno/sdk 0.18.2 → 0.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -2
- package/package.json +1 -1
- package/resources/catalog/catalog.d.mts +6 -6
- package/resources/catalog/catalog.d.mts.map +1 -1
- package/resources/catalog/catalog.d.ts +6 -6
- package/resources/catalog/catalog.d.ts.map +1 -1
- package/resources/catalog/catalog.js.map +1 -1
- package/resources/catalog/catalog.mjs.map +1 -1
- package/resources/catalog/index.d.mts +3 -3
- package/resources/catalog/index.d.mts.map +1 -1
- package/resources/catalog/index.d.ts +3 -3
- package/resources/catalog/index.d.ts.map +1 -1
- package/resources/catalog/index.js.map +1 -1
- package/resources/catalog/index.mjs.map +1 -1
- package/resources/catalog/items/actions.d.mts +249 -0
- package/resources/catalog/items/actions.d.mts.map +1 -0
- package/resources/catalog/items/actions.d.ts +249 -0
- package/resources/catalog/items/actions.d.ts.map +1 -0
- package/resources/catalog/items/actions.js +46 -0
- package/resources/catalog/items/actions.js.map +1 -0
- package/resources/catalog/items/actions.mjs +42 -0
- package/resources/catalog/items/actions.mjs.map +1 -0
- package/resources/catalog/items/index.d.mts +3 -1
- package/resources/catalog/items/index.d.mts.map +1 -1
- package/resources/catalog/items/index.d.ts +3 -1
- package/resources/catalog/items/index.d.ts.map +1 -1
- package/resources/catalog/items/index.js +5 -1
- package/resources/catalog/items/index.js.map +1 -1
- package/resources/catalog/items/index.mjs +2 -0
- package/resources/catalog/items/index.mjs.map +1 -1
- package/resources/catalog/items/inventory.d.mts +247 -0
- package/resources/catalog/items/inventory.d.mts.map +1 -0
- package/resources/catalog/items/inventory.d.ts +247 -0
- package/resources/catalog/items/inventory.d.ts.map +1 -0
- package/resources/catalog/items/inventory.js +75 -0
- package/resources/catalog/items/inventory.js.map +1 -0
- package/resources/catalog/items/inventory.mjs +71 -0
- package/resources/catalog/items/inventory.mjs.map +1 -0
- package/resources/catalog/items/items.d.mts +9 -104
- package/resources/catalog/items/items.d.mts.map +1 -1
- package/resources/catalog/items/items.d.ts +9 -104
- package/resources/catalog/items/items.d.ts.map +1 -1
- package/resources/catalog/items/items.js +8 -21
- package/resources/catalog/items/items.js.map +1 -1
- package/resources/catalog/items/items.mjs +8 -21
- package/resources/catalog/items/items.mjs.map +1 -1
- package/resources/catalog/materials/index.d.mts +1 -1
- package/resources/catalog/materials/index.d.mts.map +1 -1
- package/resources/catalog/materials/index.d.ts +1 -1
- package/resources/catalog/materials/index.d.ts.map +1 -1
- package/resources/catalog/materials/index.js.map +1 -1
- package/resources/catalog/materials/index.mjs.map +1 -1
- package/resources/catalog/materials/materials.d.mts +36 -3
- package/resources/catalog/materials/materials.d.mts.map +1 -1
- package/resources/catalog/materials/materials.d.ts +36 -3
- package/resources/catalog/materials/materials.d.ts.map +1 -1
- package/resources/catalog/materials/materials.js.map +1 -1
- package/resources/catalog/materials/materials.mjs.map +1 -1
- package/resources/catalog/product-lines/index.d.mts +1 -1
- package/resources/catalog/product-lines/index.d.mts.map +1 -1
- package/resources/catalog/product-lines/index.d.ts +1 -1
- package/resources/catalog/product-lines/index.d.ts.map +1 -1
- package/resources/catalog/product-lines/index.js.map +1 -1
- package/resources/catalog/product-lines/index.mjs.map +1 -1
- package/resources/catalog/product-lines/product-lines.d.mts +8 -23
- package/resources/catalog/product-lines/product-lines.d.mts.map +1 -1
- package/resources/catalog/product-lines/product-lines.d.ts +8 -23
- package/resources/catalog/product-lines/product-lines.d.ts.map +1 -1
- package/resources/catalog/product-lines/product-lines.js.map +1 -1
- package/resources/catalog/product-lines/product-lines.mjs.map +1 -1
- package/resources/core/audit-events.d.mts +4 -4
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +4 -4
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +2 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +2 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/jobs.d.mts +2 -2
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +2 -2
- package/resources/core/jobs.d.ts.map +1 -1
- package/resources/messaging/blocks.d.mts +4 -3
- package/resources/messaging/blocks.d.mts.map +1 -1
- package/resources/messaging/blocks.d.ts +4 -3
- package/resources/messaging/blocks.d.ts.map +1 -1
- package/resources/messaging/blocks.js.map +1 -1
- package/resources/messaging/blocks.mjs.map +1 -1
- package/resources/messaging/conversations/conversations.d.mts +3 -3
- package/resources/messaging/conversations/conversations.d.mts.map +1 -1
- package/resources/messaging/conversations/conversations.d.ts +3 -3
- package/resources/messaging/conversations/conversations.d.ts.map +1 -1
- package/resources/messaging/conversations/conversations.js.map +1 -1
- package/resources/messaging/conversations/conversations.mjs.map +1 -1
- package/resources/messaging/conversations/links.d.mts +2 -2
- package/resources/messaging/conversations/links.d.mts.map +1 -1
- package/resources/messaging/conversations/links.d.ts +2 -2
- package/resources/messaging/conversations/links.d.ts.map +1 -1
- package/resources/messaging/conversations/messages.d.mts +2 -2
- package/resources/messaging/conversations/messages.d.mts.map +1 -1
- package/resources/messaging/conversations/messages.d.ts +2 -2
- package/resources/messaging/conversations/messages.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.d.mts +2 -2
- package/resources/messaging/notifications/notifications.d.mts.map +1 -1
- package/resources/messaging/notifications/notifications.d.ts +2 -2
- package/resources/messaging/notifications/notifications.d.ts.map +1 -1
- package/resources/messaging/notifications/notifications.js.map +1 -1
- package/resources/messaging/notifications/notifications.mjs.map +1 -1
- package/resources/operations/machine-downtime-events.d.mts +5 -5
- package/resources/operations/machine-downtime-events.d.mts.map +1 -1
- package/resources/operations/machine-downtime-events.d.ts +5 -5
- package/resources/operations/machine-downtime-events.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.d.mts +1 -95
- package/resources/operations/production-schedules/actions.d.mts.map +1 -1
- package/resources/operations/production-schedules/actions.d.ts +1 -95
- package/resources/operations/production-schedules/actions.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.js +0 -34
- package/resources/operations/production-schedules/actions.js.map +1 -1
- package/resources/operations/production-schedules/actions.mjs +0 -34
- package/resources/operations/production-schedules/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/index.d.mts +1 -1
- package/resources/operations/production-schedules/index.d.mts.map +1 -1
- package/resources/operations/production-schedules/index.d.ts +1 -1
- package/resources/operations/production-schedules/index.d.ts.map +1 -1
- package/resources/operations/production-schedules/index.js.map +1 -1
- package/resources/operations/production-schedules/index.mjs.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +2 -2
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +2 -2
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
- package/resources/operations/shipping-terms.d.mts +9 -9
- package/resources/operations/shipping-terms.d.mts.map +1 -1
- package/resources/operations/shipping-terms.d.ts +9 -9
- package/resources/operations/shipping-terms.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.mts +3 -3
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +3 -3
- package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
- package/resources/sales/account-users/sales-targets.d.mts +2 -2
- package/resources/sales/account-users/sales-targets.d.mts.map +1 -1
- package/resources/sales/account-users/sales-targets.d.ts +2 -2
- package/resources/sales/account-users/sales-targets.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +5 -5
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +5 -5
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.mts +5 -5
- package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
- package/resources/sales/sales-orders/lines/lines.d.ts +5 -5
- package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.mts +8 -4
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +8 -4
- package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.js.map +1 -1
- package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
- package/src/resources/catalog/catalog.ts +2 -8
- package/src/resources/catalog/index.ts +1 -4
- package/src/resources/catalog/items/actions.ts +296 -0
- package/src/resources/catalog/items/index.ts +23 -3
- package/src/resources/catalog/items/inventory.ts +294 -0
- package/src/resources/catalog/items/items.ts +54 -124
- package/src/resources/catalog/materials/index.ts +1 -0
- package/src/resources/catalog/materials/materials.ts +41 -2
- package/src/resources/catalog/product-lines/index.ts +0 -1
- package/src/resources/catalog/product-lines/product-lines.ts +7 -25
- package/src/resources/core/audit-events.ts +26 -14
- package/src/resources/core/core.ts +13 -7
- package/src/resources/core/jobs.ts +7 -4
- package/src/resources/messaging/blocks.ts +4 -3
- package/src/resources/messaging/conversations/conversations.ts +21 -12
- package/src/resources/messaging/conversations/links.ts +14 -8
- package/src/resources/messaging/conversations/messages.ts +14 -8
- package/src/resources/messaging/notifications/notifications.ts +14 -8
- package/src/resources/operations/machine-downtime-events.ts +5 -5
- package/src/resources/operations/production-schedules/actions.ts +0 -118
- package/src/resources/operations/production-schedules/index.ts +0 -3
- package/src/resources/operations/production-schedules/production-schedules.ts +0 -6
- package/src/resources/operations/shipping-terms.ts +9 -9
- package/src/resources/sales/account-prices/account-prices.ts +3 -3
- package/src/resources/sales/account-users/sales-targets.ts +2 -2
- package/src/resources/sales/customers/customers.ts +5 -5
- package/src/resources/sales/sales-orders/lines/lines.ts +5 -5
- package/src/resources/sales/sales-orders/sales-orders.ts +9 -4
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,7 +4,7 @@ import { APIResource } from '../../../core/resource';
|
|
|
4
4
|
import * as CoreAPI from '../../core/core';
|
|
5
5
|
import * as AccountGroupsAPI from '../account-groups';
|
|
6
6
|
import * as AddressesAPI from '../addresses';
|
|
7
|
-
import * as
|
|
7
|
+
import * as InventoryAPI from '../../catalog/items/inventory';
|
|
8
8
|
import * as AccountPricesAPI from '../account-prices/account-prices';
|
|
9
9
|
import * as ActionsAPI from './actions';
|
|
10
10
|
import { ActionMergeParams, Actions, MergeCustomersRequest } from './actions';
|
|
@@ -295,7 +295,7 @@ export interface CreateCustomerRequest {
|
|
|
295
295
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
296
296
|
* the same way as physical amounts like weights or counts.
|
|
297
297
|
*/
|
|
298
|
-
credit_limit?:
|
|
298
|
+
credit_limit?: InventoryAPI.QuantityInput;
|
|
299
299
|
|
|
300
300
|
/**
|
|
301
301
|
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
@@ -497,7 +497,7 @@ export interface UpdateCustomerRequest {
|
|
|
497
497
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
498
498
|
* the same way as physical amounts like weights or counts.
|
|
499
499
|
*/
|
|
500
|
-
credit_limit?:
|
|
500
|
+
credit_limit?: InventoryAPI.QuantityInput | null;
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
503
|
* IDs of the account groups of type `pricing_group` to assign to this customer,
|
|
@@ -910,7 +910,7 @@ export interface CustomerCreateParams {
|
|
|
910
910
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
911
911
|
* the same way as physical amounts like weights or counts.
|
|
912
912
|
*/
|
|
913
|
-
credit_limit?:
|
|
913
|
+
credit_limit?: InventoryAPI.QuantityInput;
|
|
914
914
|
|
|
915
915
|
/**
|
|
916
916
|
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
@@ -1079,7 +1079,7 @@ export interface CustomerUpdateParams {
|
|
|
1079
1079
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
1080
1080
|
* the same way as physical amounts like weights or counts.
|
|
1081
1081
|
*/
|
|
1082
|
-
credit_limit?:
|
|
1082
|
+
credit_limit?: InventoryAPI.QuantityInput | null;
|
|
1083
1083
|
|
|
1084
1084
|
/**
|
|
1085
1085
|
* Body param: IDs of the account groups of type `pricing_group` to assign to this
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../../core/resource';
|
|
4
|
+
import * as InventoryAPI from '../../../catalog/items/inventory';
|
|
4
5
|
import * as MaterialsAPI from '../../../catalog/materials/materials';
|
|
5
|
-
import * as ProductLinesAPI from '../../../catalog/product-lines/product-lines';
|
|
6
6
|
import * as SalesOrdersAPI from '../sales-orders';
|
|
7
7
|
import * as ActionsAPI from './actions';
|
|
8
8
|
import {
|
|
@@ -145,7 +145,7 @@ export interface CreateSalesOrderLineRequest {
|
|
|
145
145
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
146
146
|
* the same way as physical amounts like weights or counts.
|
|
147
147
|
*/
|
|
148
|
-
quantity:
|
|
148
|
+
quantity: InventoryAPI.QuantityInput;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* The product description recorded on the line.
|
|
@@ -182,7 +182,7 @@ export interface UpdateSalesOrderLineRequest {
|
|
|
182
182
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
183
183
|
* the same way as physical amounts like weights or counts.
|
|
184
184
|
*/
|
|
185
|
-
quantity?:
|
|
185
|
+
quantity?: InventoryAPI.QuantityInput;
|
|
186
186
|
|
|
187
187
|
/**
|
|
188
188
|
* A value expressed as a ratio of two units, supplied on create and update
|
|
@@ -222,7 +222,7 @@ export interface LineCreateParams {
|
|
|
222
222
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
223
223
|
* the same way as physical amounts like weights or counts.
|
|
224
224
|
*/
|
|
225
|
-
quantity:
|
|
225
|
+
quantity: InventoryAPI.QuantityInput;
|
|
226
226
|
|
|
227
227
|
/**
|
|
228
228
|
* Query param: Sub-objects to expand in the response. When omitted, sub-objects
|
|
@@ -273,7 +273,7 @@ export interface LineUpdateParams {
|
|
|
273
273
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
274
274
|
* the same way as physical amounts like weights or counts.
|
|
275
275
|
*/
|
|
276
|
-
quantity?:
|
|
276
|
+
quantity?: InventoryAPI.QuantityInput;
|
|
277
277
|
|
|
278
278
|
/**
|
|
279
279
|
* Body param: A value expressed as a ratio of two units, supplied on create and
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
4
|
import * as RequestLogsAPI from '../../core/request-logs';
|
|
5
5
|
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
6
|
+
import * as InventoryAPI from '../../catalog/items/inventory';
|
|
6
7
|
import * as ItemsAPI from '../../catalog/items/items';
|
|
7
8
|
import * as MaterialsAPI from '../../catalog/materials/materials';
|
|
8
|
-
import * as ProductLinesAPI from '../../catalog/product-lines/product-lines';
|
|
9
9
|
import * as ProductsAPI from '../../catalog/products/products';
|
|
10
10
|
import * as UnitsAPI from '../../catalog/units/units';
|
|
11
11
|
import * as AccountPricesAPI from '../account-prices/account-prices';
|
|
@@ -354,7 +354,7 @@ export interface CreateSalesOrderLineInput {
|
|
|
354
354
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
355
355
|
* the same way as physical amounts like weights or counts.
|
|
356
356
|
*/
|
|
357
|
-
quantity:
|
|
357
|
+
quantity: InventoryAPI.QuantityInput;
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* Description recorded on the line.
|
|
@@ -792,7 +792,7 @@ export interface QuoteSalesOrderLineInput {
|
|
|
792
792
|
* The unit may be a currency, so money amounts such as a credit limit are written
|
|
793
793
|
* the same way as physical amounts like weights or counts.
|
|
794
794
|
*/
|
|
795
|
-
quantity:
|
|
795
|
+
quantity: InventoryAPI.QuantityInput;
|
|
796
796
|
}
|
|
797
797
|
|
|
798
798
|
/**
|
|
@@ -1230,6 +1230,11 @@ export interface SalesOrderLine {
|
|
|
1230
1230
|
*/
|
|
1231
1231
|
created_at: string;
|
|
1232
1232
|
|
|
1233
|
+
/**
|
|
1234
|
+
* An entry in your catalog: something you sell, consume, or build with.
|
|
1235
|
+
*/
|
|
1236
|
+
item: ItemsAPI.Item | null;
|
|
1237
|
+
|
|
1233
1238
|
/**
|
|
1234
1239
|
* Position of the line on the order.
|
|
1235
1240
|
*
|
|
@@ -1276,7 +1281,7 @@ export interface SalesOrderLine {
|
|
|
1276
1281
|
* resources point at them to report stock levels, ordered and packed amounts,
|
|
1277
1282
|
* money, weights, and durations.
|
|
1278
1283
|
*/
|
|
1279
|
-
quantity_ordered:
|
|
1284
|
+
quantity_ordered: MaterialsAPI.Quantity | null;
|
|
1280
1285
|
|
|
1281
1286
|
/**
|
|
1282
1287
|
* Derived monetary totals for a sales order or one of its lines.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.19.1'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.19.1";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.19.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.19.1'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|