@arizeai/phoenix-client 6.5.2 → 6.5.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arizeai/phoenix-client",
3
- "version": "6.5.2",
3
+ "version": "6.5.3",
4
4
  "description": "A client for the Phoenix API",
5
5
  "keywords": [
6
6
  "arize",
@@ -75,8 +75,8 @@
75
75
  "openapi-fetch": "^0.12.5",
76
76
  "tiny-invariant": "^1.3.3",
77
77
  "zod": "^4.0.14",
78
- "@arizeai/phoenix-config": "0.1.1",
79
- "@arizeai/phoenix-otel": "0.4.2"
78
+ "@arizeai/phoenix-otel": "0.4.2",
79
+ "@arizeai/phoenix-config": "0.1.2"
80
80
  },
81
81
  "devDependencies": {
82
82
  "@ai-sdk/openai": "^3.0.29",
@@ -889,6 +889,26 @@ export interface paths {
889
889
  patch?: never;
890
890
  trace?: never;
891
891
  };
892
+ "/v1/user": {
893
+ parameters: {
894
+ query?: never;
895
+ header?: never;
896
+ path?: never;
897
+ cookie?: never;
898
+ };
899
+ /**
900
+ * Get the authenticated user
901
+ * @description Returns the profile of the currently authenticated user. When authentication is disabled, returns an anonymous user representation.
902
+ */
903
+ get: operations["getViewer"];
904
+ put?: never;
905
+ post?: never;
906
+ delete?: never;
907
+ options?: never;
908
+ head?: never;
909
+ patch?: never;
910
+ trace?: never;
911
+ };
892
912
  "/v1/users": {
893
913
  parameters: {
894
914
  query?: never;
@@ -998,6 +1018,14 @@ export interface components {
998
1018
  */
999
1019
  explanation?: string | null;
1000
1020
  };
1021
+ /** AnonymousUser */
1022
+ AnonymousUser: {
1023
+ /**
1024
+ * @description discriminator enum property added by openapi-typescript
1025
+ * @enum {string}
1026
+ */
1027
+ auth_method: "ANONYMOUS";
1028
+ };
1001
1029
  /** CategoricalAnnotationConfig */
1002
1030
  CategoricalAnnotationConfig: {
1003
1031
  /** Name */
@@ -1593,6 +1621,11 @@ export interface components {
1593
1621
  /** Next Cursor */
1594
1622
  next_cursor: string | null;
1595
1623
  };
1624
+ /** GetViewerResponseBody */
1625
+ GetViewerResponseBody: {
1626
+ /** Data */
1627
+ data: components["schemas"]["LocalUser"] | components["schemas"]["OAuth2User"] | components["schemas"]["LDAPUser"] | components["schemas"]["AnonymousUser"];
1628
+ };
1596
1629
  /** HTTPValidationError */
1597
1630
  HTTPValidationError: {
1598
1631
  /** Detail */
@@ -6383,6 +6416,44 @@ export interface operations {
6383
6416
  };
6384
6417
  };
6385
6418
  };
6419
+ getViewer: {
6420
+ parameters: {
6421
+ query?: never;
6422
+ header?: never;
6423
+ path?: never;
6424
+ cookie?: never;
6425
+ };
6426
+ requestBody?: never;
6427
+ responses: {
6428
+ /** @description The authenticated user's profile. */
6429
+ 200: {
6430
+ headers: {
6431
+ [name: string]: unknown;
6432
+ };
6433
+ content: {
6434
+ "application/json": components["schemas"]["GetViewerResponseBody"];
6435
+ };
6436
+ };
6437
+ /** @description User not found. */
6438
+ 401: {
6439
+ headers: {
6440
+ [name: string]: unknown;
6441
+ };
6442
+ content: {
6443
+ "text/plain": string;
6444
+ };
6445
+ };
6446
+ /** @description Forbidden */
6447
+ 403: {
6448
+ headers: {
6449
+ [name: string]: unknown;
6450
+ };
6451
+ content: {
6452
+ "text/plain": string;
6453
+ };
6454
+ };
6455
+ };
6456
+ };
6386
6457
  getUsers: {
6387
6458
  parameters: {
6388
6459
  query?: {