@luxuryescapes/contract-svc-lab-v2 0.1.38 → 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 +18 -2
  2. package/package.json +1 -1
package/dist/server.d.ts CHANGED
@@ -1870,8 +1870,16 @@ export interface operations {
1870
1870
  "application/json": {
1871
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
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. */
1873
1874
  attributes: {
1874
- [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;
1875
1883
  };
1876
1884
  };
1877
1885
  };
@@ -1920,8 +1928,16 @@ export interface operations {
1920
1928
  keys: string[];
1921
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. */
1922
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. */
1923
1932
  attributes: {
1924
- [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;
1925
1941
  };
1926
1942
  };
1927
1943
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxuryescapes/contract-svc-lab-v2",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "files": [