@equisoft/account-service-sdk-typescript 9.6.1-snapshot.20250610182740 → 9.6.1-snapshot.20250612170000

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.
@@ -0,0 +1,74 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * User account and session management
5
+ * Provides HTTP endpoints to manage User Accounts and User Sessions.
6
+ *
7
+ * The version of the OpenAPI document: 9.6.1-SNAPSHOT
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { SearchSessionResult } from './SearchSessionResult';
17
+ import {
18
+ SearchSessionResultFromJSON,
19
+ SearchSessionResultFromJSONTyped,
20
+ SearchSessionResultToJSON,
21
+ SearchSessionResultToJSONTyped,
22
+ } from './SearchSessionResult';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface SearchSessionResults
28
+ */
29
+ export interface SearchSessionResults {
30
+ /**
31
+ *
32
+ * @type {Array<SearchSessionResult>}
33
+ * @memberof SearchSessionResults
34
+ */
35
+ sessions: Array<SearchSessionResult>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the SearchSessionResults interface.
40
+ */
41
+ export function instanceOfSearchSessionResults(value: object): value is SearchSessionResults {
42
+ if (!('sessions' in value) || value['sessions'] === undefined) return false;
43
+ return true;
44
+ }
45
+
46
+ export function SearchSessionResultsFromJSON(json: any): SearchSessionResults {
47
+ return SearchSessionResultsFromJSONTyped(json, false);
48
+ }
49
+
50
+ export function SearchSessionResultsFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchSessionResults {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+
56
+ 'sessions': ((json['sessions'] as Array<any>).map(SearchSessionResultFromJSON)),
57
+ };
58
+ }
59
+
60
+ export function SearchSessionResultsToJSON(json: any): SearchSessionResults {
61
+ return SearchSessionResultsToJSONTyped(json, false);
62
+ }
63
+
64
+ export function SearchSessionResultsToJSONTyped(value?: SearchSessionResults | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'sessions': ((value['sessions'] as Array<any>).map(SearchSessionResultToJSON)),
72
+ };
73
+ }
74
+
@@ -58,11 +58,11 @@ export interface SessionPayload {
58
58
  */
59
59
  mobileDevice?: boolean | null;
60
60
  /**
61
- * Indicate the domain name the session cookie was emitted for. If null, the cookie is assumed to be on the current hostname.
61
+ * Indicate the domain name the session cookie was emitted for.
62
62
  * @type {string}
63
63
  * @memberof SessionPayload
64
64
  */
65
- cookieDomain?: string | null;
65
+ cookieDomain: string;
66
66
  /**
67
67
  * Claims and assertions received from an external source (SSO).
68
68
  * @type {{ [key: string]: string; }}
@@ -77,6 +77,7 @@ export interface SessionPayload {
77
77
  export function instanceOfSessionPayload(value: object): value is SessionPayload {
78
78
  if (!('userUuid' in value) || value['userUuid'] === undefined) return false;
79
79
  if (!('enable' in value) || value['enable'] === undefined) return false;
80
+ if (!('cookieDomain' in value) || value['cookieDomain'] === undefined) return false;
80
81
  return true;
81
82
  }
82
83
 
@@ -95,7 +96,7 @@ export function SessionPayloadFromJSONTyped(json: any, ignoreDiscriminator: bool
95
96
  'sso': json['sso'] == null ? undefined : SsoProviderFromJSON(json['sso']),
96
97
  'publicComputer': json['publicComputer'] == null ? undefined : json['publicComputer'],
97
98
  'mobileDevice': json['mobileDevice'] == null ? undefined : json['mobileDevice'],
98
- 'cookieDomain': json['cookieDomain'] == null ? undefined : json['cookieDomain'],
99
+ 'cookieDomain': json['cookieDomain'],
99
100
  'externalClaims': json['externalClaims'] == null ? undefined : json['externalClaims'],
100
101
  };
101
102
  }
@@ -45,6 +45,8 @@ export * from './PermissionResourceType';
45
45
  export * from './Role';
46
46
  export * from './RoleCreated';
47
47
  export * from './RolesOnOrganization';
48
+ export * from './SearchSessionResult';
49
+ export * from './SearchSessionResults';
48
50
  export * from './SendResetPasswordLinkPayload';
49
51
  export * from './SendSignupInvitationPayload';
50
52
  export * from './ServiceAccountCreationSchema';