@luxuryescapes/contract-svc-lab-v2 0.1.37 → 0.1.39

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 (2) hide show
  1. package/dist/server.d.ts +22 -12
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -1868,13 +1868,18 @@ export interface operations {
1868
1868
  requestBody: {
1869
1869
  content: {
1870
1870
  "application/json": {
1871
- /**
1872
- * Format: uuid
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;
1873
+ /** @description Matched by targeting conditions. A flat map: every value is a string, number or boolean. Omit a key that has no value; never send it as '' or null. Any other key is passed to targeting conditions as is. */
1876
1874
  attributes: {
1877
- [key: string]: unknown;
1875
+ /** @description Brand of the storefront the user is on. */
1876
+ brand?: string;
1877
+ /** @description Region code of the storefront the user is browsing, as two uppercase letters. Not the user's geo location. */
1878
+ region?: string;
1879
+ /** @description 'web' for the website; 'app' when bff calls on behalf of the iOS and Android apps. */
1880
+ platform?: string;
1881
+ } & {
1882
+ [key: string]: string | number | boolean;
1878
1883
  };
1879
1884
  };
1880
1885
  };
@@ -1921,13 +1926,18 @@ export interface operations {
1921
1926
  "application/json": {
1922
1927
  /** @description Case-sensitive. More than the maximum is a 400; keys are never dropped. */
1923
1928
  keys: string[];
1924
- /**
1925
- * Format: uuid
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;
1929
+ /** @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. */
1930
+ domain_id: (string | string) | null;
1931
+ /** @description Matched by targeting conditions. A flat map: every value is a string, number or boolean. Omit a key that has no value; never send it as '' or null. Any other key is passed to targeting conditions as is. */
1929
1932
  attributes: {
1930
- [key: string]: unknown;
1933
+ /** @description Brand of the storefront the user is on. */
1934
+ brand?: string;
1935
+ /** @description Region code of the storefront the user is browsing, as two uppercase letters. Not the user's geo location. */
1936
+ region?: string;
1937
+ /** @description 'web' for the website; 'app' when bff calls on behalf of the iOS and Android apps. */
1938
+ platform?: string;
1939
+ } & {
1940
+ [key: string]: string | number | boolean;
1931
1941
  };
1932
1942
  };
1933
1943
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [