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