@luxuryescapes/contract-svc-lab-v2 0.1.36 → 0.1.38
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/server.d.ts +6 -12
- package/package.json +1 -1
package/dist/server.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export interface paths {
|
|
|
59
59
|
post: operations["createFeatureFlag"];
|
|
60
60
|
};
|
|
61
61
|
"/api/lab/v2/items/{id}": {
|
|
62
|
-
/** Public and
|
|
62
|
+
/** Public and the same for every user of a language, so CDN-cacheable with `Vary: Accept-Language`. Every string under a key ending in `-i18n` is translated into the first `Accept-Language` language, except English other than `en-US`; `Content-Language` names the language served. Until every string has a translation the payload is served in English and cached briefly. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
|
|
63
63
|
get: operations["getItemPayload"];
|
|
64
64
|
};
|
|
65
65
|
"/api/lab/v2/preview/campaigns/{id}": {
|
|
@@ -1552,7 +1552,7 @@ export interface operations {
|
|
|
1552
1552
|
};
|
|
1553
1553
|
};
|
|
1554
1554
|
};
|
|
1555
|
-
/** Public and
|
|
1555
|
+
/** Public and the same for every user of a language, so CDN-cacheable with `Vary: Accept-Language`. Every string under a key ending in `-i18n` is translated into the first `Accept-Language` language, except English other than `en-US`; `Content-Language` names the language served. Until every string has a translation the payload is served in English and cached briefly. Ids that evaluate cannot return (unknown, disabled, or of a campaign that is not live) get 404. */
|
|
1556
1556
|
getItemPayload: {
|
|
1557
1557
|
parameters: {
|
|
1558
1558
|
path: {
|
|
@@ -1868,11 +1868,8 @@ export interface operations {
|
|
|
1868
1868
|
requestBody: {
|
|
1869
1869
|
content: {
|
|
1870
1870
|
"application/json": {
|
|
1871
|
-
/**
|
|
1872
|
-
|
|
1873
|
-
* @description Snowplow domain_userid, used only for rollout. Keep it stable across login. Null when there is none: only full rollouts match.
|
|
1874
|
-
*/
|
|
1875
|
-
domain_id: string | null;
|
|
1871
|
+
/** @description Used only for rollout. Send exactly the value this client sends to Snowplow as domain_userid, so rollout buckets line up with the analysis in Snowplow. Web: the Snowplow JS tracker domain_userid (from the tracker cookie). iOS and Android apps: the AppsFlyer UID, which the apps set as their Snowplow domainUserId. A backend service handling a user request: forward the value from the client request. Null when there is none (no tracker cookie, no tracking consent, or an offline job such as a cron or an email): only full rollouts match. Keep it the same across login and never send a member id. Must be a UUID v4 or an AppsFlyer UID (digits, a dash, then digits); anything else, such as a shared constant like "anonymous", is a 400. */
|
|
1872
|
+
domain_id: (string | string) | null;
|
|
1876
1873
|
attributes: {
|
|
1877
1874
|
[key: string]: unknown;
|
|
1878
1875
|
};
|
|
@@ -1921,11 +1918,8 @@ export interface operations {
|
|
|
1921
1918
|
"application/json": {
|
|
1922
1919
|
/** @description Case-sensitive. More than the maximum is a 400; keys are never dropped. */
|
|
1923
1920
|
keys: string[];
|
|
1924
|
-
/**
|
|
1925
|
-
|
|
1926
|
-
* @description Snowplow domain_userid, used only for rollout, as for POST /evaluate. Services forward the browser value. Null when there is none: only full rollouts match.
|
|
1927
|
-
*/
|
|
1928
|
-
domain_id: string | null;
|
|
1921
|
+
/** @description Used only for rollout. Send exactly the value this client sends to Snowplow as domain_userid, so rollout buckets line up with the analysis in Snowplow. Web: the Snowplow JS tracker domain_userid (from the tracker cookie). iOS and Android apps: the AppsFlyer UID, which the apps set as their Snowplow domainUserId. A backend service handling a user request: forward the value from the client request. Null when there is none (no tracker cookie, no tracking consent, or an offline job such as a cron or an email): only full rollouts match. Keep it the same across login and never send a member id. Must be a UUID v4 or an AppsFlyer UID (digits, a dash, then digits); anything else, such as a shared constant like "anonymous", is a 400. */
|
|
1922
|
+
domain_id: (string | string) | null;
|
|
1929
1923
|
attributes: {
|
|
1930
1924
|
[key: string]: unknown;
|
|
1931
1925
|
};
|