@openmrp/sdk 0.24.2 → 0.25.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 -4
- package/README.md +1 -1
- package/client.js +1 -1
- package/client.mjs +1 -1
- package/package.json +1 -1
- package/resources/catalog/items/actions.d.mts +34 -12
- package/resources/catalog/items/actions.d.mts.map +1 -1
- package/resources/catalog/items/actions.d.ts +34 -12
- package/resources/catalog/items/actions.d.ts.map +1 -1
- package/resources/catalog/items/actions.js.map +1 -1
- package/resources/catalog/items/actions.mjs.map +1 -1
- package/resources/catalog/units/units.d.mts +3 -1
- package/resources/catalog/units/units.d.mts.map +1 -1
- package/resources/catalog/units/units.d.ts +3 -1
- package/resources/catalog/units/units.d.ts.map +1 -1
- package/resources/catalog/units/units.js +3 -1
- package/resources/catalog/units/units.js.map +1 -1
- package/resources/catalog/units/units.mjs +3 -1
- package/resources/catalog/units/units.mjs.map +1 -1
- package/resources/core/analytics.d.mts +1 -1
- package/resources/core/analytics.d.ts +1 -1
- package/resources/core/audit-events.d.mts +8 -4
- package/resources/core/audit-events.d.mts.map +1 -1
- package/resources/core/audit-events.d.ts +8 -4
- package/resources/core/audit-events.d.ts.map +1 -1
- package/resources/core/core.d.mts +2 -2
- package/resources/core/core.d.mts.map +1 -1
- package/resources/core/core.d.ts +2 -2
- package/resources/core/core.d.ts.map +1 -1
- package/resources/core/core.js.map +1 -1
- package/resources/core/core.mjs.map +1 -1
- package/resources/core/jobs.d.mts +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/core/request-logs.d.mts +3 -0
- package/resources/core/request-logs.d.mts.map +1 -1
- package/resources/core/request-logs.d.ts +3 -0
- package/resources/core/request-logs.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/inventory-change-logs/inventory-change-logs.d.mts +4 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.mts.map +1 -1
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts +4 -0
- package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts.map +1 -1
- package/resources/operations/inventory-change-logs/inventory-change-logs.js.map +1 -1
- package/resources/operations/inventory-change-logs/inventory-change-logs.mjs.map +1 -1
- package/resources/operations/picks/lines/lines.d.mts +1 -1
- package/resources/operations/picks/lines/lines.d.mts.map +1 -1
- package/resources/operations/picks/lines/lines.d.ts +1 -1
- package/resources/operations/picks/lines/lines.d.ts.map +1 -1
- package/resources/operations/picks/lines/lines.js.map +1 -1
- package/resources/operations/picks/lines/lines.mjs.map +1 -1
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.mts +3 -3
- package/resources/operations/production-schedule-settings/production-schedule-settings.d.ts +3 -3
- package/resources/operations/production-schedules/lines.d.mts +3 -3
- package/resources/operations/production-schedules/lines.d.ts +3 -3
- package/resources/operations/production-schedules/production-schedules.d.mts +6 -6
- package/resources/operations/production-schedules/production-schedules.d.ts +6 -6
- package/resources/operations/production-schedules/production-schedules.js +1 -1
- package/resources/operations/production-schedules/production-schedules.mjs +1 -1
- package/src/client.ts +1 -1
- package/src/resources/catalog/items/actions.ts +36 -12
- package/src/resources/catalog/units/units.ts +3 -1
- package/src/resources/core/analytics.ts +1 -1
- package/src/resources/core/audit-events.ts +44 -4
- package/src/resources/core/core.ts +20 -2
- package/src/resources/core/jobs.ts +10 -1
- package/src/resources/core/request-logs.ts +3 -0
- package/src/resources/messaging/conversations/conversations.ts +30 -3
- package/src/resources/messaging/conversations/links.ts +20 -2
- package/src/resources/messaging/conversations/messages.ts +20 -2
- package/src/resources/messaging/notifications/notifications.ts +20 -2
- package/src/resources/operations/inventory-change-logs/inventory-change-logs.ts +4 -0
- package/src/resources/operations/picks/lines/lines.ts +1 -6
- package/src/resources/operations/production-schedule-settings/production-schedule-settings.ts +3 -3
- package/src/resources/operations/production-schedules/lines.ts +3 -3
- package/src/resources/operations/production-schedules/production-schedules.ts +6 -6
- 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,7 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../../core/resource';
|
|
4
|
+
import * as CoreAPI from '../../core/core';
|
|
4
5
|
import * as APIKeysAPI from '../../auth/api-keys/api-keys';
|
|
6
|
+
import * as InventoryAPI from './inventory';
|
|
5
7
|
import { APIPromise } from '../../../core/api-promise';
|
|
6
8
|
import { RequestOptions } from '../../../internal/request-options';
|
|
7
9
|
|
|
@@ -217,50 +219,72 @@ export interface ReconcileErrorResult {
|
|
|
217
219
|
error: string;
|
|
218
220
|
|
|
219
221
|
/**
|
|
220
|
-
*
|
|
222
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
221
223
|
*/
|
|
222
|
-
|
|
224
|
+
item: CoreAPI.Entity | null;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Resource type identifier.
|
|
228
|
+
*/
|
|
229
|
+
object: 'reconcile_error_result';
|
|
223
230
|
}
|
|
224
231
|
|
|
225
232
|
/**
|
|
226
233
|
* An item whose on-hand quantity was successfully reconciled.
|
|
227
234
|
*
|
|
228
235
|
* Both quantities are expressed in the item's own base unit, not in the unit
|
|
229
|
-
* submitted with the request.
|
|
236
|
+
* submitted with the request, and both arrive with that unit resolved.
|
|
230
237
|
*/
|
|
231
238
|
export interface ReconciledItemResult {
|
|
232
239
|
/**
|
|
233
|
-
*
|
|
240
|
+
* Entity is a polymorphic reference to any resource in the system.
|
|
234
241
|
*/
|
|
235
|
-
|
|
242
|
+
item: CoreAPI.Entity | null;
|
|
236
243
|
|
|
237
244
|
/**
|
|
238
|
-
*
|
|
245
|
+
* An amount calculated on demand rather than stored.
|
|
246
|
+
*
|
|
247
|
+
* The same shape as a quantity minus the ID, because nothing was written: it is
|
|
248
|
+
* derived per request, such as a total rolled up across invoiced lines for one
|
|
249
|
+
* analysis.
|
|
239
250
|
*/
|
|
240
|
-
new_quantity:
|
|
251
|
+
new_quantity: InventoryAPI.ComputedQuantity | null;
|
|
241
252
|
|
|
242
253
|
/**
|
|
243
|
-
*
|
|
254
|
+
* Resource type identifier.
|
|
244
255
|
*/
|
|
245
|
-
|
|
256
|
+
object: 'reconciled_item_result';
|
|
246
257
|
|
|
247
258
|
/**
|
|
248
|
-
*
|
|
259
|
+
* An amount calculated on demand rather than stored.
|
|
260
|
+
*
|
|
261
|
+
* The same shape as a quantity minus the ID, because nothing was written: it is
|
|
262
|
+
* derived per request, such as a total rolled up across invoiced lines for one
|
|
263
|
+
* analysis.
|
|
249
264
|
*/
|
|
250
|
-
|
|
265
|
+
previous_quantity: InventoryAPI.ComputedQuantity | null;
|
|
251
266
|
}
|
|
252
267
|
|
|
253
268
|
/**
|
|
254
269
|
* A submitted row that was skipped rather than reconciled.
|
|
270
|
+
*
|
|
271
|
+
* A skipped row is reported by the SKU it was submitted under rather than as an
|
|
272
|
+
* item reference, because the usual reason to skip one is that no item carries
|
|
273
|
+
* that SKU — there is nothing to point at.
|
|
255
274
|
*/
|
|
256
275
|
export interface SkippedItemResult {
|
|
276
|
+
/**
|
|
277
|
+
* Resource type identifier.
|
|
278
|
+
*/
|
|
279
|
+
object: 'skipped_item_result';
|
|
280
|
+
|
|
257
281
|
/**
|
|
258
282
|
* Human-readable reason the item was skipped.
|
|
259
283
|
*/
|
|
260
284
|
reason: string;
|
|
261
285
|
|
|
262
286
|
/**
|
|
263
|
-
* Item SKU.
|
|
287
|
+
* Item SKU, as submitted.
|
|
264
288
|
*/
|
|
265
289
|
sku: string;
|
|
266
290
|
}
|
|
@@ -113,7 +113,9 @@ export class Units extends APIResource {
|
|
|
113
113
|
* Deletes a unit owned by your account.
|
|
114
114
|
*
|
|
115
115
|
* The unit is also removed from every unit group it belongs to. System units,
|
|
116
|
-
* which are shared across all accounts, cannot be deleted
|
|
116
|
+
* which are shared across all accounts, cannot be deleted, and neither can a unit
|
|
117
|
+
* that is a unit group's base unit — change the group's base unit or delete the
|
|
118
|
+
* group first — or one that any quantity or price is recorded in.
|
|
117
119
|
*
|
|
118
120
|
* This endpoint requires the permission: `units:delete`.
|
|
119
121
|
*
|
|
@@ -1085,7 +1085,7 @@ export interface OeeDepartment {
|
|
|
1085
1085
|
/**
|
|
1086
1086
|
* Whether availability was measured from logged downtime or estimated from
|
|
1087
1087
|
* runtime. A department with no logged downtime computes as perfectly available,
|
|
1088
|
-
* so an estimate is
|
|
1088
|
+
* so an estimate is labeled rather than presented as a measurement.
|
|
1089
1089
|
*/
|
|
1090
1090
|
measurement_status: 'measured' | 'estimated';
|
|
1091
1091
|
|
|
@@ -319,6 +319,7 @@ export interface AuditEvent {
|
|
|
319
319
|
| 'priority'
|
|
320
320
|
| 'delivery'
|
|
321
321
|
| 'delivery_line'
|
|
322
|
+
| 'delivery_related'
|
|
322
323
|
| 'sales_order'
|
|
323
324
|
| 'location'
|
|
324
325
|
| 'location_type'
|
|
@@ -398,11 +399,14 @@ export interface AuditEvent {
|
|
|
398
399
|
| 'map'
|
|
399
400
|
| 'purchase_order'
|
|
400
401
|
| 'purchase_order_line'
|
|
402
|
+
| 'purchase_order_related'
|
|
401
403
|
| 'supplier'
|
|
402
|
-
| 'supplier_summary'
|
|
403
404
|
| 'receivable_entry'
|
|
404
405
|
| 'receiving_order'
|
|
405
406
|
| 'receiving_order_line'
|
|
407
|
+
| 'receiving_order_totals'
|
|
408
|
+
| 'receiving_order_stage_total'
|
|
409
|
+
| 'receiving_order_related'
|
|
406
410
|
| 'email_contact'
|
|
407
411
|
| 'allocation_entry'
|
|
408
412
|
| 'open_credit_entry'
|
|
@@ -444,6 +448,11 @@ export interface AuditEvent {
|
|
|
444
448
|
| 'user_photo_url'
|
|
445
449
|
| 'batch_lot'
|
|
446
450
|
| 'check_duplicate_result'
|
|
451
|
+
| 'item_costs'
|
|
452
|
+
| 'item_trends'
|
|
453
|
+
| 'reconciled_item_result'
|
|
454
|
+
| 'skipped_item_result'
|
|
455
|
+
| 'reconcile_error_result'
|
|
447
456
|
| 'item_trend_point'
|
|
448
457
|
| 'tenancy_pending_registration'
|
|
449
458
|
| 'invoice_allocation_entry'
|
|
@@ -735,6 +744,7 @@ export interface ListObjectType {
|
|
|
735
744
|
| 'priority'
|
|
736
745
|
| 'delivery'
|
|
737
746
|
| 'delivery_line'
|
|
747
|
+
| 'delivery_related'
|
|
738
748
|
| 'sales_order'
|
|
739
749
|
| 'location'
|
|
740
750
|
| 'location_type'
|
|
@@ -814,11 +824,14 @@ export interface ListObjectType {
|
|
|
814
824
|
| 'map'
|
|
815
825
|
| 'purchase_order'
|
|
816
826
|
| 'purchase_order_line'
|
|
827
|
+
| 'purchase_order_related'
|
|
817
828
|
| 'supplier'
|
|
818
|
-
| 'supplier_summary'
|
|
819
829
|
| 'receivable_entry'
|
|
820
830
|
| 'receiving_order'
|
|
821
831
|
| 'receiving_order_line'
|
|
832
|
+
| 'receiving_order_totals'
|
|
833
|
+
| 'receiving_order_stage_total'
|
|
834
|
+
| 'receiving_order_related'
|
|
822
835
|
| 'email_contact'
|
|
823
836
|
| 'allocation_entry'
|
|
824
837
|
| 'open_credit_entry'
|
|
@@ -860,6 +873,11 @@ export interface ListObjectType {
|
|
|
860
873
|
| 'user_photo_url'
|
|
861
874
|
| 'batch_lot'
|
|
862
875
|
| 'check_duplicate_result'
|
|
876
|
+
| 'item_costs'
|
|
877
|
+
| 'item_trends'
|
|
878
|
+
| 'reconciled_item_result'
|
|
879
|
+
| 'skipped_item_result'
|
|
880
|
+
| 'reconcile_error_result'
|
|
863
881
|
| 'item_trend_point'
|
|
864
882
|
| 'tenancy_pending_registration'
|
|
865
883
|
| 'invoice_allocation_entry'
|
|
@@ -1139,6 +1157,7 @@ export interface AuditEventListParams {
|
|
|
1139
1157
|
| 'priority'
|
|
1140
1158
|
| 'delivery'
|
|
1141
1159
|
| 'delivery_line'
|
|
1160
|
+
| 'delivery_related'
|
|
1142
1161
|
| 'sales_order'
|
|
1143
1162
|
| 'location'
|
|
1144
1163
|
| 'location_type'
|
|
@@ -1218,11 +1237,14 @@ export interface AuditEventListParams {
|
|
|
1218
1237
|
| 'map'
|
|
1219
1238
|
| 'purchase_order'
|
|
1220
1239
|
| 'purchase_order_line'
|
|
1240
|
+
| 'purchase_order_related'
|
|
1221
1241
|
| 'supplier'
|
|
1222
|
-
| 'supplier_summary'
|
|
1223
1242
|
| 'receivable_entry'
|
|
1224
1243
|
| 'receiving_order'
|
|
1225
1244
|
| 'receiving_order_line'
|
|
1245
|
+
| 'receiving_order_totals'
|
|
1246
|
+
| 'receiving_order_stage_total'
|
|
1247
|
+
| 'receiving_order_related'
|
|
1226
1248
|
| 'email_contact'
|
|
1227
1249
|
| 'allocation_entry'
|
|
1228
1250
|
| 'open_credit_entry'
|
|
@@ -1264,6 +1286,11 @@ export interface AuditEventListParams {
|
|
|
1264
1286
|
| 'user_photo_url'
|
|
1265
1287
|
| 'batch_lot'
|
|
1266
1288
|
| 'check_duplicate_result'
|
|
1289
|
+
| 'item_costs'
|
|
1290
|
+
| 'item_trends'
|
|
1291
|
+
| 'reconciled_item_result'
|
|
1292
|
+
| 'skipped_item_result'
|
|
1293
|
+
| 'reconcile_error_result'
|
|
1267
1294
|
| 'item_trend_point'
|
|
1268
1295
|
| 'tenancy_pending_registration'
|
|
1269
1296
|
| 'invoice_allocation_entry'
|
|
@@ -1466,6 +1493,7 @@ export interface AuditEventListParams {
|
|
|
1466
1493
|
| 'priority'
|
|
1467
1494
|
| 'delivery'
|
|
1468
1495
|
| 'delivery_line'
|
|
1496
|
+
| 'delivery_related'
|
|
1469
1497
|
| 'sales_order'
|
|
1470
1498
|
| 'location'
|
|
1471
1499
|
| 'location_type'
|
|
@@ -1545,11 +1573,14 @@ export interface AuditEventListParams {
|
|
|
1545
1573
|
| 'map'
|
|
1546
1574
|
| 'purchase_order'
|
|
1547
1575
|
| 'purchase_order_line'
|
|
1576
|
+
| 'purchase_order_related'
|
|
1548
1577
|
| 'supplier'
|
|
1549
|
-
| 'supplier_summary'
|
|
1550
1578
|
| 'receivable_entry'
|
|
1551
1579
|
| 'receiving_order'
|
|
1552
1580
|
| 'receiving_order_line'
|
|
1581
|
+
| 'receiving_order_totals'
|
|
1582
|
+
| 'receiving_order_stage_total'
|
|
1583
|
+
| 'receiving_order_related'
|
|
1553
1584
|
| 'email_contact'
|
|
1554
1585
|
| 'allocation_entry'
|
|
1555
1586
|
| 'open_credit_entry'
|
|
@@ -1591,6 +1622,11 @@ export interface AuditEventListParams {
|
|
|
1591
1622
|
| 'user_photo_url'
|
|
1592
1623
|
| 'batch_lot'
|
|
1593
1624
|
| 'check_duplicate_result'
|
|
1625
|
+
| 'item_costs'
|
|
1626
|
+
| 'item_trends'
|
|
1627
|
+
| 'reconciled_item_result'
|
|
1628
|
+
| 'skipped_item_result'
|
|
1629
|
+
| 'reconcile_error_result'
|
|
1594
1630
|
| 'item_trend_point'
|
|
1595
1631
|
| 'tenancy_pending_registration'
|
|
1596
1632
|
| 'invoice_allocation_entry'
|
|
@@ -1639,6 +1675,10 @@ export interface AuditEventListParams {
|
|
|
1639
1675
|
|
|
1640
1676
|
/**
|
|
1641
1677
|
* Restricts results to audit events on or after this timestamp.
|
|
1678
|
+
*
|
|
1679
|
+
* Defaults to 24 hours before `ends_at`, or before now when `ends_at` is also
|
|
1680
|
+
* omitted, unless `resource_ids` or the root resource is given — a record's
|
|
1681
|
+
* history is returned whole. Pass an earlier timestamp to search further back.
|
|
1642
1682
|
*/
|
|
1643
1683
|
starts_at?: string;
|
|
1644
1684
|
|
|
@@ -312,6 +312,7 @@ export interface Entity {
|
|
|
312
312
|
| 'priority'
|
|
313
313
|
| 'delivery'
|
|
314
314
|
| 'delivery_line'
|
|
315
|
+
| 'delivery_related'
|
|
315
316
|
| 'sales_order'
|
|
316
317
|
| 'location'
|
|
317
318
|
| 'location_type'
|
|
@@ -391,11 +392,14 @@ export interface Entity {
|
|
|
391
392
|
| 'map'
|
|
392
393
|
| 'purchase_order'
|
|
393
394
|
| 'purchase_order_line'
|
|
395
|
+
| 'purchase_order_related'
|
|
394
396
|
| 'supplier'
|
|
395
|
-
| 'supplier_summary'
|
|
396
397
|
| 'receivable_entry'
|
|
397
398
|
| 'receiving_order'
|
|
398
399
|
| 'receiving_order_line'
|
|
400
|
+
| 'receiving_order_totals'
|
|
401
|
+
| 'receiving_order_stage_total'
|
|
402
|
+
| 'receiving_order_related'
|
|
399
403
|
| 'email_contact'
|
|
400
404
|
| 'allocation_entry'
|
|
401
405
|
| 'open_credit_entry'
|
|
@@ -437,6 +441,11 @@ export interface Entity {
|
|
|
437
441
|
| 'user_photo_url'
|
|
438
442
|
| 'batch_lot'
|
|
439
443
|
| 'check_duplicate_result'
|
|
444
|
+
| 'item_costs'
|
|
445
|
+
| 'item_trends'
|
|
446
|
+
| 'reconciled_item_result'
|
|
447
|
+
| 'skipped_item_result'
|
|
448
|
+
| 'reconcile_error_result'
|
|
440
449
|
| 'item_trend_point'
|
|
441
450
|
| 'tenancy_pending_registration'
|
|
442
451
|
| 'invoice_allocation_entry'
|
|
@@ -694,6 +703,7 @@ export interface CoreRetrieveSearchParams {
|
|
|
694
703
|
| 'priority'
|
|
695
704
|
| 'delivery'
|
|
696
705
|
| 'delivery_line'
|
|
706
|
+
| 'delivery_related'
|
|
697
707
|
| 'sales_order'
|
|
698
708
|
| 'location'
|
|
699
709
|
| 'location_type'
|
|
@@ -773,11 +783,14 @@ export interface CoreRetrieveSearchParams {
|
|
|
773
783
|
| 'map'
|
|
774
784
|
| 'purchase_order'
|
|
775
785
|
| 'purchase_order_line'
|
|
786
|
+
| 'purchase_order_related'
|
|
776
787
|
| 'supplier'
|
|
777
|
-
| 'supplier_summary'
|
|
778
788
|
| 'receivable_entry'
|
|
779
789
|
| 'receiving_order'
|
|
780
790
|
| 'receiving_order_line'
|
|
791
|
+
| 'receiving_order_totals'
|
|
792
|
+
| 'receiving_order_stage_total'
|
|
793
|
+
| 'receiving_order_related'
|
|
781
794
|
| 'email_contact'
|
|
782
795
|
| 'allocation_entry'
|
|
783
796
|
| 'open_credit_entry'
|
|
@@ -819,6 +832,11 @@ export interface CoreRetrieveSearchParams {
|
|
|
819
832
|
| 'user_photo_url'
|
|
820
833
|
| 'batch_lot'
|
|
821
834
|
| 'check_duplicate_result'
|
|
835
|
+
| 'item_costs'
|
|
836
|
+
| 'item_trends'
|
|
837
|
+
| 'reconciled_item_result'
|
|
838
|
+
| 'skipped_item_result'
|
|
839
|
+
| 'reconcile_error_result'
|
|
822
840
|
| 'item_trend_point'
|
|
823
841
|
| 'tenancy_pending_registration'
|
|
824
842
|
| 'invoice_allocation_entry'
|
|
@@ -261,6 +261,7 @@ export interface Job {
|
|
|
261
261
|
| 'priority'
|
|
262
262
|
| 'delivery'
|
|
263
263
|
| 'delivery_line'
|
|
264
|
+
| 'delivery_related'
|
|
264
265
|
| 'sales_order'
|
|
265
266
|
| 'location'
|
|
266
267
|
| 'location_type'
|
|
@@ -340,11 +341,14 @@ export interface Job {
|
|
|
340
341
|
| 'map'
|
|
341
342
|
| 'purchase_order'
|
|
342
343
|
| 'purchase_order_line'
|
|
344
|
+
| 'purchase_order_related'
|
|
343
345
|
| 'supplier'
|
|
344
|
-
| 'supplier_summary'
|
|
345
346
|
| 'receivable_entry'
|
|
346
347
|
| 'receiving_order'
|
|
347
348
|
| 'receiving_order_line'
|
|
349
|
+
| 'receiving_order_totals'
|
|
350
|
+
| 'receiving_order_stage_total'
|
|
351
|
+
| 'receiving_order_related'
|
|
348
352
|
| 'email_contact'
|
|
349
353
|
| 'allocation_entry'
|
|
350
354
|
| 'open_credit_entry'
|
|
@@ -386,6 +390,11 @@ export interface Job {
|
|
|
386
390
|
| 'user_photo_url'
|
|
387
391
|
| 'batch_lot'
|
|
388
392
|
| 'check_duplicate_result'
|
|
393
|
+
| 'item_costs'
|
|
394
|
+
| 'item_trends'
|
|
395
|
+
| 'reconciled_item_result'
|
|
396
|
+
| 'skipped_item_result'
|
|
397
|
+
| 'reconcile_error_result'
|
|
389
398
|
| 'item_trend_point'
|
|
390
399
|
| 'tenancy_pending_registration'
|
|
391
400
|
| 'invoice_allocation_entry'
|
|
@@ -519,6 +519,9 @@ export interface RequestLogListParams {
|
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Restricts results to request logs on or after this timestamp.
|
|
522
|
+
*
|
|
523
|
+
* Defaults to 24 hours before `ends_at`, or before now when `ends_at` is also
|
|
524
|
+
* omitted. Pass an earlier timestamp to search further back.
|
|
522
525
|
*/
|
|
523
526
|
starts_at?: string;
|
|
524
527
|
|
|
@@ -604,6 +604,7 @@ export interface CreateConversationRequest {
|
|
|
604
604
|
| 'priority'
|
|
605
605
|
| 'delivery'
|
|
606
606
|
| 'delivery_line'
|
|
607
|
+
| 'delivery_related'
|
|
607
608
|
| 'sales_order'
|
|
608
609
|
| 'location'
|
|
609
610
|
| 'location_type'
|
|
@@ -683,11 +684,14 @@ export interface CreateConversationRequest {
|
|
|
683
684
|
| 'map'
|
|
684
685
|
| 'purchase_order'
|
|
685
686
|
| 'purchase_order_line'
|
|
687
|
+
| 'purchase_order_related'
|
|
686
688
|
| 'supplier'
|
|
687
|
-
| 'supplier_summary'
|
|
688
689
|
| 'receivable_entry'
|
|
689
690
|
| 'receiving_order'
|
|
690
691
|
| 'receiving_order_line'
|
|
692
|
+
| 'receiving_order_totals'
|
|
693
|
+
| 'receiving_order_stage_total'
|
|
694
|
+
| 'receiving_order_related'
|
|
691
695
|
| 'email_contact'
|
|
692
696
|
| 'allocation_entry'
|
|
693
697
|
| 'open_credit_entry'
|
|
@@ -729,6 +733,11 @@ export interface CreateConversationRequest {
|
|
|
729
733
|
| 'user_photo_url'
|
|
730
734
|
| 'batch_lot'
|
|
731
735
|
| 'check_duplicate_result'
|
|
736
|
+
| 'item_costs'
|
|
737
|
+
| 'item_trends'
|
|
738
|
+
| 'reconciled_item_result'
|
|
739
|
+
| 'skipped_item_result'
|
|
740
|
+
| 'reconcile_error_result'
|
|
732
741
|
| 'item_trend_point'
|
|
733
742
|
| 'tenancy_pending_registration'
|
|
734
743
|
| 'invoice_allocation_entry'
|
|
@@ -1501,6 +1510,7 @@ export interface ConversationCreateParams {
|
|
|
1501
1510
|
| 'priority'
|
|
1502
1511
|
| 'delivery'
|
|
1503
1512
|
| 'delivery_line'
|
|
1513
|
+
| 'delivery_related'
|
|
1504
1514
|
| 'sales_order'
|
|
1505
1515
|
| 'location'
|
|
1506
1516
|
| 'location_type'
|
|
@@ -1580,11 +1590,14 @@ export interface ConversationCreateParams {
|
|
|
1580
1590
|
| 'map'
|
|
1581
1591
|
| 'purchase_order'
|
|
1582
1592
|
| 'purchase_order_line'
|
|
1593
|
+
| 'purchase_order_related'
|
|
1583
1594
|
| 'supplier'
|
|
1584
|
-
| 'supplier_summary'
|
|
1585
1595
|
| 'receivable_entry'
|
|
1586
1596
|
| 'receiving_order'
|
|
1587
1597
|
| 'receiving_order_line'
|
|
1598
|
+
| 'receiving_order_totals'
|
|
1599
|
+
| 'receiving_order_stage_total'
|
|
1600
|
+
| 'receiving_order_related'
|
|
1588
1601
|
| 'email_contact'
|
|
1589
1602
|
| 'allocation_entry'
|
|
1590
1603
|
| 'open_credit_entry'
|
|
@@ -1626,6 +1639,11 @@ export interface ConversationCreateParams {
|
|
|
1626
1639
|
| 'user_photo_url'
|
|
1627
1640
|
| 'batch_lot'
|
|
1628
1641
|
| 'check_duplicate_result'
|
|
1642
|
+
| 'item_costs'
|
|
1643
|
+
| 'item_trends'
|
|
1644
|
+
| 'reconciled_item_result'
|
|
1645
|
+
| 'skipped_item_result'
|
|
1646
|
+
| 'reconcile_error_result'
|
|
1629
1647
|
| 'item_trend_point'
|
|
1630
1648
|
| 'tenancy_pending_registration'
|
|
1631
1649
|
| 'invoice_allocation_entry'
|
|
@@ -1893,6 +1911,7 @@ export interface ConversationListParams {
|
|
|
1893
1911
|
| 'priority'
|
|
1894
1912
|
| 'delivery'
|
|
1895
1913
|
| 'delivery_line'
|
|
1914
|
+
| 'delivery_related'
|
|
1896
1915
|
| 'sales_order'
|
|
1897
1916
|
| 'location'
|
|
1898
1917
|
| 'location_type'
|
|
@@ -1972,11 +1991,14 @@ export interface ConversationListParams {
|
|
|
1972
1991
|
| 'map'
|
|
1973
1992
|
| 'purchase_order'
|
|
1974
1993
|
| 'purchase_order_line'
|
|
1994
|
+
| 'purchase_order_related'
|
|
1975
1995
|
| 'supplier'
|
|
1976
|
-
| 'supplier_summary'
|
|
1977
1996
|
| 'receivable_entry'
|
|
1978
1997
|
| 'receiving_order'
|
|
1979
1998
|
| 'receiving_order_line'
|
|
1999
|
+
| 'receiving_order_totals'
|
|
2000
|
+
| 'receiving_order_stage_total'
|
|
2001
|
+
| 'receiving_order_related'
|
|
1980
2002
|
| 'email_contact'
|
|
1981
2003
|
| 'allocation_entry'
|
|
1982
2004
|
| 'open_credit_entry'
|
|
@@ -2018,6 +2040,11 @@ export interface ConversationListParams {
|
|
|
2018
2040
|
| 'user_photo_url'
|
|
2019
2041
|
| 'batch_lot'
|
|
2020
2042
|
| 'check_duplicate_result'
|
|
2043
|
+
| 'item_costs'
|
|
2044
|
+
| 'item_trends'
|
|
2045
|
+
| 'reconciled_item_result'
|
|
2046
|
+
| 'skipped_item_result'
|
|
2047
|
+
| 'reconcile_error_result'
|
|
2021
2048
|
| 'item_trend_point'
|
|
2022
2049
|
| 'tenancy_pending_registration'
|
|
2023
2050
|
| 'invoice_allocation_entry'
|
|
@@ -238,6 +238,7 @@ export interface AddConversationLinkRequest {
|
|
|
238
238
|
| 'priority'
|
|
239
239
|
| 'delivery'
|
|
240
240
|
| 'delivery_line'
|
|
241
|
+
| 'delivery_related'
|
|
241
242
|
| 'sales_order'
|
|
242
243
|
| 'location'
|
|
243
244
|
| 'location_type'
|
|
@@ -317,11 +318,14 @@ export interface AddConversationLinkRequest {
|
|
|
317
318
|
| 'map'
|
|
318
319
|
| 'purchase_order'
|
|
319
320
|
| 'purchase_order_line'
|
|
321
|
+
| 'purchase_order_related'
|
|
320
322
|
| 'supplier'
|
|
321
|
-
| 'supplier_summary'
|
|
322
323
|
| 'receivable_entry'
|
|
323
324
|
| 'receiving_order'
|
|
324
325
|
| 'receiving_order_line'
|
|
326
|
+
| 'receiving_order_totals'
|
|
327
|
+
| 'receiving_order_stage_total'
|
|
328
|
+
| 'receiving_order_related'
|
|
325
329
|
| 'email_contact'
|
|
326
330
|
| 'allocation_entry'
|
|
327
331
|
| 'open_credit_entry'
|
|
@@ -363,6 +367,11 @@ export interface AddConversationLinkRequest {
|
|
|
363
367
|
| 'user_photo_url'
|
|
364
368
|
| 'batch_lot'
|
|
365
369
|
| 'check_duplicate_result'
|
|
370
|
+
| 'item_costs'
|
|
371
|
+
| 'item_trends'
|
|
372
|
+
| 'reconciled_item_result'
|
|
373
|
+
| 'skipped_item_result'
|
|
374
|
+
| 'reconcile_error_result'
|
|
366
375
|
| 'item_trend_point'
|
|
367
376
|
| 'tenancy_pending_registration'
|
|
368
377
|
| 'invoice_allocation_entry'
|
|
@@ -624,6 +633,7 @@ export interface LinkCreateParams {
|
|
|
624
633
|
| 'priority'
|
|
625
634
|
| 'delivery'
|
|
626
635
|
| 'delivery_line'
|
|
636
|
+
| 'delivery_related'
|
|
627
637
|
| 'sales_order'
|
|
628
638
|
| 'location'
|
|
629
639
|
| 'location_type'
|
|
@@ -703,11 +713,14 @@ export interface LinkCreateParams {
|
|
|
703
713
|
| 'map'
|
|
704
714
|
| 'purchase_order'
|
|
705
715
|
| 'purchase_order_line'
|
|
716
|
+
| 'purchase_order_related'
|
|
706
717
|
| 'supplier'
|
|
707
|
-
| 'supplier_summary'
|
|
708
718
|
| 'receivable_entry'
|
|
709
719
|
| 'receiving_order'
|
|
710
720
|
| 'receiving_order_line'
|
|
721
|
+
| 'receiving_order_totals'
|
|
722
|
+
| 'receiving_order_stage_total'
|
|
723
|
+
| 'receiving_order_related'
|
|
711
724
|
| 'email_contact'
|
|
712
725
|
| 'allocation_entry'
|
|
713
726
|
| 'open_credit_entry'
|
|
@@ -749,6 +762,11 @@ export interface LinkCreateParams {
|
|
|
749
762
|
| 'user_photo_url'
|
|
750
763
|
| 'batch_lot'
|
|
751
764
|
| 'check_duplicate_result'
|
|
765
|
+
| 'item_costs'
|
|
766
|
+
| 'item_trends'
|
|
767
|
+
| 'reconciled_item_result'
|
|
768
|
+
| 'skipped_item_result'
|
|
769
|
+
| 'reconcile_error_result'
|
|
752
770
|
| 'item_trend_point'
|
|
753
771
|
| 'tenancy_pending_registration'
|
|
754
772
|
| 'invoice_allocation_entry'
|
|
@@ -389,6 +389,7 @@ export interface SendMessageRequest {
|
|
|
389
389
|
| 'priority'
|
|
390
390
|
| 'delivery'
|
|
391
391
|
| 'delivery_line'
|
|
392
|
+
| 'delivery_related'
|
|
392
393
|
| 'sales_order'
|
|
393
394
|
| 'location'
|
|
394
395
|
| 'location_type'
|
|
@@ -468,11 +469,14 @@ export interface SendMessageRequest {
|
|
|
468
469
|
| 'map'
|
|
469
470
|
| 'purchase_order'
|
|
470
471
|
| 'purchase_order_line'
|
|
472
|
+
| 'purchase_order_related'
|
|
471
473
|
| 'supplier'
|
|
472
|
-
| 'supplier_summary'
|
|
473
474
|
| 'receivable_entry'
|
|
474
475
|
| 'receiving_order'
|
|
475
476
|
| 'receiving_order_line'
|
|
477
|
+
| 'receiving_order_totals'
|
|
478
|
+
| 'receiving_order_stage_total'
|
|
479
|
+
| 'receiving_order_related'
|
|
476
480
|
| 'email_contact'
|
|
477
481
|
| 'allocation_entry'
|
|
478
482
|
| 'open_credit_entry'
|
|
@@ -514,6 +518,11 @@ export interface SendMessageRequest {
|
|
|
514
518
|
| 'user_photo_url'
|
|
515
519
|
| 'batch_lot'
|
|
516
520
|
| 'check_duplicate_result'
|
|
521
|
+
| 'item_costs'
|
|
522
|
+
| 'item_trends'
|
|
523
|
+
| 'reconciled_item_result'
|
|
524
|
+
| 'skipped_item_result'
|
|
525
|
+
| 'reconcile_error_result'
|
|
517
526
|
| 'item_trend_point'
|
|
518
527
|
| 'tenancy_pending_registration'
|
|
519
528
|
| 'invoice_allocation_entry'
|
|
@@ -838,6 +847,7 @@ export interface MessageCreateParams {
|
|
|
838
847
|
| 'priority'
|
|
839
848
|
| 'delivery'
|
|
840
849
|
| 'delivery_line'
|
|
850
|
+
| 'delivery_related'
|
|
841
851
|
| 'sales_order'
|
|
842
852
|
| 'location'
|
|
843
853
|
| 'location_type'
|
|
@@ -917,11 +927,14 @@ export interface MessageCreateParams {
|
|
|
917
927
|
| 'map'
|
|
918
928
|
| 'purchase_order'
|
|
919
929
|
| 'purchase_order_line'
|
|
930
|
+
| 'purchase_order_related'
|
|
920
931
|
| 'supplier'
|
|
921
|
-
| 'supplier_summary'
|
|
922
932
|
| 'receivable_entry'
|
|
923
933
|
| 'receiving_order'
|
|
924
934
|
| 'receiving_order_line'
|
|
935
|
+
| 'receiving_order_totals'
|
|
936
|
+
| 'receiving_order_stage_total'
|
|
937
|
+
| 'receiving_order_related'
|
|
925
938
|
| 'email_contact'
|
|
926
939
|
| 'allocation_entry'
|
|
927
940
|
| 'open_credit_entry'
|
|
@@ -963,6 +976,11 @@ export interface MessageCreateParams {
|
|
|
963
976
|
| 'user_photo_url'
|
|
964
977
|
| 'batch_lot'
|
|
965
978
|
| 'check_duplicate_result'
|
|
979
|
+
| 'item_costs'
|
|
980
|
+
| 'item_trends'
|
|
981
|
+
| 'reconciled_item_result'
|
|
982
|
+
| 'skipped_item_result'
|
|
983
|
+
| 'reconcile_error_result'
|
|
966
984
|
| 'item_trend_point'
|
|
967
985
|
| 'tenancy_pending_registration'
|
|
968
986
|
| 'invoice_allocation_entry'
|