@openmrp/sdk 0.22.1 → 0.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/CHANGELOG.md +3 -4
  2. package/package.json +1 -1
  3. package/resources/core/audit-events.d.mts +4 -4
  4. package/resources/core/audit-events.d.mts.map +1 -1
  5. package/resources/core/audit-events.d.ts +4 -4
  6. package/resources/core/audit-events.d.ts.map +1 -1
  7. package/resources/core/core.d.mts +2 -2
  8. package/resources/core/core.d.mts.map +1 -1
  9. package/resources/core/core.d.ts +2 -2
  10. package/resources/core/core.d.ts.map +1 -1
  11. package/resources/core/core.js.map +1 -1
  12. package/resources/core/core.mjs.map +1 -1
  13. package/resources/core/jobs.d.mts +1 -1
  14. package/resources/core/jobs.d.mts.map +1 -1
  15. package/resources/core/jobs.d.ts +1 -1
  16. package/resources/core/jobs.d.ts.map +1 -1
  17. package/resources/messaging/conversations/conversations.d.mts +3 -3
  18. package/resources/messaging/conversations/conversations.d.mts.map +1 -1
  19. package/resources/messaging/conversations/conversations.d.ts +3 -3
  20. package/resources/messaging/conversations/conversations.d.ts.map +1 -1
  21. package/resources/messaging/conversations/conversations.js.map +1 -1
  22. package/resources/messaging/conversations/conversations.mjs.map +1 -1
  23. package/resources/messaging/conversations/links.d.mts +2 -2
  24. package/resources/messaging/conversations/links.d.mts.map +1 -1
  25. package/resources/messaging/conversations/links.d.ts +2 -2
  26. package/resources/messaging/conversations/links.d.ts.map +1 -1
  27. package/resources/messaging/conversations/messages.d.mts +2 -2
  28. package/resources/messaging/conversations/messages.d.mts.map +1 -1
  29. package/resources/messaging/conversations/messages.d.ts +2 -2
  30. package/resources/messaging/conversations/messages.d.ts.map +1 -1
  31. package/resources/messaging/email-domains/email-domains.d.mts +17 -0
  32. package/resources/messaging/email-domains/email-domains.d.mts.map +1 -1
  33. package/resources/messaging/email-domains/email-domains.d.ts +17 -0
  34. package/resources/messaging/email-domains/email-domains.d.ts.map +1 -1
  35. package/resources/messaging/email-domains/email-domains.js.map +1 -1
  36. package/resources/messaging/email-domains/email-domains.mjs.map +1 -1
  37. package/resources/messaging/email-sender.d.mts +165 -0
  38. package/resources/messaging/email-sender.d.mts.map +1 -0
  39. package/resources/messaging/email-sender.d.ts +165 -0
  40. package/resources/messaging/email-sender.d.ts.map +1 -0
  41. package/resources/messaging/email-sender.js +65 -0
  42. package/resources/messaging/email-sender.js.map +1 -0
  43. package/resources/messaging/email-sender.mjs +61 -0
  44. package/resources/messaging/email-sender.mjs.map +1 -0
  45. package/resources/messaging/index.d.mts +1 -0
  46. package/resources/messaging/index.d.mts.map +1 -1
  47. package/resources/messaging/index.d.ts +1 -0
  48. package/resources/messaging/index.d.ts.map +1 -1
  49. package/resources/messaging/index.js +3 -1
  50. package/resources/messaging/index.js.map +1 -1
  51. package/resources/messaging/index.mjs +1 -0
  52. package/resources/messaging/index.mjs.map +1 -1
  53. package/resources/messaging/messaging.d.mts +4 -0
  54. package/resources/messaging/messaging.d.mts.map +1 -1
  55. package/resources/messaging/messaging.d.ts +4 -0
  56. package/resources/messaging/messaging.d.ts.map +1 -1
  57. package/resources/messaging/messaging.js +4 -0
  58. package/resources/messaging/messaging.js.map +1 -1
  59. package/resources/messaging/messaging.mjs +4 -0
  60. package/resources/messaging/messaging.mjs.map +1 -1
  61. package/resources/messaging/notifications/notifications.d.mts +2 -2
  62. package/resources/messaging/notifications/notifications.d.mts.map +1 -1
  63. package/resources/messaging/notifications/notifications.d.ts +2 -2
  64. package/resources/messaging/notifications/notifications.d.ts.map +1 -1
  65. package/resources/messaging/notifications/notifications.js.map +1 -1
  66. package/resources/messaging/notifications/notifications.mjs.map +1 -1
  67. package/resources/operations/inventory-change-logs/inventory-change-logs.d.mts +8 -1
  68. package/resources/operations/inventory-change-logs/inventory-change-logs.d.mts.map +1 -1
  69. package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts +8 -1
  70. package/resources/operations/inventory-change-logs/inventory-change-logs.d.ts.map +1 -1
  71. package/resources/operations/inventory-change-logs/inventory-change-logs.js +2 -1
  72. package/resources/operations/inventory-change-logs/inventory-change-logs.js.map +1 -1
  73. package/resources/operations/inventory-change-logs/inventory-change-logs.mjs +2 -1
  74. package/resources/operations/inventory-change-logs/inventory-change-logs.mjs.map +1 -1
  75. package/resources/operations/picks/picks.d.mts +3 -2
  76. package/resources/operations/picks/picks.d.mts.map +1 -1
  77. package/resources/operations/picks/picks.d.ts +3 -2
  78. package/resources/operations/picks/picks.d.ts.map +1 -1
  79. package/resources/operations/picks/picks.js +3 -2
  80. package/resources/operations/picks/picks.js.map +1 -1
  81. package/resources/operations/picks/picks.mjs +3 -2
  82. package/resources/operations/picks/picks.mjs.map +1 -1
  83. package/src/resources/core/audit-events.ts +4 -0
  84. package/src/resources/core/core.ts +2 -0
  85. package/src/resources/core/jobs.ts +1 -0
  86. package/src/resources/messaging/conversations/conversations.ts +3 -0
  87. package/src/resources/messaging/conversations/links.ts +2 -0
  88. package/src/resources/messaging/conversations/messages.ts +2 -0
  89. package/src/resources/messaging/email-domains/email-domains.ts +20 -0
  90. package/src/resources/messaging/email-sender.ts +200 -0
  91. package/src/resources/messaging/index.ts +7 -0
  92. package/src/resources/messaging/messaging.ts +18 -0
  93. package/src/resources/messaging/notifications/notifications.ts +2 -0
  94. package/src/resources/operations/inventory-change-logs/inventory-change-logs.ts +9 -1
  95. package/src/resources/operations/picks/picks.ts +3 -2
  96. package/src/version.ts +1 -1
  97. package/version.d.mts +1 -1
  98. package/version.d.ts +1 -1
  99. package/version.js +1 -1
  100. package/version.mjs +1 -1
