@openmrp/sdk 0.23.0 → 0.24.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/CHANGELOG.md +4 -4
  2. package/package.json +1 -1
  3. package/resources/core/analytics.d.mts +18 -11
  4. package/resources/core/analytics.d.mts.map +1 -1
  5. package/resources/core/analytics.d.ts +18 -11
  6. package/resources/core/analytics.d.ts.map +1 -1
  7. package/resources/core/analytics.js +10 -7
  8. package/resources/core/analytics.js.map +1 -1
  9. package/resources/core/analytics.mjs +10 -7
  10. package/resources/core/analytics.mjs.map +1 -1
  11. package/resources/core/audit-events.d.mts +4 -4
  12. package/resources/core/audit-events.d.mts.map +1 -1
  13. package/resources/core/audit-events.d.ts +4 -4
  14. package/resources/core/audit-events.d.ts.map +1 -1
  15. package/resources/core/core.d.mts +2 -2
  16. package/resources/core/core.d.mts.map +1 -1
  17. package/resources/core/core.d.ts +2 -2
  18. package/resources/core/core.d.ts.map +1 -1
  19. package/resources/core/core.js.map +1 -1
  20. package/resources/core/core.mjs.map +1 -1
  21. package/resources/core/jobs.d.mts +1 -1
  22. package/resources/core/jobs.d.mts.map +1 -1
  23. package/resources/core/jobs.d.ts +1 -1
  24. package/resources/core/jobs.d.ts.map +1 -1
  25. package/resources/messaging/conversations/conversations.d.mts +3 -3
  26. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  27. package/resources/messaging/conversations/conversations.d.ts +3 -3
  28. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  29. package/resources/messaging/conversations/conversations.js.map +1 -1
  30. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  31. package/resources/messaging/conversations/links.d.mts +2 -2
  32. package/resources/messaging/conversations/links.d.mts.map +1 -1
  33. package/resources/messaging/conversations/links.d.ts +2 -2
  34. package/resources/messaging/conversations/links.d.ts.map +1 -1
  35. package/resources/messaging/conversations/messages.d.mts +2 -2
  36. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  37. package/resources/messaging/conversations/messages.d.ts +2 -2
  38. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  39. package/resources/messaging/email-domains/email-domains.d.mts +17 -0
  40. package/resources/messaging/email-domains/email-domains.d.mts.map +1 -1
  41. package/resources/messaging/email-domains/email-domains.d.ts +17 -0
  42. package/resources/messaging/email-domains/email-domains.d.ts.map +1 -1
  43. package/resources/messaging/email-domains/email-domains.js.map +1 -1
  44. package/resources/messaging/email-domains/email-domains.mjs.map +1 -1
  45. package/resources/messaging/email-sender.d.mts +165 -0
  46. package/resources/messaging/email-sender.d.mts.map +1 -0
  47. package/resources/messaging/email-sender.d.ts +165 -0
  48. package/resources/messaging/email-sender.d.ts.map +1 -0
  49. package/resources/messaging/email-sender.js +65 -0
  50. package/resources/messaging/email-sender.js.map +1 -0
  51. package/resources/messaging/email-sender.mjs +61 -0
  52. package/resources/messaging/email-sender.mjs.map +1 -0
  53. package/resources/messaging/index.d.mts +1 -0
  54. package/resources/messaging/index.d.mts.map +1 -1
  55. package/resources/messaging/index.d.ts +1 -0
  56. package/resources/messaging/index.d.ts.map +1 -1
  57. package/resources/messaging/index.js +3 -1
  58. package/resources/messaging/index.js.map +1 -1
  59. package/resources/messaging/index.mjs +1 -0
  60. package/resources/messaging/index.mjs.map +1 -1
  61. package/resources/messaging/messaging.d.mts +4 -0
  62. package/resources/messaging/messaging.d.mts.map +1 -1
  63. package/resources/messaging/messaging.d.ts +4 -0
  64. package/resources/messaging/messaging.d.ts.map +1 -1
  65. package/resources/messaging/messaging.js +4 -0
  66. package/resources/messaging/messaging.js.map +1 -1
  67. package/resources/messaging/messaging.mjs +4 -0
  68. package/resources/messaging/messaging.mjs.map +1 -1
  69. package/resources/messaging/notifications/notifications.d.mts +2 -2
  70. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  71. package/resources/messaging/notifications/notifications.d.ts +2 -2
  72. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  73. package/resources/messaging/notifications/notifications.js.map +1 -1
  74. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  75. package/src/resources/core/analytics.ts +18 -11
  76. package/src/resources/core/audit-events.ts +4 -0
  77. package/src/resources/core/core.ts +2 -0
  78. package/src/resources/core/jobs.ts +1 -0
  79. package/src/resources/messaging/conversations/conversations.ts +3 -0
  80. package/src/resources/messaging/conversations/links.ts +2 -0
  81. package/src/resources/messaging/conversations/messages.ts +2 -0
  82. package/src/resources/messaging/email-domains/email-domains.ts +20 -0
  83. package/src/resources/messaging/email-sender.ts +200 -0
  84. package/src/resources/messaging/index.ts +7 -0
  85. package/src/resources/messaging/messaging.ts +18 -0
  86. package/src/resources/messaging/notifications/notifications.ts +2 -0
  87. package/src/version.ts +1 -1
  88. package/version.d.mts +1 -1
  89. package/version.d.ts +1 -1
  90. package/version.js +1 -1
  91. package/version.mjs +1 -1
