@equisoft/account-service-sdk-typescript 6.8.1-snapshot.20240513135018 → 6.8.1-snapshot.20240515190416
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/.openapi-generator/FILES +2 -1
- package/dist/apis/UserApi.d.ts +25 -12
- package/dist/apis/UserApi.js +80 -36
- package/dist/esm/apis/UserApi.d.ts +25 -12
- package/dist/esm/apis/UserApi.js +81 -37
- package/dist/esm/models/SendSignupInvitationPayload.d.ts +73 -0
- package/dist/esm/models/SendSignupInvitationPayload.js +61 -0
- package/dist/esm/models/UpdateOwnerOrganizationPayload.d.ts +31 -0
- package/dist/esm/models/{SignupHash.js → UpdateOwnerOrganizationPayload.js} +9 -9
- package/dist/esm/models/index.d.ts +2 -1
- package/dist/esm/models/index.js +2 -1
- package/dist/models/SendSignupInvitationPayload.d.ts +73 -0
- package/dist/models/SendSignupInvitationPayload.js +68 -0
- package/dist/models/UpdateOwnerOrganizationPayload.d.ts +31 -0
- package/dist/models/UpdateOwnerOrganizationPayload.js +50 -0
- package/dist/models/index.d.ts +2 -1
- package/dist/models/index.js +2 -1
- package/package.json +1 -1
- package/src/apis/UserApi.ts +106 -46
- package/src/models/SendSignupInvitationPayload.ts +125 -0
- package/src/models/UpdateOwnerOrganizationPayload.ts +66 -0
- package/src/models/index.ts +2 -1
- package/dist/esm/models/SignupHash.d.ts +0 -31
- package/dist/models/SignupHash.d.ts +0 -31
- package/dist/models/SignupHash.js +0 -50
- package/src/models/SignupHash.ts +0 -66
|
@@ -0,0 +1,125 @@
|
|
|
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: 6.8.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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SendSignupInvitationPayload
|
|
20
|
+
*/
|
|
21
|
+
export interface SendSignupInvitationPayload {
|
|
22
|
+
/**
|
|
23
|
+
* Service code to generate signup url.
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SendSignupInvitationPayload
|
|
26
|
+
*/
|
|
27
|
+
serviceCode: string;
|
|
28
|
+
/**
|
|
29
|
+
* Service or application name used in email template.
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SendSignupInvitationPayload
|
|
32
|
+
*/
|
|
33
|
+
serviceName: string;
|
|
34
|
+
/**
|
|
35
|
+
* Full url to open the service or application.
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SendSignupInvitationPayload
|
|
38
|
+
*/
|
|
39
|
+
serviceUrl: string;
|
|
40
|
+
/**
|
|
41
|
+
* Base url for the signup link generation.
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SendSignupInvitationPayload
|
|
44
|
+
*/
|
|
45
|
+
signupBaseUrl: string;
|
|
46
|
+
/**
|
|
47
|
+
* If set, used in the invitation email template to specify a personalized message by the sender. The message is text only and newlines are converted to br.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof SendSignupInvitationPayload
|
|
50
|
+
*/
|
|
51
|
+
serviceMessage?: string | null;
|
|
52
|
+
/**
|
|
53
|
+
* If set, used in the invitation email template to specify the sender of the invitation.
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof SendSignupInvitationPayload
|
|
56
|
+
*/
|
|
57
|
+
senderName?: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* If set, used in the invitation email template to specify a personalized message by the sender. The message is text only and newlines are converted to br.
|
|
60
|
+
* @type {string}
|
|
61
|
+
* @memberof SendSignupInvitationPayload
|
|
62
|
+
*/
|
|
63
|
+
senderMessage?: string | null;
|
|
64
|
+
/**
|
|
65
|
+
* Override the invitation email subject.
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof SendSignupInvitationPayload
|
|
68
|
+
*/
|
|
69
|
+
customSubject?: string | null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the SendSignupInvitationPayload interface.
|
|
74
|
+
*/
|
|
75
|
+
export function instanceOfSendSignupInvitationPayload(value: object): boolean {
|
|
76
|
+
let isInstance = true;
|
|
77
|
+
isInstance = isInstance && "serviceCode" in value;
|
|
78
|
+
isInstance = isInstance && "serviceName" in value;
|
|
79
|
+
isInstance = isInstance && "serviceUrl" in value;
|
|
80
|
+
isInstance = isInstance && "signupBaseUrl" in value;
|
|
81
|
+
|
|
82
|
+
return isInstance;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export function SendSignupInvitationPayloadFromJSON(json: any): SendSignupInvitationPayload {
|
|
86
|
+
return SendSignupInvitationPayloadFromJSONTyped(json, false);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export function SendSignupInvitationPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): SendSignupInvitationPayload {
|
|
90
|
+
if ((json === undefined) || (json === null)) {
|
|
91
|
+
return json;
|
|
92
|
+
}
|
|
93
|
+
return {
|
|
94
|
+
|
|
95
|
+
'serviceCode': json['serviceCode'],
|
|
96
|
+
'serviceName': json['serviceName'],
|
|
97
|
+
'serviceUrl': json['serviceUrl'],
|
|
98
|
+
'signupBaseUrl': json['signupBaseUrl'],
|
|
99
|
+
'serviceMessage': !exists(json, 'serviceMessage') ? undefined : json['serviceMessage'],
|
|
100
|
+
'senderName': !exists(json, 'senderName') ? undefined : json['senderName'],
|
|
101
|
+
'senderMessage': !exists(json, 'senderMessage') ? undefined : json['senderMessage'],
|
|
102
|
+
'customSubject': !exists(json, 'customSubject') ? undefined : json['customSubject'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function SendSignupInvitationPayloadToJSON(value?: SendSignupInvitationPayload | null): any {
|
|
107
|
+
if (value === undefined) {
|
|
108
|
+
return undefined;
|
|
109
|
+
}
|
|
110
|
+
if (value === null) {
|
|
111
|
+
return null;
|
|
112
|
+
}
|
|
113
|
+
return {
|
|
114
|
+
|
|
115
|
+
'serviceCode': value.serviceCode,
|
|
116
|
+
'serviceName': value.serviceName,
|
|
117
|
+
'serviceUrl': value.serviceUrl,
|
|
118
|
+
'signupBaseUrl': value.signupBaseUrl,
|
|
119
|
+
'serviceMessage': value.serviceMessage,
|
|
120
|
+
'senderName': value.senderName,
|
|
121
|
+
'senderMessage': value.senderMessage,
|
|
122
|
+
'customSubject': value.customSubject,
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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: 6.8.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 { exists, mapValues } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpdateOwnerOrganizationPayload
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateOwnerOrganizationPayload {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof UpdateOwnerOrganizationPayload
|
|
26
|
+
*/
|
|
27
|
+
ownerOrganizationUuid: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UpdateOwnerOrganizationPayload interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUpdateOwnerOrganizationPayload(value: object): boolean {
|
|
34
|
+
let isInstance = true;
|
|
35
|
+
isInstance = isInstance && "ownerOrganizationUuid" in value;
|
|
36
|
+
|
|
37
|
+
return isInstance;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function UpdateOwnerOrganizationPayloadFromJSON(json: any): UpdateOwnerOrganizationPayload {
|
|
41
|
+
return UpdateOwnerOrganizationPayloadFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function UpdateOwnerOrganizationPayloadFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateOwnerOrganizationPayload {
|
|
45
|
+
if ((json === undefined) || (json === null)) {
|
|
46
|
+
return json;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
|
|
50
|
+
'ownerOrganizationUuid': json['ownerOrganizationUuid'],
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function UpdateOwnerOrganizationPayloadToJSON(value?: UpdateOwnerOrganizationPayload | null): any {
|
|
55
|
+
if (value === undefined) {
|
|
56
|
+
return undefined;
|
|
57
|
+
}
|
|
58
|
+
if (value === null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'ownerOrganizationUuid': value.ownerOrganizationUuid,
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -47,6 +47,7 @@ export * from './Role';
|
|
|
47
47
|
export * from './RoleCreated';
|
|
48
48
|
export * from './RolesOnOrganization';
|
|
49
49
|
export * from './SendResetPasswordLinkPayload';
|
|
50
|
+
export * from './SendSignupInvitationPayload';
|
|
50
51
|
export * from './ServiceAccess';
|
|
51
52
|
export * from './ServiceAccountCreationSchema';
|
|
52
53
|
export * from './ServiceAccountSchema';
|
|
@@ -60,9 +61,9 @@ export * from './SessionPolicy';
|
|
|
60
61
|
export * from './SessionState';
|
|
61
62
|
export * from './SetPasswordByConfirmationHashPayload';
|
|
62
63
|
export * from './SetUserAccountPasswordPayload';
|
|
63
|
-
export * from './SignupHash';
|
|
64
64
|
export * from './SsoProvider';
|
|
65
65
|
export * from './SsoToken';
|
|
66
|
+
export * from './UpdateOwnerOrganizationPayload';
|
|
66
67
|
export * from './UpdateParentOrganizationPayload';
|
|
67
68
|
export * from './UpdateUserAccountPayload';
|
|
68
69
|
export * from './UpdateUserAccountSsoPayload';
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User account and session management
|
|
3
|
-
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SignupHash
|
|
16
|
-
*/
|
|
17
|
-
export interface SignupHash {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SignupHash
|
|
22
|
-
*/
|
|
23
|
-
hash: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the SignupHash interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSignupHash(value: object): boolean;
|
|
29
|
-
export declare function SignupHashFromJSON(json: any): SignupHash;
|
|
30
|
-
export declare function SignupHashFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignupHash;
|
|
31
|
-
export declare function SignupHashToJSON(value?: SignupHash | null): any;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* User account and session management
|
|
3
|
-
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SignupHash
|
|
16
|
-
*/
|
|
17
|
-
export interface SignupHash {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SignupHash
|
|
22
|
-
*/
|
|
23
|
-
hash: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the SignupHash interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfSignupHash(value: object): boolean;
|
|
29
|
-
export declare function SignupHashFromJSON(json: any): SignupHash;
|
|
30
|
-
export declare function SignupHashFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignupHash;
|
|
31
|
-
export declare function SignupHashToJSON(value?: SignupHash | null): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* User account and session management
|
|
6
|
-
* Provides HTTP endpoints to manage User Accounts and User Sessions.
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 6.8.1-SNAPSHOT
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.SignupHashToJSON = exports.SignupHashFromJSONTyped = exports.SignupHashFromJSON = exports.instanceOfSignupHash = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Check if a given object implements the SignupHash interface.
|
|
19
|
-
*/
|
|
20
|
-
function instanceOfSignupHash(value) {
|
|
21
|
-
let isInstance = true;
|
|
22
|
-
isInstance = isInstance && "hash" in value;
|
|
23
|
-
return isInstance;
|
|
24
|
-
}
|
|
25
|
-
exports.instanceOfSignupHash = instanceOfSignupHash;
|
|
26
|
-
function SignupHashFromJSON(json) {
|
|
27
|
-
return SignupHashFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
exports.SignupHashFromJSON = SignupHashFromJSON;
|
|
30
|
-
function SignupHashFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
-
if ((json === undefined) || (json === null)) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'hash': json['hash'],
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
exports.SignupHashFromJSONTyped = SignupHashFromJSONTyped;
|
|
39
|
-
function SignupHashToJSON(value) {
|
|
40
|
-
if (value === undefined) {
|
|
41
|
-
return undefined;
|
|
42
|
-
}
|
|
43
|
-
if (value === null) {
|
|
44
|
-
return null;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'hash': value.hash,
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
exports.SignupHashToJSON = SignupHashToJSON;
|
package/src/models/SignupHash.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
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: 6.8.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 { exists, mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface SignupHash
|
|
20
|
-
*/
|
|
21
|
-
export interface SignupHash {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof SignupHash
|
|
26
|
-
*/
|
|
27
|
-
hash: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the SignupHash interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfSignupHash(value: object): boolean {
|
|
34
|
-
let isInstance = true;
|
|
35
|
-
isInstance = isInstance && "hash" in value;
|
|
36
|
-
|
|
37
|
-
return isInstance;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function SignupHashFromJSON(json: any): SignupHash {
|
|
41
|
-
return SignupHashFromJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
export function SignupHashFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignupHash {
|
|
45
|
-
if ((json === undefined) || (json === null)) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
|
|
50
|
-
'hash': json['hash'],
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function SignupHashToJSON(value?: SignupHash | null): any {
|
|
55
|
-
if (value === undefined) {
|
|
56
|
-
return undefined;
|
|
57
|
-
}
|
|
58
|
-
if (value === null) {
|
|
59
|
-
return null;
|
|
60
|
-
}
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'hash': value.hash,
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|