@augno/sdk 0.16.0 → 0.17.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.
- package/CHANGELOG.md +3 -2
- package/README.md +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/catalog/item-categories/actions.d.mts +8 -2
- package/resources/catalog/item-categories/actions.d.mts.map +1 -1
- package/resources/catalog/item-categories/actions.d.ts +8 -2
- package/resources/catalog/item-categories/actions.d.ts.map +1 -1
- package/resources/catalog/item-categories/actions.js +7 -2
- package/resources/catalog/item-categories/actions.js.map +1 -1
- package/resources/catalog/item-categories/actions.mjs +7 -2
- package/resources/catalog/item-categories/actions.mjs.map +1 -1
- package/resources/catalog/materials/actions.d.mts +7 -2
- package/resources/catalog/materials/actions.d.mts.map +1 -1
- package/resources/catalog/materials/actions.d.ts +7 -2
- package/resources/catalog/materials/actions.d.ts.map +1 -1
- package/resources/catalog/materials/actions.js +7 -2
- package/resources/catalog/materials/actions.js.map +1 -1
- package/resources/catalog/materials/actions.mjs +7 -2
- package/resources/catalog/materials/actions.mjs.map +1 -1
- package/resources/catalog/parts/actions.d.mts +7 -2
- package/resources/catalog/parts/actions.d.mts.map +1 -1
- package/resources/catalog/parts/actions.d.ts +7 -2
- package/resources/catalog/parts/actions.d.ts.map +1 -1
- package/resources/catalog/parts/actions.js +7 -2
- package/resources/catalog/parts/actions.js.map +1 -1
- package/resources/catalog/parts/actions.mjs +7 -2
- package/resources/catalog/parts/actions.mjs.map +1 -1
- package/resources/catalog/product-lines/actions.d.mts +8 -2
- package/resources/catalog/product-lines/actions.d.mts.map +1 -1
- package/resources/catalog/product-lines/actions.d.ts +8 -2
- package/resources/catalog/product-lines/actions.d.ts.map +1 -1
- package/resources/catalog/product-lines/actions.js +7 -2
- package/resources/catalog/product-lines/actions.js.map +1 -1
- package/resources/catalog/product-lines/actions.mjs +7 -2
- package/resources/catalog/product-lines/actions.mjs.map +1 -1
- package/resources/catalog/products/actions.d.mts +7 -2
- package/resources/catalog/products/actions.d.mts.map +1 -1
- package/resources/catalog/products/actions.d.ts +7 -2
- package/resources/catalog/products/actions.d.ts.map +1 -1
- package/resources/catalog/products/actions.js +7 -2
- package/resources/catalog/products/actions.js.map +1 -1
- package/resources/catalog/products/actions.mjs +7 -2
- package/resources/catalog/products/actions.mjs.map +1 -1
- package/resources/catalog/properties/actions.d.mts +8 -3
- package/resources/catalog/properties/actions.d.mts.map +1 -1
- package/resources/catalog/properties/actions.d.ts +8 -3
- package/resources/catalog/properties/actions.d.ts.map +1 -1
- package/resources/catalog/properties/actions.js +7 -2
- package/resources/catalog/properties/actions.js.map +1 -1
- package/resources/catalog/properties/actions.mjs +7 -2
- package/resources/catalog/properties/actions.mjs.map +1 -1
- package/resources/catalog/unit-groups/actions.d.mts +7 -2
- package/resources/catalog/unit-groups/actions.d.mts.map +1 -1
- package/resources/catalog/unit-groups/actions.d.ts +7 -2
- package/resources/catalog/unit-groups/actions.d.ts.map +1 -1
- package/resources/catalog/unit-groups/actions.js +7 -2
- package/resources/catalog/unit-groups/actions.js.map +1 -1
- package/resources/catalog/unit-groups/actions.mjs +7 -2
- package/resources/catalog/unit-groups/actions.mjs.map +1 -1
- package/resources/catalog/units/actions.d.mts +8 -2
- package/resources/catalog/units/actions.d.mts.map +1 -1
- package/resources/catalog/units/actions.d.ts +8 -2
- package/resources/catalog/units/actions.d.ts.map +1 -1
- package/resources/catalog/units/actions.js +7 -2
- package/resources/catalog/units/actions.js.map +1 -1
- package/resources/catalog/units/actions.mjs +7 -2
- package/resources/catalog/units/actions.mjs.map +1 -1
- package/resources/core/analytics.d.mts +195 -1
- package/resources/core/analytics.d.mts.map +1 -1
- package/resources/core/analytics.d.ts +195 -1
- package/resources/core/analytics.d.ts.map +1 -1
- package/resources/core/analytics.js +11 -0
- package/resources/core/analytics.js.map +1 -1
- package/resources/core/analytics.mjs +11 -0
- package/resources/core/analytics.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 +6 -6
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +6 -6
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/index.d.mts +2 -2
- package/resources/core/index.d.mts.map +1 -1
- package/resources/core/index.d.ts +2 -2
- package/resources/core/index.d.ts.map +1 -1
- package/resources/core/index.js.map +1 -1
- package/resources/core/index.mjs.map +1 -1
- package/resources/core/jobs.d.mts +102 -60
- package/resources/core/jobs.d.mts.map +1 -1
- package/resources/core/jobs.d.ts +102 -60
- package/resources/core/jobs.d.ts.map +1 -1
- package/resources/core/jobs.js +12 -6
- package/resources/core/jobs.js.map +1 -1
- package/resources/core/jobs.mjs +12 -6
- package/resources/core/jobs.mjs.map +1 -1
- package/resources/identity/account-users/account-users.d.mts +39 -0
- package/resources/identity/account-users/account-users.d.mts.map +1 -1
- package/resources/identity/account-users/account-users.d.ts +39 -0
- package/resources/identity/account-users/account-users.d.ts.map +1 -1
- package/resources/identity/account-users/account-users.js.map +1 -1
- package/resources/identity/account-users/account-users.mjs.map +1 -1
- package/resources/messaging/blocks.d.mts +8 -0
- package/resources/messaging/blocks.d.mts.map +1 -1
- package/resources/messaging/blocks.d.ts +8 -0
- package/resources/messaging/blocks.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/locations/actions.d.mts +7 -2
- package/resources/operations/locations/actions.d.mts.map +1 -1
- package/resources/operations/locations/actions.d.ts +7 -2
- package/resources/operations/locations/actions.d.ts.map +1 -1
- package/resources/operations/locations/actions.js +7 -2
- package/resources/operations/locations/actions.js.map +1 -1
- package/resources/operations/locations/actions.mjs +7 -2
- package/resources/operations/locations/actions.mjs.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.mts +5 -3
- package/resources/operations/production-schedules/production-schedules.d.mts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.d.ts +5 -3
- package/resources/operations/production-schedules/production-schedules.d.ts.map +1 -1
- package/resources/operations/production-schedules/production-schedules.js +5 -3
- package/resources/operations/production-schedules/production-schedules.js.map +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +5 -3
- package/resources/operations/production-schedules/production-schedules.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/sales-orders/actions.d.mts +6 -4
- package/resources/sales/sales-orders/actions.d.mts.map +1 -1
- package/resources/sales/sales-orders/actions.d.ts +6 -4
- package/resources/sales/sales-orders/actions.d.ts.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/sales-orders.d.mts +39 -30
- package/resources/sales/sales-orders/sales-orders.d.mts.map +1 -1
- package/resources/sales/sales-orders/sales-orders.d.ts +39 -30
- 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/src/client.ts +1 -1
- package/src/resources/catalog/item-categories/actions.ts +15 -3
- package/src/resources/catalog/materials/actions.ts +14 -3
- package/src/resources/catalog/parts/actions.ts +14 -3
- package/src/resources/catalog/product-lines/actions.ts +15 -3
- package/src/resources/catalog/products/actions.ts +14 -3
- package/src/resources/catalog/properties/actions.ts +15 -4
- package/src/resources/catalog/unit-groups/actions.ts +14 -3
- package/src/resources/catalog/units/actions.ts +15 -3
- package/src/resources/core/analytics.ts +231 -0
- package/src/resources/core/audit-events.ts +16 -4
- package/src/resources/core/core.ts +30 -4
- package/src/resources/core/index.ts +7 -1
- package/src/resources/core/jobs.ts +422 -67
- package/src/resources/identity/account-users/account-users.ts +44 -0
- package/src/resources/messaging/blocks.ts +9 -0
- package/src/resources/messaging/conversations/conversations.ts +12 -3
- package/src/resources/messaging/conversations/links.ts +8 -2
- package/src/resources/messaging/conversations/messages.ts +8 -2
- package/src/resources/messaging/notifications/notifications.ts +8 -2
- package/src/resources/operations/locations/actions.ts +14 -3
- package/src/resources/operations/production-schedules/production-schedules.ts +5 -3
- package/src/resources/sales/index.ts +1 -1
- package/src/resources/sales/sales-orders/actions.ts +6 -4
- package/src/resources/sales/sales-orders/index.ts +1 -1
- package/src/resources/sales/sales-orders/sales-orders.ts +44 -34
- package/src/resources/sales/sales.ts +2 -2
- 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
|
@@ -125,6 +125,17 @@ export class Analytics extends APIResource {
|
|
|
125
125
|
* Every rate is null rather than zero when nothing was due, and average lateness
|
|
126
126
|
* is measured over late orders only.
|
|
127
127
|
*
|
|
128
|
+
* The same window is also returned sliced by customer, customer group, product
|
|
129
|
+
* line, and the rule each ship-by date came from — each ordered worst-first, and
|
|
130
|
+
* each derived from the same set of orders as the headline so a drilldown always
|
|
131
|
+
* adds up to it. `by_product_line` is the one exception to that: an order spanning
|
|
132
|
+
* two lines is counted under both, because a late order is late for every line on
|
|
133
|
+
* it.
|
|
134
|
+
*
|
|
135
|
+
* Every filter is empty-means-all and they combine with AND. They narrow
|
|
136
|
+
* `uncommitted_order_count` too, so the excluded count always describes the same
|
|
137
|
+
* slice of the order book the rates do.
|
|
138
|
+
*
|
|
128
139
|
* This endpoint requires the permission: `sales_orders:read`.
|
|
129
140
|
*
|
|
130
141
|
* @example
|
|
@@ -160,10 +171,31 @@ export interface AnalyzeDeliveryPerformanceRequest {
|
|
|
160
171
|
*/
|
|
161
172
|
starts_at: string;
|
|
162
173
|
|
|
174
|
+
/**
|
|
175
|
+
* Only measure orders whose customer sits in these groups.
|
|
176
|
+
*/
|
|
177
|
+
customer_group_ids?: Array<string>;
|
|
178
|
+
|
|
179
|
+
/**
|
|
180
|
+
* Only measure orders bought by these customers. Their child accounts are
|
|
181
|
+
* included, matching how the sales analytics resolve a customer.
|
|
182
|
+
*/
|
|
183
|
+
customer_ids?: Array<string>;
|
|
184
|
+
|
|
163
185
|
/**
|
|
164
186
|
* The period to break the results down by. Defaults to `week`.
|
|
165
187
|
*/
|
|
166
188
|
granularity?: 'day' | 'week' | 'month';
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Only measure orders containing at least one line in these product lines.
|
|
192
|
+
*/
|
|
193
|
+
product_line_ids?: Array<string>;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Only measure orders owned by these sales reps.
|
|
197
|
+
*/
|
|
198
|
+
sales_rep_ids?: Array<string>;
|
|
167
199
|
}
|
|
168
200
|
|
|
169
201
|
/**
|
|
@@ -176,6 +208,36 @@ export interface AnalyzeDeliveryPerformanceResponse {
|
|
|
176
208
|
*/
|
|
177
209
|
backlog: ListDeliveryBacklogBucket | null;
|
|
178
210
|
|
|
211
|
+
/**
|
|
212
|
+
* A single page of resources, together with the metadata needed to page through
|
|
213
|
+
* the rest of the result set.
|
|
214
|
+
*/
|
|
215
|
+
by_commitment_source: ListDeliveryBreakdown | null;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* A single page of resources, together with the metadata needed to page through
|
|
219
|
+
* the rest of the result set.
|
|
220
|
+
*/
|
|
221
|
+
by_customer: ListDeliveryBreakdown | null;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* A single page of resources, together with the metadata needed to page through
|
|
225
|
+
* the rest of the result set.
|
|
226
|
+
*/
|
|
227
|
+
by_customer_group: ListDeliveryBreakdown | null;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A single page of resources, together with the metadata needed to page through
|
|
231
|
+
* the rest of the result set.
|
|
232
|
+
*/
|
|
233
|
+
by_product_line: ListDeliveryBreakdown | null;
|
|
234
|
+
|
|
235
|
+
/**
|
|
236
|
+
* A single page of resources, together with the metadata needed to page through
|
|
237
|
+
* the rest of the result set.
|
|
238
|
+
*/
|
|
239
|
+
lateness: ListDeliveryLatenessBucket | null;
|
|
240
|
+
|
|
179
241
|
/**
|
|
180
242
|
* Resource type identifier.
|
|
181
243
|
*/
|
|
@@ -363,6 +425,15 @@ export interface AnalyzeScheduleAttainmentResponse {
|
|
|
363
425
|
*/
|
|
364
426
|
object: 'analyze_schedule_attainment_response';
|
|
365
427
|
|
|
428
|
+
/**
|
|
429
|
+
* Machines the plan asked for over this window.
|
|
430
|
+
*
|
|
431
|
+
* Every figure in this response covers those machines only. Production scanned
|
|
432
|
+
* onto a machine no published version scheduled is excluded outright, so the score
|
|
433
|
+
* measures the plan that was made rather than the whole plant against it.
|
|
434
|
+
*/
|
|
435
|
+
scheduled_machine_count: number;
|
|
436
|
+
|
|
366
437
|
/**
|
|
367
438
|
* Start of the measured period.
|
|
368
439
|
*/
|
|
@@ -491,6 +562,73 @@ export interface DeliveryBacklogBucket {
|
|
|
491
562
|
units: number;
|
|
492
563
|
}
|
|
493
564
|
|
|
565
|
+
/**
|
|
566
|
+
* Delivery performance for one slice of the order book.
|
|
567
|
+
*/
|
|
568
|
+
export interface DeliveryBreakdown {
|
|
569
|
+
/**
|
|
570
|
+
* Identifier of the slice — a customer, customer group, product line, or
|
|
571
|
+
* commitment source. Empty when the dimension is unset on the orders in it.
|
|
572
|
+
*/
|
|
573
|
+
key: string;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Display name for the slice.
|
|
577
|
+
*/
|
|
578
|
+
label: string;
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Resource type identifier.
|
|
582
|
+
*/
|
|
583
|
+
object: 'delivery_breakdown';
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Delivery reliability for one period, or for a whole window.
|
|
587
|
+
*/
|
|
588
|
+
performance: DeliveryPerformance | null;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* One band of how far the window's misses missed by.
|
|
593
|
+
*/
|
|
594
|
+
export interface DeliveryLatenessBucket {
|
|
595
|
+
/**
|
|
596
|
+
* Name of the band.
|
|
597
|
+
*/
|
|
598
|
+
label: string;
|
|
599
|
+
|
|
600
|
+
/**
|
|
601
|
+
* Upper bound in days late; `0` means unbounded.
|
|
602
|
+
*/
|
|
603
|
+
max_days_late: number;
|
|
604
|
+
|
|
605
|
+
/**
|
|
606
|
+
* Lower bound of the band in days late.
|
|
607
|
+
*/
|
|
608
|
+
min_days_late: number;
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Resource type identifier.
|
|
612
|
+
*/
|
|
613
|
+
object: 'delivery_lateness_bucket';
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* Orders in the band, shipped and unshipped.
|
|
617
|
+
*/
|
|
618
|
+
order_count: number;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* How many of them have since shipped. The remainder are still owed, and are the
|
|
622
|
+
* same orders `backlog` counts.
|
|
623
|
+
*/
|
|
624
|
+
shipped_count: number;
|
|
625
|
+
|
|
626
|
+
/**
|
|
627
|
+
* Quantity still unpacked across the band's orders.
|
|
628
|
+
*/
|
|
629
|
+
units: number;
|
|
630
|
+
}
|
|
631
|
+
|
|
494
632
|
/**
|
|
495
633
|
* Delivery reliability for one period, or for a whole window.
|
|
496
634
|
*/
|
|
@@ -615,6 +753,20 @@ export interface FrozenAdherence {
|
|
|
615
753
|
*/
|
|
616
754
|
line_adherence_pct: number | null;
|
|
617
755
|
|
|
756
|
+
/**
|
|
757
|
+
* Campaigns the floor ran inside the frozen window that the frozen plan never
|
|
758
|
+
* called for, counted per machine-week-SKU.
|
|
759
|
+
*
|
|
760
|
+
* Working around a commitment breaks it as surely as editing it does, so this
|
|
761
|
+
* scores alongside the hand edits rather than beside them.
|
|
762
|
+
*/
|
|
763
|
+
off_plan_lines: number;
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* Units behind those off-plan campaigns.
|
|
767
|
+
*/
|
|
768
|
+
off_plan_quantity: number;
|
|
769
|
+
|
|
618
770
|
/**
|
|
619
771
|
* Entity is a polymorphic reference to any resource in the system.
|
|
620
772
|
*/
|
|
@@ -685,6 +837,60 @@ export interface ListDeliveryBacklogBucket {
|
|
|
685
837
|
page_info: APIKeysAPI.PageInfo;
|
|
686
838
|
}
|
|
687
839
|
|
|
840
|
+
/**
|
|
841
|
+
* A single page of resources, together with the metadata needed to page through
|
|
842
|
+
* the rest of the result set.
|
|
843
|
+
*/
|
|
844
|
+
export interface ListDeliveryBreakdown {
|
|
845
|
+
/**
|
|
846
|
+
* Resources in this page.
|
|
847
|
+
*/
|
|
848
|
+
data: Array<DeliveryBreakdown>;
|
|
849
|
+
|
|
850
|
+
/**
|
|
851
|
+
* Resource type identifier.
|
|
852
|
+
*/
|
|
853
|
+
object: 'list';
|
|
854
|
+
|
|
855
|
+
/**
|
|
856
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
857
|
+
* how to move to the adjacent pages.
|
|
858
|
+
*
|
|
859
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
860
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
861
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
862
|
+
* search term, and page size.
|
|
863
|
+
*/
|
|
864
|
+
page_info: APIKeysAPI.PageInfo;
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* A single page of resources, together with the metadata needed to page through
|
|
869
|
+
* the rest of the result set.
|
|
870
|
+
*/
|
|
871
|
+
export interface ListDeliveryLatenessBucket {
|
|
872
|
+
/**
|
|
873
|
+
* Resources in this page.
|
|
874
|
+
*/
|
|
875
|
+
data: Array<DeliveryLatenessBucket>;
|
|
876
|
+
|
|
877
|
+
/**
|
|
878
|
+
* Resource type identifier.
|
|
879
|
+
*/
|
|
880
|
+
object: 'list';
|
|
881
|
+
|
|
882
|
+
/**
|
|
883
|
+
* PageInfo describes where the current page sits within a paginated result set and
|
|
884
|
+
* how to move to the adjacent pages.
|
|
885
|
+
*
|
|
886
|
+
* Page a list by following the URLs below rather than assembling cursors yourself.
|
|
887
|
+
* For a top-level list endpoint the URL repeats the original request's query
|
|
888
|
+
* string with only the cursor swapped, so following it preserves the same filters,
|
|
889
|
+
* search term, and page size.
|
|
890
|
+
*/
|
|
891
|
+
page_info: APIKeysAPI.PageInfo;
|
|
892
|
+
}
|
|
893
|
+
|
|
688
894
|
/**
|
|
689
895
|
* A single page of resources, together with the metadata needed to page through
|
|
690
896
|
* the rest of the result set.
|
|
@@ -1158,10 +1364,31 @@ export interface AnalyticsUpdateDeliveryPerformanceParams {
|
|
|
1158
1364
|
*/
|
|
1159
1365
|
starts_at: string;
|
|
1160
1366
|
|
|
1367
|
+
/**
|
|
1368
|
+
* Only measure orders whose customer sits in these groups.
|
|
1369
|
+
*/
|
|
1370
|
+
customer_group_ids?: Array<string>;
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* Only measure orders bought by these customers. Their child accounts are
|
|
1374
|
+
* included, matching how the sales analytics resolve a customer.
|
|
1375
|
+
*/
|
|
1376
|
+
customer_ids?: Array<string>;
|
|
1377
|
+
|
|
1161
1378
|
/**
|
|
1162
1379
|
* The period to break the results down by. Defaults to `week`.
|
|
1163
1380
|
*/
|
|
1164
1381
|
granularity?: 'day' | 'week' | 'month';
|
|
1382
|
+
|
|
1383
|
+
/**
|
|
1384
|
+
* Only measure orders containing at least one line in these product lines.
|
|
1385
|
+
*/
|
|
1386
|
+
product_line_ids?: Array<string>;
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* Only measure orders owned by these sales reps.
|
|
1390
|
+
*/
|
|
1391
|
+
sales_rep_ids?: Array<string>;
|
|
1165
1392
|
}
|
|
1166
1393
|
|
|
1167
1394
|
export declare namespace Analytics {
|
|
@@ -1176,10 +1403,14 @@ export declare namespace Analytics {
|
|
|
1176
1403
|
type AnalyzeScheduleAttainmentResponse as AnalyzeScheduleAttainmentResponse,
|
|
1177
1404
|
type AttainmentBucket as AttainmentBucket,
|
|
1178
1405
|
type DeliveryBacklogBucket as DeliveryBacklogBucket,
|
|
1406
|
+
type DeliveryBreakdown as DeliveryBreakdown,
|
|
1407
|
+
type DeliveryLatenessBucket as DeliveryLatenessBucket,
|
|
1179
1408
|
type DeliveryPerformance as DeliveryPerformance,
|
|
1180
1409
|
type FrozenAdherence as FrozenAdherence,
|
|
1181
1410
|
type ListAttainmentBucket as ListAttainmentBucket,
|
|
1182
1411
|
type ListDeliveryBacklogBucket as ListDeliveryBacklogBucket,
|
|
1412
|
+
type ListDeliveryBreakdown as ListDeliveryBreakdown,
|
|
1413
|
+
type ListDeliveryLatenessBucket as ListDeliveryLatenessBucket,
|
|
1183
1414
|
type ListDeliveryPerformance as ListDeliveryPerformance,
|
|
1184
1415
|
type ListFrozenAdherence as ListFrozenAdherence,
|
|
1185
1416
|
type ListOeeDepartment as ListOeeDepartment,
|
|
@@ -294,6 +294,8 @@ export interface AuditEvent {
|
|
|
294
294
|
| 'analyze_delivery_performance_response'
|
|
295
295
|
| 'delivery_performance'
|
|
296
296
|
| 'delivery_backlog_bucket'
|
|
297
|
+
| 'delivery_lateness_bucket'
|
|
298
|
+
| 'delivery_breakdown'
|
|
297
299
|
| 'schedule_order_coverage'
|
|
298
300
|
| 'schedule_order_coverage_line'
|
|
299
301
|
| 'promise_date_quote'
|
|
@@ -447,7 +449,6 @@ export interface AuditEvent {
|
|
|
447
449
|
| 'sales_order_price_quote'
|
|
448
450
|
| 'sales_order_freight_quote'
|
|
449
451
|
| 'sales_order_price_quote_line'
|
|
450
|
-
| 'sales_order_quote_rate'
|
|
451
452
|
| 'hubspot_sync_job'
|
|
452
453
|
| 'hubspot_sync_report'
|
|
453
454
|
| 'hubspot_company_review'
|
|
@@ -467,6 +468,8 @@ export interface AuditEvent {
|
|
|
467
468
|
| 'pack_list_back_order'
|
|
468
469
|
| 'pack_list_case'
|
|
469
470
|
| 'job'
|
|
471
|
+
| 'job_result'
|
|
472
|
+
| 'job_export'
|
|
470
473
|
| 'analyze_customer_pricing_response'
|
|
471
474
|
| 'customer_pricing_finding'
|
|
472
475
|
| 'customer_pricing_summary'
|
|
@@ -696,6 +699,8 @@ export interface ListObjectType {
|
|
|
696
699
|
| 'analyze_delivery_performance_response'
|
|
697
700
|
| 'delivery_performance'
|
|
698
701
|
| 'delivery_backlog_bucket'
|
|
702
|
+
| 'delivery_lateness_bucket'
|
|
703
|
+
| 'delivery_breakdown'
|
|
699
704
|
| 'schedule_order_coverage'
|
|
700
705
|
| 'schedule_order_coverage_line'
|
|
701
706
|
| 'promise_date_quote'
|
|
@@ -849,7 +854,6 @@ export interface ListObjectType {
|
|
|
849
854
|
| 'sales_order_price_quote'
|
|
850
855
|
| 'sales_order_freight_quote'
|
|
851
856
|
| 'sales_order_price_quote_line'
|
|
852
|
-
| 'sales_order_quote_rate'
|
|
853
857
|
| 'hubspot_sync_job'
|
|
854
858
|
| 'hubspot_sync_report'
|
|
855
859
|
| 'hubspot_company_review'
|
|
@@ -869,6 +873,8 @@ export interface ListObjectType {
|
|
|
869
873
|
| 'pack_list_back_order'
|
|
870
874
|
| 'pack_list_case'
|
|
871
875
|
| 'job'
|
|
876
|
+
| 'job_result'
|
|
877
|
+
| 'job_export'
|
|
872
878
|
| 'analyze_customer_pricing_response'
|
|
873
879
|
| 'customer_pricing_finding'
|
|
874
880
|
| 'customer_pricing_summary'
|
|
@@ -1086,6 +1092,8 @@ export interface AuditEventListParams {
|
|
|
1086
1092
|
| 'analyze_delivery_performance_response'
|
|
1087
1093
|
| 'delivery_performance'
|
|
1088
1094
|
| 'delivery_backlog_bucket'
|
|
1095
|
+
| 'delivery_lateness_bucket'
|
|
1096
|
+
| 'delivery_breakdown'
|
|
1089
1097
|
| 'schedule_order_coverage'
|
|
1090
1098
|
| 'schedule_order_coverage_line'
|
|
1091
1099
|
| 'promise_date_quote'
|
|
@@ -1239,7 +1247,6 @@ export interface AuditEventListParams {
|
|
|
1239
1247
|
| 'sales_order_price_quote'
|
|
1240
1248
|
| 'sales_order_freight_quote'
|
|
1241
1249
|
| 'sales_order_price_quote_line'
|
|
1242
|
-
| 'sales_order_quote_rate'
|
|
1243
1250
|
| 'hubspot_sync_job'
|
|
1244
1251
|
| 'hubspot_sync_report'
|
|
1245
1252
|
| 'hubspot_company_review'
|
|
@@ -1259,6 +1266,8 @@ export interface AuditEventListParams {
|
|
|
1259
1266
|
| 'pack_list_back_order'
|
|
1260
1267
|
| 'pack_list_case'
|
|
1261
1268
|
| 'job'
|
|
1269
|
+
| 'job_result'
|
|
1270
|
+
| 'job_export'
|
|
1262
1271
|
| 'analyze_customer_pricing_response'
|
|
1263
1272
|
| 'customer_pricing_finding'
|
|
1264
1273
|
| 'customer_pricing_summary'
|
|
@@ -1399,6 +1408,8 @@ export interface AuditEventListParams {
|
|
|
1399
1408
|
| 'analyze_delivery_performance_response'
|
|
1400
1409
|
| 'delivery_performance'
|
|
1401
1410
|
| 'delivery_backlog_bucket'
|
|
1411
|
+
| 'delivery_lateness_bucket'
|
|
1412
|
+
| 'delivery_breakdown'
|
|
1402
1413
|
| 'schedule_order_coverage'
|
|
1403
1414
|
| 'schedule_order_coverage_line'
|
|
1404
1415
|
| 'promise_date_quote'
|
|
@@ -1552,7 +1563,6 @@ export interface AuditEventListParams {
|
|
|
1552
1563
|
| 'sales_order_price_quote'
|
|
1553
1564
|
| 'sales_order_freight_quote'
|
|
1554
1565
|
| 'sales_order_price_quote_line'
|
|
1555
|
-
| 'sales_order_quote_rate'
|
|
1556
1566
|
| 'hubspot_sync_job'
|
|
1557
1567
|
| 'hubspot_sync_report'
|
|
1558
1568
|
| 'hubspot_company_review'
|
|
@@ -1572,6 +1582,8 @@ export interface AuditEventListParams {
|
|
|
1572
1582
|
| 'pack_list_back_order'
|
|
1573
1583
|
| 'pack_list_case'
|
|
1574
1584
|
| 'job'
|
|
1585
|
+
| 'job_result'
|
|
1586
|
+
| 'job_export'
|
|
1575
1587
|
| 'analyze_customer_pricing_response'
|
|
1576
1588
|
| 'customer_pricing_finding'
|
|
1577
1589
|
| 'customer_pricing_summary'
|
|
@@ -18,10 +18,14 @@ import {
|
|
|
18
18
|
AnalyzeScheduleAttainmentResponse,
|
|
19
19
|
AttainmentBucket,
|
|
20
20
|
DeliveryBacklogBucket,
|
|
21
|
+
DeliveryBreakdown,
|
|
22
|
+
DeliveryLatenessBucket,
|
|
21
23
|
DeliveryPerformance,
|
|
22
24
|
FrozenAdherence,
|
|
23
25
|
ListAttainmentBucket,
|
|
24
26
|
ListDeliveryBacklogBucket,
|
|
27
|
+
ListDeliveryBreakdown,
|
|
28
|
+
ListDeliveryLatenessBucket,
|
|
25
29
|
ListDeliveryPerformance,
|
|
26
30
|
ListFrozenAdherence,
|
|
27
31
|
ListOeeDepartment,
|
|
@@ -46,7 +50,17 @@ import {
|
|
|
46
50
|
import * as EmailLogsAPI from './email-logs';
|
|
47
51
|
import { EmailLog, EmailLogListParams, EmailLogRetrieveParams, EmailLogs, ListEmailLog } from './email-logs';
|
|
48
52
|
import * as JobsAPI from './jobs';
|
|
49
|
-
import {
|
|
53
|
+
import {
|
|
54
|
+
Job,
|
|
55
|
+
JobCancelParams,
|
|
56
|
+
JobExport,
|
|
57
|
+
JobResult,
|
|
58
|
+
JobRetrieveParams,
|
|
59
|
+
Jobs,
|
|
60
|
+
ListJobResult,
|
|
61
|
+
QuotaInfo,
|
|
62
|
+
ResponseError,
|
|
63
|
+
} from './jobs';
|
|
50
64
|
import * as RequestLogsAPI from './request-logs';
|
|
51
65
|
import {
|
|
52
66
|
Actor,
|
|
@@ -270,6 +284,8 @@ export interface Entity {
|
|
|
270
284
|
| 'analyze_delivery_performance_response'
|
|
271
285
|
| 'delivery_performance'
|
|
272
286
|
| 'delivery_backlog_bucket'
|
|
287
|
+
| 'delivery_lateness_bucket'
|
|
288
|
+
| 'delivery_breakdown'
|
|
273
289
|
| 'schedule_order_coverage'
|
|
274
290
|
| 'schedule_order_coverage_line'
|
|
275
291
|
| 'promise_date_quote'
|
|
@@ -423,7 +439,6 @@ export interface Entity {
|
|
|
423
439
|
| 'sales_order_price_quote'
|
|
424
440
|
| 'sales_order_freight_quote'
|
|
425
441
|
| 'sales_order_price_quote_line'
|
|
426
|
-
| 'sales_order_quote_rate'
|
|
427
442
|
| 'hubspot_sync_job'
|
|
428
443
|
| 'hubspot_sync_report'
|
|
429
444
|
| 'hubspot_company_review'
|
|
@@ -443,6 +458,8 @@ export interface Entity {
|
|
|
443
458
|
| 'pack_list_back_order'
|
|
444
459
|
| 'pack_list_case'
|
|
445
460
|
| 'job'
|
|
461
|
+
| 'job_result'
|
|
462
|
+
| 'job_export'
|
|
446
463
|
| 'analyze_customer_pricing_response'
|
|
447
464
|
| 'customer_pricing_finding'
|
|
448
465
|
| 'customer_pricing_summary'
|
|
@@ -638,6 +655,8 @@ export interface CoreRetrieveSearchParams {
|
|
|
638
655
|
| 'analyze_delivery_performance_response'
|
|
639
656
|
| 'delivery_performance'
|
|
640
657
|
| 'delivery_backlog_bucket'
|
|
658
|
+
| 'delivery_lateness_bucket'
|
|
659
|
+
| 'delivery_breakdown'
|
|
641
660
|
| 'schedule_order_coverage'
|
|
642
661
|
| 'schedule_order_coverage_line'
|
|
643
662
|
| 'promise_date_quote'
|
|
@@ -791,7 +810,6 @@ export interface CoreRetrieveSearchParams {
|
|
|
791
810
|
| 'sales_order_price_quote'
|
|
792
811
|
| 'sales_order_freight_quote'
|
|
793
812
|
| 'sales_order_price_quote_line'
|
|
794
|
-
| 'sales_order_quote_rate'
|
|
795
813
|
| 'hubspot_sync_job'
|
|
796
814
|
| 'hubspot_sync_report'
|
|
797
815
|
| 'hubspot_company_review'
|
|
@@ -811,6 +829,8 @@ export interface CoreRetrieveSearchParams {
|
|
|
811
829
|
| 'pack_list_back_order'
|
|
812
830
|
| 'pack_list_case'
|
|
813
831
|
| 'job'
|
|
832
|
+
| 'job_result'
|
|
833
|
+
| 'job_export'
|
|
814
834
|
| 'analyze_customer_pricing_response'
|
|
815
835
|
| 'customer_pricing_finding'
|
|
816
836
|
| 'customer_pricing_summary'
|
|
@@ -888,9 +908,11 @@ export declare namespace Core {
|
|
|
888
908
|
type Job as Job,
|
|
889
909
|
type JobExport as JobExport,
|
|
890
910
|
type JobResult as JobResult,
|
|
911
|
+
type ListJobResult as ListJobResult,
|
|
891
912
|
type QuotaInfo as QuotaInfo,
|
|
892
913
|
type ResponseError as ResponseError,
|
|
893
|
-
type
|
|
914
|
+
type JobRetrieveParams as JobRetrieveParams,
|
|
915
|
+
type JobCancelParams as JobCancelParams,
|
|
894
916
|
};
|
|
895
917
|
|
|
896
918
|
export {
|
|
@@ -905,10 +927,14 @@ export declare namespace Core {
|
|
|
905
927
|
type AnalyzeScheduleAttainmentResponse as AnalyzeScheduleAttainmentResponse,
|
|
906
928
|
type AttainmentBucket as AttainmentBucket,
|
|
907
929
|
type DeliveryBacklogBucket as DeliveryBacklogBucket,
|
|
930
|
+
type DeliveryBreakdown as DeliveryBreakdown,
|
|
931
|
+
type DeliveryLatenessBucket as DeliveryLatenessBucket,
|
|
908
932
|
type DeliveryPerformance as DeliveryPerformance,
|
|
909
933
|
type FrozenAdherence as FrozenAdherence,
|
|
910
934
|
type ListAttainmentBucket as ListAttainmentBucket,
|
|
911
935
|
type ListDeliveryBacklogBucket as ListDeliveryBacklogBucket,
|
|
936
|
+
type ListDeliveryBreakdown as ListDeliveryBreakdown,
|
|
937
|
+
type ListDeliveryLatenessBucket as ListDeliveryLatenessBucket,
|
|
912
938
|
type ListDeliveryPerformance as ListDeliveryPerformance,
|
|
913
939
|
type ListFrozenAdherence as ListFrozenAdherence,
|
|
914
940
|
type ListOeeDepartment as ListOeeDepartment,
|
|
@@ -18,10 +18,14 @@ export {
|
|
|
18
18
|
type AnalyzeScheduleAttainmentResponse,
|
|
19
19
|
type AttainmentBucket,
|
|
20
20
|
type DeliveryBacklogBucket,
|
|
21
|
+
type DeliveryBreakdown,
|
|
22
|
+
type DeliveryLatenessBucket,
|
|
21
23
|
type DeliveryPerformance,
|
|
22
24
|
type FrozenAdherence,
|
|
23
25
|
type ListAttainmentBucket,
|
|
24
26
|
type ListDeliveryBacklogBucket,
|
|
27
|
+
type ListDeliveryBreakdown,
|
|
28
|
+
type ListDeliveryLatenessBucket,
|
|
25
29
|
type ListDeliveryPerformance,
|
|
26
30
|
type ListFrozenAdherence,
|
|
27
31
|
type ListOeeDepartment,
|
|
@@ -59,9 +63,11 @@ export {
|
|
|
59
63
|
type Job,
|
|
60
64
|
type JobExport,
|
|
61
65
|
type JobResult,
|
|
66
|
+
type ListJobResult,
|
|
62
67
|
type QuotaInfo,
|
|
63
68
|
type ResponseError,
|
|
64
|
-
type
|
|
69
|
+
type JobRetrieveParams,
|
|
70
|
+
type JobCancelParams,
|
|
65
71
|
} from './jobs';
|
|
66
72
|
export {
|
|
67
73
|
RequestLogs,
|