@smg-automotive/auth 8.6.0 → 8.7.0-add-enrollment-check.1

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.
@@ -1,11 +1,14 @@
1
1
  import { ApiClient, ClientConfiguration, PaginatedResponse, PaginationQuery, RequestType, ResponseType, SortQuery } from '@smg-automotive/api-client-pkg';
2
- import { ManagedSeller } from './types';
2
+ import { ManagedSeller, User } from './types';
3
3
  interface UserClientConfiguration extends ClientConfiguration {
4
4
  'users/{userId}/sellers': {
5
5
  get: (request: RequestType<never, PaginationQuery & {
6
6
  sort?: SortQuery<string>;
7
7
  }>) => ResponseType<never, PaginatedResponse<ManagedSeller>>;
8
8
  };
9
+ 'users/{userId}': {
10
+ get: (request: RequestType) => ResponseType<never, User>;
11
+ };
9
12
  }
10
13
  export declare const userClient: ReturnType<typeof ApiClient<UserClientConfiguration>>;
11
14
  export { type ManagedSeller };
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sources":["../../../../../src/api/user/client.ts"],"sourcesContent":[null],"names":["ApiClient","baseUrl"],"mappings":";;;;;AAwBO,MAAM,UAAU,GACrBA,sBAAS,CAA0B;aACjCC,eAAO;AACP,IAAA,OAAO,EAAE;AACP,QAAA,cAAc,EAAE,kBAAkB;AACnC,KAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"client.js","sources":["../../../../../src/api/user/client.ts"],"sourcesContent":[null],"names":["ApiClient","baseUrl"],"mappings":";;;;;AA2BO,MAAM,UAAU,GACrBA,sBAAS,CAA0B;aACjCC,eAAO;AACP,IAAA,OAAO,EAAE;AACP,QAAA,cAAc,EAAE,kBAAkB;AACnC,KAAA;AACF,CAAA;;;;"}
@@ -7,3 +7,10 @@ export type ManagedSeller = {
7
7
  billingPostOfficeBox: string | null;
8
8
  billingZipCode: string | null;
9
9
  };
10
+ export type User = {
11
+ id: string;
12
+ passkeyAuthentications: Array<{
13
+ id: string;
14
+ user_agent: string;
15
+ }>;
16
+ };
@@ -1,11 +1,14 @@
1
1
  import { ApiClient, ClientConfiguration, PaginatedResponse, PaginationQuery, RequestType, ResponseType, SortQuery } from '@smg-automotive/api-client-pkg';
2
- import { ManagedSeller } from './types';
2
+ import { ManagedSeller, User } from './types';
3
3
  interface UserClientConfiguration extends ClientConfiguration {
4
4
  'users/{userId}/sellers': {
5
5
  get: (request: RequestType<never, PaginationQuery & {
6
6
  sort?: SortQuery<string>;
7
7
  }>) => ResponseType<never, PaginatedResponse<ManagedSeller>>;
8
8
  };
9
+ 'users/{userId}': {
10
+ get: (request: RequestType) => ResponseType<never, User>;
11
+ };
9
12
  }
10
13
  export declare const userClient: ReturnType<typeof ApiClient<UserClientConfiguration>>;
11
14
  export { type ManagedSeller };
@@ -1 +1 @@
1
- {"version":3,"file":"client.js","sources":["../../../../../src/api/user/client.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AAwBO,MAAM,UAAU,GACrB,SAAS,CAA0B;IACjC,OAAO;AACP,IAAA,OAAO,EAAE;AACP,QAAA,cAAc,EAAE,kBAAkB;AACnC,KAAA;AACF,CAAA;;;;"}
1
+ {"version":3,"file":"client.js","sources":["../../../../../src/api/user/client.ts"],"sourcesContent":[null],"names":[],"mappings":";;;AA2BO,MAAM,UAAU,GACrB,SAAS,CAA0B;IACjC,OAAO;AACP,IAAA,OAAO,EAAE;AACP,QAAA,cAAc,EAAE,kBAAkB;AACnC,KAAA;AACF,CAAA;;;;"}
@@ -7,3 +7,10 @@ export type ManagedSeller = {
7
7
  billingPostOfficeBox: string | null;
8
8
  billingZipCode: string | null;
9
9
  };
10
+ export type User = {
11
+ id: string;
12
+ passkeyAuthentications: Array<{
13
+ id: string;
14
+ user_agent: string;
15
+ }>;
16
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smg-automotive/auth",
3
- "version": "8.6.0",
3
+ "version": "8.7.0-add-enrollment-check.1",
4
4
  "description": "SMG Automotive auth package",
5
5
  "exports": {
6
6
  ".": {
@@ -79,7 +79,7 @@
79
79
  "react-dom": "19.2.1",
80
80
  "rimraf": "6.1.2",
81
81
  "rollup": "4.53.3",
82
- "rollup-plugin-dts": "6.2.3",
82
+ "rollup-plugin-dts": "6.3.0",
83
83
  "rollup-plugin-peer-deps-external": "2.2.4",
84
84
  "rollup-plugin-preserve-directives": "0.4.0",
85
85
  "semantic-release": "25.0.2",