@augno/sdk 0.17.0 → 0.18.0

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 (182) hide show
  1. package/CHANGELOG.md +7 -3
  2. package/package.json +1 -1
  3. package/resources/finance/payment-terms.d.mts +5 -5
  4. package/resources/finance/payment-terms.d.mts.map +1 -1
  5. package/resources/finance/payment-terms.d.ts +5 -5
  6. package/resources/finance/payment-terms.d.ts.map +1 -1
  7. package/resources/finance/payment-terms.js.map +1 -1
  8. package/resources/finance/payment-terms.mjs.map +1 -1
  9. package/resources/operations/carriers/carriers.d.mts +5 -5
  10. package/resources/operations/carriers/carriers.d.mts.map +1 -1
  11. package/resources/operations/carriers/carriers.d.ts +5 -5
  12. package/resources/operations/carriers/carriers.d.ts.map +1 -1
  13. package/resources/operations/carriers/service-levels.d.mts +5 -5
  14. package/resources/operations/carriers/service-levels.d.mts.map +1 -1
  15. package/resources/operations/carriers/service-levels.d.ts +5 -5
  16. package/resources/operations/carriers/service-levels.d.ts.map +1 -1
  17. package/resources/operations/shipments/actions.d.mts +3 -3
  18. package/resources/operations/shipments/actions.d.mts.map +1 -1
  19. package/resources/operations/shipments/actions.d.ts +3 -3
  20. package/resources/operations/shipments/actions.d.ts.map +1 -1
  21. package/resources/operations/shipping-terms.d.mts +5 -5
  22. package/resources/operations/shipping-terms.d.mts.map +1 -1
  23. package/resources/operations/shipping-terms.d.ts +5 -5
  24. package/resources/operations/shipping-terms.d.ts.map +1 -1
  25. package/resources/operations/shipping-terms.js.map +1 -1
  26. package/resources/operations/shipping-terms.mjs.map +1 -1
  27. package/resources/sales/account-prices/account-prices.d.mts +999 -0
  28. package/resources/sales/account-prices/account-prices.d.mts.map +1 -0
  29. package/resources/sales/account-prices/account-prices.d.ts +999 -0
  30. package/resources/sales/account-prices/account-prices.d.ts.map +1 -0
  31. package/resources/sales/account-prices/account-prices.js +143 -0
  32. package/resources/sales/account-prices/account-prices.js.map +1 -0
  33. package/resources/sales/account-prices/account-prices.mjs +138 -0
  34. package/resources/sales/account-prices/account-prices.mjs.map +1 -0
  35. package/resources/sales/account-prices/actions.d.mts +58 -0
  36. package/resources/sales/account-prices/actions.d.mts.map +1 -0
  37. package/resources/sales/account-prices/actions.d.ts +58 -0
  38. package/resources/sales/account-prices/actions.d.ts.map +1 -0
  39. package/resources/sales/account-prices/actions.js +44 -0
  40. package/resources/sales/account-prices/actions.js.map +1 -0
  41. package/resources/sales/account-prices/actions.mjs +40 -0
  42. package/resources/sales/account-prices/actions.mjs.map +1 -0
  43. package/resources/sales/account-prices/index.d.mts +3 -0
  44. package/resources/sales/account-prices/index.d.mts.map +1 -0
  45. package/resources/sales/account-prices/index.d.ts +3 -0
  46. package/resources/sales/account-prices/index.d.ts.map +1 -0
  47. package/resources/sales/account-prices/index.js +9 -0
  48. package/resources/sales/account-prices/index.js.map +1 -0
  49. package/resources/sales/account-prices/index.mjs +4 -0
  50. package/resources/sales/account-prices/index.mjs.map +1 -0
  51. package/resources/sales/account-prices.d.mts +2 -0
  52. package/resources/sales/account-prices.d.mts.map +1 -0
  53. package/resources/sales/account-prices.d.ts +2 -0
  54. package/resources/sales/account-prices.d.ts.map +1 -0
  55. package/resources/sales/account-prices.js +6 -0
  56. package/resources/sales/account-prices.js.map +1 -0
  57. package/resources/sales/account-prices.mjs +3 -0
  58. package/resources/sales/account-prices.mjs.map +1 -0
  59. package/resources/sales/customers/actions.d.mts +2 -2
  60. package/resources/sales/customers/actions.d.mts.map +1 -1
  61. package/resources/sales/customers/actions.d.ts +2 -2
  62. package/resources/sales/customers/actions.d.ts.map +1 -1
  63. package/resources/sales/customers/actions.js.map +1 -1
  64. package/resources/sales/customers/actions.mjs.map +1 -1
  65. package/resources/sales/customers/customers.d.mts +6 -564
  66. package/resources/sales/customers/customers.d.mts.map +1 -1
  67. package/resources/sales/customers/customers.d.ts +6 -564
  68. package/resources/sales/customers/customers.d.ts.map +1 -1
  69. package/resources/sales/customers/customers.js.map +1 -1
  70. package/resources/sales/customers/customers.mjs.map +1 -1
  71. package/resources/sales/customers/index.d.mts +1 -1
  72. package/resources/sales/customers/index.d.mts.map +1 -1
  73. package/resources/sales/customers/index.d.ts +1 -1
  74. package/resources/sales/customers/index.d.ts.map +1 -1
  75. package/resources/sales/customers/index.js.map +1 -1
  76. package/resources/sales/customers/index.mjs.map +1 -1
  77. package/resources/sales/index.d.mts +6 -3
  78. package/resources/sales/index.d.mts.map +1 -1
  79. package/resources/sales/index.d.ts +6 -3
  80. package/resources/sales/index.d.ts.map +1 -1
  81. package/resources/sales/index.js +15 -9
  82. package/resources/sales/index.js.map +1 -1
  83. package/resources/sales/index.mjs +3 -0
  84. package/resources/sales/index.mjs.map +1 -1
  85. package/resources/sales/order-discounts/actions.d.mts +85 -0
  86. package/resources/sales/order-discounts/actions.d.mts.map +1 -0
  87. package/resources/sales/order-discounts/actions.d.ts +85 -0
  88. package/resources/sales/order-discounts/actions.d.ts.map +1 -0
  89. package/resources/sales/order-discounts/actions.js +35 -0
  90. package/resources/sales/order-discounts/actions.js.map +1 -0
  91. package/resources/sales/order-discounts/actions.mjs +31 -0
  92. package/resources/sales/order-discounts/actions.mjs.map +1 -0
  93. package/resources/sales/order-discounts/index.d.mts +3 -0
  94. package/resources/sales/order-discounts/index.d.mts.map +1 -0
  95. package/resources/sales/order-discounts/index.d.ts +3 -0
  96. package/resources/sales/order-discounts/index.d.ts.map +1 -0
  97. package/resources/sales/order-discounts/index.js +9 -0
  98. package/resources/sales/order-discounts/index.js.map +1 -0
  99. package/resources/sales/order-discounts/index.mjs +4 -0
  100. package/resources/sales/order-discounts/index.mjs.map +1 -0
  101. package/resources/sales/order-discounts/order-discounts.d.mts +365 -0
  102. package/resources/sales/order-discounts/order-discounts.d.mts.map +1 -0
  103. package/resources/sales/order-discounts/order-discounts.d.ts +365 -0
  104. package/resources/sales/order-discounts/order-discounts.d.ts.map +1 -0
  105. package/resources/sales/order-discounts/order-discounts.js +125 -0
  106. package/resources/sales/order-discounts/order-discounts.js.map +1 -0
  107. package/resources/sales/order-discounts/order-discounts.mjs +120 -0
  108. package/resources/sales/order-discounts/order-discounts.mjs.map +1 -0
  109. package/resources/sales/order-discounts.d.mts +2 -0
  110. package/resources/sales/order-discounts.d.mts.map +1 -0
  111. package/resources/sales/order-discounts.d.ts +2 -0
  112. package/resources/sales/order-discounts.d.ts.map +1 -0
  113. package/resources/sales/order-discounts.js +6 -0
  114. package/resources/sales/order-discounts.js.map +1 -0
  115. package/resources/sales/order-discounts.mjs +3 -0
  116. package/resources/sales/order-discounts.mjs.map +1 -0
  117. package/resources/sales/priorities.d.mts +4 -44
  118. package/resources/sales/priorities.d.mts.map +1 -1
  119. package/resources/sales/priorities.d.ts +4 -44
  120. package/resources/sales/priorities.d.ts.map +1 -1
  121. package/resources/sales/priorities.js.map +1 -1
  122. package/resources/sales/priorities.mjs.map +1 -1
  123. package/resources/sales/sales-orders/index.d.mts +1 -1
  124. package/resources/sales/sales-orders/index.d.mts.map +1 -1
  125. package/resources/sales/sales-orders/index.d.ts +1 -1
  126. package/resources/sales/sales-orders/index.d.ts.map +1 -1
  127. package/resources/sales/sales-orders/index.js.map +1 -1
  128. package/resources/sales/sales-orders/index.mjs.map +1 -1
  129. package/resources/sales/sales-orders/lines/lines.d.mts +2 -2
  130. package/resources/sales/sales-orders/lines/lines.d.mts.map +1 -1
  131. package/resources/sales/sales-orders/lines/lines.d.ts +2 -2
  132. package/resources/sales/sales-orders/lines/lines.d.ts.map +1 -1
  133. package/resources/sales/sales-orders/sales-orders.d.mts +10 -69
  134. package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
  135. package/resources/sales/sales-orders/sales-orders.d.ts +10 -69
  136. package/resources/sales/sales-orders/sales-orders.d.ts.map +1 -1
  137. package/resources/sales/sales-orders/sales-orders.js.map +1 -1
  138. package/resources/sales/sales-orders/sales-orders.mjs.map +1 -1
  139. package/resources/sales/sales.d.mts +18 -6
  140. package/resources/sales/sales.d.mts.map +1 -1
  141. package/resources/sales/sales.d.ts +18 -6
  142. package/resources/sales/sales.d.ts.map +1 -1
  143. package/resources/sales/sales.js +12 -0
  144. package/resources/sales/sales.js.map +1 -1
  145. package/resources/sales/sales.mjs +12 -0
  146. package/resources/sales/sales.mjs.map +1 -1
  147. package/resources/sales/volume-discounts.d.mts +684 -0
  148. package/resources/sales/volume-discounts.d.mts.map +1 -0
  149. package/resources/sales/volume-discounts.d.ts +684 -0
  150. package/resources/sales/volume-discounts.d.ts.map +1 -0
  151. package/resources/sales/volume-discounts.js +152 -0
  152. package/resources/sales/volume-discounts.js.map +1 -0
  153. package/resources/sales/volume-discounts.mjs +148 -0
  154. package/resources/sales/volume-discounts.mjs.map +1 -0
  155. package/src/resources/finance/payment-terms.ts +8 -5
  156. package/src/resources/operations/carriers/carriers.ts +5 -5
  157. package/src/resources/operations/carriers/service-levels.ts +5 -5
  158. package/src/resources/operations/shipments/actions.ts +3 -3
  159. package/src/resources/operations/shipping-terms.ts +8 -5
  160. package/src/resources/sales/account-prices/account-prices.ts +1191 -0
  161. package/src/resources/sales/account-prices/actions.ts +74 -0
  162. package/src/resources/sales/account-prices/index.ts +27 -0
  163. package/src/resources/sales/account-prices.ts +3 -0
  164. package/src/resources/sales/customers/actions.ts +6 -2
  165. package/src/resources/sales/customers/customers.ts +5 -658
  166. package/src/resources/sales/customers/index.ts +0 -11
  167. package/src/resources/sales/index.ts +50 -13
  168. package/src/resources/sales/order-discounts/actions.ts +102 -0
  169. package/src/resources/sales/order-discounts/index.ts +13 -0
  170. package/src/resources/sales/order-discounts/order-discounts.ts +442 -0
  171. package/src/resources/sales/order-discounts.ts +3 -0
  172. package/src/resources/sales/priorities.ts +3 -51
  173. package/src/resources/sales/sales-orders/index.ts +0 -1
  174. package/src/resources/sales/sales-orders/lines/lines.ts +2 -2
  175. package/src/resources/sales/sales-orders/sales-orders.ts +9 -79
  176. package/src/resources/sales/sales.ts +113 -26
  177. package/src/resources/sales/volume-discounts.ts +813 -0
  178. package/src/version.ts +1 -1
  179. package/version.d.mts +1 -1
  180. package/version.d.ts +1 -1
  181. package/version.js +1 -1
  182. package/version.mjs +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"customers.d.mts","sourceRoot":"","sources":["../../../src/resources/sales/customers/customers.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,SAAS;OACd,KAAK,gBAAgB;OACrB,KAAK,YAAY;OACjB,KAAK,aAAa;OAClB,KAAK,UAAU;OACf,KAAK,QAAQ;OACb,KAAK,eAAe;OACpB,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,YAAY,CAAC;IAI3B;;;;;;;;;;;OAWG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,KAAK,GAAE,sBAAsB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAAQ,CAAC;IAIvB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAmDG;IACH,MAAM,CAAC,MAAM,EAAE,oBAAoB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,QAAQ,CAAC;IAKpF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,MAAM,CACJ,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,oBAAoB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,QAA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ACzC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,WAAW,IAAI,WAAW,EAC/B,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,YAAY,IAAI,YAAY,EACjC,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,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
1
+ {"version":3,"file":"customers.d.mts","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,sBAAs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AK,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,GAClD,CAAC;IAEF,OAAO,EACL,OAAO,IAAI,OAAO,EAClB,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
@@ -1,12 +1,8 @@
1
1
  import { APIResource } from "../../../core/resource.js";
2
2
  import * as CoreAPI from "../../core/core.js";
3
- import * as BlocksAPI from "../../messaging/blocks.js";
4
- import * as AccountGroupsAPI from "../account-groups.js";
5
3
  import * as AddressesAPI from "../addresses.js";
6
- import * as PrioritiesAPI from "../priorities.js";
7
- import * as APIKeysAPI from "../../auth/api-keys/api-keys.js";
8
- import * as ItemsAPI from "../../catalog/items/items.js";
9
4
  import * as ProductLinesAPI from "../../catalog/product-lines/product-lines.js";
5
+ import * as AccountPricesAPI from "../account-prices/account-prices.js";
10
6
  import * as ActionsAPI from "./actions.js";
11
7
  import { ActionMergeParams, Actions, MergeCustomersRequest } from "./actions.js";
12
8
  import { APIPromise } from "../../../core/api-promise.js";
@@ -26,7 +22,7 @@ export declare class Customers extends APIResource {
26
22
  * const listCustomer = await client.sales.customers.list();
27
23
  * ```
28
24
  */
29
- list(query?: CustomerListParams | null | undefined, options?: RequestOptions): APIPromise<ListCustomer>;
25
+ list(query?: CustomerListParams | null | undefined, options?: RequestOptions): APIPromise<AccountPricesAPI.ListCustomer>;
30
26
  /**
31
27
  * Returns a customer by ID.
32
28
  *
@@ -39,7 +35,7 @@ export declare class Customers extends APIResource {
39
35
  * );
40
36
  * ```
41
37
  */
42
- retrieve(id: string, query?: CustomerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
38
+ retrieve(id: string, query?: CustomerRetrieveParams | null | undefined, options?: RequestOptions): APIPromise<AccountPricesAPI.Customer>;
43
39
  /**
44
40
  * Creates a customer account with its default addresses, fulfillment settings, and
45
41
  * order policies.
@@ -92,7 +88,7 @@ export declare class Customers extends APIResource {
92
88
  * });
93
89
  * ```
94
90
  */
95
- create(params: CustomerCreateParams, options?: RequestOptions): APIPromise<Customer>;
91
+ create(params: CustomerCreateParams, options?: RequestOptions): APIPromise<AccountPricesAPI.Customer>;
96
92
  /**
97
93
  * Partially updates a customer account.
98
94
  *
@@ -130,7 +126,7 @@ export declare class Customers extends APIResource {
130
126
  * });
131
127
  * ```
132
128
  */
133
- update(id: string, params?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<Customer>;
129
+ update(id: string, params?: CustomerUpdateParams | null | undefined, options?: RequestOptions): APIPromise<AccountPricesAPI.Customer>;
134
130
  /**
135
131
  * Deletes a customer.
136
132
  *
@@ -173,74 +169,6 @@ export declare class Customers extends APIResource {
173
169
  */
174
170
  retrieveLeadTime(id: string, options?: RequestOptions): APIPromise<CustomerLeadTime>;
175
171
  }
176
- /**
177
- * A shipping carrier configured for fulfilling orders.
178
- *
179
- * Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
180
- * through Shippo for live rating and label purchase; other carriers represent
181
- * self-managed shipping methods such as will call or local delivery.
182
- */
183
- export interface Carrier {
184
- /**
185
- * Carrier ID.
186
- */
187
- id: string;
188
- /**
189
- * Your account number with this carrier.
190
- *
191
- * UPS and USPS carrier accounts are connected to Shippo using this number; FedEx
192
- * carriers authorize through OAuth instead, so their account number is not used to
193
- * connect them.
194
- */
195
- account_number: string | null;
196
- /**
197
- * Well-known carrier identifier, set only for recognized carriers and absent for
198
- * custom ones.
199
- *
200
- * - `fedex`, `ups`, `usps`: integrated carriers managed through Shippo (live
201
- * rating and labels).
202
- * - `will_call`: customer picks the order up; no carrier shipment.
203
- * - `delivery`: delivered by your own vehicles/drivers.
204
- * - `ltl`, `ltl1`: less-than-truckload freight carriers.
205
- * - `freight_collect`: freight billed to and arranged by the receiver.
206
- */
207
- code: 'fedex' | 'ups' | 'usps' | 'will_call' | 'delivery' | 'ltl' | 'ltl1' | 'freight_collect' | null;
208
- /**
209
- * Creation timestamp.
210
- */
211
- created_at: string;
212
- /**
213
- * Whether customers can see and select this carrier at checkout in the customer
214
- * portal.
215
- */
216
- customer_portal_visibility: 'visible' | 'hidden';
217
- /**
218
- * Soft-delete timestamp.
219
- */
220
- deleted_at: string | null;
221
- /**
222
- * Human-readable name for the carrier, unique among the carriers visible to your
223
- * account.
224
- */
225
- name: string;
226
- /**
227
- * Resource type identifier.
228
- */
229
- object: 'carrier';
230
- /**
231
- * Owner describes the provenance of a resource.
232
- */
233
- owner: APIKeysAPI.Owner | null;
234
- /**
235
- * A single page of resources, together with the metadata needed to page through
236
- * the rest of the result set.
237
- */
238
- service_levels: ListServiceLevel | null;
239
- /**
240
- * Last updated timestamp.
241
- */
242
- updated_at: string;
243
- }
244
172
  /**
245
173
  * Request to create a customer.
246
174
  */
@@ -389,257 +317,6 @@ export interface CreateCustomerRequest {
389
317
  */
390
318
  url?: string;
391
319
  }
392
- /**
393
- * A business you sell to, with its contact details, default fulfillment settings,
394
- * and order policies.
395
- */
396
- export interface Customer {
397
- /**
398
- * Customer ID.
399
- */
400
- id: string;
401
- /**
402
- * A saved address that can be used for billing and shipping on sales orders,
403
- * invoices, and shipments.
404
- */
405
- bill_to_address: APIKeysAPI.Address | null;
406
- /**
407
- * A single page of resources, together with the metadata needed to page through
408
- * the rest of the result set.
409
- */
410
- child_accounts: ListCustomer | null;
411
- /**
412
- * How sales commission applies to this customer's orders.
413
- *
414
- * - `commission_exempt`: this customer's orders are exempt from sales commission.
415
- * - `commission_applied`: sales commission is calculated on this customer's
416
- * orders.
417
- *
418
- * The customer counts as exempt if this field, its `type` group, or any of its
419
- * `price_groups` is `commission_exempt`. Exempt customers never have a sales rep
420
- * assigned automatically when an order is created without one.
421
- */
422
- commission_policy: 'commission_applied' | 'commission_exempt';
423
- /**
424
- * Customer contact information.
425
- */
426
- contact_info: CustomerContactInfo | null;
427
- /**
428
- * Creation timestamp.
429
- */
430
- created_at: string;
431
- /**
432
- * A measured amount: a numeric value together with the unit it is expressed in.
433
- *
434
- * Quantities are shared building blocks rather than standalone records — other
435
- * resources point at them to report stock levels, ordered and packed amounts,
436
- * money, weights, and durations.
437
- */
438
- credit_limit: ItemsAPI.Quantity | null;
439
- /**
440
- * Values used to fill in a new sales order for this customer when the order does
441
- * not supply its own.
442
- */
443
- defaults: CustomerDefaults | null;
444
- /**
445
- * Whether EDI (Electronic Data Interchange) is enabled for exchanging orders and
446
- * documents with this customer.
447
- */
448
- edi_status: 'enabled' | 'disabled';
449
- /**
450
- * Customer freight and carrier settings.
451
- */
452
- freight_preferences: CustomerFreightPreferences | null;
453
- /**
454
- * The customer's business name, as shown throughout the app and on documents.
455
- */
456
- name: string;
457
- /**
458
- * Free-form note about the customer.
459
- */
460
- note: string | null;
461
- /**
462
- * Customer notification settings.
463
- */
464
- notification_preferences: CustomerNotificationPreferences | null;
465
- /**
466
- * Human-readable customer number used to identify the account, distinct from the
467
- * `id`.
468
- *
469
- * Unique within your account.
470
- */
471
- number: string;
472
- /**
473
- * Resource type identifier.
474
- */
475
- object: 'customer';
476
- /**
477
- * A business you sell to, with its contact details, default fulfillment settings,
478
- * and order policies.
479
- */
480
- parent_account: Customer | null;
481
- /**
482
- * A single page of resources, together with the metadata needed to page through
483
- * the rest of the result set.
484
- */
485
- price_groups: AccountGroupsAPI.ListAccountGroup | null;
486
- /**
487
- * The customer's position in the account hierarchy.
488
- *
489
- * - `standalone`: no parent or child accounts.
490
- * - `parent`: has one or more child accounts (see `child_accounts`).
491
- * - `child`: belongs to a parent account (see `parent_account`).
492
- */
493
- relationship_type: 'standalone' | 'parent' | 'child';
494
- /**
495
- * A saved address that can be used for billing and shipping on sales orders,
496
- * invoices, and shipments.
497
- */
498
- ship_to_address: APIKeysAPI.Address | null;
499
- /**
500
- * The customer's account standing.
501
- *
502
- * - `normal`: standard account with no restrictions.
503
- * - `preferred`: account flagged for prioritized handling.
504
- * - `hold_shipment`: the customer's shipments should be held, typically over a
505
- * credit problem, while orders can still be placed.
506
- * - `hold_all`: all activity for the customer should be held.
507
- *
508
- * The hold statuses are advisory: Augno flags the customer's orders as being on
509
- * credit hold, but requests to create orders or shipments for the customer are not
510
- * rejected.
511
- */
512
- status: 'normal' | 'preferred' | 'hold_shipment' | 'hold_all';
513
- /**
514
- * A named grouping of customer accounts, used for pricing rules or to categorize
515
- * accounts.
516
- *
517
- * A customer carries at most one group of type `type_group` as its customer type,
518
- * plus any number of groups of type `pricing_group`. Membership of either kind can
519
- * scope a volume discount to the customer and open up product lines for it to
520
- * order from.
521
- */
522
- type: AccountGroupsAPI.AccountGroup | null;
523
- /**
524
- * Last updated timestamp.
525
- */
526
- updated_at: string;
527
- }
528
- /**
529
- * Customer contact information.
530
- */
531
- export interface CustomerContactInfo {
532
- /**
533
- * Email address.
534
- */
535
- email: string | null;
536
- /**
537
- * Resource type identifier.
538
- */
539
- object: 'customer_contact_info';
540
- /**
541
- * Phone number.
542
- */
543
- phone: string | null;
544
- /**
545
- * Website URL.
546
- */
547
- url: string | null;
548
- }
549
- /**
550
- * Values used to fill in a new sales order for this customer when the order does
551
- * not supply its own.
552
- */
553
- export interface CustomerDefaults {
554
- /**
555
- * Calendar days between an order being issued and it being due to ship.
556
- *
557
- * Sets each order's `ship_by_date` when it is issued. With none set here the
558
- * customer inherits its account group's lead time, then the account default.
559
- */
560
- lead_time_days: number | null;
561
- /**
562
- * Resource type identifier.
563
- */
564
- object: 'customer_defaults';
565
- /**
566
- * A payment term describing when payment is due (e.g. `Net 30`), assignable to
567
- * customers, sales orders, purchase orders, and invoices.
568
- */
569
- payment_term: PaymentTerm | null;
570
- /**
571
- * Priority level used to order work on sales orders, purchase orders, and picks.
572
- *
573
- * The levels are platform-provided and the same for every account, so they cannot
574
- * be created, renamed, or removed. A customer can carry a default priority that
575
- * pre-fills new orders for them.
576
- */
577
- priority: PrioritiesAPI.Priority | null;
578
- /**
579
- * A user's membership in an account, carrying the account-specific status, role,
580
- * and department.
581
- *
582
- * Profile fields (name, email, username, image URL) live on the `user`
583
- * sub-resource, which is shared across every account the user belongs to.
584
- */
585
- sales_rep: BlocksAPI.AccountUser | null;
586
- /**
587
- * A named freight pricing rule that decides what a buyer pays for shipping.
588
- *
589
- * A customer's default shipping term is evaluated whenever freight is quoted for
590
- * one of their orders. Freight exemptions on the customer, its type group, or any
591
- * of its price groups are checked first and zero the freight charge before the
592
- * shipping term is considered.
593
- */
594
- shipping_term: ShippingTerm | null;
595
- }
596
- /**
597
- * Customer freight and carrier settings.
598
- */
599
- export interface CustomerFreightPreferences {
600
- /**
601
- * Carrier billing account number charged when `billing_type` is `third_party`.
602
- */
603
- billing_account: string | null;
604
- /**
605
- * Who pays the carrier for shipments.
606
- *
607
- * - `sender`: the shipper (you) pays the carrier.
608
- * - `third_party`: a third party is billed, using `billing_account`.
609
- */
610
- billing_type: 'sender' | 'third_party' | null;
611
- /**
612
- * A shipping carrier configured for fulfilling orders.
613
- *
614
- * Carriers with a Shippo-supported `code` (`fedex`, `ups`, `usps`) are connected
615
- * through Shippo for live rating and label purchase; other carriers represent
616
- * self-managed shipping methods such as will call or local delivery.
617
- */
618
- carrier: Carrier | null;
619
- /**
620
- * Resource type identifier.
621
- */
622
- object: 'customer_freight_preferences';
623
- /**
624
- * A shipping speed or method offered by a carrier, such as ground or overnight.
625
- *
626
- * Carriers connected through Shippo have their service levels synced from the
627
- * carrier itself; any carrier can also have service levels you create by hand.
628
- */
629
- service_level: ServiceLevel | null;
630
- /**
631
- * Freight policy applied to this customer's orders.
632
- *
633
- * - `free_freight`: the customer is not billed for freight.
634
- * - `billed_freight`: freight is billed to the customer.
635
- *
636
- * Freight is waived when this field, the customer's `type` group, any of its
637
- * `price_groups`, or any product line the ordered products belong to is
638
- * `free_freight`, so a shipment can come back freight-exempt even while this field
639
- * is `billed_freight`.
640
- */
641
- status: 'free_freight' | 'billed_freight';
642
- }
643
320
  /**
644
321
  * The ship-by lead time a new order for this customer would be committed to.
645
322
  */
@@ -675,241 +352,6 @@ export interface CustomerLeadTime {
675
352
  */
676
353
  source: 'customer' | 'account_group' | 'account' | 'manual';
677
354
  }
678
- /**
679
- * Customer notification settings.
680
- */
681
- export interface CustomerNotificationPreferences {
682
- /**
683
- * Whether anyone is set up to receive invoice emails for this customer.
684
- *
685
- * Derived from the customer's notification recipients: true when at least one of
686
- * them is configured for invoice notifications.
687
- */
688
- accepts_invoice_emails: boolean;
689
- /**
690
- * Resource type identifier.
691
- */
692
- object: 'customer_notification_preferences';
693
- }
694
- /**
695
- * A single page of resources, together with the metadata needed to page through
696
- * the rest of the result set.
697
- */
698
- export interface ListCustomer {
699
- /**
700
- * Resources in this page.
701
- */
702
- data: Array<Customer>;
703
- /**
704
- * Resource type identifier.
705
- */
706
- object: 'list';
707
- /**
708
- * PageInfo describes where the current page sits within a paginated result set and
709
- * how to move to the adjacent pages.
710
- *
711
- * Page a list by following the URLs below rather than assembling cursors yourself.
712
- * For a top-level list endpoint the URL repeats the original request's query
713
- * string with only the cursor swapped, so following it preserves the same filters,
714
- * search term, and page size.
715
- */
716
- page_info: APIKeysAPI.PageInfo;
717
- }
718
- /**
719
- * A single page of resources, together with the metadata needed to page through
720
- * the rest of the result set.
721
- */
722
- export interface ListServiceLevel {
723
- /**
724
- * Resources in this page.
725
- */
726
- data: Array<ServiceLevel>;
727
- /**
728
- * Resource type identifier.
729
- */
730
- object: 'list';
731
- /**
732
- * PageInfo describes where the current page sits within a paginated result set and
733
- * how to move to the adjacent pages.
734
- *
735
- * Page a list by following the URLs below rather than assembling cursors yourself.
736
- * For a top-level list endpoint the URL repeats the original request's query
737
- * string with only the cursor swapped, so following it preserves the same filters,
738
- * search term, and page size.
739
- */
740
- page_info: APIKeysAPI.PageInfo;
741
- }
742
- /**
743
- * A payment term describing when payment is due (e.g. `Net 30`), assignable to
744
- * customers, sales orders, purchase orders, and invoices.
745
- */
746
- export interface PaymentTerm {
747
- /**
748
- * Payment term ID.
749
- */
750
- id: string;
751
- /**
752
- * Creation timestamp.
753
- */
754
- created_at: string;
755
- /**
756
- * Display name (e.g. `Net 30`), unique among the payment terms visible to your
757
- * account.
758
- */
759
- name: string;
760
- /**
761
- * Resource type identifier.
762
- */
763
- object: 'payment_term';
764
- /**
765
- * Owner describes the provenance of a resource.
766
- */
767
- owner: APIKeysAPI.Owner | null;
768
- /**
769
- * Whether this payment term is still in active use.
770
- *
771
- * Payment terms created through the API are always `active`, and no endpoint
772
- * changes a term's status. List Payment Terms returns inactive terms alongside
773
- * active ones, so filter them out yourself if you only want the ones still on
774
- * offer.
775
- */
776
- status: 'active' | 'inactive';
777
- /**
778
- * Last-updated timestamp.
779
- */
780
- updated_at: string;
781
- }
782
- /**
783
- * A shipping speed or method offered by a carrier, such as ground or overnight.
784
- *
785
- * Carriers connected through Shippo have their service levels synced from the
786
- * carrier itself; any carrier can also have service levels you create by hand.
787
- */
788
- export interface ServiceLevel {
789
- /**
790
- * Service level ID.
791
- */
792
- id: string;
793
- /**
794
- * Creation timestamp.
795
- */
796
- created_at: string;
797
- /**
798
- * Whether customers can see and select this service level at checkout in the
799
- * customer portal.
800
- */
801
- customer_portal_visibility: 'visible' | 'hidden';
802
- /**
803
- * Business days this service typically takes in transit, used to work an order's
804
- * ship-by date back from a promised delivery date.
805
- *
806
- * A fallback for lanes the carrier has not quoted. Null means transit is unknown
807
- * for this service rather than instant, so a ship-by date falls back to the
808
- * promised delivery date itself.
809
- */
810
- default_transit_days: number | null;
811
- /**
812
- * Whether this is the carrier's default service level, pre-selected when the
813
- * carrier is chosen.
814
- *
815
- * Each carrier has at most one default; setting a new default clears the previous
816
- * one. A default service level cannot be deleted until another service level takes
817
- * its place or the flag is cleared.
818
- */
819
- is_default: boolean;
820
- /**
821
- * Human-readable name for the service level, shown to customers at checkout when
822
- * the service level is visible.
823
- */
824
- name: string;
825
- /**
826
- * Resource type identifier.
827
- */
828
- object: 'service_level';
829
- /**
830
- * Owner describes the provenance of a resource.
831
- */
832
- owner: APIKeysAPI.Owner | null;
833
- /**
834
- * Carrier-specific code identifying this service level (e.g. `fedex_ground`,
835
- * `ups_next_day_air`).
836
- *
837
- * For service levels synced from a connected carrier this is the carrier's own
838
- * token, which is what rate shopping and label purchase are keyed on; for service
839
- * levels you create yourself it is the `code` you supplied.
840
- */
841
- service_level_token: string;
842
- /**
843
- * Last updated timestamp.
844
- */
845
- updated_at: string;
846
- }
847
- /**
848
- * A named freight pricing rule that decides what a buyer pays for shipping.
849
- *
850
- * A customer's default shipping term is evaluated whenever freight is quoted for
851
- * one of their orders. Freight exemptions on the customer, its type group, or any
852
- * of its price groups are checked first and zero the freight charge before the
853
- * shipping term is considered.
854
- */
855
- export interface ShippingTerm {
856
- /**
857
- * Shipping term ID.
858
- */
859
- id: string;
860
- /**
861
- * When this shipping term was created.
862
- */
863
- created_at: string;
864
- /**
865
- * A measured amount: a numeric value together with the unit it is expressed in.
866
- *
867
- * Quantities are shared building blocks rather than standalone records — other
868
- * resources point at them to report stock levels, ordered and packed amounts,
869
- * money, weights, and durations.
870
- */
871
- flat_rate: ItemsAPI.Quantity | null;
872
- /**
873
- * A single page of resources, together with the metadata needed to page through
874
- * the rest of the result set.
875
- */
876
- free_shipping_service_levels: ListServiceLevel | null;
877
- /**
878
- * A measured amount: a numeric value together with the unit it is expressed in.
879
- *
880
- * Quantities are shared building blocks rather than standalone records — other
881
- * resources point at them to report stock levels, ordered and packed amounts,
882
- * money, weights, and durations.
883
- */
884
- minimum_order_value: ItemsAPI.Quantity | null;
885
- /**
886
- * Human-readable name for the shipping term, used to identify it when assigning
887
- * shipping terms to customers and orders.
888
- */
889
- name: string;
890
- /**
891
- * Resource type identifier.
892
- */
893
- object: 'shipping_term';
894
- /**
895
- * Owner describes the provenance of a resource.
896
- */
897
- owner: APIKeysAPI.Owner | null;
898
- /**
899
- * Freight pricing model applied by this shipping term.
900
- *
901
- * - `free_freight`: the buyer is never charged for shipping.
902
- * - `flat_rate_freight`: the buyer is charged the fixed amount in `flat_rate`,
903
- * regardless of what the carrier would have charged.
904
- * - `carrier_rate_freight`: the buyer is charged the rate the carrier quotes for
905
- * the order's carrier and service level.
906
- */
907
- type: 'free_freight' | 'flat_rate_freight' | 'carrier_rate_freight';
908
- /**
909
- * When this shipping term was last updated.
910
- */
911
- updated_at: string;
912
- }
913
355
  /**
914
356
  * Request to partially update a customer.
915
357
  */
@@ -1467,7 +909,7 @@ export interface CustomerUpdateParams {
1467
909
  url?: string | null;
1468
910
  }
1469
911
  export declare namespace Customers {
1470
- export { type Carrier as Carrier, type CreateCustomerRequest as CreateCustomerRequest, type Customer as Customer, type CustomerContactInfo as CustomerContactInfo, type CustomerDefaults as CustomerDefaults, type CustomerFreightPreferences as CustomerFreightPreferences, type CustomerLeadTime as CustomerLeadTime, type CustomerNotificationPreferences as CustomerNotificationPreferences, type ListCustomer as ListCustomer, type ListServiceLevel as ListServiceLevel, type PaymentTerm as PaymentTerm, type ServiceLevel as ServiceLevel, type ShippingTerm as ShippingTerm, type UpdateCustomerRequest as UpdateCustomerRequest, type CustomerDeleteResponse as CustomerDeleteResponse, type CustomerListParams as CustomerListParams, type CustomerRetrieveParams as CustomerRetrieveParams, type CustomerCreateParams as CustomerCreateParams, type CustomerUpdateParams as CustomerUpdateParams, };
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, };
1471
913
  export { Actions as Actions, type MergeCustomersRequest as MergeCustomersRequest, type ActionMergeParams as ActionMergeParams, };
1472
914
  }
1473
915
  //# sourceMappingURL=customers.d.ts.map