@gentiq/core 1.0.0-alpha.13 → 1.0.0-alpha.14

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.d.ts CHANGED
@@ -357,6 +357,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
357
357
  week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
358
358
  welcome_greeting?: string | null;
359
359
  welcome_subtitle?: string | null;
360
+ } & {
361
+ [key: string]: unknown;
360
362
  }>;
361
363
  /** Whether the service is under maintenance. Public; polled by `useGentiqStatus`. */
362
364
  getStatus: (signal?: AbortSignal) => Promise<{
@@ -1551,7 +1553,7 @@ declare interface components {
1551
1553
  /** Surname */
1552
1554
  surname: string | null;
1553
1555
  /** Token */
1554
- token: string;
1556
+ token?: string | null;
1555
1557
  /** Username */
1556
1558
  username: string | null;
1557
1559
  };
@@ -1593,7 +1595,7 @@ declare interface components {
1593
1595
  /** Surname */
1594
1596
  surname: string | null;
1595
1597
  /** Token */
1596
- token: string;
1598
+ token?: string | null;
1597
1599
  /**
1598
1600
  * Type
1599
1601
  * @enum {string}
@@ -1607,6 +1609,8 @@ declare interface components {
1607
1609
  * @description An admin's edit of a user. Unlike a user's edit of themselves, it can set the user's group.
1608
1610
  */
1609
1611
  AdminUserUpdateInput: {
1612
+ /** Current Password */
1613
+ current_password?: string | null;
1610
1614
  /** Email */
1611
1615
  email?: string | null;
1612
1616
  /** Metadata */
@@ -3705,6 +3709,8 @@ declare interface components {
3705
3709
  welcome_greeting?: string | null;
3706
3710
  /** Welcome Subtitle */
3707
3711
  welcome_subtitle?: string | null;
3712
+ } & {
3713
+ [key: string]: unknown;
3708
3714
  };
3709
3715
  /** PublicStatus */
3710
3716
  PublicStatus: {
@@ -5066,6 +5072,8 @@ declare interface components {
5066
5072
  };
5067
5073
  /** UserUpdateInput */
5068
5074
  UserUpdateInput: {
5075
+ /** Current Password */
5076
+ current_password?: string | null;
5069
5077
  /** Email */
5070
5078
  email?: string | null;
5071
5079
  /** Metadata */
@@ -5341,7 +5349,7 @@ export declare type EntitlementWindow = Schemas['QuotaWindow'];
5341
5349
  /**
5342
5350
  * Evaluates a condition against the current metadata state.
5343
5351
  */
5344
- export declare function evaluateCondition(condition: MetadataFieldCondition | undefined, metadata: Record<string, any>): boolean;
5352
+ export declare function evaluateCondition(condition: MetadataFieldCondition | undefined, metadata: Record<string, unknown>): boolean;
5345
5353
 
5346
5354
  /** Response from the feedback endpoint. */
5347
5355
  export declare type FeedbackResponse = Schemas['StatusResponse'];
@@ -12690,6 +12698,7 @@ declare interface paths {
12690
12698
  put?: never;
12691
12699
  /**
12692
12700
  * Authorize User
12701
+ * @deprecated
12693
12702
  * @description Authorize or register a user by an enabled login field (default: username), or by
12694
12703
  * ``external_id``, and return a JWT. Protected by an API key.
12695
12704
  *
@@ -328,6 +328,8 @@ declare function buildApi(http: HttpClient, auth: ResolvedAuthAdapter, options:
328
328
  week_start?: ("monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday") | null;
329
329
  welcome_greeting?: string | null;
330
330
  welcome_subtitle?: string | null;
331
+ } & {
332
+ [key: string]: unknown;
331
333
  }>;
332
334
  /** Whether the service is under maintenance. Public; polled by `useGentiqStatus`. */
333
335
  getStatus: (signal?: AbortSignal) => Promise<{
@@ -1579,7 +1581,7 @@ export declare interface components {
1579
1581
  /** Surname */
1580
1582
  surname: string | null;
1581
1583
  /** Token */
1582
- token: string;
1584
+ token?: string | null;
1583
1585
  /** Username */
1584
1586
  username: string | null;
1585
1587
  };
@@ -1621,7 +1623,7 @@ export declare interface components {
1621
1623
  /** Surname */
1622
1624
  surname: string | null;
1623
1625
  /** Token */
1624
- token: string;
1626
+ token?: string | null;
1625
1627
  /**
1626
1628
  * Type
1627
1629
  * @enum {string}
@@ -1635,6 +1637,8 @@ export declare interface components {
1635
1637
  * @description An admin's edit of a user. Unlike a user's edit of themselves, it can set the user's group.
1636
1638
  */
1637
1639
  AdminUserUpdateInput: {
1640
+ /** Current Password */
1641
+ current_password?: string | null;
1638
1642
  /** Email */
1639
1643
  email?: string | null;
1640
1644
  /** Metadata */
@@ -3733,6 +3737,8 @@ export declare interface components {
3733
3737
  welcome_greeting?: string | null;
3734
3738
  /** Welcome Subtitle */
3735
3739
  welcome_subtitle?: string | null;
3740
+ } & {
3741
+ [key: string]: unknown;
3736
3742
  };
3737
3743
  /** PublicStatus */
3738
3744
  PublicStatus: {
@@ -5094,6 +5100,8 @@ export declare interface components {
5094
5100
  };
5095
5101
  /** UserUpdateInput */
5096
5102
  UserUpdateInput: {
5103
+ /** Current Password */
5104
+ current_password?: string | null;
5097
5105
  /** Email */
5098
5106
  email?: string | null;
5099
5107
  /** Metadata */
@@ -12640,6 +12648,7 @@ declare interface paths {
12640
12648
  put?: never;
12641
12649
  /**
12642
12650
  * Authorize User
12651
+ * @deprecated
12643
12652
  * @description Authorize or register a user by an enabled login field (default: username), or by
12644
12653
  * ``external_id``, and return a JWT. Protected by an API key.
12645
12654
  *
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "provenance": false
12
12
  },
13
13
  "description": "Framework-free core of the Gentiq SDK: the API client, the chat protocol and the thread controller.",
14
- "version": "1.0.0-alpha.13",
14
+ "version": "1.0.0-alpha.14",
15
15
  "license": "Apache-2.0",
16
16
  "type": "module",
17
17
  "files": [