@edsis/angular 21.1.4 → 21.1.27
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/.npmignore +2 -0
- package/README.md +123 -88
- package/brand/etos/README.md +273 -0
- package/brand/etos/package.json +4 -0
- package/chart/README.md +0 -0
- package/chart/package.json +4 -0
- package/collection.json +30 -0
- package/component/package.json +4 -0
- package/etos/styles/color.css +73 -0
- package/etos/styles/index.css +7 -0
- package/etos/styles/layout.css +21 -0
- package/etos/styles/package.css +15 -0
- package/etos/styles/style.css +53 -0
- package/fesm2022/ojiepermana-angular-brand-etos.mjs +1060 -0
- package/fesm2022/ojiepermana-angular-brand-etos.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-chart.mjs +3714 -0
- package/fesm2022/ojiepermana-angular-chart.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-component.mjs +4069 -0
- package/fesm2022/ojiepermana-angular-component.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-generator-api.mjs +67 -0
- package/fesm2022/ojiepermana-angular-generator-api.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-layout.mjs +457 -0
- package/fesm2022/ojiepermana-angular-layout.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs +2315 -0
- package/fesm2022/ojiepermana-angular-navigation.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular-theme.mjs +407 -0
- package/fesm2022/ojiepermana-angular-theme.mjs.map +1 -0
- package/fesm2022/ojiepermana-angular.mjs +22 -0
- package/fesm2022/ojiepermana-angular.mjs.map +1 -0
- package/generator/api/README.md +246 -0
- package/generator/api/bin/package.json +3 -0
- package/generator/api/bin/schematics/init/index.js +88 -0
- package/generator/api/bin/schematics/ng-add/index.js +108 -0
- package/generator/api/bin/schematics/sdk/index.js +76 -0
- package/generator/api/bin/src/config/loader.js +41 -0
- package/generator/api/bin/src/config/schema.js +56 -0
- package/generator/api/bin/src/emit/client.js +246 -0
- package/generator/api/bin/src/emit/metadata.js +295 -0
- package/generator/api/bin/src/emit/models.js +106 -0
- package/generator/api/bin/src/emit/navigation.js +56 -0
- package/generator/api/bin/src/emit/operations.js +122 -0
- package/generator/api/bin/src/emit/public-api.js +54 -0
- package/generator/api/bin/src/emit/services.js +87 -0
- package/generator/api/bin/src/engine.js +65 -0
- package/generator/api/bin/src/layout/per-domain.js +355 -0
- package/generator/api/bin/src/parser/bundle.js +25 -0
- package/generator/api/bin/src/parser/ir.js +320 -0
- package/generator/api/bin/src/parser/types.js +7 -0
- package/generator/api/bin/src/render/template.js +58 -0
- package/generator/api/bin/src/writer/index.js +236 -0
- package/generator/api/package.json +4 -0
- package/generator/api/schematics/init/schema.json +19 -0
- package/generator/api/schematics/ng-add/schema.json +14 -0
- package/generator/api/schematics/sdk/schema.json +19 -0
- package/generator/api/sdk.config.example.json +22 -0
- package/generator/guide/README.md +84 -0
- package/generator/guide/bin/package.json +3 -0
- package/generator/guide/bin/schematics/build/index.js +35 -0
- package/generator/guide/bin/schematics/init/index.js +70 -0
- package/generator/guide/bin/src/config/loader.js +50 -0
- package/generator/guide/bin/src/config/schema.js +12 -0
- package/generator/guide/bin/src/engine/component.js +73 -0
- package/generator/guide/bin/src/engine/frontmatter.js +42 -0
- package/generator/guide/bin/src/engine/index.js +42 -0
- package/generator/guide/bin/src/engine/naming.js +39 -0
- package/generator/guide/bin/src/engine/render.js +18 -0
- package/generator/guide/bin/src/engine/routes.js +106 -0
- package/generator/guide/bin/src/engine/walk.js +35 -0
- package/generator/guide/guide.config.example.json +9 -0
- package/generator/guide/schematics/build/schema.json +14 -0
- package/generator/guide/schematics/init/schema.json +19 -0
- package/layout/package.json +4 -0
- package/navigation/package.json +4 -0
- package/package.json +102 -39
- package/theme/package.json +4 -0
- package/theme/styles/etos.css +6 -0
- package/theme/styles/index.css +32 -0
- package/theme/styles/themes/library/_components.css +81 -0
- package/theme/styles/themes/library/_layers.css +15 -0
- package/theme/styles/themes/library/_material-overrides.css +254 -0
- package/theme/styles/themes/library/_tokens.css +55 -0
- package/theme/styles/themes/library/color/amber.css +31 -0
- package/theme/styles/themes/library/color/base.css +36 -0
- package/theme/styles/themes/library/color/blue.css +31 -0
- package/theme/styles/themes/library/color/cyan.css +31 -0
- package/theme/styles/themes/library/color/emerald.css +31 -0
- package/theme/styles/themes/library/color/fuchsia.css +31 -0
- package/theme/styles/themes/library/color/green.css +31 -0
- package/theme/styles/themes/library/color/index.css +22 -0
- package/theme/styles/themes/library/color/indigo.css +31 -0
- package/theme/styles/themes/library/color/lime.css +31 -0
- package/theme/styles/themes/library/color/orange.css +31 -0
- package/theme/styles/themes/library/color/pink.css +31 -0
- package/theme/styles/themes/library/color/purple.css +31 -0
- package/theme/styles/themes/library/color/red.css +31 -0
- package/theme/styles/themes/library/color/rose.css +31 -0
- package/theme/styles/themes/library/color/sky.css +31 -0
- package/theme/styles/themes/library/color/teal.css +31 -0
- package/theme/styles/themes/library/color/violet.css +31 -0
- package/theme/styles/themes/library/color/yellow.css +31 -0
- package/theme/styles/themes/library/style/brutal.css +50 -0
- package/theme/styles/themes/library/style/default.css +54 -0
- package/theme/styles/themes/library/style/index.css +8 -0
- package/theme/styles/themes/library/style/sharp.css +50 -0
- package/theme/styles/themes/library/style/soft.css +50 -0
- package/theme/styles/themes/mode/dark.css +20 -0
- package/theme/styles/themes/mode/index.css +6 -0
- package/theme/styles/themes/mode/light.css +24 -0
- package/theme/styles/themes/tailwind.css +114 -0
- package/types/ojiepermana-angular-brand-etos.d.ts +162 -0
- package/types/ojiepermana-angular-chart.d.ts +1094 -0
- package/types/ojiepermana-angular-component.d.ts +1386 -0
- package/types/ojiepermana-angular-generator-api.d.ts +85 -0
- package/types/ojiepermana-angular-layout.d.ts +163 -0
- package/types/ojiepermana-angular-navigation.d.ts +388 -0
- package/types/ojiepermana-angular-theme.d.ts +171 -0
- package/types/ojiepermana-angular.d.ts +3 -0
- package/fesm2022/edsis-angular-auth.mjs +0 -1209
- package/fesm2022/edsis-angular-auth.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-access.mjs +0 -1364
- package/fesm2022/edsis-angular-sdk-access.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-approval.mjs +0 -1258
- package/fesm2022/edsis-angular-sdk-approval.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-auth.mjs +0 -253
- package/fesm2022/edsis-angular-sdk-auth.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-employee.mjs +0 -283
- package/fesm2022/edsis-angular-sdk-employee.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-health.mjs +0 -95
- package/fesm2022/edsis-angular-sdk-health.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-shared.mjs +0 -2740
- package/fesm2022/edsis-angular-sdk-shared.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-storage.mjs +0 -287
- package/fesm2022/edsis-angular-sdk-storage.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk-user.mjs +0 -488
- package/fesm2022/edsis-angular-sdk-user.mjs.map +0 -1
- package/fesm2022/edsis-angular-sdk.mjs +0 -6730
- package/fesm2022/edsis-angular-sdk.mjs.map +0 -1
- package/fesm2022/edsis-angular.mjs +0 -8
- package/fesm2022/edsis-angular.mjs.map +0 -1
- package/types/edsis-angular-auth.d.ts +0 -119
- package/types/edsis-angular-sdk-access.d.ts +0 -546
- package/types/edsis-angular-sdk-approval.d.ts +0 -637
- package/types/edsis-angular-sdk-auth.d.ts +0 -127
- package/types/edsis-angular-sdk-employee.d.ts +0 -158
- package/types/edsis-angular-sdk-health.d.ts +0 -34
- package/types/edsis-angular-sdk-shared.d.ts +0 -176
- package/types/edsis-angular-sdk-storage.d.ts +0 -101
- package/types/edsis-angular-sdk-user.d.ts +0 -188
- package/types/edsis-angular-sdk.d.ts +0 -1927
- package/types/edsis-angular.d.ts +0 -2
|
@@ -1,1927 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { EnvironmentProviders } from '@angular/core';
|
|
3
|
-
import { HttpClient, HttpContext, HttpRequest, HttpResponse } from '@angular/common/http';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
import { NavigationItem } from '@ojiepermana/angular/navigation';
|
|
6
|
-
import { ApiOperationRule as ApiOperationRule$1, PaginationMeta as PaginationMeta$1, StrictHttpResponse as StrictHttpResponse$1, BaseService as BaseService$1 } from '@edsis/angular/sdk/shared';
|
|
7
|
-
|
|
8
|
-
declare class ApiConfiguration {
|
|
9
|
-
rootUrl: string;
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiConfiguration, never>;
|
|
11
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiConfiguration>;
|
|
12
|
-
}
|
|
13
|
-
declare function provideApiConfiguration(rootUrl: string): EnvironmentProviders;
|
|
14
|
-
|
|
15
|
-
declare class BaseService {
|
|
16
|
-
protected readonly config: ApiConfiguration;
|
|
17
|
-
protected readonly http: HttpClient;
|
|
18
|
-
private _rootUrl?;
|
|
19
|
-
get rootUrl(): string;
|
|
20
|
-
set rootUrl(url: string);
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
|
|
22
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
interface BuildOptions {
|
|
26
|
-
accept?: string;
|
|
27
|
-
responseType?: 'json' | 'text' | 'blob' | 'arraybuffer';
|
|
28
|
-
reportProgress?: boolean;
|
|
29
|
-
context?: HttpContext;
|
|
30
|
-
}
|
|
31
|
-
declare class RequestBuilder {
|
|
32
|
-
readonly rootUrl: string;
|
|
33
|
-
readonly operationPath: string;
|
|
34
|
-
readonly method: string;
|
|
35
|
-
private readonly _pathParams;
|
|
36
|
-
private readonly _queryParams;
|
|
37
|
-
private readonly _headerParams;
|
|
38
|
-
private _body;
|
|
39
|
-
private _bodyContentType;
|
|
40
|
-
constructor(rootUrl: string, operationPath: string, method: string);
|
|
41
|
-
path(name: string, value: unknown): void;
|
|
42
|
-
query(name: string, value: unknown): void;
|
|
43
|
-
header(name: string, value: unknown): void;
|
|
44
|
-
body(value: unknown, contentType?: string): void;
|
|
45
|
-
build<T = unknown>(options?: BuildOptions): HttpRequest<T>;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
type StrictHttpResponse<T> = HttpResponse<T> & {
|
|
49
|
-
readonly body: T;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
type ApiFn<P, R> = (http: HttpClient, rootUrl: string, params: P, context?: HttpContext) => Observable<StrictHttpResponse<R>>;
|
|
53
|
-
/**
|
|
54
|
-
* Helper to invoke any tree-shakeable operation function directly.
|
|
55
|
-
*/
|
|
56
|
-
declare class Api {
|
|
57
|
-
private readonly config;
|
|
58
|
-
private readonly http;
|
|
59
|
-
private _rootUrl?;
|
|
60
|
-
get rootUrl(): string;
|
|
61
|
-
set rootUrl(url: string);
|
|
62
|
-
/** Invoke an operation function and stream the response body. */
|
|
63
|
-
invoke<P, R>(fn: ApiFn<P, R>, params: P, context?: HttpContext): Observable<R>;
|
|
64
|
-
/** Invoke an operation function and stream the full HTTP response. */
|
|
65
|
-
invoke$Response<P, R>(fn: ApiFn<P, R>, params: P, context?: HttpContext): Observable<StrictHttpResponse<R>>;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<Api, never>;
|
|
67
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<Api>;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
interface ValidationErrorDetail {
|
|
71
|
-
field?: string;
|
|
72
|
-
message?: string;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
interface ErrorResponse {
|
|
76
|
-
status?: string;
|
|
77
|
-
message?: string;
|
|
78
|
-
error_code?: string;
|
|
79
|
-
details?: ValidationErrorDetail[];
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
interface PaginationMeta {
|
|
83
|
-
current_page?: number;
|
|
84
|
-
per_page?: number;
|
|
85
|
-
total?: number;
|
|
86
|
-
last_page?: number;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
interface ApiFieldRule {
|
|
90
|
-
required?: boolean;
|
|
91
|
-
type?: string;
|
|
92
|
-
format?: string;
|
|
93
|
-
description?: string;
|
|
94
|
-
nullable?: boolean;
|
|
95
|
-
minLength?: number;
|
|
96
|
-
maxLength?: number;
|
|
97
|
-
minimum?: number;
|
|
98
|
-
maximum?: number;
|
|
99
|
-
pattern?: string;
|
|
100
|
-
enumValues?: readonly (string | number)[];
|
|
101
|
-
ref?: string;
|
|
102
|
-
itemsRef?: string;
|
|
103
|
-
itemsType?: string;
|
|
104
|
-
}
|
|
105
|
-
interface ApiSchemaRule {
|
|
106
|
-
required: readonly string[];
|
|
107
|
-
properties: Record<string, ApiFieldRule>;
|
|
108
|
-
}
|
|
109
|
-
interface ApiOperationRule {
|
|
110
|
-
method: string;
|
|
111
|
-
path: string;
|
|
112
|
-
tags: readonly string[];
|
|
113
|
-
summary?: string;
|
|
114
|
-
description?: string;
|
|
115
|
-
requiredPermissions: readonly string[];
|
|
116
|
-
authorizationNotes: readonly string[];
|
|
117
|
-
securitySchemes: readonly string[];
|
|
118
|
-
pathParams: Record<string, ApiFieldRule>;
|
|
119
|
-
queryParams: Record<string, ApiFieldRule>;
|
|
120
|
-
bodySchema?: string;
|
|
121
|
-
responseSchemas: Record<string, string | undefined>;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
declare const accessValidationSchemas: Record<string, ApiSchemaRule>;
|
|
125
|
-
|
|
126
|
-
declare const actorValidationSchemas: Record<string, ApiSchemaRule>;
|
|
127
|
-
|
|
128
|
-
declare const approvalValidationSchemas: Record<string, ApiSchemaRule>;
|
|
129
|
-
|
|
130
|
-
declare const approveValidationSchemas: Record<string, ApiSchemaRule>;
|
|
131
|
-
|
|
132
|
-
declare const authValidationSchemas: Record<string, ApiSchemaRule>;
|
|
133
|
-
|
|
134
|
-
declare const createValidationSchemas: Record<string, ApiSchemaRule>;
|
|
135
|
-
|
|
136
|
-
declare const definitionValidationSchemas: Record<string, ApiSchemaRule>;
|
|
137
|
-
|
|
138
|
-
declare const employeeValidationSchemas: Record<string, ApiSchemaRule>;
|
|
139
|
-
|
|
140
|
-
declare const errorValidationSchemas: Record<string, ApiSchemaRule>;
|
|
141
|
-
|
|
142
|
-
declare const instanceValidationSchemas: Record<string, ApiSchemaRule>;
|
|
143
|
-
|
|
144
|
-
declare const magicValidationSchemas: Record<string, ApiSchemaRule>;
|
|
145
|
-
|
|
146
|
-
declare const paginationValidationSchemas: Record<string, ApiSchemaRule>;
|
|
147
|
-
|
|
148
|
-
declare const pendingValidationSchemas: Record<string, ApiSchemaRule>;
|
|
149
|
-
|
|
150
|
-
declare const permissionValidationSchemas: Record<string, ApiSchemaRule>;
|
|
151
|
-
|
|
152
|
-
declare const rejectValidationSchemas: Record<string, ApiSchemaRule>;
|
|
153
|
-
|
|
154
|
-
declare const roleValidationSchemas: Record<string, ApiSchemaRule>;
|
|
155
|
-
|
|
156
|
-
declare const stageValidationSchemas: Record<string, ApiSchemaRule>;
|
|
157
|
-
|
|
158
|
-
declare const storageValidationSchemas: Record<string, ApiSchemaRule>;
|
|
159
|
-
|
|
160
|
-
declare const submitValidationSchemas: Record<string, ApiSchemaRule>;
|
|
161
|
-
|
|
162
|
-
declare const transitionValidationSchemas: Record<string, ApiSchemaRule>;
|
|
163
|
-
|
|
164
|
-
declare const updateValidationSchemas: Record<string, ApiSchemaRule>;
|
|
165
|
-
|
|
166
|
-
declare const userValidationSchemas: Record<string, ApiSchemaRule>;
|
|
167
|
-
|
|
168
|
-
declare const validationValidationSchemas: Record<string, ApiSchemaRule>;
|
|
169
|
-
|
|
170
|
-
declare const workflowValidationSchemas: Record<string, ApiSchemaRule>;
|
|
171
|
-
|
|
172
|
-
declare const apiValidationSchemas: Record<string, ApiSchemaRule>;
|
|
173
|
-
|
|
174
|
-
declare const ApiNavigation: NavigationItem[];
|
|
175
|
-
|
|
176
|
-
declare const approvalInstanceOperationRules: Record<string, ApiOperationRule$1>;
|
|
177
|
-
|
|
178
|
-
declare const approvalActorOperationRules: Record<string, ApiOperationRule$1>;
|
|
179
|
-
|
|
180
|
-
declare const approvalDefinitionOperationRules: Record<string, ApiOperationRule$1>;
|
|
181
|
-
|
|
182
|
-
declare const approvalStageOperationRules: Record<string, ApiOperationRule$1>;
|
|
183
|
-
|
|
184
|
-
declare const approvalTransitionOperationRules: Record<string, ApiOperationRule$1>;
|
|
185
|
-
|
|
186
|
-
declare const employeeOperationRules: Record<string, ApiOperationRule$1>;
|
|
187
|
-
|
|
188
|
-
declare const permissionOperationRules: Record<string, ApiOperationRule$1>;
|
|
189
|
-
|
|
190
|
-
declare const permissionUserOperationRules: Record<string, ApiOperationRule$1>;
|
|
191
|
-
|
|
192
|
-
declare const roleOperationRules: Record<string, ApiOperationRule$1>;
|
|
193
|
-
|
|
194
|
-
declare const rolePermissionOperationRules: Record<string, ApiOperationRule$1>;
|
|
195
|
-
|
|
196
|
-
declare const roleUserOperationRules: Record<string, ApiOperationRule$1>;
|
|
197
|
-
|
|
198
|
-
declare const userOperationRules: Record<string, ApiOperationRule$1>;
|
|
199
|
-
|
|
200
|
-
declare const gCSOperationRules: Record<string, ApiOperationRule$1>;
|
|
201
|
-
|
|
202
|
-
declare const s3OperationRules: Record<string, ApiOperationRule$1>;
|
|
203
|
-
|
|
204
|
-
declare const healthOperationRules: Record<string, ApiOperationRule$1>;
|
|
205
|
-
|
|
206
|
-
declare const authOperationRules: Record<string, ApiOperationRule$1>;
|
|
207
|
-
|
|
208
|
-
declare const apiOperationRules: Record<string, ApiOperationRule>;
|
|
209
|
-
|
|
210
|
-
declare function getSchemaRule(schemaName: string): ApiSchemaRule | undefined;
|
|
211
|
-
declare function getFieldRule(schemaName: string, fieldName: string): ApiFieldRule | undefined;
|
|
212
|
-
declare function getOperationRule(operationId: string): ApiOperationRule | undefined;
|
|
213
|
-
declare function getRequiredPermissions(operationId: string): readonly string[];
|
|
214
|
-
declare function hasRequiredPermissions(operationId: string, ownedPermissions: readonly string[]): boolean;
|
|
215
|
-
|
|
216
|
-
interface AccessMutationAckResponse {
|
|
217
|
-
status?: string;
|
|
218
|
-
message?: string;
|
|
219
|
-
data?: Record<string, unknown>;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
interface CreatePermissionRequest {
|
|
223
|
-
namespace: string;
|
|
224
|
-
resource: string;
|
|
225
|
-
action: string;
|
|
226
|
-
scope?: string;
|
|
227
|
-
description?: string;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
interface CreatePermissionUserRequest {
|
|
231
|
-
permission_id: string;
|
|
232
|
-
user_id: string;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
interface CreateRolePermissionRequest {
|
|
236
|
-
role_id: string;
|
|
237
|
-
permission_id: string;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
interface CreateRoleRequest {
|
|
241
|
-
name: string;
|
|
242
|
-
code: string;
|
|
243
|
-
description?: string;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
interface CreateRoleUserRequest {
|
|
247
|
-
role_id: string;
|
|
248
|
-
user_id: string;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
interface Permission {
|
|
252
|
-
id?: string;
|
|
253
|
-
name?: string;
|
|
254
|
-
code?: string;
|
|
255
|
-
namespace?: string;
|
|
256
|
-
resource?: string;
|
|
257
|
-
action?: string;
|
|
258
|
-
scope?: string | null;
|
|
259
|
-
description?: string | null;
|
|
260
|
-
created_at?: string;
|
|
261
|
-
updated_at?: string;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
interface PermissionListResponse {
|
|
265
|
-
status?: string;
|
|
266
|
-
message?: string;
|
|
267
|
-
data?: Permission[];
|
|
268
|
-
meta?: PaginationMeta$1;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
interface PermissionResponse {
|
|
272
|
-
status?: string;
|
|
273
|
-
message?: string;
|
|
274
|
-
data?: Permission;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
interface PermissionUser {
|
|
278
|
-
id?: string;
|
|
279
|
-
permission_id?: string;
|
|
280
|
-
user_id?: string;
|
|
281
|
-
created_at?: string;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
interface PermissionUserListResponse {
|
|
285
|
-
status?: string;
|
|
286
|
-
message?: string;
|
|
287
|
-
data?: PermissionUser[];
|
|
288
|
-
meta?: PaginationMeta$1;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
interface PermissionUserResponse {
|
|
292
|
-
status?: string;
|
|
293
|
-
message?: string;
|
|
294
|
-
data?: PermissionUser;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
interface Role {
|
|
298
|
-
id?: string;
|
|
299
|
-
name?: string;
|
|
300
|
-
code?: string;
|
|
301
|
-
description?: string | null;
|
|
302
|
-
created_at?: string;
|
|
303
|
-
updated_at?: string;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
|
-
interface RoleListResponse {
|
|
307
|
-
status?: string;
|
|
308
|
-
message?: string;
|
|
309
|
-
data?: Role[];
|
|
310
|
-
meta?: PaginationMeta$1;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
interface RolePermission {
|
|
314
|
-
id?: string;
|
|
315
|
-
role_id?: string;
|
|
316
|
-
permission_id?: string;
|
|
317
|
-
created_at?: string;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
interface RolePermissionListResponse {
|
|
321
|
-
status?: string;
|
|
322
|
-
message?: string;
|
|
323
|
-
data?: RolePermission[];
|
|
324
|
-
meta?: PaginationMeta$1;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
interface RolePermissionResponse {
|
|
328
|
-
status?: string;
|
|
329
|
-
message?: string;
|
|
330
|
-
data?: RolePermission;
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
interface RoleResponse {
|
|
334
|
-
status?: string;
|
|
335
|
-
message?: string;
|
|
336
|
-
data?: Role;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
interface RoleUser {
|
|
340
|
-
id?: string;
|
|
341
|
-
role_id?: string;
|
|
342
|
-
user_id?: string;
|
|
343
|
-
created_at?: string;
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
interface RoleUserListResponse {
|
|
347
|
-
status?: string;
|
|
348
|
-
message?: string;
|
|
349
|
-
data?: RoleUser[];
|
|
350
|
-
meta?: PaginationMeta$1;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
interface RoleUserResponse {
|
|
354
|
-
status?: string;
|
|
355
|
-
message?: string;
|
|
356
|
-
data?: RoleUser;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
interface UpdatePermissionRequest {
|
|
360
|
-
namespace?: string;
|
|
361
|
-
resource?: string;
|
|
362
|
-
action?: string;
|
|
363
|
-
scope?: string;
|
|
364
|
-
description?: string;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
interface UpdatePermissionUserRequest {
|
|
368
|
-
permission_id?: string;
|
|
369
|
-
user_id?: string;
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
interface UpdateRolePermissionRequest {
|
|
373
|
-
role_id?: string;
|
|
374
|
-
permission_id?: string;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
interface UpdateRoleRequest {
|
|
378
|
-
name?: string;
|
|
379
|
-
code?: string;
|
|
380
|
-
description?: string;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
interface UpdateRoleUserRequest {
|
|
384
|
-
role_id?: string;
|
|
385
|
-
user_id?: string;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
interface CreatePermission$Params {
|
|
389
|
-
body: CreatePermissionRequest;
|
|
390
|
-
}
|
|
391
|
-
declare function createPermission(http: HttpClient, rootUrl: string, params: CreatePermission$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
392
|
-
declare namespace createPermission {
|
|
393
|
-
var PATH: string;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
interface DeletePermissionByID$Params {
|
|
397
|
-
id: string;
|
|
398
|
-
}
|
|
399
|
-
declare function deletePermissionByID(http: HttpClient, rootUrl: string, params: DeletePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
400
|
-
declare namespace deletePermissionByID {
|
|
401
|
-
var PATH: string;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
interface GetPermissionByID$Params {
|
|
405
|
-
id: string;
|
|
406
|
-
}
|
|
407
|
-
declare function getPermissionByID(http: HttpClient, rootUrl: string, params: GetPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
408
|
-
declare namespace getPermissionByID {
|
|
409
|
-
var PATH: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
interface ListPermissions$Params {
|
|
413
|
-
page?: number;
|
|
414
|
-
limit?: number;
|
|
415
|
-
sort?: 'created_at' | 'name' | 'code' | 'resource' | 'action' | 'updated_at';
|
|
416
|
-
order?: 'asc' | 'desc';
|
|
417
|
-
search?: string;
|
|
418
|
-
namespace?: string;
|
|
419
|
-
resource?: string;
|
|
420
|
-
action?: string;
|
|
421
|
-
scope?: string;
|
|
422
|
-
}
|
|
423
|
-
declare function listPermissions(http: HttpClient, rootUrl: string, params?: ListPermissions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionListResponse>>;
|
|
424
|
-
declare namespace listPermissions {
|
|
425
|
-
var PATH: string;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
interface PatchPermissionByID$Params {
|
|
429
|
-
id: string;
|
|
430
|
-
body: UpdatePermissionRequest;
|
|
431
|
-
}
|
|
432
|
-
declare function patchPermissionByID(http: HttpClient, rootUrl: string, params: PatchPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
433
|
-
declare namespace patchPermissionByID {
|
|
434
|
-
var PATH: string;
|
|
435
|
-
}
|
|
436
|
-
|
|
437
|
-
declare class PermissionService extends BaseService$1 {
|
|
438
|
-
/** Create permission (POST /v1/access/permission) */
|
|
439
|
-
createPermission$Response(params: CreatePermission$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
440
|
-
/** Create permission (POST /v1/access/permission) */
|
|
441
|
-
createPermission(params: CreatePermission$Params, context?: HttpContext): Observable<PermissionResponse>;
|
|
442
|
-
/** Delete permission (DELETE /v1/access/permission/{id}) */
|
|
443
|
-
deletePermissionByID$Response(params: DeletePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
444
|
-
/** Delete permission (DELETE /v1/access/permission/{id}) */
|
|
445
|
-
deletePermissionByID(params: DeletePermissionByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
|
|
446
|
-
/** Get permission detail (GET /v1/access/permission/{id}) */
|
|
447
|
-
getPermissionByID$Response(params: GetPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
448
|
-
/** Get permission detail (GET /v1/access/permission/{id}) */
|
|
449
|
-
getPermissionByID(params: GetPermissionByID$Params, context?: HttpContext): Observable<PermissionResponse>;
|
|
450
|
-
/** List permissions (GET /v1/access/permission) */
|
|
451
|
-
listPermissions$Response(params?: ListPermissions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionListResponse>>;
|
|
452
|
-
/** List permissions (GET /v1/access/permission) */
|
|
453
|
-
listPermissions(params?: ListPermissions$Params, context?: HttpContext): Observable<PermissionListResponse>;
|
|
454
|
-
/** Update permission (PATCH /v1/access/permission/{id}) */
|
|
455
|
-
patchPermissionByID$Response(params: PatchPermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionResponse>>;
|
|
456
|
-
/** Update permission (PATCH /v1/access/permission/{id}) */
|
|
457
|
-
patchPermissionByID(params: PatchPermissionByID$Params, context?: HttpContext): Observable<PermissionResponse>;
|
|
458
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionService, never>;
|
|
459
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionService>;
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
interface CreatePermissionUser$Params {
|
|
463
|
-
body: CreatePermissionUserRequest;
|
|
464
|
-
}
|
|
465
|
-
declare function createPermissionUser(http: HttpClient, rootUrl: string, params: CreatePermissionUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
466
|
-
declare namespace createPermissionUser {
|
|
467
|
-
var PATH: string;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
|
-
interface DeletePermissionUserByID$Params {
|
|
471
|
-
id: string;
|
|
472
|
-
}
|
|
473
|
-
declare function deletePermissionUserByID(http: HttpClient, rootUrl: string, params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
474
|
-
declare namespace deletePermissionUserByID {
|
|
475
|
-
var PATH: string;
|
|
476
|
-
}
|
|
477
|
-
|
|
478
|
-
interface GetPermissionUserByID$Params {
|
|
479
|
-
id: string;
|
|
480
|
-
}
|
|
481
|
-
declare function getPermissionUserByID(http: HttpClient, rootUrl: string, params: GetPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
482
|
-
declare namespace getPermissionUserByID {
|
|
483
|
-
var PATH: string;
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
interface ListPermissionUsers$Params {
|
|
487
|
-
page?: number;
|
|
488
|
-
limit?: number;
|
|
489
|
-
sort?: 'created_at' | 'permission_id' | 'user_id';
|
|
490
|
-
order?: 'asc' | 'desc';
|
|
491
|
-
permission_id?: string;
|
|
492
|
-
user_id?: string;
|
|
493
|
-
}
|
|
494
|
-
declare function listPermissionUsers(http: HttpClient, rootUrl: string, params?: ListPermissionUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserListResponse>>;
|
|
495
|
-
declare namespace listPermissionUsers {
|
|
496
|
-
var PATH: string;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
interface PatchPermissionUserByID$Params {
|
|
500
|
-
id: string;
|
|
501
|
-
body: UpdatePermissionUserRequest;
|
|
502
|
-
}
|
|
503
|
-
declare function patchPermissionUserByID(http: HttpClient, rootUrl: string, params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
504
|
-
declare namespace patchPermissionUserByID {
|
|
505
|
-
var PATH: string;
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
declare class PermissionUserService extends BaseService$1 {
|
|
509
|
-
/** Create permission-user relation (POST /v1/access/permission-user) */
|
|
510
|
-
createPermissionUser$Response(params: CreatePermissionUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
511
|
-
/** Create permission-user relation (POST /v1/access/permission-user) */
|
|
512
|
-
createPermissionUser(params: CreatePermissionUser$Params, context?: HttpContext): Observable<PermissionUserResponse>;
|
|
513
|
-
/** Delete permission-user relation (DELETE /v1/access/permission-user/{id}) */
|
|
514
|
-
deletePermissionUserByID$Response(params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
515
|
-
/** Delete permission-user relation (DELETE /v1/access/permission-user/{id}) */
|
|
516
|
-
deletePermissionUserByID(params: DeletePermissionUserByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
|
|
517
|
-
/** Get permission-user detail (GET /v1/access/permission-user/{id}) */
|
|
518
|
-
getPermissionUserByID$Response(params: GetPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
519
|
-
/** Get permission-user detail (GET /v1/access/permission-user/{id}) */
|
|
520
|
-
getPermissionUserByID(params: GetPermissionUserByID$Params, context?: HttpContext): Observable<PermissionUserResponse>;
|
|
521
|
-
/** List permission-user relations (GET /v1/access/permission-user) */
|
|
522
|
-
listPermissionUsers$Response(params?: ListPermissionUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserListResponse>>;
|
|
523
|
-
/** List permission-user relations (GET /v1/access/permission-user) */
|
|
524
|
-
listPermissionUsers(params?: ListPermissionUsers$Params, context?: HttpContext): Observable<PermissionUserListResponse>;
|
|
525
|
-
/** Update permission-user relation (PATCH /v1/access/permission-user/{id}) */
|
|
526
|
-
patchPermissionUserByID$Response(params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PermissionUserResponse>>;
|
|
527
|
-
/** Update permission-user relation (PATCH /v1/access/permission-user/{id}) */
|
|
528
|
-
patchPermissionUserByID(params: PatchPermissionUserByID$Params, context?: HttpContext): Observable<PermissionUserResponse>;
|
|
529
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PermissionUserService, never>;
|
|
530
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PermissionUserService>;
|
|
531
|
-
}
|
|
532
|
-
|
|
533
|
-
interface CreateRole$Params {
|
|
534
|
-
body: CreateRoleRequest;
|
|
535
|
-
}
|
|
536
|
-
declare function createRole(http: HttpClient, rootUrl: string, params: CreateRole$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
537
|
-
declare namespace createRole {
|
|
538
|
-
var PATH: string;
|
|
539
|
-
}
|
|
540
|
-
|
|
541
|
-
interface DeleteRoleByID$Params {
|
|
542
|
-
id: string;
|
|
543
|
-
}
|
|
544
|
-
declare function deleteRoleByID(http: HttpClient, rootUrl: string, params: DeleteRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
545
|
-
declare namespace deleteRoleByID {
|
|
546
|
-
var PATH: string;
|
|
547
|
-
}
|
|
548
|
-
|
|
549
|
-
interface GetRoleByID$Params {
|
|
550
|
-
id: string;
|
|
551
|
-
}
|
|
552
|
-
declare function getRoleByID(http: HttpClient, rootUrl: string, params: GetRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
553
|
-
declare namespace getRoleByID {
|
|
554
|
-
var PATH: string;
|
|
555
|
-
}
|
|
556
|
-
|
|
557
|
-
interface ListRoles$Params {
|
|
558
|
-
page?: number;
|
|
559
|
-
limit?: number;
|
|
560
|
-
sort?: 'created_at' | 'name' | 'code' | 'updated_at';
|
|
561
|
-
order?: 'asc' | 'desc';
|
|
562
|
-
search?: string;
|
|
563
|
-
}
|
|
564
|
-
declare function listRoles(http: HttpClient, rootUrl: string, params?: ListRoles$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleListResponse>>;
|
|
565
|
-
declare namespace listRoles {
|
|
566
|
-
var PATH: string;
|
|
567
|
-
}
|
|
568
|
-
|
|
569
|
-
interface PatchRoleByID$Params {
|
|
570
|
-
id: string;
|
|
571
|
-
body: UpdateRoleRequest;
|
|
572
|
-
}
|
|
573
|
-
declare function patchRoleByID(http: HttpClient, rootUrl: string, params: PatchRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
574
|
-
declare namespace patchRoleByID {
|
|
575
|
-
var PATH: string;
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
declare class RoleService extends BaseService$1 {
|
|
579
|
-
/** Create role (POST /v1/access/role) */
|
|
580
|
-
createRole$Response(params: CreateRole$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
581
|
-
/** Create role (POST /v1/access/role) */
|
|
582
|
-
createRole(params: CreateRole$Params, context?: HttpContext): Observable<RoleResponse>;
|
|
583
|
-
/** Delete role (DELETE /v1/access/role/{id}) */
|
|
584
|
-
deleteRoleByID$Response(params: DeleteRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
585
|
-
/** Delete role (DELETE /v1/access/role/{id}) */
|
|
586
|
-
deleteRoleByID(params: DeleteRoleByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
|
|
587
|
-
/** Get role detail (GET /v1/access/role/{id}) */
|
|
588
|
-
getRoleByID$Response(params: GetRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
589
|
-
/** Get role detail (GET /v1/access/role/{id}) */
|
|
590
|
-
getRoleByID(params: GetRoleByID$Params, context?: HttpContext): Observable<RoleResponse>;
|
|
591
|
-
/** List roles (GET /v1/access/role) */
|
|
592
|
-
listRoles$Response(params?: ListRoles$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleListResponse>>;
|
|
593
|
-
/** List roles (GET /v1/access/role) */
|
|
594
|
-
listRoles(params?: ListRoles$Params, context?: HttpContext): Observable<RoleListResponse>;
|
|
595
|
-
/** Update role (PATCH /v1/access/role/{id}) */
|
|
596
|
-
patchRoleByID$Response(params: PatchRoleByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleResponse>>;
|
|
597
|
-
/** Update role (PATCH /v1/access/role/{id}) */
|
|
598
|
-
patchRoleByID(params: PatchRoleByID$Params, context?: HttpContext): Observable<RoleResponse>;
|
|
599
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RoleService, never>;
|
|
600
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RoleService>;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
interface CreateRolePermission$Params {
|
|
604
|
-
body: CreateRolePermissionRequest;
|
|
605
|
-
}
|
|
606
|
-
declare function createRolePermission(http: HttpClient, rootUrl: string, params: CreateRolePermission$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
607
|
-
declare namespace createRolePermission {
|
|
608
|
-
var PATH: string;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
interface DeleteRolePermissionByID$Params {
|
|
612
|
-
id: string;
|
|
613
|
-
}
|
|
614
|
-
declare function deleteRolePermissionByID(http: HttpClient, rootUrl: string, params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
615
|
-
declare namespace deleteRolePermissionByID {
|
|
616
|
-
var PATH: string;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
interface GetRolePermissionByID$Params {
|
|
620
|
-
id: string;
|
|
621
|
-
}
|
|
622
|
-
declare function getRolePermissionByID(http: HttpClient, rootUrl: string, params: GetRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
623
|
-
declare namespace getRolePermissionByID {
|
|
624
|
-
var PATH: string;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
interface ListRolePermissions$Params {
|
|
628
|
-
page?: number;
|
|
629
|
-
limit?: number;
|
|
630
|
-
sort?: 'created_at' | 'role_id' | 'permission_id';
|
|
631
|
-
order?: 'asc' | 'desc';
|
|
632
|
-
role_id?: string;
|
|
633
|
-
permission_id?: string;
|
|
634
|
-
}
|
|
635
|
-
declare function listRolePermissions(http: HttpClient, rootUrl: string, params?: ListRolePermissions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionListResponse>>;
|
|
636
|
-
declare namespace listRolePermissions {
|
|
637
|
-
var PATH: string;
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
interface PatchRolePermissionByID$Params {
|
|
641
|
-
id: string;
|
|
642
|
-
body: UpdateRolePermissionRequest;
|
|
643
|
-
}
|
|
644
|
-
declare function patchRolePermissionByID(http: HttpClient, rootUrl: string, params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
645
|
-
declare namespace patchRolePermissionByID {
|
|
646
|
-
var PATH: string;
|
|
647
|
-
}
|
|
648
|
-
|
|
649
|
-
declare class RolePermissionService extends BaseService$1 {
|
|
650
|
-
/** Create role-permission relation (POST /v1/access/role-permission) */
|
|
651
|
-
createRolePermission$Response(params: CreateRolePermission$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
652
|
-
/** Create role-permission relation (POST /v1/access/role-permission) */
|
|
653
|
-
createRolePermission(params: CreateRolePermission$Params, context?: HttpContext): Observable<RolePermissionResponse>;
|
|
654
|
-
/** Delete role-permission relation (DELETE /v1/access/role-permission/{id}) */
|
|
655
|
-
deleteRolePermissionByID$Response(params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
656
|
-
/** Delete role-permission relation (DELETE /v1/access/role-permission/{id}) */
|
|
657
|
-
deleteRolePermissionByID(params: DeleteRolePermissionByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
|
|
658
|
-
/** Get role-permission detail (GET /v1/access/role-permission/{id}) */
|
|
659
|
-
getRolePermissionByID$Response(params: GetRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
660
|
-
/** Get role-permission detail (GET /v1/access/role-permission/{id}) */
|
|
661
|
-
getRolePermissionByID(params: GetRolePermissionByID$Params, context?: HttpContext): Observable<RolePermissionResponse>;
|
|
662
|
-
/** List role-permission relations (GET /v1/access/role-permission) */
|
|
663
|
-
listRolePermissions$Response(params?: ListRolePermissions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionListResponse>>;
|
|
664
|
-
/** List role-permission relations (GET /v1/access/role-permission) */
|
|
665
|
-
listRolePermissions(params?: ListRolePermissions$Params, context?: HttpContext): Observable<RolePermissionListResponse>;
|
|
666
|
-
/** Update role-permission relation (PATCH /v1/access/role-permission/{id}) */
|
|
667
|
-
patchRolePermissionByID$Response(params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RolePermissionResponse>>;
|
|
668
|
-
/** Update role-permission relation (PATCH /v1/access/role-permission/{id}) */
|
|
669
|
-
patchRolePermissionByID(params: PatchRolePermissionByID$Params, context?: HttpContext): Observable<RolePermissionResponse>;
|
|
670
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RolePermissionService, never>;
|
|
671
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RolePermissionService>;
|
|
672
|
-
}
|
|
673
|
-
|
|
674
|
-
interface CreateRoleUser$Params {
|
|
675
|
-
body: CreateRoleUserRequest;
|
|
676
|
-
}
|
|
677
|
-
declare function createRoleUser(http: HttpClient, rootUrl: string, params: CreateRoleUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
678
|
-
declare namespace createRoleUser {
|
|
679
|
-
var PATH: string;
|
|
680
|
-
}
|
|
681
|
-
|
|
682
|
-
interface DeleteRoleUserByID$Params {
|
|
683
|
-
id: string;
|
|
684
|
-
}
|
|
685
|
-
declare function deleteRoleUserByID(http: HttpClient, rootUrl: string, params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
686
|
-
declare namespace deleteRoleUserByID {
|
|
687
|
-
var PATH: string;
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
interface GetRoleUserByID$Params {
|
|
691
|
-
id: string;
|
|
692
|
-
}
|
|
693
|
-
declare function getRoleUserByID(http: HttpClient, rootUrl: string, params: GetRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
694
|
-
declare namespace getRoleUserByID {
|
|
695
|
-
var PATH: string;
|
|
696
|
-
}
|
|
697
|
-
|
|
698
|
-
interface ListRoleUsers$Params {
|
|
699
|
-
page?: number;
|
|
700
|
-
limit?: number;
|
|
701
|
-
sort?: 'created_at' | 'role_id' | 'user_id';
|
|
702
|
-
order?: 'asc' | 'desc';
|
|
703
|
-
role_id?: string;
|
|
704
|
-
user_id?: string;
|
|
705
|
-
}
|
|
706
|
-
declare function listRoleUsers(http: HttpClient, rootUrl: string, params?: ListRoleUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserListResponse>>;
|
|
707
|
-
declare namespace listRoleUsers {
|
|
708
|
-
var PATH: string;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
interface PatchRoleUserByID$Params {
|
|
712
|
-
id: string;
|
|
713
|
-
body: UpdateRoleUserRequest;
|
|
714
|
-
}
|
|
715
|
-
declare function patchRoleUserByID(http: HttpClient, rootUrl: string, params: PatchRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
716
|
-
declare namespace patchRoleUserByID {
|
|
717
|
-
var PATH: string;
|
|
718
|
-
}
|
|
719
|
-
|
|
720
|
-
declare class RoleUserService extends BaseService$1 {
|
|
721
|
-
/** Create role-user relation (POST /v1/access/role-user) */
|
|
722
|
-
createRoleUser$Response(params: CreateRoleUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
723
|
-
/** Create role-user relation (POST /v1/access/role-user) */
|
|
724
|
-
createRoleUser(params: CreateRoleUser$Params, context?: HttpContext): Observable<RoleUserResponse>;
|
|
725
|
-
/** Delete role-user relation (DELETE /v1/access/role-user/{id}) */
|
|
726
|
-
deleteRoleUserByID$Response(params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AccessMutationAckResponse>>;
|
|
727
|
-
/** Delete role-user relation (DELETE /v1/access/role-user/{id}) */
|
|
728
|
-
deleteRoleUserByID(params: DeleteRoleUserByID$Params, context?: HttpContext): Observable<AccessMutationAckResponse>;
|
|
729
|
-
/** Get role-user detail (GET /v1/access/role-user/{id}) */
|
|
730
|
-
getRoleUserByID$Response(params: GetRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
731
|
-
/** Get role-user detail (GET /v1/access/role-user/{id}) */
|
|
732
|
-
getRoleUserByID(params: GetRoleUserByID$Params, context?: HttpContext): Observable<RoleUserResponse>;
|
|
733
|
-
/** List role-user relations (GET /v1/access/role-user) */
|
|
734
|
-
listRoleUsers$Response(params?: ListRoleUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserListResponse>>;
|
|
735
|
-
/** List role-user relations (GET /v1/access/role-user) */
|
|
736
|
-
listRoleUsers(params?: ListRoleUsers$Params, context?: HttpContext): Observable<RoleUserListResponse>;
|
|
737
|
-
/** Update role-user relation (PATCH /v1/access/role-user/{id}) */
|
|
738
|
-
patchRoleUserByID$Response(params: PatchRoleUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<RoleUserResponse>>;
|
|
739
|
-
/** Update role-user relation (PATCH /v1/access/role-user/{id}) */
|
|
740
|
-
patchRoleUserByID(params: PatchRoleUserByID$Params, context?: HttpContext): Observable<RoleUserResponse>;
|
|
741
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<RoleUserService, never>;
|
|
742
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<RoleUserService>;
|
|
743
|
-
}
|
|
744
|
-
|
|
745
|
-
interface Actor {
|
|
746
|
-
id?: string;
|
|
747
|
-
stage_id?: string;
|
|
748
|
-
type?: 'USER' | 'ROLE' | 'DEPARTMENT' | 'POSITION';
|
|
749
|
-
ref_id?: string;
|
|
750
|
-
created_at?: string;
|
|
751
|
-
updated_at?: string;
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
interface ActorListResponse {
|
|
755
|
-
status?: string;
|
|
756
|
-
message?: string;
|
|
757
|
-
data?: Actor[];
|
|
758
|
-
meta?: PaginationMeta$1;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
interface ActorResponse {
|
|
762
|
-
status?: string;
|
|
763
|
-
message?: string;
|
|
764
|
-
data?: Actor;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
interface ApprovalMutationAckResponse {
|
|
768
|
-
status?: string;
|
|
769
|
-
message?: string;
|
|
770
|
-
data?: Record<string, unknown>;
|
|
771
|
-
}
|
|
772
|
-
|
|
773
|
-
interface ApproveRequest {
|
|
774
|
-
instance_id: string;
|
|
775
|
-
step_id: string;
|
|
776
|
-
comment?: string;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
interface CreateActorRequest {
|
|
780
|
-
stage_id: string;
|
|
781
|
-
type: 'USER' | 'ROLE' | 'DEPARTMENT' | 'POSITION';
|
|
782
|
-
ref_id: string;
|
|
783
|
-
}
|
|
784
|
-
|
|
785
|
-
interface CreateDefinitionActorRequest {
|
|
786
|
-
type: 'USER' | 'ROLE' | 'DEPARTMENT' | 'POSITION';
|
|
787
|
-
ref_id: string;
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
interface CreateDefinitionStageRequest {
|
|
791
|
-
level: number;
|
|
792
|
-
name: string;
|
|
793
|
-
is_parallel?: boolean;
|
|
794
|
-
actors?: CreateDefinitionActorRequest[];
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
interface CreateDefinitionTransitionRequest {
|
|
798
|
-
from_status: string;
|
|
799
|
-
to_status: string;
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
interface CreateDefinitionRequest {
|
|
803
|
-
code: string;
|
|
804
|
-
table_name: string;
|
|
805
|
-
is_active?: boolean;
|
|
806
|
-
transitions?: CreateDefinitionTransitionRequest[];
|
|
807
|
-
stages?: CreateDefinitionStageRequest[];
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
interface CreateStageRequest {
|
|
811
|
-
definition_id: string;
|
|
812
|
-
level: number;
|
|
813
|
-
name: string;
|
|
814
|
-
is_parallel?: boolean;
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
interface CreateTransitionRequest {
|
|
818
|
-
definition_id: string;
|
|
819
|
-
from_status: string;
|
|
820
|
-
to_status: string;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
interface Definition {
|
|
824
|
-
id?: string;
|
|
825
|
-
code?: string;
|
|
826
|
-
table_name?: string;
|
|
827
|
-
is_active?: boolean;
|
|
828
|
-
created_at?: string;
|
|
829
|
-
updated_at?: string;
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
interface StageDetail {
|
|
833
|
-
actors?: Actor[];
|
|
834
|
-
}
|
|
835
|
-
|
|
836
|
-
interface Transition {
|
|
837
|
-
id?: string;
|
|
838
|
-
definition_id?: string;
|
|
839
|
-
from_status?: string;
|
|
840
|
-
to_status?: string;
|
|
841
|
-
created_at?: string;
|
|
842
|
-
updated_at?: string;
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
interface DefinitionDetail {
|
|
846
|
-
transitions?: Transition[];
|
|
847
|
-
stages?: StageDetail[];
|
|
848
|
-
}
|
|
849
|
-
|
|
850
|
-
interface DefinitionListResponse {
|
|
851
|
-
status?: string;
|
|
852
|
-
message?: string;
|
|
853
|
-
data?: Definition[];
|
|
854
|
-
meta?: PaginationMeta$1;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
interface DefinitionResponse {
|
|
858
|
-
status?: string;
|
|
859
|
-
message?: string;
|
|
860
|
-
data?: DefinitionDetail;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
interface InstanceStepDetail {
|
|
864
|
-
id?: string;
|
|
865
|
-
stage_id?: string;
|
|
866
|
-
stage_level?: number;
|
|
867
|
-
stage_name?: string;
|
|
868
|
-
is_parallel?: boolean;
|
|
869
|
-
sequence?: number;
|
|
870
|
-
approver_id?: string;
|
|
871
|
-
actor_type?: string | null;
|
|
872
|
-
status?: 'pending' | 'approved' | 'rejected';
|
|
873
|
-
action_at?: string | null;
|
|
874
|
-
comment?: string | null;
|
|
875
|
-
updated_at?: string;
|
|
876
|
-
}
|
|
877
|
-
|
|
878
|
-
interface InstanceDetail {
|
|
879
|
-
id?: string;
|
|
880
|
-
definition_id?: string;
|
|
881
|
-
definition_code?: string;
|
|
882
|
-
table_name?: string;
|
|
883
|
-
record_id?: string;
|
|
884
|
-
current_stage?: number;
|
|
885
|
-
status?: 'pending' | 'approved' | 'rejected';
|
|
886
|
-
target_status?: string;
|
|
887
|
-
created_by?: string;
|
|
888
|
-
created_at?: string;
|
|
889
|
-
updated_at?: string;
|
|
890
|
-
steps?: InstanceStepDetail[];
|
|
891
|
-
}
|
|
892
|
-
|
|
893
|
-
interface InstanceDetailResponse {
|
|
894
|
-
status?: string;
|
|
895
|
-
message?: string;
|
|
896
|
-
data?: InstanceDetail;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
interface PendingItem {
|
|
900
|
-
instance_id?: string;
|
|
901
|
-
definition_id?: string;
|
|
902
|
-
definition_code?: string;
|
|
903
|
-
table_name?: string;
|
|
904
|
-
record_id?: string;
|
|
905
|
-
current_stage?: number;
|
|
906
|
-
status?: string;
|
|
907
|
-
target_status?: string;
|
|
908
|
-
created_by?: string;
|
|
909
|
-
created_at?: string;
|
|
910
|
-
updated_at?: string;
|
|
911
|
-
step_id?: string;
|
|
912
|
-
stage_id?: string;
|
|
913
|
-
stage_level?: number;
|
|
914
|
-
stage_name?: string;
|
|
915
|
-
approver_id?: string;
|
|
916
|
-
}
|
|
917
|
-
|
|
918
|
-
interface PendingListResponse {
|
|
919
|
-
status?: string;
|
|
920
|
-
message?: string;
|
|
921
|
-
data?: PendingItem[];
|
|
922
|
-
meta?: PaginationMeta$1;
|
|
923
|
-
}
|
|
924
|
-
|
|
925
|
-
interface RejectRequest {
|
|
926
|
-
instance_id: string;
|
|
927
|
-
step_id: string;
|
|
928
|
-
comment?: string;
|
|
929
|
-
}
|
|
930
|
-
|
|
931
|
-
interface Stage {
|
|
932
|
-
id?: string;
|
|
933
|
-
definition_id?: string;
|
|
934
|
-
level?: number;
|
|
935
|
-
name?: string;
|
|
936
|
-
is_parallel?: boolean;
|
|
937
|
-
created_at?: string;
|
|
938
|
-
updated_at?: string;
|
|
939
|
-
}
|
|
940
|
-
|
|
941
|
-
interface StageDetailResponse {
|
|
942
|
-
status?: string;
|
|
943
|
-
message?: string;
|
|
944
|
-
data?: StageDetail;
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
interface StageListResponse {
|
|
948
|
-
status?: string;
|
|
949
|
-
message?: string;
|
|
950
|
-
data?: Stage[];
|
|
951
|
-
meta?: PaginationMeta$1;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
interface StageResponse {
|
|
955
|
-
status?: string;
|
|
956
|
-
message?: string;
|
|
957
|
-
data?: Stage;
|
|
958
|
-
}
|
|
959
|
-
|
|
960
|
-
interface SubmitRequest {
|
|
961
|
-
code?: string;
|
|
962
|
-
table_name?: string;
|
|
963
|
-
record_id: string;
|
|
964
|
-
current_status: string;
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
interface TransitionListResponse {
|
|
968
|
-
status?: string;
|
|
969
|
-
message?: string;
|
|
970
|
-
data?: Transition[];
|
|
971
|
-
meta?: PaginationMeta$1;
|
|
972
|
-
}
|
|
973
|
-
|
|
974
|
-
interface TransitionResponse {
|
|
975
|
-
status?: string;
|
|
976
|
-
message?: string;
|
|
977
|
-
data?: Transition;
|
|
978
|
-
}
|
|
979
|
-
|
|
980
|
-
interface UpdateActorRequest {
|
|
981
|
-
type?: 'USER' | 'ROLE' | 'DEPARTMENT' | 'POSITION';
|
|
982
|
-
ref_id?: string;
|
|
983
|
-
}
|
|
984
|
-
|
|
985
|
-
interface UpdateDefinitionRequest {
|
|
986
|
-
code?: string;
|
|
987
|
-
table_name?: string;
|
|
988
|
-
is_active?: boolean;
|
|
989
|
-
}
|
|
990
|
-
|
|
991
|
-
interface UpdateStageRequest {
|
|
992
|
-
level?: number;
|
|
993
|
-
name?: string;
|
|
994
|
-
is_parallel?: boolean;
|
|
995
|
-
}
|
|
996
|
-
|
|
997
|
-
interface UpdateTransitionRequest {
|
|
998
|
-
from_status?: string;
|
|
999
|
-
to_status?: string;
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
interface WorkflowAction {
|
|
1003
|
-
instance_id?: string;
|
|
1004
|
-
status?: string;
|
|
1005
|
-
next_status?: string;
|
|
1006
|
-
current_stage?: number;
|
|
1007
|
-
table_name?: string;
|
|
1008
|
-
record_id?: string;
|
|
1009
|
-
}
|
|
1010
|
-
|
|
1011
|
-
interface WorkflowActionResponse {
|
|
1012
|
-
status?: string;
|
|
1013
|
-
message?: string;
|
|
1014
|
-
data?: WorkflowAction;
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
interface CreateApprovalActor$Params {
|
|
1018
|
-
body: CreateActorRequest;
|
|
1019
|
-
}
|
|
1020
|
-
declare function createApprovalActor(http: HttpClient, rootUrl: string, params: CreateApprovalActor$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1021
|
-
declare namespace createApprovalActor {
|
|
1022
|
-
var PATH: string;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
interface DeleteApprovalActorByID$Params {
|
|
1026
|
-
id: string;
|
|
1027
|
-
}
|
|
1028
|
-
declare function deleteApprovalActorByID(http: HttpClient, rootUrl: string, params: DeleteApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1029
|
-
declare namespace deleteApprovalActorByID {
|
|
1030
|
-
var PATH: string;
|
|
1031
|
-
}
|
|
1032
|
-
|
|
1033
|
-
interface GetApprovalActorByID$Params {
|
|
1034
|
-
id: string;
|
|
1035
|
-
}
|
|
1036
|
-
declare function getApprovalActorByID(http: HttpClient, rootUrl: string, params: GetApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1037
|
-
declare namespace getApprovalActorByID {
|
|
1038
|
-
var PATH: string;
|
|
1039
|
-
}
|
|
1040
|
-
|
|
1041
|
-
interface ListApprovalActors$Params {
|
|
1042
|
-
page?: number;
|
|
1043
|
-
limit?: number;
|
|
1044
|
-
sort?: 'created_at' | 'type' | 'ref_id' | 'updated_at';
|
|
1045
|
-
order?: 'asc' | 'desc';
|
|
1046
|
-
stage_id?: string;
|
|
1047
|
-
}
|
|
1048
|
-
declare function listApprovalActors(http: HttpClient, rootUrl: string, params?: ListApprovalActors$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorListResponse>>;
|
|
1049
|
-
declare namespace listApprovalActors {
|
|
1050
|
-
var PATH: string;
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
interface PatchApprovalActorByID$Params {
|
|
1054
|
-
id: string;
|
|
1055
|
-
body: UpdateActorRequest;
|
|
1056
|
-
}
|
|
1057
|
-
declare function patchApprovalActorByID(http: HttpClient, rootUrl: string, params: PatchApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1058
|
-
declare namespace patchApprovalActorByID {
|
|
1059
|
-
var PATH: string;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
declare class ApprovalActorService extends BaseService$1 {
|
|
1063
|
-
/** Create approval actor (POST /v1/approval/actor) */
|
|
1064
|
-
createApprovalActor$Response(params: CreateApprovalActor$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1065
|
-
/** Create approval actor (POST /v1/approval/actor) */
|
|
1066
|
-
createApprovalActor(params: CreateApprovalActor$Params, context?: HttpContext): Observable<ActorResponse>;
|
|
1067
|
-
/** Delete approval actor (DELETE /v1/approval/actor/{id}) */
|
|
1068
|
-
deleteApprovalActorByID$Response(params: DeleteApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1069
|
-
/** Delete approval actor (DELETE /v1/approval/actor/{id}) */
|
|
1070
|
-
deleteApprovalActorByID(params: DeleteApprovalActorByID$Params, context?: HttpContext): Observable<ApprovalMutationAckResponse>;
|
|
1071
|
-
/** Get approval actor detail (GET /v1/approval/actor/{id}) */
|
|
1072
|
-
getApprovalActorByID$Response(params: GetApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1073
|
-
/** Get approval actor detail (GET /v1/approval/actor/{id}) */
|
|
1074
|
-
getApprovalActorByID(params: GetApprovalActorByID$Params, context?: HttpContext): Observable<ActorResponse>;
|
|
1075
|
-
/** List approval actors (GET /v1/approval/actor) */
|
|
1076
|
-
listApprovalActors$Response(params?: ListApprovalActors$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorListResponse>>;
|
|
1077
|
-
/** List approval actors (GET /v1/approval/actor) */
|
|
1078
|
-
listApprovalActors(params?: ListApprovalActors$Params, context?: HttpContext): Observable<ActorListResponse>;
|
|
1079
|
-
/** Update approval actor (PATCH /v1/approval/actor/{id}) */
|
|
1080
|
-
patchApprovalActorByID$Response(params: PatchApprovalActorByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ActorResponse>>;
|
|
1081
|
-
/** Update approval actor (PATCH /v1/approval/actor/{id}) */
|
|
1082
|
-
patchApprovalActorByID(params: PatchApprovalActorByID$Params, context?: HttpContext): Observable<ActorResponse>;
|
|
1083
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalActorService, never>;
|
|
1084
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalActorService>;
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
interface CreateApprovalDefinition$Params {
|
|
1088
|
-
body: CreateDefinitionRequest;
|
|
1089
|
-
}
|
|
1090
|
-
declare function createApprovalDefinition(http: HttpClient, rootUrl: string, params: CreateApprovalDefinition$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1091
|
-
declare namespace createApprovalDefinition {
|
|
1092
|
-
var PATH: string;
|
|
1093
|
-
}
|
|
1094
|
-
|
|
1095
|
-
interface DeleteApprovalDefinitionByID$Params {
|
|
1096
|
-
id: string;
|
|
1097
|
-
}
|
|
1098
|
-
declare function deleteApprovalDefinitionByID(http: HttpClient, rootUrl: string, params: DeleteApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1099
|
-
declare namespace deleteApprovalDefinitionByID {
|
|
1100
|
-
var PATH: string;
|
|
1101
|
-
}
|
|
1102
|
-
|
|
1103
|
-
interface GetApprovalDefinitionByID$Params {
|
|
1104
|
-
id: string;
|
|
1105
|
-
}
|
|
1106
|
-
declare function getApprovalDefinitionByID(http: HttpClient, rootUrl: string, params: GetApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1107
|
-
declare namespace getApprovalDefinitionByID {
|
|
1108
|
-
var PATH: string;
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
|
-
interface ListApprovalDefinitions$Params {
|
|
1112
|
-
page?: number;
|
|
1113
|
-
limit?: number;
|
|
1114
|
-
sort?: 'created_at' | 'code' | 'table_name' | 'updated_at';
|
|
1115
|
-
order?: 'asc' | 'desc';
|
|
1116
|
-
search?: string;
|
|
1117
|
-
}
|
|
1118
|
-
declare function listApprovalDefinitions(http: HttpClient, rootUrl: string, params?: ListApprovalDefinitions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionListResponse>>;
|
|
1119
|
-
declare namespace listApprovalDefinitions {
|
|
1120
|
-
var PATH: string;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
interface PatchApprovalDefinitionByID$Params {
|
|
1124
|
-
id: string;
|
|
1125
|
-
body: UpdateDefinitionRequest;
|
|
1126
|
-
}
|
|
1127
|
-
declare function patchApprovalDefinitionByID(http: HttpClient, rootUrl: string, params: PatchApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1128
|
-
declare namespace patchApprovalDefinitionByID {
|
|
1129
|
-
var PATH: string;
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
declare class ApprovalDefinitionService extends BaseService$1 {
|
|
1133
|
-
/** Create approval definition (POST /v1/approval/definition) */
|
|
1134
|
-
createApprovalDefinition$Response(params: CreateApprovalDefinition$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1135
|
-
/** Create approval definition (POST /v1/approval/definition) */
|
|
1136
|
-
createApprovalDefinition(params: CreateApprovalDefinition$Params, context?: HttpContext): Observable<DefinitionResponse>;
|
|
1137
|
-
/** Delete approval definition (DELETE /v1/approval/definition/{id}) */
|
|
1138
|
-
deleteApprovalDefinitionByID$Response(params: DeleteApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1139
|
-
/** Delete approval definition (DELETE /v1/approval/definition/{id}) */
|
|
1140
|
-
deleteApprovalDefinitionByID(params: DeleteApprovalDefinitionByID$Params, context?: HttpContext): Observable<ApprovalMutationAckResponse>;
|
|
1141
|
-
/** Get approval definition detail (GET /v1/approval/definition/{id}) */
|
|
1142
|
-
getApprovalDefinitionByID$Response(params: GetApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1143
|
-
/** Get approval definition detail (GET /v1/approval/definition/{id}) */
|
|
1144
|
-
getApprovalDefinitionByID(params: GetApprovalDefinitionByID$Params, context?: HttpContext): Observable<DefinitionResponse>;
|
|
1145
|
-
/** List approval definitions (GET /v1/approval/definition) */
|
|
1146
|
-
listApprovalDefinitions$Response(params?: ListApprovalDefinitions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionListResponse>>;
|
|
1147
|
-
/** List approval definitions (GET /v1/approval/definition) */
|
|
1148
|
-
listApprovalDefinitions(params?: ListApprovalDefinitions$Params, context?: HttpContext): Observable<DefinitionListResponse>;
|
|
1149
|
-
/** Update approval definition (PATCH /v1/approval/definition/{id}) */
|
|
1150
|
-
patchApprovalDefinitionByID$Response(params: PatchApprovalDefinitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<DefinitionResponse>>;
|
|
1151
|
-
/** Update approval definition (PATCH /v1/approval/definition/{id}) */
|
|
1152
|
-
patchApprovalDefinitionByID(params: PatchApprovalDefinitionByID$Params, context?: HttpContext): Observable<DefinitionResponse>;
|
|
1153
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalDefinitionService, never>;
|
|
1154
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalDefinitionService>;
|
|
1155
|
-
}
|
|
1156
|
-
|
|
1157
|
-
interface ApproveApprovalStep$Params {
|
|
1158
|
-
body: ApproveRequest;
|
|
1159
|
-
}
|
|
1160
|
-
declare function approveApprovalStep(http: HttpClient, rootUrl: string, params: ApproveApprovalStep$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1161
|
-
declare namespace approveApprovalStep {
|
|
1162
|
-
var PATH: string;
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
interface GetApprovalInstanceByID$Params {
|
|
1166
|
-
id: string;
|
|
1167
|
-
}
|
|
1168
|
-
declare function getApprovalInstanceByID(http: HttpClient, rootUrl: string, params: GetApprovalInstanceByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<InstanceDetailResponse>>;
|
|
1169
|
-
declare namespace getApprovalInstanceByID {
|
|
1170
|
-
var PATH: string;
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
|
-
interface ListPendingApprovalItems$Params {
|
|
1174
|
-
page?: number;
|
|
1175
|
-
limit?: number;
|
|
1176
|
-
sort?: 'created_at' | 'updated_at' | 'table_name' | 'record_id' | 'current_stage';
|
|
1177
|
-
order?: 'asc' | 'desc';
|
|
1178
|
-
}
|
|
1179
|
-
declare function listPendingApprovalItems(http: HttpClient, rootUrl: string, params?: ListPendingApprovalItems$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PendingListResponse>>;
|
|
1180
|
-
declare namespace listPendingApprovalItems {
|
|
1181
|
-
var PATH: string;
|
|
1182
|
-
}
|
|
1183
|
-
|
|
1184
|
-
interface RejectApprovalStep$Params {
|
|
1185
|
-
body: RejectRequest;
|
|
1186
|
-
}
|
|
1187
|
-
declare function rejectApprovalStep(http: HttpClient, rootUrl: string, params: RejectApprovalStep$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1188
|
-
declare namespace rejectApprovalStep {
|
|
1189
|
-
var PATH: string;
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
interface SubmitApprovalWorkflow$Params {
|
|
1193
|
-
body: SubmitRequest;
|
|
1194
|
-
}
|
|
1195
|
-
declare function submitApprovalWorkflow(http: HttpClient, rootUrl: string, params: SubmitApprovalWorkflow$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1196
|
-
declare namespace submitApprovalWorkflow {
|
|
1197
|
-
var PATH: string;
|
|
1198
|
-
}
|
|
1199
|
-
|
|
1200
|
-
declare class ApprovalInstanceService extends BaseService$1 {
|
|
1201
|
-
/** Approve current approval step (POST /v1/approval/approve) */
|
|
1202
|
-
approveApprovalStep$Response(params: ApproveApprovalStep$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1203
|
-
/** Approve current approval step (POST /v1/approval/approve) */
|
|
1204
|
-
approveApprovalStep(params: ApproveApprovalStep$Params, context?: HttpContext): Observable<WorkflowActionResponse>;
|
|
1205
|
-
/** Get approval instance detail (GET /v1/approval/instance/{id}) */
|
|
1206
|
-
getApprovalInstanceByID$Response(params: GetApprovalInstanceByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<InstanceDetailResponse>>;
|
|
1207
|
-
/** Get approval instance detail (GET /v1/approval/instance/{id}) */
|
|
1208
|
-
getApprovalInstanceByID(params: GetApprovalInstanceByID$Params, context?: HttpContext): Observable<InstanceDetailResponse>;
|
|
1209
|
-
/** List pending approvals for current actor (GET /v1/approval/pending) */
|
|
1210
|
-
listPendingApprovalItems$Response(params?: ListPendingApprovalItems$Params, context?: HttpContext): Observable<StrictHttpResponse$1<PendingListResponse>>;
|
|
1211
|
-
/** List pending approvals for current actor (GET /v1/approval/pending) */
|
|
1212
|
-
listPendingApprovalItems(params?: ListPendingApprovalItems$Params, context?: HttpContext): Observable<PendingListResponse>;
|
|
1213
|
-
/** Reject current approval step (POST /v1/approval/reject) */
|
|
1214
|
-
rejectApprovalStep$Response(params: RejectApprovalStep$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1215
|
-
/** Reject current approval step (POST /v1/approval/reject) */
|
|
1216
|
-
rejectApprovalStep(params: RejectApprovalStep$Params, context?: HttpContext): Observable<WorkflowActionResponse>;
|
|
1217
|
-
/** Submit record into approval workflow (POST /v1/approval/submit) */
|
|
1218
|
-
submitApprovalWorkflow$Response(params: SubmitApprovalWorkflow$Params, context?: HttpContext): Observable<StrictHttpResponse$1<WorkflowActionResponse>>;
|
|
1219
|
-
/** Submit record into approval workflow (POST /v1/approval/submit) */
|
|
1220
|
-
submitApprovalWorkflow(params: SubmitApprovalWorkflow$Params, context?: HttpContext): Observable<WorkflowActionResponse>;
|
|
1221
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalInstanceService, never>;
|
|
1222
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalInstanceService>;
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
interface CreateApprovalStage$Params {
|
|
1226
|
-
body: CreateStageRequest;
|
|
1227
|
-
}
|
|
1228
|
-
declare function createApprovalStage(http: HttpClient, rootUrl: string, params: CreateApprovalStage$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageResponse>>;
|
|
1229
|
-
declare namespace createApprovalStage {
|
|
1230
|
-
var PATH: string;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
interface DeleteApprovalStageByID$Params {
|
|
1234
|
-
id: string;
|
|
1235
|
-
}
|
|
1236
|
-
declare function deleteApprovalStageByID(http: HttpClient, rootUrl: string, params: DeleteApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1237
|
-
declare namespace deleteApprovalStageByID {
|
|
1238
|
-
var PATH: string;
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
interface GetApprovalStageByID$Params {
|
|
1242
|
-
id: string;
|
|
1243
|
-
}
|
|
1244
|
-
declare function getApprovalStageByID(http: HttpClient, rootUrl: string, params: GetApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageDetailResponse>>;
|
|
1245
|
-
declare namespace getApprovalStageByID {
|
|
1246
|
-
var PATH: string;
|
|
1247
|
-
}
|
|
1248
|
-
|
|
1249
|
-
interface ListApprovalStages$Params {
|
|
1250
|
-
page?: number;
|
|
1251
|
-
limit?: number;
|
|
1252
|
-
sort?: 'created_at' | 'level' | 'name' | 'updated_at';
|
|
1253
|
-
order?: 'asc' | 'desc';
|
|
1254
|
-
definition_id?: string;
|
|
1255
|
-
}
|
|
1256
|
-
declare function listApprovalStages(http: HttpClient, rootUrl: string, params?: ListApprovalStages$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageListResponse>>;
|
|
1257
|
-
declare namespace listApprovalStages {
|
|
1258
|
-
var PATH: string;
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
|
-
interface PatchApprovalStageByID$Params {
|
|
1262
|
-
id: string;
|
|
1263
|
-
body: UpdateStageRequest;
|
|
1264
|
-
}
|
|
1265
|
-
declare function patchApprovalStageByID(http: HttpClient, rootUrl: string, params: PatchApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageResponse>>;
|
|
1266
|
-
declare namespace patchApprovalStageByID {
|
|
1267
|
-
var PATH: string;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
declare class ApprovalStageService extends BaseService$1 {
|
|
1271
|
-
/** Create approval stage (POST /v1/approval/stage) */
|
|
1272
|
-
createApprovalStage$Response(params: CreateApprovalStage$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageResponse>>;
|
|
1273
|
-
/** Create approval stage (POST /v1/approval/stage) */
|
|
1274
|
-
createApprovalStage(params: CreateApprovalStage$Params, context?: HttpContext): Observable<StageResponse>;
|
|
1275
|
-
/** Delete approval stage (DELETE /v1/approval/stage/{id}) */
|
|
1276
|
-
deleteApprovalStageByID$Response(params: DeleteApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1277
|
-
/** Delete approval stage (DELETE /v1/approval/stage/{id}) */
|
|
1278
|
-
deleteApprovalStageByID(params: DeleteApprovalStageByID$Params, context?: HttpContext): Observable<ApprovalMutationAckResponse>;
|
|
1279
|
-
/** Get approval stage detail (GET /v1/approval/stage/{id}) */
|
|
1280
|
-
getApprovalStageByID$Response(params: GetApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageDetailResponse>>;
|
|
1281
|
-
/** Get approval stage detail (GET /v1/approval/stage/{id}) */
|
|
1282
|
-
getApprovalStageByID(params: GetApprovalStageByID$Params, context?: HttpContext): Observable<StageDetailResponse>;
|
|
1283
|
-
/** List approval stages (GET /v1/approval/stage) */
|
|
1284
|
-
listApprovalStages$Response(params?: ListApprovalStages$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageListResponse>>;
|
|
1285
|
-
/** List approval stages (GET /v1/approval/stage) */
|
|
1286
|
-
listApprovalStages(params?: ListApprovalStages$Params, context?: HttpContext): Observable<StageListResponse>;
|
|
1287
|
-
/** Update approval stage (PATCH /v1/approval/stage/{id}) */
|
|
1288
|
-
patchApprovalStageByID$Response(params: PatchApprovalStageByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StageResponse>>;
|
|
1289
|
-
/** Update approval stage (PATCH /v1/approval/stage/{id}) */
|
|
1290
|
-
patchApprovalStageByID(params: PatchApprovalStageByID$Params, context?: HttpContext): Observable<StageResponse>;
|
|
1291
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalStageService, never>;
|
|
1292
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalStageService>;
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
interface CreateApprovalTransition$Params {
|
|
1296
|
-
body: CreateTransitionRequest;
|
|
1297
|
-
}
|
|
1298
|
-
declare function createApprovalTransition(http: HttpClient, rootUrl: string, params: CreateApprovalTransition$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1299
|
-
declare namespace createApprovalTransition {
|
|
1300
|
-
var PATH: string;
|
|
1301
|
-
}
|
|
1302
|
-
|
|
1303
|
-
interface DeleteApprovalTransitionByID$Params {
|
|
1304
|
-
id: string;
|
|
1305
|
-
}
|
|
1306
|
-
declare function deleteApprovalTransitionByID(http: HttpClient, rootUrl: string, params: DeleteApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1307
|
-
declare namespace deleteApprovalTransitionByID {
|
|
1308
|
-
var PATH: string;
|
|
1309
|
-
}
|
|
1310
|
-
|
|
1311
|
-
interface GetApprovalTransitionByID$Params {
|
|
1312
|
-
id: string;
|
|
1313
|
-
}
|
|
1314
|
-
declare function getApprovalTransitionByID(http: HttpClient, rootUrl: string, params: GetApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1315
|
-
declare namespace getApprovalTransitionByID {
|
|
1316
|
-
var PATH: string;
|
|
1317
|
-
}
|
|
1318
|
-
|
|
1319
|
-
interface ListApprovalTransitions$Params {
|
|
1320
|
-
page?: number;
|
|
1321
|
-
limit?: number;
|
|
1322
|
-
sort?: 'created_at' | 'from_status' | 'to_status' | 'updated_at';
|
|
1323
|
-
order?: 'asc' | 'desc';
|
|
1324
|
-
definition_id?: string;
|
|
1325
|
-
}
|
|
1326
|
-
declare function listApprovalTransitions(http: HttpClient, rootUrl: string, params?: ListApprovalTransitions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionListResponse>>;
|
|
1327
|
-
declare namespace listApprovalTransitions {
|
|
1328
|
-
var PATH: string;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
interface PatchApprovalTransitionByID$Params {
|
|
1332
|
-
id: string;
|
|
1333
|
-
body: UpdateTransitionRequest;
|
|
1334
|
-
}
|
|
1335
|
-
declare function patchApprovalTransitionByID(http: HttpClient, rootUrl: string, params: PatchApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1336
|
-
declare namespace patchApprovalTransitionByID {
|
|
1337
|
-
var PATH: string;
|
|
1338
|
-
}
|
|
1339
|
-
|
|
1340
|
-
declare class ApprovalTransitionService extends BaseService$1 {
|
|
1341
|
-
/** Create approval transition (POST /v1/approval/transition) */
|
|
1342
|
-
createApprovalTransition$Response(params: CreateApprovalTransition$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1343
|
-
/** Create approval transition (POST /v1/approval/transition) */
|
|
1344
|
-
createApprovalTransition(params: CreateApprovalTransition$Params, context?: HttpContext): Observable<TransitionResponse>;
|
|
1345
|
-
/** Delete approval transition (DELETE /v1/approval/transition/{id}) */
|
|
1346
|
-
deleteApprovalTransitionByID$Response(params: DeleteApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<ApprovalMutationAckResponse>>;
|
|
1347
|
-
/** Delete approval transition (DELETE /v1/approval/transition/{id}) */
|
|
1348
|
-
deleteApprovalTransitionByID(params: DeleteApprovalTransitionByID$Params, context?: HttpContext): Observable<ApprovalMutationAckResponse>;
|
|
1349
|
-
/** Get approval transition detail (GET /v1/approval/transition/{id}) */
|
|
1350
|
-
getApprovalTransitionByID$Response(params: GetApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1351
|
-
/** Get approval transition detail (GET /v1/approval/transition/{id}) */
|
|
1352
|
-
getApprovalTransitionByID(params: GetApprovalTransitionByID$Params, context?: HttpContext): Observable<TransitionResponse>;
|
|
1353
|
-
/** List approval transitions (GET /v1/approval/transition) */
|
|
1354
|
-
listApprovalTransitions$Response(params?: ListApprovalTransitions$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionListResponse>>;
|
|
1355
|
-
/** List approval transitions (GET /v1/approval/transition) */
|
|
1356
|
-
listApprovalTransitions(params?: ListApprovalTransitions$Params, context?: HttpContext): Observable<TransitionListResponse>;
|
|
1357
|
-
/** Update approval transition (PATCH /v1/approval/transition/{id}) */
|
|
1358
|
-
patchApprovalTransitionByID$Response(params: PatchApprovalTransitionByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<TransitionResponse>>;
|
|
1359
|
-
/** Update approval transition (PATCH /v1/approval/transition/{id}) */
|
|
1360
|
-
patchApprovalTransitionByID(params: PatchApprovalTransitionByID$Params, context?: HttpContext): Observable<TransitionResponse>;
|
|
1361
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApprovalTransitionService, never>;
|
|
1362
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApprovalTransitionService>;
|
|
1363
|
-
}
|
|
1364
|
-
|
|
1365
|
-
interface AuthLoginRequest {
|
|
1366
|
-
email: string;
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
interface AuthRegisterRequest {
|
|
1370
|
-
name: string;
|
|
1371
|
-
email: string;
|
|
1372
|
-
}
|
|
1373
|
-
|
|
1374
|
-
interface AuthResendRequest {
|
|
1375
|
-
email: string;
|
|
1376
|
-
frontend_url?: string | null;
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1379
|
-
interface AuthTokenResponse {
|
|
1380
|
-
status?: string;
|
|
1381
|
-
message?: string;
|
|
1382
|
-
data?: Record<string, unknown>;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
1385
|
-
interface AuthUser {
|
|
1386
|
-
user_id?: string;
|
|
1387
|
-
email?: string;
|
|
1388
|
-
role?: string;
|
|
1389
|
-
status?: string;
|
|
1390
|
-
name?: string;
|
|
1391
|
-
}
|
|
1392
|
-
|
|
1393
|
-
interface AuthUserResponse {
|
|
1394
|
-
status?: string;
|
|
1395
|
-
message?: string;
|
|
1396
|
-
data?: AuthUser;
|
|
1397
|
-
}
|
|
1398
|
-
|
|
1399
|
-
interface AuthVerifyRequest {
|
|
1400
|
-
token: string;
|
|
1401
|
-
device_type: 'web' | 'mobile' | 'desktop' | 'tablet';
|
|
1402
|
-
}
|
|
1403
|
-
|
|
1404
|
-
interface MagicLinkDispatchResponse {
|
|
1405
|
-
status?: string;
|
|
1406
|
-
message?: string;
|
|
1407
|
-
data?: Record<string, unknown>;
|
|
1408
|
-
}
|
|
1409
|
-
|
|
1410
|
-
type LogoutAuthSession$Params = Record<string, never>;
|
|
1411
|
-
declare function logoutAuthSession(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1412
|
-
declare namespace logoutAuthSession {
|
|
1413
|
-
var PATH: string;
|
|
1414
|
-
}
|
|
1415
|
-
|
|
1416
|
-
type RefreshAuthToken$Params = Record<string, never>;
|
|
1417
|
-
declare function refreshAuthToken(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<AuthTokenResponse>>;
|
|
1418
|
-
declare namespace refreshAuthToken {
|
|
1419
|
-
var PATH: string;
|
|
1420
|
-
}
|
|
1421
|
-
|
|
1422
|
-
interface RegisterAuthPrincipal$Params {
|
|
1423
|
-
body: AuthRegisterRequest;
|
|
1424
|
-
}
|
|
1425
|
-
declare function registerAuthPrincipal(http: HttpClient, rootUrl: string, params: RegisterAuthPrincipal$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AuthUserResponse>>;
|
|
1426
|
-
declare namespace registerAuthPrincipal {
|
|
1427
|
-
var PATH: string;
|
|
1428
|
-
}
|
|
1429
|
-
|
|
1430
|
-
interface RequestMagicLoginLink$Params {
|
|
1431
|
-
body: AuthLoginRequest;
|
|
1432
|
-
}
|
|
1433
|
-
declare function requestMagicLoginLink(http: HttpClient, rootUrl: string, params: RequestMagicLoginLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<MagicLinkDispatchResponse>>;
|
|
1434
|
-
declare namespace requestMagicLoginLink {
|
|
1435
|
-
var PATH: string;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
interface ResendMagicLink$Params {
|
|
1439
|
-
body: AuthResendRequest;
|
|
1440
|
-
}
|
|
1441
|
-
declare function resendMagicLink(http: HttpClient, rootUrl: string, params: ResendMagicLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<MagicLinkDispatchResponse>>;
|
|
1442
|
-
declare namespace resendMagicLink {
|
|
1443
|
-
var PATH: string;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
interface VerifyMagicLink$Params {
|
|
1447
|
-
body: AuthVerifyRequest;
|
|
1448
|
-
}
|
|
1449
|
-
declare function verifyMagicLink(http: HttpClient, rootUrl: string, params: VerifyMagicLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AuthTokenResponse>>;
|
|
1450
|
-
declare namespace verifyMagicLink {
|
|
1451
|
-
var PATH: string;
|
|
1452
|
-
}
|
|
1453
|
-
|
|
1454
|
-
declare class AuthService extends BaseService$1 {
|
|
1455
|
-
/** Revoke the current session (POST /v1/auth/logout) */
|
|
1456
|
-
logoutAuthSession$Response(params?: LogoutAuthSession$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1457
|
-
/** Revoke the current session (POST /v1/auth/logout) */
|
|
1458
|
-
logoutAuthSession(params?: LogoutAuthSession$Params, context?: HttpContext): Observable<unknown>;
|
|
1459
|
-
/** Rotate the refresh cookie (POST /v1/auth/refresh) */
|
|
1460
|
-
refreshAuthToken$Response(params?: RefreshAuthToken$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AuthTokenResponse>>;
|
|
1461
|
-
/** Rotate the refresh cookie (POST /v1/auth/refresh) */
|
|
1462
|
-
refreshAuthToken(params?: RefreshAuthToken$Params, context?: HttpContext): Observable<AuthTokenResponse>;
|
|
1463
|
-
/** Register a new principal (POST /v1/auth/register) */
|
|
1464
|
-
registerAuthPrincipal$Response(params: RegisterAuthPrincipal$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AuthUserResponse>>;
|
|
1465
|
-
/** Register a new principal (POST /v1/auth/register) */
|
|
1466
|
-
registerAuthPrincipal(params: RegisterAuthPrincipal$Params, context?: HttpContext): Observable<AuthUserResponse>;
|
|
1467
|
-
/** Send a magic login link (POST /v1/auth/login) */
|
|
1468
|
-
requestMagicLoginLink$Response(params: RequestMagicLoginLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<MagicLinkDispatchResponse>>;
|
|
1469
|
-
/** Send a magic login link (POST /v1/auth/login) */
|
|
1470
|
-
requestMagicLoginLink(params: RequestMagicLoginLink$Params, context?: HttpContext): Observable<MagicLinkDispatchResponse>;
|
|
1471
|
-
/** Resend a magic link (POST /v1/auth/resend) */
|
|
1472
|
-
resendMagicLink$Response(params: ResendMagicLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<MagicLinkDispatchResponse>>;
|
|
1473
|
-
/** Resend a magic link (POST /v1/auth/resend) */
|
|
1474
|
-
resendMagicLink(params: ResendMagicLink$Params, context?: HttpContext): Observable<MagicLinkDispatchResponse>;
|
|
1475
|
-
/** Verify a single-use magic link token (POST /v1/auth/verify) */
|
|
1476
|
-
verifyMagicLink$Response(params: VerifyMagicLink$Params, context?: HttpContext): Observable<StrictHttpResponse$1<AuthTokenResponse>>;
|
|
1477
|
-
/** Verify a single-use magic link token (POST /v1/auth/verify) */
|
|
1478
|
-
verifyMagicLink(params: VerifyMagicLink$Params, context?: HttpContext): Observable<AuthTokenResponse>;
|
|
1479
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
|
|
1480
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
interface CreateEmployeeRequest {
|
|
1484
|
-
employee_number: string;
|
|
1485
|
-
full_name: string;
|
|
1486
|
-
nationality?: string;
|
|
1487
|
-
phone_number?: string;
|
|
1488
|
-
marital_status?: 'TK' | 'TK/1' | 'TK/2' | 'TK/3' | 'K' | 'K/1' | 'K/2' | 'K/3';
|
|
1489
|
-
dependents?: number;
|
|
1490
|
-
place_of_birth?: string;
|
|
1491
|
-
date_of_birth?: string;
|
|
1492
|
-
gender?: 'male' | 'female';
|
|
1493
|
-
religion?: string;
|
|
1494
|
-
email: string;
|
|
1495
|
-
hire_date: string;
|
|
1496
|
-
termination_date?: string;
|
|
1497
|
-
payroll_date?: string;
|
|
1498
|
-
employment_status?: 'contract' | 'permanent' | 'probation' | 'intern' | 'terminated';
|
|
1499
|
-
photo_id?: string;
|
|
1500
|
-
}
|
|
1501
|
-
|
|
1502
|
-
interface Employee {
|
|
1503
|
-
id: string;
|
|
1504
|
-
employee_number: string;
|
|
1505
|
-
full_name: string;
|
|
1506
|
-
nationality: string;
|
|
1507
|
-
phone_number?: string | null;
|
|
1508
|
-
marital_status?: string | null;
|
|
1509
|
-
dependents?: number | null;
|
|
1510
|
-
place_of_birth?: string | null;
|
|
1511
|
-
date_of_birth?: string | null;
|
|
1512
|
-
gender?: string | null;
|
|
1513
|
-
religion?: string | null;
|
|
1514
|
-
email: string;
|
|
1515
|
-
hire_date: string;
|
|
1516
|
-
termination_date?: string | null;
|
|
1517
|
-
payroll_date?: string | null;
|
|
1518
|
-
employment_status: 'contract' | 'permanent' | 'probation' | 'intern' | 'terminated';
|
|
1519
|
-
photo_id?: string | null;
|
|
1520
|
-
created_at: string;
|
|
1521
|
-
updated_at: string;
|
|
1522
|
-
}
|
|
1523
|
-
|
|
1524
|
-
interface EmployeeListResponse {
|
|
1525
|
-
status: string;
|
|
1526
|
-
message: string;
|
|
1527
|
-
data: Employee[];
|
|
1528
|
-
meta: PaginationMeta$1;
|
|
1529
|
-
}
|
|
1530
|
-
|
|
1531
|
-
interface EmployeeMutationAckResponse {
|
|
1532
|
-
status: string;
|
|
1533
|
-
message: string;
|
|
1534
|
-
data: Record<string, unknown>;
|
|
1535
|
-
}
|
|
1536
|
-
|
|
1537
|
-
interface EmployeeResponse {
|
|
1538
|
-
status: string;
|
|
1539
|
-
message: string;
|
|
1540
|
-
data: Employee;
|
|
1541
|
-
}
|
|
1542
|
-
|
|
1543
|
-
interface UpdateEmployeeRequest {
|
|
1544
|
-
employee_number?: string;
|
|
1545
|
-
full_name?: string;
|
|
1546
|
-
nationality?: string;
|
|
1547
|
-
phone_number?: string;
|
|
1548
|
-
marital_status?: 'TK' | 'TK/1' | 'TK/2' | 'TK/3' | 'K' | 'K/1' | 'K/2' | 'K/3';
|
|
1549
|
-
dependents?: number;
|
|
1550
|
-
place_of_birth?: string;
|
|
1551
|
-
date_of_birth?: string;
|
|
1552
|
-
gender?: 'male' | 'female';
|
|
1553
|
-
religion?: string;
|
|
1554
|
-
email?: string;
|
|
1555
|
-
hire_date?: string;
|
|
1556
|
-
termination_date?: string;
|
|
1557
|
-
payroll_date?: string;
|
|
1558
|
-
employment_status?: 'contract' | 'permanent' | 'probation' | 'intern' | 'terminated';
|
|
1559
|
-
photo_id?: string;
|
|
1560
|
-
}
|
|
1561
|
-
|
|
1562
|
-
interface CreateEmployee$Params {
|
|
1563
|
-
body: CreateEmployeeRequest;
|
|
1564
|
-
}
|
|
1565
|
-
declare function createEmployee(http: HttpClient, rootUrl: string, params: CreateEmployee$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1566
|
-
declare namespace createEmployee {
|
|
1567
|
-
var PATH: string;
|
|
1568
|
-
}
|
|
1569
|
-
|
|
1570
|
-
interface DeleteEmployeeByID$Params {
|
|
1571
|
-
id: string;
|
|
1572
|
-
}
|
|
1573
|
-
declare function deleteEmployeeByID(http: HttpClient, rootUrl: string, params: DeleteEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeMutationAckResponse>>;
|
|
1574
|
-
declare namespace deleteEmployeeByID {
|
|
1575
|
-
var PATH: string;
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
|
-
interface GetEmployeeByID$Params {
|
|
1579
|
-
id: string;
|
|
1580
|
-
}
|
|
1581
|
-
declare function getEmployeeByID(http: HttpClient, rootUrl: string, params: GetEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1582
|
-
declare namespace getEmployeeByID {
|
|
1583
|
-
var PATH: string;
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1586
|
-
interface ListEmployees$Params {
|
|
1587
|
-
page?: number;
|
|
1588
|
-
limit?: number;
|
|
1589
|
-
sort?: 'created_at' | 'full_name' | 'employee_number' | 'email' | 'hire_date' | 'employment_status';
|
|
1590
|
-
order?: 'asc' | 'desc';
|
|
1591
|
-
search?: string;
|
|
1592
|
-
}
|
|
1593
|
-
declare function listEmployees(http: HttpClient, rootUrl: string, params?: ListEmployees$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeListResponse>>;
|
|
1594
|
-
declare namespace listEmployees {
|
|
1595
|
-
var PATH: string;
|
|
1596
|
-
}
|
|
1597
|
-
|
|
1598
|
-
interface PatchEmployeeByID$Params {
|
|
1599
|
-
id: string;
|
|
1600
|
-
body: UpdateEmployeeRequest;
|
|
1601
|
-
}
|
|
1602
|
-
declare function patchEmployeeByID(http: HttpClient, rootUrl: string, params: PatchEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1603
|
-
declare namespace patchEmployeeByID {
|
|
1604
|
-
var PATH: string;
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
declare class EmployeeService extends BaseService$1 {
|
|
1608
|
-
/** Create employee (POST /v1/employee) */
|
|
1609
|
-
createEmployee$Response(params: CreateEmployee$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1610
|
-
/** Create employee (POST /v1/employee) */
|
|
1611
|
-
createEmployee(params: CreateEmployee$Params, context?: HttpContext): Observable<EmployeeResponse>;
|
|
1612
|
-
/** Delete employee (DELETE /v1/employee/{id}) */
|
|
1613
|
-
deleteEmployeeByID$Response(params: DeleteEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeMutationAckResponse>>;
|
|
1614
|
-
/** Delete employee (DELETE /v1/employee/{id}) */
|
|
1615
|
-
deleteEmployeeByID(params: DeleteEmployeeByID$Params, context?: HttpContext): Observable<EmployeeMutationAckResponse>;
|
|
1616
|
-
/** Get employee detail (GET /v1/employee/{id}) */
|
|
1617
|
-
getEmployeeByID$Response(params: GetEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1618
|
-
/** Get employee detail (GET /v1/employee/{id}) */
|
|
1619
|
-
getEmployeeByID(params: GetEmployeeByID$Params, context?: HttpContext): Observable<EmployeeResponse>;
|
|
1620
|
-
/** List employees (GET /v1/employee) */
|
|
1621
|
-
listEmployees$Response(params?: ListEmployees$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeListResponse>>;
|
|
1622
|
-
/** List employees (GET /v1/employee) */
|
|
1623
|
-
listEmployees(params?: ListEmployees$Params, context?: HttpContext): Observable<EmployeeListResponse>;
|
|
1624
|
-
/** Update employee (PATCH /v1/employee/{id}) */
|
|
1625
|
-
patchEmployeeByID$Response(params: PatchEmployeeByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<EmployeeResponse>>;
|
|
1626
|
-
/** Update employee (PATCH /v1/employee/{id}) */
|
|
1627
|
-
patchEmployeeByID(params: PatchEmployeeByID$Params, context?: HttpContext): Observable<EmployeeResponse>;
|
|
1628
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EmployeeService, never>;
|
|
1629
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EmployeeService>;
|
|
1630
|
-
}
|
|
1631
|
-
|
|
1632
|
-
type GetGatewayAPIRoot$Params = Record<string, never>;
|
|
1633
|
-
declare function getGatewayAPIRoot(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1634
|
-
declare namespace getGatewayAPIRoot {
|
|
1635
|
-
var PATH: string;
|
|
1636
|
-
}
|
|
1637
|
-
|
|
1638
|
-
type GetGatewayHealth$Params = Record<string, never>;
|
|
1639
|
-
declare function getGatewayHealth(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1640
|
-
declare namespace getGatewayHealth {
|
|
1641
|
-
var PATH: string;
|
|
1642
|
-
}
|
|
1643
|
-
|
|
1644
|
-
declare class HealthService extends BaseService$1 {
|
|
1645
|
-
/** Gateway API root probe (GET /v1) */
|
|
1646
|
-
getGatewayAPIRoot$Response(params?: GetGatewayAPIRoot$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1647
|
-
/** Gateway API root probe (GET /v1) */
|
|
1648
|
-
getGatewayAPIRoot(params?: GetGatewayAPIRoot$Params, context?: HttpContext): Observable<unknown>;
|
|
1649
|
-
/** Gateway health check (GET /health) */
|
|
1650
|
-
getGatewayHealth$Response(params?: GetGatewayHealth$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1651
|
-
/** Gateway health check (GET /health) */
|
|
1652
|
-
getGatewayHealth(params?: GetGatewayHealth$Params, context?: HttpContext): Observable<unknown>;
|
|
1653
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HealthService, never>;
|
|
1654
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HealthService>;
|
|
1655
|
-
}
|
|
1656
|
-
|
|
1657
|
-
interface StorageObjectResponse {
|
|
1658
|
-
status?: string;
|
|
1659
|
-
message?: string;
|
|
1660
|
-
data?: Record<string, unknown>;
|
|
1661
|
-
}
|
|
1662
|
-
|
|
1663
|
-
interface StorageUploadResponse {
|
|
1664
|
-
status?: string;
|
|
1665
|
-
message?: string;
|
|
1666
|
-
data?: Record<string, unknown>;
|
|
1667
|
-
}
|
|
1668
|
-
|
|
1669
|
-
interface DownloadObjectGCS$Params {
|
|
1670
|
-
key: string;
|
|
1671
|
-
}
|
|
1672
|
-
declare function downloadObjectGCS(http: HttpClient, rootUrl: string, params: DownloadObjectGCS$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1673
|
-
declare namespace downloadObjectGCS {
|
|
1674
|
-
var PATH: string;
|
|
1675
|
-
}
|
|
1676
|
-
|
|
1677
|
-
interface GetObjectGCS$Params {
|
|
1678
|
-
key: string;
|
|
1679
|
-
}
|
|
1680
|
-
declare function getObjectGCS(http: HttpClient, rootUrl: string, params: GetObjectGCS$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageObjectResponse>>;
|
|
1681
|
-
declare namespace getObjectGCS {
|
|
1682
|
-
var PATH: string;
|
|
1683
|
-
}
|
|
1684
|
-
|
|
1685
|
-
type UploadGCS$Params = Record<string, never>;
|
|
1686
|
-
declare function uploadGCS(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<StorageUploadResponse>>;
|
|
1687
|
-
declare namespace uploadGCS {
|
|
1688
|
-
var PATH: string;
|
|
1689
|
-
}
|
|
1690
|
-
|
|
1691
|
-
declare class GCSService extends BaseService$1 {
|
|
1692
|
-
/** Download GCS object via signed URL redirect (GET /v1/storage/gcs/object/download) */
|
|
1693
|
-
downloadObjectGCS$Response(params: DownloadObjectGCS$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1694
|
-
/** Download GCS object via signed URL redirect (GET /v1/storage/gcs/object/download) */
|
|
1695
|
-
downloadObjectGCS(params: DownloadObjectGCS$Params, context?: HttpContext): Observable<unknown>;
|
|
1696
|
-
/** Get GCS object metadata and signed URL (GET /v1/storage/gcs/object) */
|
|
1697
|
-
getObjectGCS$Response(params: GetObjectGCS$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageObjectResponse>>;
|
|
1698
|
-
/** Get GCS object metadata and signed URL (GET /v1/storage/gcs/object) */
|
|
1699
|
-
getObjectGCS(params: GetObjectGCS$Params, context?: HttpContext): Observable<StorageObjectResponse>;
|
|
1700
|
-
/** Upload file to GCS (POST /v1/storage/gcs) */
|
|
1701
|
-
uploadGCS$Response(params?: UploadGCS$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageUploadResponse>>;
|
|
1702
|
-
/** Upload file to GCS (POST /v1/storage/gcs) */
|
|
1703
|
-
uploadGCS(params?: UploadGCS$Params, context?: HttpContext): Observable<StorageUploadResponse>;
|
|
1704
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GCSService, never>;
|
|
1705
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GCSService>;
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
interface DownloadObjectS3$Params {
|
|
1709
|
-
key: string;
|
|
1710
|
-
}
|
|
1711
|
-
declare function downloadObjectS3(http: HttpClient, rootUrl: string, params: DownloadObjectS3$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1712
|
-
declare namespace downloadObjectS3 {
|
|
1713
|
-
var PATH: string;
|
|
1714
|
-
}
|
|
1715
|
-
|
|
1716
|
-
interface GetObjectS3$Params {
|
|
1717
|
-
key: string;
|
|
1718
|
-
}
|
|
1719
|
-
declare function getObjectS3(http: HttpClient, rootUrl: string, params: GetObjectS3$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageObjectResponse>>;
|
|
1720
|
-
declare namespace getObjectS3 {
|
|
1721
|
-
var PATH: string;
|
|
1722
|
-
}
|
|
1723
|
-
|
|
1724
|
-
type UploadS3$Params = Record<string, never>;
|
|
1725
|
-
declare function uploadS3(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<StorageUploadResponse>>;
|
|
1726
|
-
declare namespace uploadS3 {
|
|
1727
|
-
var PATH: string;
|
|
1728
|
-
}
|
|
1729
|
-
|
|
1730
|
-
declare class S3Service extends BaseService$1 {
|
|
1731
|
-
/** Download S3 object via signed URL redirect (GET /v1/storage/sss/object/download) */
|
|
1732
|
-
downloadObjectS3$Response(params: DownloadObjectS3$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1733
|
-
/** Download S3 object via signed URL redirect (GET /v1/storage/sss/object/download) */
|
|
1734
|
-
downloadObjectS3(params: DownloadObjectS3$Params, context?: HttpContext): Observable<unknown>;
|
|
1735
|
-
/** Get S3 object metadata and signed URL (GET /v1/storage/sss/object) */
|
|
1736
|
-
getObjectS3$Response(params: GetObjectS3$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageObjectResponse>>;
|
|
1737
|
-
/** Get S3 object metadata and signed URL (GET /v1/storage/sss/object) */
|
|
1738
|
-
getObjectS3(params: GetObjectS3$Params, context?: HttpContext): Observable<StorageObjectResponse>;
|
|
1739
|
-
/** Upload file to S3 (POST /v1/storage/sss) */
|
|
1740
|
-
uploadS3$Response(params?: UploadS3$Params, context?: HttpContext): Observable<StrictHttpResponse$1<StorageUploadResponse>>;
|
|
1741
|
-
/** Upload file to S3 (POST /v1/storage/sss) */
|
|
1742
|
-
uploadS3(params?: UploadS3$Params, context?: HttpContext): Observable<StorageUploadResponse>;
|
|
1743
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<S3Service, never>;
|
|
1744
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<S3Service>;
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
interface User {
|
|
1748
|
-
id?: string;
|
|
1749
|
-
employee_id?: string | null;
|
|
1750
|
-
role?: string;
|
|
1751
|
-
status?: 'pending' | 'active' | 'suspend' | 'reset' | 'inactive' | 'blocked';
|
|
1752
|
-
name?: string;
|
|
1753
|
-
email?: string;
|
|
1754
|
-
email_verified_at?: string | null;
|
|
1755
|
-
created_at?: string;
|
|
1756
|
-
updated_at?: string;
|
|
1757
|
-
}
|
|
1758
|
-
|
|
1759
|
-
interface UserCreateRequest {
|
|
1760
|
-
employee_id?: string | null;
|
|
1761
|
-
name: string;
|
|
1762
|
-
email: string;
|
|
1763
|
-
role: string;
|
|
1764
|
-
}
|
|
1765
|
-
|
|
1766
|
-
interface UserListResponse {
|
|
1767
|
-
status?: string;
|
|
1768
|
-
message?: string;
|
|
1769
|
-
data?: User[];
|
|
1770
|
-
meta?: PaginationMeta$1;
|
|
1771
|
-
}
|
|
1772
|
-
|
|
1773
|
-
interface UserMutationResponse {
|
|
1774
|
-
status?: string;
|
|
1775
|
-
message?: string;
|
|
1776
|
-
data?: User;
|
|
1777
|
-
}
|
|
1778
|
-
|
|
1779
|
-
interface UserSelfUpdateRequest {
|
|
1780
|
-
employee_id?: string | null;
|
|
1781
|
-
name?: string;
|
|
1782
|
-
email?: string;
|
|
1783
|
-
}
|
|
1784
|
-
|
|
1785
|
-
interface UserUpdateRequest {
|
|
1786
|
-
employee_id?: string | null;
|
|
1787
|
-
name?: string;
|
|
1788
|
-
email?: string;
|
|
1789
|
-
role?: string;
|
|
1790
|
-
}
|
|
1791
|
-
|
|
1792
|
-
interface UserUpdateResponse {
|
|
1793
|
-
status?: string;
|
|
1794
|
-
message?: string;
|
|
1795
|
-
data?: User;
|
|
1796
|
-
}
|
|
1797
|
-
|
|
1798
|
-
interface CreateUser$Params {
|
|
1799
|
-
body: UserCreateRequest;
|
|
1800
|
-
}
|
|
1801
|
-
declare function createUser(http: HttpClient, rootUrl: string, params: CreateUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1802
|
-
declare namespace createUser {
|
|
1803
|
-
var PATH: string;
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
interface DeleteUserByID$Params {
|
|
1807
|
-
id: string;
|
|
1808
|
-
}
|
|
1809
|
-
declare function deleteUserByID(http: HttpClient, rootUrl: string, params: DeleteUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1810
|
-
declare namespace deleteUserByID {
|
|
1811
|
-
var PATH: string;
|
|
1812
|
-
}
|
|
1813
|
-
|
|
1814
|
-
type GetCurrentUser$Params = Record<string, never>;
|
|
1815
|
-
declare function getCurrentUser(http: HttpClient, rootUrl: string, _params?: Record<string, never>, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1816
|
-
declare namespace getCurrentUser {
|
|
1817
|
-
var PATH: string;
|
|
1818
|
-
}
|
|
1819
|
-
|
|
1820
|
-
interface GetUserByID$Params {
|
|
1821
|
-
id: string;
|
|
1822
|
-
}
|
|
1823
|
-
declare function getUserByID(http: HttpClient, rootUrl: string, params: GetUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1824
|
-
declare namespace getUserByID {
|
|
1825
|
-
var PATH: string;
|
|
1826
|
-
}
|
|
1827
|
-
|
|
1828
|
-
interface ListUsers$Params {
|
|
1829
|
-
page?: number;
|
|
1830
|
-
limit?: number;
|
|
1831
|
-
sort?: 'created_at' | 'name' | 'email' | 'role' | 'status';
|
|
1832
|
-
order?: 'asc' | 'desc';
|
|
1833
|
-
search?: string;
|
|
1834
|
-
}
|
|
1835
|
-
declare function listUsers(http: HttpClient, rootUrl: string, params?: ListUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserListResponse>>;
|
|
1836
|
-
declare namespace listUsers {
|
|
1837
|
-
var PATH: string;
|
|
1838
|
-
}
|
|
1839
|
-
|
|
1840
|
-
interface PatchCurrentUser$Params {
|
|
1841
|
-
body: UserSelfUpdateRequest;
|
|
1842
|
-
}
|
|
1843
|
-
declare function patchCurrentUser(http: HttpClient, rootUrl: string, params: PatchCurrentUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1844
|
-
declare namespace patchCurrentUser {
|
|
1845
|
-
var PATH: string;
|
|
1846
|
-
}
|
|
1847
|
-
|
|
1848
|
-
interface PatchUserActive$Params {
|
|
1849
|
-
id: string;
|
|
1850
|
-
}
|
|
1851
|
-
declare function patchUserActive(http: HttpClient, rootUrl: string, params: PatchUserActive$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1852
|
-
declare namespace patchUserActive {
|
|
1853
|
-
var PATH: string;
|
|
1854
|
-
}
|
|
1855
|
-
|
|
1856
|
-
interface PatchUserByID$Params {
|
|
1857
|
-
id: string;
|
|
1858
|
-
body: UserUpdateRequest;
|
|
1859
|
-
}
|
|
1860
|
-
declare function patchUserByID(http: HttpClient, rootUrl: string, params: PatchUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1861
|
-
declare namespace patchUserByID {
|
|
1862
|
-
var PATH: string;
|
|
1863
|
-
}
|
|
1864
|
-
|
|
1865
|
-
interface PatchUserReset$Params {
|
|
1866
|
-
id: string;
|
|
1867
|
-
}
|
|
1868
|
-
declare function patchUserReset(http: HttpClient, rootUrl: string, params: PatchUserReset$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1869
|
-
declare namespace patchUserReset {
|
|
1870
|
-
var PATH: string;
|
|
1871
|
-
}
|
|
1872
|
-
|
|
1873
|
-
interface PatchUserSuspend$Params {
|
|
1874
|
-
id: string;
|
|
1875
|
-
}
|
|
1876
|
-
declare function patchUserSuspend(http: HttpClient, rootUrl: string, params: PatchUserSuspend$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1877
|
-
declare namespace patchUserSuspend {
|
|
1878
|
-
var PATH: string;
|
|
1879
|
-
}
|
|
1880
|
-
|
|
1881
|
-
declare class UserService extends BaseService$1 {
|
|
1882
|
-
/** Create user (POST /v1/user) */
|
|
1883
|
-
createUser$Response(params: CreateUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1884
|
-
/** Create user (POST /v1/user) */
|
|
1885
|
-
createUser(params: CreateUser$Params, context?: HttpContext): Observable<UserUpdateResponse>;
|
|
1886
|
-
/** Reject physical user deletion (DELETE /v1/user/{id}) */
|
|
1887
|
-
deleteUserByID$Response(params: DeleteUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<unknown>>;
|
|
1888
|
-
/** Reject physical user deletion (DELETE /v1/user/{id}) */
|
|
1889
|
-
deleteUserByID(params: DeleteUserByID$Params, context?: HttpContext): Observable<unknown>;
|
|
1890
|
-
/** Get current user detail (GET /v1/user/me) */
|
|
1891
|
-
getCurrentUser$Response(params?: GetCurrentUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1892
|
-
/** Get current user detail (GET /v1/user/me) */
|
|
1893
|
-
getCurrentUser(params?: GetCurrentUser$Params, context?: HttpContext): Observable<UserUpdateResponse>;
|
|
1894
|
-
/** Get user detail (GET /v1/user/{id}) */
|
|
1895
|
-
getUserByID$Response(params: GetUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1896
|
-
/** Get user detail (GET /v1/user/{id}) */
|
|
1897
|
-
getUserByID(params: GetUserByID$Params, context?: HttpContext): Observable<UserUpdateResponse>;
|
|
1898
|
-
/** List users (GET /v1/user) */
|
|
1899
|
-
listUsers$Response(params?: ListUsers$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserListResponse>>;
|
|
1900
|
-
/** List users (GET /v1/user) */
|
|
1901
|
-
listUsers(params?: ListUsers$Params, context?: HttpContext): Observable<UserListResponse>;
|
|
1902
|
-
/** Update authenticated user profile (PATCH /v1/user/me) */
|
|
1903
|
-
patchCurrentUser$Response(params: PatchCurrentUser$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1904
|
-
/** Update authenticated user profile (PATCH /v1/user/me) */
|
|
1905
|
-
patchCurrentUser(params: PatchCurrentUser$Params, context?: HttpContext): Observable<UserUpdateResponse>;
|
|
1906
|
-
/** Activate a user (PATCH /v1/user/{id}/active) */
|
|
1907
|
-
patchUserActive$Response(params: PatchUserActive$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1908
|
-
/** Activate a user (PATCH /v1/user/{id}/active) */
|
|
1909
|
-
patchUserActive(params: PatchUserActive$Params, context?: HttpContext): Observable<UserMutationResponse>;
|
|
1910
|
-
/** Update any user profile (PATCH /v1/user/{id}) */
|
|
1911
|
-
patchUserByID$Response(params: PatchUserByID$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserUpdateResponse>>;
|
|
1912
|
-
/** Update any user profile (PATCH /v1/user/{id}) */
|
|
1913
|
-
patchUserByID(params: PatchUserByID$Params, context?: HttpContext): Observable<UserUpdateResponse>;
|
|
1914
|
-
/** Reset a user state (PATCH /v1/user/{id}/reset) */
|
|
1915
|
-
patchUserReset$Response(params: PatchUserReset$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1916
|
-
/** Reset a user state (PATCH /v1/user/{id}/reset) */
|
|
1917
|
-
patchUserReset(params: PatchUserReset$Params, context?: HttpContext): Observable<UserMutationResponse>;
|
|
1918
|
-
/** Suspend a user (PATCH /v1/user/{id}/suspend) */
|
|
1919
|
-
patchUserSuspend$Response(params: PatchUserSuspend$Params, context?: HttpContext): Observable<StrictHttpResponse$1<UserMutationResponse>>;
|
|
1920
|
-
/** Suspend a user (PATCH /v1/user/{id}/suspend) */
|
|
1921
|
-
patchUserSuspend(params: PatchUserSuspend$Params, context?: HttpContext): Observable<UserMutationResponse>;
|
|
1922
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<UserService, never>;
|
|
1923
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<UserService>;
|
|
1924
|
-
}
|
|
1925
|
-
|
|
1926
|
-
export { Api, ApiConfiguration, ApiNavigation, ApprovalActorService, ApprovalDefinitionService, ApprovalInstanceService, ApprovalStageService, ApprovalTransitionService, AuthService, BaseService, EmployeeService, GCSService, HealthService, PermissionService, PermissionUserService, RequestBuilder, RolePermissionService, RoleService, RoleUserService, S3Service, UserService, accessValidationSchemas, actorValidationSchemas, apiOperationRules, apiValidationSchemas, approvalActorOperationRules, approvalDefinitionOperationRules, approvalInstanceOperationRules, approvalStageOperationRules, approvalTransitionOperationRules, approvalValidationSchemas, approveApprovalStep, approveValidationSchemas, authOperationRules, authValidationSchemas, createApprovalActor, createApprovalDefinition, createApprovalStage, createApprovalTransition, createEmployee, createPermission, createPermissionUser, createRole, createRolePermission, createRoleUser, createUser, createValidationSchemas, definitionValidationSchemas, deleteApprovalActorByID, deleteApprovalDefinitionByID, deleteApprovalStageByID, deleteApprovalTransitionByID, deleteEmployeeByID, deletePermissionByID, deletePermissionUserByID, deleteRoleByID, deleteRolePermissionByID, deleteRoleUserByID, deleteUserByID, downloadObjectGCS, downloadObjectS3, employeeOperationRules, employeeValidationSchemas, errorValidationSchemas, gCSOperationRules, getApprovalActorByID, getApprovalDefinitionByID, getApprovalInstanceByID, getApprovalStageByID, getApprovalTransitionByID, getCurrentUser, getEmployeeByID, getFieldRule, getGatewayAPIRoot, getGatewayHealth, getObjectGCS, getObjectS3, getOperationRule, getPermissionByID, getPermissionUserByID, getRequiredPermissions, getRoleByID, getRolePermissionByID, getRoleUserByID, getSchemaRule, getUserByID, hasRequiredPermissions, healthOperationRules, instanceValidationSchemas, listApprovalActors, listApprovalDefinitions, listApprovalStages, listApprovalTransitions, listEmployees, listPendingApprovalItems, listPermissionUsers, listPermissions, listRolePermissions, listRoleUsers, listRoles, listUsers, logoutAuthSession, magicValidationSchemas, paginationValidationSchemas, patchApprovalActorByID, patchApprovalDefinitionByID, patchApprovalStageByID, patchApprovalTransitionByID, patchCurrentUser, patchEmployeeByID, patchPermissionByID, patchPermissionUserByID, patchRoleByID, patchRolePermissionByID, patchRoleUserByID, patchUserActive, patchUserByID, patchUserReset, patchUserSuspend, pendingValidationSchemas, permissionOperationRules, permissionUserOperationRules, permissionValidationSchemas, provideApiConfiguration, refreshAuthToken, registerAuthPrincipal, rejectApprovalStep, rejectValidationSchemas, requestMagicLoginLink, resendMagicLink, roleOperationRules, rolePermissionOperationRules, roleUserOperationRules, roleValidationSchemas, s3OperationRules, stageValidationSchemas, storageValidationSchemas, submitApprovalWorkflow, submitValidationSchemas, transitionValidationSchemas, updateValidationSchemas, uploadGCS, uploadS3, userOperationRules, userValidationSchemas, validationValidationSchemas, verifyMagicLink, workflowValidationSchemas };
|
|
1927
|
-
export type { AccessMutationAckResponse, Actor, ActorListResponse, ActorResponse, ApiFieldRule, ApiOperationRule, ApiSchemaRule, ApprovalMutationAckResponse, ApproveApprovalStep$Params, ApproveRequest, AuthLoginRequest, AuthRegisterRequest, AuthResendRequest, AuthTokenResponse, AuthUser, AuthUserResponse, AuthVerifyRequest, CreateActorRequest, CreateApprovalActor$Params, CreateApprovalDefinition$Params, CreateApprovalStage$Params, CreateApprovalTransition$Params, CreateDefinitionActorRequest, CreateDefinitionRequest, CreateDefinitionStageRequest, CreateDefinitionTransitionRequest, CreateEmployee$Params, CreateEmployeeRequest, CreatePermission$Params, CreatePermissionRequest, CreatePermissionUser$Params, CreatePermissionUserRequest, CreateRole$Params, CreateRolePermission$Params, CreateRolePermissionRequest, CreateRoleRequest, CreateRoleUser$Params, CreateRoleUserRequest, CreateStageRequest, CreateTransitionRequest, CreateUser$Params, Definition, DefinitionDetail, DefinitionListResponse, DefinitionResponse, DeleteApprovalActorByID$Params, DeleteApprovalDefinitionByID$Params, DeleteApprovalStageByID$Params, DeleteApprovalTransitionByID$Params, DeleteEmployeeByID$Params, DeletePermissionByID$Params, DeletePermissionUserByID$Params, DeleteRoleByID$Params, DeleteRolePermissionByID$Params, DeleteRoleUserByID$Params, DeleteUserByID$Params, DownloadObjectGCS$Params, DownloadObjectS3$Params, Employee, EmployeeListResponse, EmployeeMutationAckResponse, EmployeeResponse, ErrorResponse, GetApprovalActorByID$Params, GetApprovalDefinitionByID$Params, GetApprovalInstanceByID$Params, GetApprovalStageByID$Params, GetApprovalTransitionByID$Params, GetCurrentUser$Params, GetEmployeeByID$Params, GetGatewayAPIRoot$Params, GetGatewayHealth$Params, GetObjectGCS$Params, GetObjectS3$Params, GetPermissionByID$Params, GetPermissionUserByID$Params, GetRoleByID$Params, GetRolePermissionByID$Params, GetRoleUserByID$Params, GetUserByID$Params, InstanceDetail, InstanceDetailResponse, InstanceStepDetail, ListApprovalActors$Params, ListApprovalDefinitions$Params, ListApprovalStages$Params, ListApprovalTransitions$Params, ListEmployees$Params, ListPendingApprovalItems$Params, ListPermissionUsers$Params, ListPermissions$Params, ListRolePermissions$Params, ListRoleUsers$Params, ListRoles$Params, ListUsers$Params, LogoutAuthSession$Params, MagicLinkDispatchResponse, PaginationMeta, PatchApprovalActorByID$Params, PatchApprovalDefinitionByID$Params, PatchApprovalStageByID$Params, PatchApprovalTransitionByID$Params, PatchCurrentUser$Params, PatchEmployeeByID$Params, PatchPermissionByID$Params, PatchPermissionUserByID$Params, PatchRoleByID$Params, PatchRolePermissionByID$Params, PatchRoleUserByID$Params, PatchUserActive$Params, PatchUserByID$Params, PatchUserReset$Params, PatchUserSuspend$Params, PendingItem, PendingListResponse, Permission, PermissionListResponse, PermissionResponse, PermissionUser, PermissionUserListResponse, PermissionUserResponse, RefreshAuthToken$Params, RegisterAuthPrincipal$Params, RejectApprovalStep$Params, RejectRequest, RequestMagicLoginLink$Params, ResendMagicLink$Params, Role, RoleListResponse, RolePermission, RolePermissionListResponse, RolePermissionResponse, RoleResponse, RoleUser, RoleUserListResponse, RoleUserResponse, Stage, StageDetail, StageDetailResponse, StageListResponse, StageResponse, StorageObjectResponse, StorageUploadResponse, StrictHttpResponse, SubmitApprovalWorkflow$Params, SubmitRequest, Transition, TransitionListResponse, TransitionResponse, UpdateActorRequest, UpdateDefinitionRequest, UpdateEmployeeRequest, UpdatePermissionRequest, UpdatePermissionUserRequest, UpdateRolePermissionRequest, UpdateRoleRequest, UpdateRoleUserRequest, UpdateStageRequest, UpdateTransitionRequest, UploadGCS$Params, UploadS3$Params, User, UserCreateRequest, UserListResponse, UserMutationResponse, UserSelfUpdateRequest, UserUpdateRequest, UserUpdateResponse, ValidationErrorDetail, VerifyMagicLink$Params, WorkflowAction, WorkflowActionResponse };
|