@@ -21,7 +21,8 @@ export class InventoryChangeLogs extends APIResource {
21
21
  * Returns a paginated list of inventory change logs, newest first.
22
22
  *
23
23
  * Filters combine with AND, while the values within a single filter combine with
24
- * OR.
24
+ * OR. The `q` search term matches changes affecting items whose SKU contains it,
25
+ * as a case-insensitive substring.
25
26
  *
26
27
  * This endpoint requires the permission: `inventory_logs:read`.
27
28
  *
@@ -199,6 +200,13 @@ export interface InventoryChangeLogListParams {
199
200
  */
200
201
  limit?: number;
201
202
 
203
+ /**
204
+ * Free-text search term used to filter results.
205
+ *
206
+ * Which fields are matched against the term varies by endpoint.
207
+ */
208
+ q?: string;
209
+
202
210
  /**
203
211
  * Restricts results to change logs created on or after this timestamp.
204
212
  */
@@ -24,8 +24,9 @@ export class Picks extends APIResource {
24
24
  /**
25
25
  * Returns a paginated list of picks, soonest ship-by date first.
26
26
  *
27
- * The `q` search term matches the pick number, the sales order number, the
28
- * customer PO number, and the customer's name or number.
27
+ * The `q` search term matches the pick number (which is the order number) and the
28
+ * customer PO number. To narrow by customer, use `customer_ids` rather than
29
+ * searching for a customer name.
29
30
  *
30
31
  * This endpoint requires the permissions: `picks:read`, `customers:read`,
31
32
  * `suppliers:read`.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.22.1'; // x-release-please-version
1
+ export const VERSION = '0.24.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.22.1";
1
+ export declare const VERSION = "0.24.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.22.1";
1
+ export declare const VERSION = "0.24.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.22.1'; // x-release-please-version
4
+ exports.VERSION = '0.24.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.22.1'; // x-release-please-version
1
+ export const VERSION = '0.24.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map