package/CHANGELOG.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Changelog
2
2
 
3
- ## [0.23.0](https://github.com/open-mrp/typescript-sdk/compare/v0.22.1...v0.23.0) (2026-08-31)
3
+ ## [0.24.1](https://github.com/open-mrp/typescript-sdk/compare/v0.24.0...v0.24.1) (2026-09-02)
4
4
 
5
5
 
6
- ### Features
6
+ ### Bug Fixes
7
7
 
8
- * **sdk:** sync with deployed API v2.1.0 ([2a6558c](https://github.com/open-mrp/typescript-sdk/commit/2a6558c2011333b1311d7529638dd0f1fbf24e48))
9
- * **sdk:** sync with deployed API v2.2.0 ([24657a9](https://github.com/open-mrp/typescript-sdk/commit/24657a9868e2181e0fae7575531405da5cadcef0))
8
+ * **sdk:** sync with deployed API v2.5.7 ([51306c2](https://github.com/open-mrp/typescript-sdk/commit/51306c267a55180d9210592626e9cce0775a5ea7))
9
+ * **sdk:** sync with deployed API v2.5.8 ([1a7f532](https://github.com/open-mrp/typescript-sdk/commit/1a7f5326251039c388f6ce3559b3c81bb79c3dcb))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrp/sdk",
3
- "version": "0.23.0",
3
+ "version": "0.24.1",
4
4
  "description": "The official TypeScript library for the Openmrp API",
5
5
  "author": "Openmrp <support@openmrp.ai>",
6
6
  "types": "./index.d.ts",
@@ -10,10 +10,12 @@ export declare class Analytics extends APIResource {
10
10
  /**
11
11
  * Returns Overall Equipment Effectiveness (OEE) metrics by department.
12
12
  *
13
- * Availability is measured from logged machine downtime rather than inferred, so
14
- * it requires both `planned_time` for the department and downtime events in the
15
- * period. Departments with `has_downtime_data` false have no availability
16
- * measurement, and their ratios are returned as null rather than as 100%.
13
+ * Availability is the scheduled machine time the plant actually planned, net of
14
+ * logged machine downtime — the planned time comes from the published production
15
+ * schedule (or `planned_time` when supplied), and a department the schedule never
16
+ * covered has no availability rather than a fabricated one. Departments with
17
+ * `has_downtime_data` false have no downtime measured, and their ratios are
18
+ * returned as null rather than as 100%.
17
19
  *
18
20
  * This endpoint requires the permission: `machine_downtime:read`.
19
21
  *
@@ -57,9 +59,10 @@ export declare class Analytics extends APIResource {
57
59
  /**
58
60
  * Returns actual production measured against the plan that was live at the time.
59
61
  *
60
- * The baseline for each week is the schedule version published on or before that
61
- * week began, so republishing mid-horizon cannot rewrite a week the floor has
62
- * already worked. `baseline_schedules` names the versions used.
62
+ * The baseline for each week is the version that froze it — the plan committed for
63
+ * that week — so a version published after the week ended cannot rewrite a week
64
+ * the floor has already worked, while a plan published on the week's own start day
65
+ * still counts as the plan it froze. `baseline_schedules` names the versions used.
63
66
  *
64
67
  * Two ratios are returned because either alone misleads: `attainment_pct` caps
65
68
  * each campaign at what was asked for, so over-building one SKU cannot hide a miss
@@ -243,8 +246,10 @@ export interface AnalyzeOeeRequest {
243
246
  */
244
247
  department_ids?: Array<string>;
245
248
  /**
246
- * Scheduled production time per department for the period. Availability,
247
- * performance and OEE are only returned for departments this covers.
249
+ * Overrides the scheduled production time per department for the period. When
250
+ * omitted it is taken from the published production schedule, so this is only
251
+ * needed to measure a period the schedule does not cover. Availability,
252
+ * performance and OEE are only returned for departments the scheduled time covers.
248
253
  */
249
254
  planned_time?: Array<OeeDepartmentPlannedTime>;
250
255
  }
@@ -1100,8 +1105,10 @@ export interface AnalyticsUpdateOeeParams {
1100
1105
  */
1101
1106
  department_ids?: Array<string>;
1102
1107
  /**
1103
- * Scheduled production time per department for the period. Availability,
1104
- * performance and OEE are only returned for departments this covers.
1108
+ * Overrides the scheduled production time per department for the period. When
1109
+ * omitted it is taken from the published production schedule, so this is only
1110
+ * needed to measure a period the schedule does not cover. Availability,
1111
+ * performance and OEE are only returned for departments the scheduled time covers.
1105
1112
  */
1106
1113
  planned_time?: Array<OeeDepartmentPlannedTime>;
1107
1114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.d.mts","sourceRoot":"","sources":["../../src/resources/core/analytics.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAInG;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAAc,CACZ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,wBAAwB,CACtB,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,yBAAyB,CACvB,IAAI,EAAE,wCAAwC,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC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,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,wCAAwC,IAAI,wCAAwC,GAC1F,CAAC;CACH"}
@@ -10,10 +10,12 @@ export declare class Analytics extends APIResource {
10
10
  /**
11
11
  * Returns Overall Equipment Effectiveness (OEE) metrics by department.
12
12
  *
13
- * Availability is measured from logged machine downtime rather than inferred, so
14
- * it requires both `planned_time` for the department and downtime events in the
15
- * period. Departments with `has_downtime_data` false have no availability
16
- * measurement, and their ratios are returned as null rather than as 100%.
13
+ * Availability is the scheduled machine time the plant actually planned, net of
14
+ * logged machine downtime — the planned time comes from the published production
15
+ * schedule (or `planned_time` when supplied), and a department the schedule never
16
+ * covered has no availability rather than a fabricated one. Departments with
17
+ * `has_downtime_data` false have no downtime measured, and their ratios are
18
+ * returned as null rather than as 100%.
17
19
  *
18
20
  * This endpoint requires the permission: `machine_downtime:read`.
19
21
  *
@@ -57,9 +59,10 @@ export declare class Analytics extends APIResource {
57
59
  /**
58
60
  * Returns actual production measured against the plan that was live at the time.
59
61
  *
60
- * The baseline for each week is the schedule version published on or before that
61
- * week began, so republishing mid-horizon cannot rewrite a week the floor has
62
- * already worked. `baseline_schedules` names the versions used.
62
+ * The baseline for each week is the version that froze it — the plan committed for
63
+ * that week — so a version published after the week ended cannot rewrite a week
64
+ * the floor has already worked, while a plan published on the week's own start day
65
+ * still counts as the plan it froze. `baseline_schedules` names the versions used.
63
66
  *
64
67
  * Two ratios are returned because either alone misleads: `attainment_pct` caps
65
68
  * each campaign at what was asked for, so over-building one SKU cannot hide a miss
@@ -243,8 +246,10 @@ export interface AnalyzeOeeRequest {
243
246
  */
244
247
  department_ids?: Array<string>;
245
248
  /**
246
- * Scheduled production time per department for the period. Availability,
247
- * performance and OEE are only returned for departments this covers.
249
+ * Overrides the scheduled production time per department for the period. When
250
+ * omitted it is taken from the published production schedule, so this is only
251
+ * needed to measure a period the schedule does not cover. Availability,
252
+ * performance and OEE are only returned for departments the scheduled time covers.
248
253
  */
249
254
  planned_time?: Array<OeeDepartmentPlannedTime>;
250
255
  }
@@ -1100,8 +1105,10 @@ export interface AnalyticsUpdateOeeParams {
1100
1105
  */
1101
1106
  department_ids?: Array<string>;
1102
1107
  /**
1103
- * Scheduled production time per department for the period. Availability,
1104
- * performance and OEE are only returned for departments this covers.
1108
+ * Overrides the scheduled production time per department for the period. When
1109
+ * omitted it is taken from the published production schedule, so this is only
1110
+ * needed to measure a period the schedule does not cover. Availability,
1111
+ * performance and OEE are only returned for departments the scheduled time covers.
1105
1112
  */
1106
1113
  planned_time?: Array<OeeDepartmentPlannedTime>;
1107
1114
  }
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.d.ts","sourceRoot":"","sources":["../../src/resources/core/analytics.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,KAAK,UAAU;OACf,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB;;GAEG;AACH,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,IAAI,EAAE,wBAAwB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAInG;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAAc,CACZ,IAAI,EAAE,6BAA6B,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,uBAAuB,CAAC;IAItC;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,wBAAwB,CACtB,IAAI,EAAE,uCAAuC,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,iCAAiC,CAAC;IAIhD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,yBAAyB,CACvB,IAAI,EAAE,wCAAwC,EAC9C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,kCAAkC,CAAC;CAGlD;AAED;;;GAGG;AACH,MAAM,WAAW,iCAAiC;IAChD;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,kBAAkB,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAEnC;;;OAGG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAE7B;;OAEG;IACH,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AqB,EACnD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,oBAAoB,IAAI,oBAAoB,EACjD,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,cAAc,IAAI,cAAc,EACrC,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,KAAK,6BAA6B,IAAI,6BAA6B,EACnE,KAAK,uCAAuC,IAAI,uCAAuC,EACvF,KAAK,wCAAwC,IAAI,wCAAwC,GAC1F,CAAC;CACH"}
@@ -10,10 +10,12 @@ class Analytics extends resource_1.APIResource {
10
10
  /**
11
11
  * Returns Overall Equipment Effectiveness (OEE) metrics by department.
12
12
  *
13
- * Availability is measured from logged machine downtime rather than inferred, so
14
- * it requires both `planned_time` for the department and downtime events in the
15
- * period. Departments with `has_downtime_data` false have no availability
16
- * measurement, and their ratios are returned as null rather than as 100%.
13
+ * Availability is the scheduled machine time the plant actually planned, net of
14
+ * logged machine downtime — the planned time comes from the published production
15
+ * schedule (or `planned_time` when supplied), and a department the schedule never
16
+ * covered has no availability rather than a fabricated one. Departments with
17
+ * `has_downtime_data` false have no downtime measured, and their ratios are
18
+ * returned as null rather than as 100%.
17
19
  *
18
20
  * This endpoint requires the permission: `machine_downtime:read`.
19
21
  *
@@ -61,9 +63,10 @@ class Analytics extends resource_1.APIResource {
61
63
  /**
62
64
  * Returns actual production measured against the plan that was live at the time.
63
65
  *
64
- * The baseline for each week is the schedule version published on or before that
65
- * week began, so republishing mid-horizon cannot rewrite a week the floor has
66
- * already worked. `baseline_schedules` names the versions used.
66
+ * The baseline for each week is the version that froze it — the plan committed for
67
+ * that week — so a version published after the week ended cannot rewrite a week
68
+ * the floor has already worked, while a plan published on the week's own start day
69
+ * still counts as the plan it froze. `baseline_schedules` names the versions used.
67
70
  *
68
71
  * Two ratios are returned because either alone misleads: `attainment_pct` caps
69
72
  * each campaign at what was asked for, so over-building one SKU cannot hide a miss
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../src/resources/core/analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,IAA8B,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAAc,CACZ,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,wBAAwB,CACtB,IAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,yBAAyB,CACvB,IAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AAjJD,8BAiJC"}
1
+ {"version":3,"file":"analytics.js","sourceRoot":"","sources":["../../src/resources/core/analytics.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAMlD;;GAEG;AACH,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,SAAS,CAAC,IAA8B,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,cAAc,CACZ,IAAmC,EACnC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAChF,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6BG;IACH,wBAAwB,CACtB,IAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,yBAAyB,CACvB,IAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF;AApJD,8BAoJC"}
@@ -7,10 +7,12 @@ export class Analytics extends APIResource {
7
7
  /**
8
8
  * Returns Overall Equipment Effectiveness (OEE) metrics by department.
9
9
  *
10
- * Availability is measured from logged machine downtime rather than inferred, so
11
- * it requires both `planned_time` for the department and downtime events in the
12
- * period. Departments with `has_downtime_data` false have no availability
13
- * measurement, and their ratios are returned as null rather than as 100%.
10
+ * Availability is the scheduled machine time the plant actually planned, net of
11
+ * logged machine downtime — the planned time comes from the published production
12
+ * schedule (or `planned_time` when supplied), and a department the schedule never
13
+ * covered has no availability rather than a fabricated one. Departments with
14
+ * `has_downtime_data` false have no downtime measured, and their ratios are
15
+ * returned as null rather than as 100%.
14
16
  *
15
17
  * This endpoint requires the permission: `machine_downtime:read`.
16
18
  *
@@ -58,9 +60,10 @@ export class Analytics extends APIResource {
58
60
  /**
59
61
  * Returns actual production measured against the plan that was live at the time.
60
62
  *
61
- * The baseline for each week is the schedule version published on or before that
62
- * week began, so republishing mid-horizon cannot rewrite a week the floor has
63
- * already worked. `baseline_schedules` names the versions used.
63
+ * The baseline for each week is the version that froze it — the plan committed for
64
+ * that week — so a version published after the week ended cannot rewrite a week
65
+ * the floor has already worked, while a plan published on the week's own start day
66
+ * still counts as the plan it froze. `baseline_schedules` names the versions used.
64
67
  *
65
68
  * Two ratios are returned because either alone misleads: `attainment_pct` caps
66
69
  * each campaign at what was asked for, so over-building one SKU cannot hide a miss
@@ -1 +1 @@
1
- {"version":3,"file":"analytics.mjs","sourceRoot":"","sources":["../../src/resources/core/analytics.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAMtB;;GAEG;AACH,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;;;;;;;;;;;;;OAmBG;IACH,SAAS,CAAC,IAA8B,EAAE,OAAwB;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;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BAAwB,CACtB,IAA6C,EAC7C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1F,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA6CG;IACH,yBAAyB,CACvB,IAA8C,EAC9C,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yCAAyC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3F,CAAC;CACF"}
@@ -147,7 +147,7 @@ export interface AuditEvent {
147
147
  /**
148
148
  * Resource type of the audited entity.
149
149
  */
150
- resource_type: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total';
150
+ resource_type: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'email_sender' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total';
151
151
  /**
152
152
  * Originating client IP address.
153
153
  */
@@ -242,7 +242,7 @@ export interface ListObjectType {
242
242
  /**
243
243
  * Resources in this page.
244
244
  */
245
- data: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total'>;
245
+ data: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'email_sender' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total'>;
246
246
  /**
247
247
  * Resource type identifier.
248
248
  */
@@ -323,7 +323,7 @@ export interface AuditEventListParams {
323
323
  * The full set of valid values is available from the List Audit Event Resource
324
324
  * Types endpoint.
325
325
  */
326
- resource_types?: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total'>;
326
+ resource_types?: Array<'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'email_sender' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total'>;
327
327
  /**
328
328
  * ID of the root record whose history tree to return.
329
329
  *
@@ -338,7 +338,7 @@ export interface AuditEventListParams {
338
338
  * picks, shipments, and invoices. Both `root_resource_type` and `root_resource_id`
339
339
  * must be supplied together; supplying only one has no effect.
340
340
  */
341
- root_resource_type?: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total';
341
+ root_resource_type?: 'account' | 'actor' | 'entity' | 'record' | 'freight' | 'commitment' | 'sales_order_totals' | 'sales_order_stage_total' | 'sales_order_related' | 'order_contact' | 'user' | 'address' | 'api_key' | 'created_api_key' | 'refresh_token' | 'list' | 'sandbox' | 'registration_session' | 'pricing_plan' | 'account_plan' | 'plan_change' | 'enterprise_inquiry' | 'request_log' | 'audit_event' | 'audit_field_change' | 'role' | 'unit' | 'account_affiliation' | 'agent_definition' | 'available_tool' | 'agent_definition_tool' | 'agent_account_status' | 'agent_run' | 'agent_action' | 'agent_run_step' | 'agent_token_usage' | 'agent_memory' | 'notification' | 'notification_unread_count' | 'notification_send_result' | 'notification_unread_summary' | 'announcement' | 'conversation' | 'support_case' | 'conversation_participant' | 'read_cursor' | 'chat_message' | 'notification_unread_summary_account' | 'messaging_block' | 'notification_preference' | 'message_attachment' | 'attachment_upload_target' | 'scheduled_message' | 'messaging_contact' | 'message_report' | 'tool_group' | 'model' | 'payment_term' | 'shipping_term' | 'quantity' | 'account_group' | 'support_route' | 'support_availability' | 'account_status' | 'geolocation' | 'account_user' | 'department' | 'account_integration' | 'account_price' | 'product_line' | 'item_category' | 'attribute' | 'rate' | 'account_group_product_line_access' | 'sales_target' | 'adjustment_type' | 'account_branding' | 'account_portal' | 'account_logo_url' | 'account_favicon_url' | 'public_account' | 'property' | 'carrier' | 'service_level' | 'item' | 'item_lot_default' | 'item_inventory' | 'product' | 'batch' | 'batch_flow_node' | 'scanning_consumption' | 'open_batch_summary' | 'scanning_production_step_info' | 'scanning_station' | 'production_step' | 'production_run' | 'machine' | 'machine_status' | 'machine_downtime_event' | 'demand_override' | 'demand_override_type' | 'machine_downtime_reason' | 'production_schedule_preview' | 'production_schedule_regenerate_preview' | 'production_schedule' | 'production_schedule_line' | 'production_schedule_deviation' | 'production_schedule_derived_line' | 'production_schedule_settings' | 'production_schedule_resource_setting' | 'production_schedule_item_setting' | 'fulfillment_recommendation' | 'analyze_delivery_performance_response' | 'delivery_performance' | 'delivery_backlog_bucket' | 'delivery_lateness_bucket' | 'delivery_breakdown' | 'analyze_sales_breakdown_response' | 'sales_totals' | 'sales_breakdown' | 'schedule_order_coverage' | 'schedule_order_coverage_line' | 'schedule_deviation_type' | 'schedule_at_risk_order' | 'production_schedule_finished_policy' | 'production_schedule_finishing_line' | 'production_schedule_week_release' | 'production_schedule_week_release_preview' | 'production_schedule_item_policy' | 'child_account' | 'unit_group' | 'unit_group_unit' | 'consumption' | 'customer_product_line_access' | 'customer' | 'frequently_ordered_product' | 'priority' | 'delivery' | 'delivery_line' | 'sales_order' | 'location' | 'location_type' | 'lot' | 'email_log' | 'email_domain' | 'email_inbox' | 'email_sender' | 'portal_domain' | 'dns_record' | 'inventory_change_log' | 'invoice' | 'invoice_summary' | 'invoice_line' | 'invoice_allocation' | 'invoice_for_payment' | 'shipment' | 'shipment_summary' | 'shipment_line' | 'shipping_case' | 'shipping_case_label_url' | 'settlement' | 'settlement_summary' | 'role_permission' | 'registration_flow' | 'registration_flow_option' | 'transaction' | 'transaction_summary' | 'transaction_method' | 'transaction_type' | 'transaction_allocation' | 'usage_item' | 'account_usage_response' | 'subscription_info' | 'billing_portal_session_response' | 'switch_plan_response' | 'ensure_billing_customer_response' | 'spending_cap_response' | 'agent_spend_info' | 'webhook_response' | 'address_suggestion' | 'address_components' | 'address_details_result' | 'validated_address' | 'plan_limit' | 'plan_change_proration' | 'plan_change_line_item' | 'setup_billing_response' | 'confirm_payment_response' | 'oauth_response' | 'oauth_status_response' | 'stripe_publishable_key' | 'stripe_status' | 'healthcheck' | 'agent_definition_config' | 'trigger_config' | 'customer_contact_info' | 'customer_freight_preferences' | 'customer_defaults' | 'customer_lead_time' | 'customer_notification_preferences' | 'order_notification_recipient' | 'order_discount' | 'sales_order_line' | 'sales_order_type' | 'sales_order_status' | 'material' | 'supplier_material' | 'part' | 'permission_group' | 'permission' | 'pick' | 'pick_line' | 'product_type' | 'production' | 'production_flow' | 'map' | 'purchase_order' | 'purchase_order_line' | 'supplier' | 'supplier_summary' | 'receivable_entry' | 'receiving_order' | 'receiving_order_line' | 'email_contact' | 'allocation_entry' | 'open_credit_entry' | 'volume_discount' | 'volume_discount_tier' | 'analyze_deliveries_response' | 'analyze_manufacturing_response' | 'analyze_manufacturing_batch_response' | 'analyze_quarterly_orders_response' | 'analyze_new_customers_response' | 'analyze_demand_forecast_response' | 'analyze_oee_response' | 'analyze_oee_trend_response' | 'analyze_schedule_attainment_response' | 'catalog_product_line' | 'catalog_category' | 'catalog_product' | 'catalog_property' | 'catalog_attribute' | 'dc_location' | 'edi_run' | 'inventory_item' | 'analyze_weeks_of_sales_response' | 'bulk_reconcile_items_response' | 'sys_property' | 'sys_property_type' | 'sys_property_value' | 'territory' | 'tenancy' | 'checkout_session' | 'estimate_rate_result' | 'rate_shop_option' | 'rate_shop_result' | 'owner' | 'created_by' | 'message' | 'account_photo_upload_result' | 'user_photo_upload_result' | 'user_photo_url' | 'batch_lot' | 'check_duplicate_result' | 'item_trend_point' | 'tenancy_pending_registration' | 'invoice_allocation_entry' | 'allocation_customer' | 'checkout_sales_order' | 'sales_order_price_quote' | 'sales_order_freight_quote' | 'sales_order_commitment_quote' | 'operating_calendar' | 'operating_calendar_closure' | 'sales_order_price_quote_line' | 'hubspot_sync_job' | 'hubspot_sync_report' | 'hubspot_company_review' | 'hubspot_company_candidate' | 'hubspot_sync_record' | 'contact_match' | 'reply_draft' | 'conversation_link' | 'messaging_group' | 'messaging_group_member' | 'portal_profile' | 'portal_registration_session' | 'portal_registration_session_data' | 'pack_list' | 'pack_list_party' | 'pack_list_line_item' | 'pack_list_back_order' | 'pack_list_case' | 'job' | 'job_result' | 'job_export' | 'analyze_customer_pricing_response' | 'customer_pricing_finding' | 'customer_pricing_summary' | 'computed_rate' | 'computed_quantity' | 'analyze_realized_margins_response' | 'realized_margin_finding' | 'realized_margin_summary' | 'shipment_related' | 'invoice_related' | 'pick_related' | 'pick_totals' | 'pick_stage_total';
342
342
  /**
343
343
  * Restricts results to audit events on or after this timestamp.
344
344
  */