@zinn-digital/sdk 0.1.2031 → 0.1.2033
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.
|
@@ -41526,7 +41526,7 @@ export interface paths {
|
|
|
41526
41526
|
* Record where the signed-in customer came from (the app's landing capture).
|
|
41527
41527
|
* @description The dashboard captures `utm_*`, `ref`, `zd_vid` (the product sites' visit id), the referring host and the landing page BEFORE the sign-in hop, and sends them here on the first signed-in page load. This is the only way an app sign-up can be attributed: self-registration provisions the organization inside authentication, which never sees the landing URL (docs/750). Unknown keys are dropped, values are capped, and the landing page is host and path only.
|
|
41528
41528
|
*
|
|
41529
|
-
* Recorded only against an organization the caller OWNS — a member of someone else's account did not bring it to us — and never under impersonation. A MEMBER who is not the owner (staff, an invited team member) gets `200` with `recorded: false, reason: not_owner` and nothing is written; `403` only for an organization the caller
|
|
41529
|
+
* Recorded only against an organization the caller OWNS — a member of someone else's account did not bring it to us — and never under impersonation. A MEMBER who is not the owner (staff, an invited team member) gets `200` with `recorded: false, reason: not_owner` and nothing is written, as does a reseller acting in a client organization it reaches through its own; `403` only for an organization the caller cannot reach at all. The first touch is written once and never overwritten; the last touch is overwritten each time. A capture with nothing attributable (no campaign, affiliate code, visit id or foreign referrer) records nothing and answers `recorded: false, reason: empty` — except the app's DIRECT first visit (`entry: direct`), which is recorded as a first touch only, when the org has none, so the owner's alert reads "Direct" instead of "Unknown"; it never overwrites a source. The app sends that marker once per organization when it has nothing pending (a browser that already reported another account's landing). On an organization more than a day old it records nothing and answers `reason: late`, so an old "Unknown" sign-up is never relabelled "Direct". Before recording a direct marker on an org with no first touch, the engine asks Keycloak for the caller's REGISTER event: the app's register redirect URI carries the campaign (`zd_acq`), so a sign-up finished in another browser (the verify-email link) keeps its source, which is then recorded instead of "Direct".
|
|
41530
41530
|
*/
|
|
41531
41531
|
post: operations["recordAcquisitionTouch"];
|
|
41532
41532
|
delete?: never;
|
|
@@ -85814,7 +85814,7 @@ export interface components {
|
|
|
85814
85814
|
resizable: boolean;
|
|
85815
85815
|
/** @description The sentence to show when `resizable` is false. Empty when it is true. */
|
|
85816
85816
|
resize_reason: string;
|
|
85817
|
-
/** @description The provider's machine token. */
|
|
85817
|
+
/** @description The machine's size as an opaque `sz-` id (the same id `ComputeServer.spec` carries); staff responses carry the provider's machine token. */
|
|
85818
85818
|
size: string;
|
|
85819
85819
|
};
|
|
85820
85820
|
ComputeServerRecovery: {
|
|
@@ -180246,7 +180246,7 @@ export interface operations {
|
|
|
180246
180246
|
getVpsAddonOptions: {
|
|
180247
180247
|
parameters: {
|
|
180248
180248
|
query: {
|
|
180249
|
-
/** @description The
|
|
180249
|
+
/** @description The machine size, as the opaque `sz-` id a server or plan response carries (a range token is also accepted). */
|
|
180250
180250
|
size: string;
|
|
180251
180251
|
};
|
|
180252
180252
|
header?: never;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zinn-digital/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2033",
|
|
4
4
|
"description": "Typed TypeScript client for the Zinn Digital Platform API, generated from its OpenAPI spec.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Neil Lock \u2014 CEO, Zinn Digital\u00ae Ltd <office@zinndigital.com>",
|