@sparkvault/sdk-js 15.11.1 → 15.11.3

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/dist/index.cjs CHANGED
@@ -13078,9 +13078,9 @@ Array.from({ length: 1 << BRAND_BITS.size }, (_, mask) =>
13078
13078
 
13079
13079
  /**
13080
13080
  * The Secure Help Desk's shared vocabulary: the values Core's help-desk engine
13081
- * stores and checks, and the console and the customer portal render, defined
13082
- * once so the three cannot disagree about a status, a label, a limit, a timing
13083
- * or an event's visibility.
13081
+ * stores and checks, the console and the customer portal render, and the MCP
13082
+ * server's tools describe, defined once so none of them can disagree about a
13083
+ * status, a label, a limit, a timing or an event's visibility.
13084
13084
  *
13085
13085
  * A ticket is `open`, `waiting_on_customer`, `on_hold` (until a time) or
13086
13086
  * `closed` (as resolved, a duplicate merged elsewhere, or spam). A customer
@@ -13093,7 +13093,8 @@ Array.from({ length: 1 << BRAND_BITS.size }, (_, mask) =>
13093
13093
  * sign-in code (its length, lifetime, sender, resend wait, countdown and
13094
13094
  * the code step's words),
13095
13095
  * merge and pending-attachment timings, hold presets, tag and size limits,
13096
- * the operator display and desk mode choices and the response-time
13096
+ * the operator display and desk mode choices, the operator queue's views and
13097
+ * orders, the reply review list's views and states and the response-time
13097
13098
  * histogram's bucket edges live here for the same reason. So do the one rule a tag is stored by
13098
13099
  * (ticketTag), which Core applies where it stores a tag and the console
13099
13100
  * applies where one is typed, and the one rule a typed or pasted sign-in
@@ -13111,6 +13112,12 @@ function isHelpDeskId(value) {
13111
13112
  return isResourceIdOf('account', value) || (typeof value === 'string' && /^hdd_[a-f0-9]{32}$/.test(value));
13112
13113
  }
13113
13114
 
13115
+ /** Why a closed ticket closed. */
13116
+ const HELP_DESK_CLOSE_REASONS = Object.freeze(['resolved', 'duplicate', 'spam']);
13117
+
13118
+ /** The close reasons an operator's status change names: a duplicate closes by merging it into the request it repeats. */
13119
+ Object.freeze(HELP_DESK_CLOSE_REASONS.filter((reason) => reason !== 'duplicate'));
13120
+
13114
13121
  /**
13115
13122
  * Mail local parts no team may take as its alias: the role mailboxes RFC 2142
13116
13123
  * names, the addresses mail systems and their operators keep for themselves,
@@ -26042,7 +26049,7 @@ class SparkVault {
26042
26049
  }
26043
26050
  /** Get the SDK version */
26044
26051
  static get version() {
26045
- return '15.11.1';
26052
+ return '15.11.3';
26046
26053
  }
26047
26054
  }
26048
26055
  if (typeof window !== 'undefined') {