@augno/sdk 0.18.0 → 0.18.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -7
- package/package.json +1 -1
- package/resources/ai/memories.d.mts +6 -6
- package/resources/ai/memories.d.mts.map +1 -1
- package/resources/ai/memories.d.ts +6 -6
- package/resources/ai/memories.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.mts +8 -0
- package/resources/auth/api-keys/api-keys.d.mts.map +1 -1
- package/resources/auth/api-keys/api-keys.d.ts +8 -0
- package/resources/auth/api-keys/api-keys.d.ts.map +1 -1
- package/resources/auth/api-keys/api-keys.js.map +1 -1
- package/resources/auth/api-keys/api-keys.mjs.map +1 -1
- package/resources/catalog/items/attributes.d.mts +3 -0
- package/resources/catalog/items/attributes.d.mts.map +1 -1
- package/resources/catalog/items/attributes.d.ts +3 -0
- package/resources/catalog/items/attributes.d.ts.map +1 -1
- package/resources/catalog/items/attributes.js +3 -0
- package/resources/catalog/items/attributes.js.map +1 -1
- package/resources/catalog/items/attributes.mjs +3 -0
- package/resources/catalog/items/attributes.mjs.map +1 -1
- package/resources/catalog/materials/materials.d.mts +6 -0
- package/resources/catalog/materials/materials.d.mts.map +1 -1
- package/resources/catalog/materials/materials.d.ts +6 -0
- 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/parts/parts.d.mts +6 -0
- package/resources/catalog/parts/parts.d.mts.map +1 -1
- package/resources/catalog/parts/parts.d.ts +6 -0
- package/resources/catalog/parts/parts.d.ts.map +1 -1
- package/resources/catalog/parts/parts.js.map +1 -1
- package/resources/catalog/parts/parts.mjs.map +1 -1
- package/resources/catalog/products/products.d.mts +6 -4
- package/resources/catalog/products/products.d.mts.map +1 -1
- package/resources/catalog/products/products.d.ts +6 -4
- package/resources/catalog/products/products.d.ts.map +1 -1
- package/resources/catalog/products/products.js.map +1 -1
- package/resources/catalog/products/products.mjs.map +1 -1
- package/resources/core/actions.d.mts +73 -0
- package/resources/core/actions.d.mts.map +1 -0
- package/resources/core/actions.d.ts +73 -0
- package/resources/core/actions.d.ts.map +1 -0
- package/resources/core/actions.js +36 -0
- package/resources/core/actions.js.map +1 -0
- package/resources/core/actions.mjs +32 -0
- package/resources/core/actions.mjs.map +1 -0
- 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 +6 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js +4 -0
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +4 -0
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +1 -0
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +1 -0
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js +3 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs +1 -0
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +1 -1
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +1 -1
- package/resources/core/jobs.d.ts.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/index.d.mts +2 -1
- package/resources/operations/index.d.mts.map +1 -1
- package/resources/operations/index.d.ts +2 -1
- package/resources/operations/index.d.ts.map +1 -1
- package/resources/operations/index.js +9 -7
- package/resources/operations/index.js.map +1 -1
- package/resources/operations/index.mjs +1 -0
- package/resources/operations/index.mjs.map +1 -1
- package/resources/operations/machine-downtime-events.d.mts +56 -7
- package/resources/operations/machine-downtime-events.d.mts.map +1 -1
- package/resources/operations/machine-downtime-events.d.ts +56 -7
- package/resources/operations/machine-downtime-events.d.ts.map +1 -1
- package/resources/operations/machine-downtime-events.js +11 -7
- package/resources/operations/machine-downtime-events.js.map +1 -1
- package/resources/operations/machine-downtime-events.mjs +11 -7
- package/resources/operations/machine-downtime-events.mjs.map +1 -1
- package/resources/operations/operating-calendars/closures.d.mts +173 -0
- package/resources/operations/operating-calendars/closures.d.mts.map +1 -0
- package/resources/operations/operating-calendars/closures.d.ts +173 -0
- package/resources/operations/operating-calendars/closures.d.ts.map +1 -0
- package/resources/operations/operating-calendars/closures.js +81 -0
- package/resources/operations/operating-calendars/closures.js.map +1 -0
- package/resources/operations/operating-calendars/closures.mjs +77 -0
- package/resources/operations/operating-calendars/closures.mjs.map +1 -0
- package/resources/operations/operating-calendars/index.d.mts +3 -0
- package/resources/operations/operating-calendars/index.d.mts.map +1 -0
- package/resources/operations/operating-calendars/index.d.ts +3 -0
- package/resources/operations/operating-calendars/index.d.ts.map +1 -0
- package/resources/operations/operating-calendars/index.js +9 -0
- package/resources/operations/operating-calendars/index.js.map +1 -0
- package/resources/operations/operating-calendars/index.mjs +4 -0
- package/resources/operations/operating-calendars/index.mjs.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts +332 -0
- package/resources/operations/operating-calendars/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.js +129 -0
- package/resources/operations/operating-calendars/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs +124 -0
- package/resources/operations/operating-calendars/operating-calendars.mjs.map +1 -0
- package/resources/operations/operating-calendars.d.mts +2 -0
- package/resources/operations/operating-calendars.d.mts.map +1 -0
- package/resources/operations/operating-calendars.d.ts +2 -0
- package/resources/operations/operating-calendars.d.ts.map +1 -0
- package/resources/operations/operating-calendars.js +6 -0
- package/resources/operations/operating-calendars.js.map +1 -0
- package/resources/operations/operating-calendars.mjs +3 -0
- package/resources/operations/operating-calendars.mjs.map +1 -0
- package/resources/operations/operations.d.mts +6 -2
- package/resources/operations/operations.d.mts.map +1 -1
- package/resources/operations/operations.d.ts +6 -2
- package/resources/operations/operations.d.ts.map +1 -1
- package/resources/operations/operations.js +4 -0
- package/resources/operations/operations.js.map +1 -1
- package/resources/operations/operations.mjs +4 -0
- package/resources/operations/operations.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +43 -12
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +43 -12
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.js.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.mjs.map +1 -1
- package/resources/operations/production-schedules/actions.d.mts +34 -1
- package/resources/operations/production-schedules/actions.d.mts.map +1 -1
- package/resources/operations/production-schedules/actions.d.ts +34 -1
- package/resources/operations/production-schedules/actions.d.ts.map +1 -1
- package/resources/operations/production-schedules/actions.js +8 -0
- package/resources/operations/production-schedules/actions.js.map +1 -1
- package/resources/operations/production-schedules/actions.mjs +8 -0
- 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/lines.d.mts +10 -6
- package/resources/operations/production-schedules/lines.d.mts.map +1 -1
- package/resources/operations/production-schedules/lines.d.ts +10 -6
- package/resources/operations/production-schedules/lines.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +295 -2
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +42 -0
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +42 -0
- package/resources/operations/production-schedules/production-schedules.mjs.map +1 -1
- package/resources/sales/account-groups.d.mts +2 -1
- package/resources/sales/account-groups.d.mts.map +1 -1
- package/resources/sales/account-groups.d.ts +2 -1
- package/resources/sales/account-groups.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.mts +10 -1
- package/resources/sales/account-prices/account-prices.d.mts.map +1 -1
- package/resources/sales/account-prices/account-prices.d.ts +10 -1
- package/resources/sales/account-prices/account-prices.d.ts.map +1 -1
- package/resources/sales/account-prices/account-prices.js.map +1 -1
- package/resources/sales/account-prices/account-prices.mjs.map +1 -1
- package/resources/sales/addresses.d.mts +20 -0
- package/resources/sales/addresses.d.mts.map +1 -1
- package/resources/sales/addresses.d.ts +20 -0
- package/resources/sales/addresses.d.ts.map +1 -1
- package/resources/sales/customers/customers.d.mts +72 -14
- package/resources/sales/customers/customers.d.mts.map +1 -1
- package/resources/sales/customers/customers.d.ts +72 -14
- package/resources/sales/customers/customers.d.ts.map +1 -1
- package/resources/sales/customers/customers.js +10 -5
- package/resources/sales/customers/customers.js.map +1 -1
- package/resources/sales/customers/customers.mjs +10 -5
- package/resources/sales/customers/customers.mjs.map +1 -1
- package/resources/sales/customers/index.d.mts +1 -1
- package/resources/sales/customers/index.d.mts.map +1 -1
- package/resources/sales/customers/index.d.ts +1 -1
- package/resources/sales/customers/index.d.ts.map +1 -1
- package/resources/sales/customers/index.js.map +1 -1
- package/resources/sales/customers/index.mjs.map +1 -1
- package/resources/sales/index.d.mts +1 -1
- package/resources/sales/index.d.mts.map +1 -1
- package/resources/sales/index.d.ts +1 -1
- package/resources/sales/index.d.ts.map +1 -1
- package/resources/sales/index.js.map +1 -1
- package/resources/sales/index.mjs.map +1 -1
- package/resources/sales/sales-orders/actions.d.mts +217 -1
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +217 -1
- package/resources/sales/sales-orders/actions.d.ts.map +1 -1
- package/resources/sales/sales-orders/actions.js +36 -0
- package/resources/sales/sales-orders/actions.js.map +1 -1
- package/resources/sales/sales-orders/actions.mjs +36 -0
- package/resources/sales/sales-orders/actions.mjs.map +1 -1
- package/resources/sales/sales-orders/index.d.mts +1 -1
- package/resources/sales/sales-orders/index.d.mts.map +1 -1
- package/resources/sales/sales-orders/index.d.ts +1 -1
- package/resources/sales/sales-orders/index.d.ts.map +1 -1
- package/resources/sales/sales-orders/index.js.map +1 -1
- package/resources/sales/sales-orders/index.mjs.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.mts +105 -9
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +105 -9
- 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/resources/sales/sales.d.mts +2 -2
- package/resources/sales/sales.d.mts.map +1 -1
- package/resources/sales/sales.d.ts +2 -2
- package/resources/sales/sales.d.ts.map +1 -1
- package/resources/sales/sales.js.map +1 -1
- package/resources/sales/sales.mjs.map +1 -1
- package/src/resources/ai/memories.ts +6 -6
- package/src/resources/auth/api-keys/api-keys.ts +9 -0
- package/src/resources/catalog/items/attributes.ts +3 -0
- package/src/resources/catalog/materials/materials.ts +6 -0
- package/src/resources/catalog/parts/parts.ts +6 -0
- package/src/resources/catalog/products/products.ts +6 -4
- package/src/resources/core/actions.ts +89 -0
- package/src/resources/core/audit-events.ts +16 -0
- package/src/resources/core/core.ts +19 -0
- package/src/resources/core/index.ts +6 -0
- package/src/resources/core/jobs.ts +4 -0
- package/src/resources/messaging/conversations/conversations.ts +12 -0
- package/src/resources/messaging/conversations/links.ts +8 -0
- package/src/resources/messaging/conversations/messages.ts +8 -0
- package/src/resources/messaging/notifications/notifications.ts +8 -0
- package/src/resources/operations/index.ts +15 -0
- package/src/resources/operations/machine-downtime-events.ts +62 -7
- package/src/resources/operations/operating-calendars/closures.ts +223 -0
- package/src/resources/operations/operating-calendars/index.ts +23 -0
- package/src/resources/operations/operating-calendars/operating-calendars.ts +427 -0
- package/src/resources/operations/operating-calendars.ts +3 -0
- package/src/resources/operations/operations.ts +36 -0
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +49 -12
- package/src/resources/operations/production-schedules/actions.ts +37 -1
- package/src/resources/operations/production-schedules/index.ts +4 -0
- package/src/resources/operations/production-schedules/lines.ts +10 -6
- package/src/resources/operations/production-schedules/production-schedules.ts +354 -1
- package/src/resources/sales/account-groups.ts +2 -1
- package/src/resources/sales/account-prices/account-prices.ts +11 -1
- package/src/resources/sales/addresses.ts +24 -0
- package/src/resources/sales/customers/customers.ts +90 -14
- package/src/resources/sales/customers/index.ts +1 -0
- package/src/resources/sales/index.ts +1 -0
- package/src/resources/sales/sales-orders/actions.ts +266 -0
- package/src/resources/sales/sales-orders/index.ts +4 -0
- package/src/resources/sales/sales-orders/sales-orders.ts +131 -7
- package/src/resources/sales/sales.ts +2 -0
- 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
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
2
|
import * as CoreAPI from "../../core/core.js";
|
|
3
|
+
import * as AccountGroupsAPI from "../account-groups.js";
|
|
3
4
|
import * as AddressesAPI from "../addresses.js";
|
|
4
5
|
import * as ProductLinesAPI from "../../catalog/product-lines/product-lines.js";
|
|
5
6
|
import * as AccountPricesAPI from "../account-prices/account-prices.js";
|
|
@@ -148,9 +149,14 @@ export declare class Customers extends APIResource {
|
|
|
148
149
|
* to.
|
|
149
150
|
*
|
|
150
151
|
* Resolved through the same chain the issue path stamps onto an order, most
|
|
151
|
-
* specific first: a lead time set on the customer, then on
|
|
152
|
-
* group, then the account-wide default. `source`
|
|
153
|
-
* form can show where the number came from rather
|
|
152
|
+
* specific first: a lead time set on the customer, then on its parent account,
|
|
153
|
+
* then on the customer's account group, then the account-wide default. `source`
|
|
154
|
+
* names which rule applied, so a form can show where the number came from rather
|
|
155
|
+
* than leaving a rep to guess.
|
|
156
|
+
*
|
|
157
|
+
* A lead time set on a parent account therefore governs every child account under
|
|
158
|
+
* it that has not set its own, which is how a head office's terms are given to its
|
|
159
|
+
* locations without repeating them on each one.
|
|
154
160
|
*
|
|
155
161
|
* This is a preview of a commitment, not the commitment itself. An order takes its
|
|
156
162
|
* own `ship_by_date` when it is issued and keeps it afterwards, so changing a lead
|
|
@@ -167,7 +173,7 @@ export declare class Customers extends APIResource {
|
|
|
167
173
|
* );
|
|
168
174
|
* ```
|
|
169
175
|
*/
|
|
170
|
-
retrieveLeadTime(id: string, options?: RequestOptions): APIPromise<CustomerLeadTime>;
|
|
176
|
+
retrieveLeadTime(id: string, query?: CustomerRetrieveLeadTimeParams | null | undefined, options?: RequestOptions): APIPromise<CustomerLeadTime>;
|
|
171
177
|
}
|
|
172
178
|
/**
|
|
173
179
|
* Request to create a customer.
|
|
@@ -283,7 +289,8 @@ export interface CreateCustomerRequest {
|
|
|
283
289
|
* Calendar days between an order being issued and it being due to ship.
|
|
284
290
|
*
|
|
285
291
|
* Sets each order's `ship_by_date` when it is issued. Leave unset to inherit the
|
|
286
|
-
* customer's account group lead time, then
|
|
292
|
+
* parent account's lead time, then the customer's account group lead time, then
|
|
293
|
+
* the account default.
|
|
287
294
|
*/
|
|
288
295
|
lead_time_days?: number;
|
|
289
296
|
/**
|
|
@@ -302,6 +309,14 @@ export interface CreateCustomerRequest {
|
|
|
302
309
|
* Phone number.
|
|
303
310
|
*/
|
|
304
311
|
phone?: string;
|
|
312
|
+
/**
|
|
313
|
+
* The operating calendar naming the days this customer's dock accepts freight.
|
|
314
|
+
*
|
|
315
|
+
* Sits in the same chain as lead_time_days: leaving it unset falls through to the
|
|
316
|
+
* customer's group, then the account default, then Monday to Friday. A promised
|
|
317
|
+
* delivery date is never worked back from a day nobody is there to receive on.
|
|
318
|
+
*/
|
|
319
|
+
receive_calendar_id?: string;
|
|
305
320
|
/**
|
|
306
321
|
* The customer's account standing.
|
|
307
322
|
*
|
|
@@ -322,9 +337,15 @@ export interface CreateCustomerRequest {
|
|
|
322
337
|
*/
|
|
323
338
|
export interface CustomerLeadTime {
|
|
324
339
|
/**
|
|
325
|
-
*
|
|
340
|
+
* A named grouping of customer accounts, used for pricing rules or to categorize
|
|
341
|
+
* accounts.
|
|
342
|
+
*
|
|
343
|
+
* A customer carries at most one group of type `type_group` as its customer type,
|
|
344
|
+
* plus any number of groups of type `pricing_group`. Membership of either kind can
|
|
345
|
+
* scope a volume discount to the customer and open up product lines for it to
|
|
346
|
+
* order from.
|
|
326
347
|
*/
|
|
327
|
-
account_group:
|
|
348
|
+
account_group: AccountGroupsAPI.AccountGroup | null;
|
|
328
349
|
/**
|
|
329
350
|
* Entity is a polymorphic reference to any resource in the system.
|
|
330
351
|
*/
|
|
@@ -339,10 +360,16 @@ export interface CustomerLeadTime {
|
|
|
339
360
|
* Resource type identifier.
|
|
340
361
|
*/
|
|
341
362
|
object: 'customer_lead_time';
|
|
363
|
+
/**
|
|
364
|
+
* A business you sell to, with its contact details, default fulfillment settings,
|
|
365
|
+
* and order policies.
|
|
366
|
+
*/
|
|
367
|
+
parent_customer: AccountPricesAPI.Customer | null;
|
|
342
368
|
/**
|
|
343
369
|
* Which rule in the chain produced this lead time.
|
|
344
370
|
*
|
|
345
371
|
* - `customer`: a lead time set on the customer itself.
|
|
372
|
+
* - `parent_customer`: inherited from the customer's parent account.
|
|
346
373
|
* - `account_group`: inherited from the customer's account group.
|
|
347
374
|
* - `account`: the account-wide fallback.
|
|
348
375
|
*
|
|
@@ -350,7 +377,7 @@ export interface CustomerLeadTime {
|
|
|
350
377
|
* on one specific order, which is a fact about that order rather than about the
|
|
351
378
|
* customer.
|
|
352
379
|
*/
|
|
353
|
-
source: 'customer' | 'account_group' | 'account' | 'manual';
|
|
380
|
+
source: 'customer' | 'parent_customer' | 'account_group' | 'account' | 'manual' | 'order_lead_time' | 'order_ship_by';
|
|
354
381
|
}
|
|
355
382
|
/**
|
|
356
383
|
* Request to partially update a customer.
|
|
@@ -453,8 +480,9 @@ export interface UpdateCustomerRequest {
|
|
|
453
480
|
/**
|
|
454
481
|
* Calendar days between an order being issued and it being due to ship.
|
|
455
482
|
*
|
|
456
|
-
* Sets each order's `ship_by_date` when it is issued.
|
|
457
|
-
* customer's account group lead time, then
|
|
483
|
+
* Sets each order's `ship_by_date` when it is issued. Clear it to inherit the
|
|
484
|
+
* parent account's lead time, then the customer's account group lead time, then
|
|
485
|
+
* the account default.
|
|
458
486
|
*/
|
|
459
487
|
lead_time_days?: number | null;
|
|
460
488
|
/**
|
|
@@ -476,6 +504,12 @@ export interface UpdateCustomerRequest {
|
|
|
476
504
|
* Phone number.
|
|
477
505
|
*/
|
|
478
506
|
phone?: string | null;
|
|
507
|
+
/**
|
|
508
|
+
* The operating calendar naming the days this customer's dock accepts freight.
|
|
509
|
+
* Clearing it returns the customer to their group's calendar, then the account
|
|
510
|
+
* default.
|
|
511
|
+
*/
|
|
512
|
+
receive_calendar_id?: string | null;
|
|
479
513
|
/**
|
|
480
514
|
* ID of an existing address to use as the default shipping address.
|
|
481
515
|
*
|
|
@@ -724,7 +758,8 @@ export interface CustomerCreateParams {
|
|
|
724
758
|
* ship.
|
|
725
759
|
*
|
|
726
760
|
* Sets each order's `ship_by_date` when it is issued. Leave unset to inherit the
|
|
727
|
-
* customer's account group lead time, then
|
|
761
|
+
* parent account's lead time, then the customer's account group lead time, then
|
|
762
|
+
* the account default.
|
|
728
763
|
*/
|
|
729
764
|
lead_time_days?: number;
|
|
730
765
|
/**
|
|
@@ -743,6 +778,15 @@ export interface CustomerCreateParams {
|
|
|
743
778
|
* Body param: Phone number.
|
|
744
779
|
*/
|
|
745
780
|
phone?: string;
|
|
781
|
+
/**
|
|
782
|
+
* Body param: The operating calendar naming the days this customer's dock accepts
|
|
783
|
+
* freight.
|
|
784
|
+
*
|
|
785
|
+
* Sits in the same chain as lead_time_days: leaving it unset falls through to the
|
|
786
|
+
* customer's group, then the account default, then Monday to Friday. A promised
|
|
787
|
+
* delivery date is never worked back from a day nobody is there to receive on.
|
|
788
|
+
*/
|
|
789
|
+
receive_calendar_id?: string;
|
|
746
790
|
/**
|
|
747
791
|
* Body param: The customer's account standing.
|
|
748
792
|
*
|
|
@@ -863,8 +907,9 @@ export interface CustomerUpdateParams {
|
|
|
863
907
|
* Body param: Calendar days between an order being issued and it being due to
|
|
864
908
|
* ship.
|
|
865
909
|
*
|
|
866
|
-
* Sets each order's `ship_by_date` when it is issued.
|
|
867
|
-
* customer's account group lead time, then
|
|
910
|
+
* Sets each order's `ship_by_date` when it is issued. Clear it to inherit the
|
|
911
|
+
* parent account's lead time, then the customer's account group lead time, then
|
|
912
|
+
* the account default.
|
|
868
913
|
*/
|
|
869
914
|
lead_time_days?: number | null;
|
|
870
915
|
/**
|
|
@@ -887,6 +932,12 @@ export interface CustomerUpdateParams {
|
|
|
887
932
|
* Body param: Phone number.
|
|
888
933
|
*/
|
|
889
934
|
phone?: string | null;
|
|
935
|
+
/**
|
|
936
|
+
* Body param: The operating calendar naming the days this customer's dock accepts
|
|
937
|
+
* freight. Clearing it returns the customer to their group's calendar, then the
|
|
938
|
+
* account default.
|
|
939
|
+
*/
|
|
940
|
+
receive_calendar_id?: string | null;
|
|
890
941
|
/**
|
|
891
942
|
* Body param: ID of an existing address to use as the default shipping address.
|
|
892
943
|
*
|
|
@@ -908,8 +959,15 @@ export interface CustomerUpdateParams {
|
|
|
908
959
|
*/
|
|
909
960
|
url?: string | null;
|
|
910
961
|
}
|
|
962
|
+
export interface CustomerRetrieveLeadTimeParams {
|
|
963
|
+
/**
|
|
964
|
+
* Sub-objects to expand in the response. When omitted, sub-objects are returned as
|
|
965
|
+
* `null`.
|
|
966
|
+
*/
|
|
967
|
+
include?: Array<'account_group' | 'parent_customer'>;
|
|
968
|
+
}
|
|
911
969
|
export declare namespace Customers {
|
|
912
|
-
export { type CreateCustomerRequest as CreateCustomerRequest, type CustomerLeadTime as CustomerLeadTime, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, };
|
|
970
|
+
export { type CreateCustomerRequest as CreateCustomerRequest, type CustomerLeadTime as CustomerLeadTime, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, type CustomerRetrieveLeadTimeParams as CustomerRetrieveLeadTimeParams, };
|
|
913
971
|
export { Actions as Actions, type MergeCustomersRequest as MergeCustomersRequest, type ActionMergeParams as ActionMergeParams, };
|
|
914
972
|
}
|
|
915
973
|
//# sourceMappingURL=customers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,YAAY;OACjB,KAAK,eAAe;OACpB,KAAK,gBAAgB;OACrB,KAAK,UAAU;OACf,EAAE,iBAAiB,EAAE,OAAO,EAAE,qBAAqB,EAAE;OACrD,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAGzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC,OAAO,EAAE,UAAU,CAAC,OAAO,CAAwC;IAEnE;;;;;;;;;OASG;IACH,IAAI,CACF,KAAK,GAAE,kBAAkB,GAAG,IAAI,GAAG,SAAc,EACjD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC,YAAY,CAAC;IAI5C;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC;IAIxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC,QAAQ,CAAC;IAKrG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,o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AAG,IAAI,CAAC;CACrB;AAED,MAAM,WAAW,8BAA8B;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,eAAe,GAAG,iBAAiB,CAAC,CAAC;CACtD;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -163,9 +163,14 @@ class Customers extends resource_1.APIResource {
|
|
|
163
163
|
* to.
|
|
164
164
|
*
|
|
165
165
|
* Resolved through the same chain the issue path stamps onto an order, most
|
|
166
|
-
* specific first: a lead time set on the customer, then on
|
|
167
|
-
* group, then the account-wide default. `source`
|
|
168
|
-
* form can show where the number came from rather
|
|
166
|
+
* specific first: a lead time set on the customer, then on its parent account,
|
|
167
|
+
* then on the customer's account group, then the account-wide default. `source`
|
|
168
|
+
* names which rule applied, so a form can show where the number came from rather
|
|
169
|
+
* than leaving a rep to guess.
|
|
170
|
+
*
|
|
171
|
+
* A lead time set on a parent account therefore governs every child account under
|
|
172
|
+
* it that has not set its own, which is how a head office's terms are given to its
|
|
173
|
+
* locations without repeating them on each one.
|
|
169
174
|
*
|
|
170
175
|
* This is a preview of a commitment, not the commitment itself. An order takes its
|
|
171
176
|
* own `ship_by_date` when it is issued and keeps it afterwards, so changing a lead
|
|
@@ -182,8 +187,8 @@ class Customers extends resource_1.APIResource {
|
|
|
182
187
|
* );
|
|
183
188
|
* ```
|
|
184
189
|
*/
|
|
185
|
-
retrieveLeadTime(id, options) {
|
|
186
|
-
return this._client.get((0, path_1.path) `/v1/sales/customers/${id}/lead-time`, options);
|
|
190
|
+
retrieveLeadTime(id, query = {}, options) {
|
|
191
|
+
return this._client.get((0, path_1.path) `/v1/sales/customers/${id}/lead-time`, { query, ...options });
|
|
187
192
|
}
|
|
188
193
|
}
|
|
189
194
|
exports.Customers = Customers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;
|
|
1
|
+
{"version":3,"file":"customers.js","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,wDAAqD;AAMrD,iEAAwC;AACxC,0CAA8E;AAG9E,0DAAoD;AAEpD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,YAAO,GAAuB,IAAI,UAAU,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAqMrE,CAAC;IAnMC;;;;;;;;;OASG;IACH,IAAI,CACF,QAA+C,EAAE,EACjD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,qBAAqB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxE,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAU,EACV,QAAmD,EAAE,EACrD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,uBAAuB,EAAE,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAClF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;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|
|
159
159
|
* to.
|
|
160
160
|
*
|
|
161
161
|
* Resolved through the same chain the issue path stamps onto an order, most
|
|
162
|
-
* specific first: a lead time set on the customer, then on
|
|
163
|
-
* group, then the account-wide default. `source`
|
|
164
|
-
* form can show where the number came from rather
|
|
162
|
+
* specific first: a lead time set on the customer, then on its parent account,
|
|
163
|
+
* then on the customer's account group, then the account-wide default. `source`
|
|
164
|
+
* names which rule applied, so a form can show where the number came from rather
|
|
165
|
+
* than leaving a rep to guess.
|
|
166
|
+
*
|
|
167
|
+
* A lead time set on a parent account therefore governs every child account under
|
|
168
|
+
* it that has not set its own, which is how a head office's terms are given to its
|
|
169
|
+
* locations without repeating them on each one.
|
|
165
170
|
*
|
|
166
171
|
* This is a preview of a commitment, not the commitment itself. An order takes its
|
|
167
172
|
* own `ship_by_date` when it is issued and keeps it afterwards, so changing a lead
|
|
@@ -178,8 +183,8 @@ export class Customers extends APIResource {
|
|
|
178
183
|
* );
|
|
179
184
|
* ```
|
|
180
185
|
*/
|
|
181
|
-
retrieveLeadTime(id, options) {
|
|
182
|
-
return this._client.get(path `/v1/sales/customers/${id}/lead-time`, options);
|
|
186
|
+
retrieveLeadTime(id, query = {}, options) {
|
|
187
|
+
return this._client.get(path `/v1/sales/customers/${id}/lead-time`, { query, ...options });
|
|
183
188
|
}
|
|
184
189
|
}
|
|
185
190
|
Customers.Actions = Actions;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"customers.mjs","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAMf,KAAK,UAAU;OACf,EAAqB,OAAO,EAAyB;OAGrD,EAAE,IAAI,EAAE;AAEf;;GAEG;AACH,MAAM,OAAO,SA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AC;IAED;;;;;;;;;;;;;;OAcG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,uBAAuB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,gBAAgB,CACd,EAAU,EACV,QAA2D,EAAE,EAC7D,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,uBAAuB,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;CACF;AAs/BD,SAAS,CAAC,OAAO,GAAG,OAAO,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Actions, type MergeCustomersRequest, type ActionMergeParams } from "./actions.mjs";
|
|
2
|
-
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, } from "./customers.mjs";
|
|
2
|
+
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerRetrieveLeadTimeParams, } from "./customers.mjs";
|
|
3
3
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OAC/D,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OAC/D,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,GACpC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { Actions, type MergeCustomersRequest, type ActionMergeParams } from "./actions.js";
|
|
2
|
-
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, } from "./customers.js";
|
|
2
|
+
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerRetrieveLeadTimeParams, } from "./customers.js";
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OAC/D,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"OAEO,EAAE,OAAO,EAAE,KAAK,qBAAqB,EAAE,KAAK,iBAAiB,EAAE;OAC/D,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,8BAA8B,GACpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAwF;AAA/E,kGAAA,OAAO,OAAA;AAChB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wCAAwF;AAA/E,kGAAA,OAAO,OAAA;AAChB,4CAWqB;AAVnB,sGAAA,SAAS,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAsD;OAC/D,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../../src/resources/sales/customers/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,OAAO,EAAsD;OAC/D,EACL,SAAS,GAUV"}
|
|
@@ -4,7 +4,7 @@ export { AccountStatuses, type AccountStatus, type ListAccountStatus, type Accou
|
|
|
4
4
|
export { AccountUsers } from "./account-users/index.mjs";
|
|
5
5
|
export { Addresses, type AddressInput, type ListAddress, type UpdateAddressRequest, type AddressDeleteResponse, type AddressListParams, type AddressCreateParams, type AddressUpdateParams, } from "./addresses.mjs";
|
|
6
6
|
export { Contacts } from "./contacts/index.mjs";
|
|
7
|
-
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, } from "./customers/index.mjs";
|
|
7
|
+
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerRetrieveLeadTimeParams, } from "./customers/index.mjs";
|
|
8
8
|
export { OrderDiscounts, type CreateOrderDiscountRequest, type ListOrderDiscount, type OrderDiscount, type UpdateOrderDiscountRequest, type OrderDiscountListParams, type OrderDiscountCreateParams, type OrderDiscountUpdateParams, } from "./order-discounts/index.mjs";
|
|
9
9
|
export { Priorities, type ListPriority, type PriorityListParams, type PriorityRetrieveParams, } from "./priorities.mjs";
|
|
10
10
|
export { Sales } from "./sales.mjs";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EAAE,YAAY,EAAE;OAChB,EACL,SAAS,EACT,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/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EACzB,KAAK,MAAM,EACX,KAAK,UAAU,EACf,KAAK,2BAA2B,EAChC,KAAK,cAAc,EACnB,KAAK,iBAAiB,EACtB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,gCAAgC,EACrC,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,GAChC;OACM,EACL,eAAe,EACf,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC"}
|
|
@@ -4,7 +4,7 @@ export { AccountStatuses, type AccountStatus, type ListAccountStatus, type Accou
|
|
|
4
4
|
export { AccountUsers } from "./account-users/index.js";
|
|
5
5
|
export { Addresses, type AddressInput, type ListAddress, type UpdateAddressRequest, type AddressDeleteResponse, type AddressListParams, type AddressCreateParams, type AddressUpdateParams, } from "./addresses.js";
|
|
6
6
|
export { Contacts } from "./contacts/index.js";
|
|
7
|
-
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, } from "./customers/index.js";
|
|
7
|
+
export { Customers, type CreateCustomerRequest, type CustomerLeadTime, type UpdateCustomerRequest, type CustomerDeleteResponse, type CustomerListParams, type CustomerRetrieveParams, type CustomerCreateParams, type CustomerUpdateParams, type CustomerRetrieveLeadTimeParams, } from "./customers/index.js";
|
|
8
8
|
export { OrderDiscounts, type CreateOrderDiscountRequest, type ListOrderDiscount, type OrderDiscount, type UpdateOrderDiscountRequest, type OrderDiscountListParams, type OrderDiscountCreateParams, type OrderDiscountUpdateParams, } from "./order-discounts/index.js";
|
|
9
9
|
export { Priorities, type ListPriority, type PriorityListParams, type PriorityRetrieveParams, } from "./priorities.js";
|
|
10
10
|
export { Sales } from "./sales.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EAAE,YAAY,EAAE;OAChB,EACL,SAAS,EACT,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,SAAS,EACT,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"OAEO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,gBAAgB,EACrB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,yBAAyB,EAC9B,KAAK,QAAQ,EACb,KAAK,mBAAmB,EACxB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,+BAA+B,EACpC,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,QAAQ,EACb,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,eAAe,EACf,KAAK,aAAa,EAClB,KAAK,iBAAiB,EACtB,KAAK,uBAAuB,EAC5B,KAAK,2BAA2B,GACjC;OACM,EAAE,YAAY,EAAE;OAChB,EACL,SAAS,EACT,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB;OACM,EAAE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B,EAChC,KAAK,6BAA6B,EAClC,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,EACjC,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,GAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAU0B;AATxB,+GAAA,aAAa,OAAA;AAUf,mDAuBgC;AAtB9B,sGAAA,aAAa,OAAA;AAuBf,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,kDAAqD;AAA5C,qGAAA,YAAY,OAAA;AACrB,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,6CAA4C;AAAnC,iGAAA,QAAQ,OAAA;AACjB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sDAU0B;AATxB,+GAAA,aAAa,OAAA;AAUf,mDAuBgC;AAtB9B,sGAAA,aAAa,OAAA;AAuBf,0DAM4B;AAL1B,mHAAA,eAAe,OAAA;AAMjB,kDAAqD;AAA5C,qGAAA,YAAY,OAAA;AACrB,4CASqB;AARnB,sGAAA,SAAS,OAAA;AASX,6CAA4C;AAAnC,iGAAA,QAAQ,OAAA;AACjB,8CAW2B;AAVzB,kGAAA,SAAS,OAAA;AAWX,oDASiC;AAR/B,uGAAA,cAAc,OAAA;AAShB,8CAKsB;AAJpB,wGAAA,UAAU,OAAA;AAKZ,oCAAgC;AAAvB,8FAAA,KAAK,OAAA;AACd,iDAoC8B;AAnC5B,oGAAA,WAAW,OAAA;AAoCb,0DAe4B;AAd1B,mHAAA,eAAe,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GASd;OACM,EACL,aAAa,GAsBd;OACM,EACL,eAAe,GAKhB;OACM,EAAE,YAAY,EAAE;OAChB,EACL,SAAS,GAQV;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,SAAS,
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/sales/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,aAAa,GASd;OACM,EACL,aAAa,GAsBd;OACM,EACL,eAAe,GAKhB;OACM,EAAE,YAAY,EAAE;OAChB,EACL,SAAS,GAQV;OACM,EAAE,QAAQ,EAAE;OACZ,EACL,SAAS,GAUV;OACM,EACL,cAAc,GAQf;OACM,EACL,UAAU,GAIX;OACM,EAAE,KAAK,EAAE;OACT,EACL,WAAW,GAmCZ;OACM,EACL,eAAe,GAchB"}
|