@rlvt/entity-manager-openapi-client 1.0.77 → 1.0.78

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/build/api.d.ts CHANGED
@@ -68,7 +68,7 @@ export default class {
68
68
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
69
69
  status: "success";
70
70
  } & {
71
- data: unknown;
71
+ data: string;
72
72
  program: string;
73
73
  version: string;
74
74
  datetime: string;
@@ -206,7 +206,6 @@ export default class {
206
206
  };
207
207
  securityPolicy: {
208
208
  password: {
209
- duration: number;
210
209
  rules: {
211
210
  options: {
212
211
  maximum?: number | undefined;
@@ -214,6 +213,7 @@ export default class {
214
213
  };
215
214
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
216
215
  }[];
216
+ duration: number;
217
217
  attempts: {
218
218
  maximum: number;
219
219
  lockDuration: number;
@@ -479,7 +479,6 @@ export default class {
479
479
  };
480
480
  securityPolicy: {
481
481
  password: {
482
- duration: number;
483
482
  rules: {
484
483
  options: {
485
484
  maximum?: number | undefined;
@@ -487,6 +486,7 @@ export default class {
487
486
  };
488
487
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
489
488
  }[];
489
+ duration: number;
490
490
  attempts: {
491
491
  maximum: number;
492
492
  lockDuration: number;
@@ -768,7 +768,6 @@ export default class {
768
768
  };
769
769
  securityPolicy: {
770
770
  password: {
771
- duration: number;
772
771
  rules: {
773
772
  options: {
774
773
  maximum?: number | undefined;
@@ -776,6 +775,7 @@ export default class {
776
775
  };
777
776
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
778
777
  }[];
778
+ duration: number;
779
779
  attempts: {
780
780
  maximum: number;
781
781
  lockDuration: number;
@@ -1015,7 +1015,9 @@ export default class {
1015
1015
  }, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
1016
1016
  status: "success";
1017
1017
  } & {
1018
- data: unknown;
1018
+ data: {
1019
+ companyId: string;
1020
+ };
1019
1021
  program: string;
1020
1022
  version: string;
1021
1023
  datetime: string;
@@ -1049,10 +1051,10 @@ export default class {
1049
1051
  readonly resourceGroupIds: string[];
1050
1052
  createdAt: string;
1051
1053
  state: InvitationState;
1054
+ usedAt?: string | undefined;
1052
1055
  readonly email: string & {
1053
1056
  readonly?: "__readonly" | undefined;
1054
1057
  };
1055
- usedAt?: string | undefined;
1056
1058
  }[];
1057
1059
  program: string;
1058
1060
  version: string;
@@ -1081,11 +1083,11 @@ export default class {
1081
1083
  readonly resourceGroupIds: string[];
1082
1084
  createdAt: string;
1083
1085
  state: InvitationState;
1086
+ usedAt?: string | undefined;
1084
1087
  readonly email: string & {
1085
1088
  readonly?: "__readonly" | undefined;
1086
1089
  };
1087
- usedAt?: string | undefined;
1088
- }[];
1090
+ };
1089
1091
  program: string;
1090
1092
  version: string;
1091
1093
  datetime: string;
@@ -1111,11 +1113,11 @@ export default class {
1111
1113
  readonly resourceGroupIds: string[];
1112
1114
  createdAt: string;
1113
1115
  state: InvitationState;
1116
+ usedAt?: string | undefined;
1114
1117
  readonly email: string & {
1115
1118
  readonly?: "__readonly" | undefined;
1116
1119
  };
1117
- usedAt?: string | undefined;
1118
- }[];
1120
+ };
1119
1121
  program: string;
1120
1122
  version: string;
1121
1123
  datetime: string;
@@ -1228,9 +1230,6 @@ export default class {
1228
1230
  status: "success";
1229
1231
  } & {
1230
1232
  data: {
1231
- readonly id: string & {
1232
- readonly?: "__readonly" | undefined;
1233
- };
1234
1233
  readonly companyId: string & {
1235
1234
  readonly?: "__readonly" | undefined;
1236
1235
  };
@@ -1278,9 +1277,6 @@ export default class {
1278
1277
  status: "success";
1279
1278
  } & {
1280
1279
  data: {
1281
- readonly id: string & {
1282
- readonly?: "__readonly" | undefined;
1283
- };
1284
1280
  readonly companyId: string & {
1285
1281
  readonly?: "__readonly" | undefined;
1286
1282
  };
@@ -1299,7 +1295,7 @@ export default class {
1299
1295
  value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1300
1296
  })[] | undefined;
1301
1297
  }[];
1302
- }[];
1298
+ };
1303
1299
  program: string;
1304
1300
  version: string;
1305
1301
  datetime: string;
@@ -1329,9 +1325,6 @@ export default class {
1329
1325
  status: "success";
1330
1326
  } & {
1331
1327
  data: {
1332
- readonly id: string & {
1333
- readonly?: "__readonly" | undefined;
1334
- };
1335
1328
  readonly companyId: string & {
1336
1329
  readonly?: "__readonly" | undefined;
1337
1330
  };
@@ -1350,7 +1343,7 @@ export default class {
1350
1343
  value: "id" | "companyId" | "roleId" | "resourceGroupIds" | "companyId?" | "resourceGroupIds?";
1351
1344
  })[] | undefined;
1352
1345
  }[];
1353
- }[];
1346
+ };
1354
1347
  program: string;
1355
1348
  version: string;
1356
1349
  datetime: string;
@@ -1496,7 +1489,6 @@ export default class {
1496
1489
  };
1497
1490
  securityPolicy: {
1498
1491
  password: {
1499
- duration: number;
1500
1492
  rules: {
1501
1493
  options: {
1502
1494
  maximum?: number | undefined;
@@ -1504,6 +1496,7 @@ export default class {
1504
1496
  };
1505
1497
  type: "special-characters" | "numbers" | "characters" | "uppercases" | "lowercases";
1506
1498
  }[];
1499
+ duration: number;
1507
1500
  attempts: {
1508
1501
  maximum: number;
1509
1502
  lockDuration: number;
@@ -1781,7 +1774,7 @@ export default class {
1781
1774
  readonly accountType?: (("service-account" | "user") & {
1782
1775
  readonly?: "__readonly" | undefined;
1783
1776
  }) | undefined;
1784
- }[];
1777
+ };
1785
1778
  program: string;
1786
1779
  version: string;
1787
1780
  datetime: string;
@@ -1847,7 +1840,7 @@ export default class {
1847
1840
  readonly accountType?: (("service-account" | "user") & {
1848
1841
  readonly?: "__readonly" | undefined;
1849
1842
  }) | undefined;
1850
- }[];
1843
+ };
1851
1844
  program: string;
1852
1845
  version: string;
1853
1846
  datetime: string;
@@ -1891,7 +1884,7 @@ export default class {
1891
1884
  readonly accountType?: (("service-account" | "user") & {
1892
1885
  readonly?: "__readonly" | undefined;
1893
1886
  }) | undefined;
1894
- }[];
1887
+ };
1895
1888
  program: string;
1896
1889
  version: string;
1897
1890
  datetime: string;
@@ -1937,7 +1930,7 @@ export default class {
1937
1930
  readonly accountType?: (("service-account" | "user") & {
1938
1931
  readonly?: "__readonly" | undefined;
1939
1932
  }) | undefined;
1940
- }[];
1933
+ };
1941
1934
  program: string;
1942
1935
  version: string;
1943
1936
  datetime: string;
@@ -1983,7 +1976,7 @@ export default class {
1983
1976
  readonly accountType?: (("service-account" | "user") & {
1984
1977
  readonly?: "__readonly" | undefined;
1985
1978
  }) | undefined;
1986
- }[];
1979
+ };
1987
1980
  program: string;
1988
1981
  version: string;
1989
1982
  datetime: string;
@@ -2034,7 +2027,7 @@ export default class {
2034
2027
  readonly accountType?: (("service-account" | "user") & {
2035
2028
  readonly?: "__readonly" | undefined;
2036
2029
  }) | undefined;
2037
- }[];
2030
+ };
2038
2031
  program: string;
2039
2032
  version: string;
2040
2033
  datetime: string;
@@ -17,7 +17,7 @@ declare type PropsWithoutWriteonly<T> = {
17
17
  export declare type WithoutWriteonly<T> = T extends any ? T extends Primitive ? T : T extends Array<infer U> ? WithoutWriteonly<U>[] : keyof T extends never ? unknown : {
18
18
  [key in keyof Pick<T, PropsWithoutWriteonly<T>>]: Pick<T, PropsWithoutWriteonly<T>>[key] extends any ? WithoutWriteonly<Pick<T, PropsWithoutWriteonly<T>>[key]> : never;
19
19
  } : never;
20
- export declare type InternalResponse = {
20
+ export declare type InternalResponse_ = {
21
21
  program: string;
22
22
  version: string;
23
23
  datetime: string;
@@ -26,17 +26,25 @@ export declare type InternalResponse = {
26
26
  message: string;
27
27
  data: {};
28
28
  };
29
- export declare type RevokeTokenResponse = {
30
- revoked: boolean;
29
+ export declare type InternalResponse_string = {
30
+ program: string;
31
+ version: string;
32
+ datetime: string;
33
+ status: string;
34
+ code?: number;
35
+ message: string;
36
+ data: string;
31
37
  };
32
- export declare type __type_RevokeTokenResponse = {
38
+ export declare type InternalResponse_revoked_boolean = {
33
39
  program: string;
34
40
  version: string;
35
41
  datetime: string;
36
42
  status: string;
37
43
  code?: number;
38
44
  message: string;
39
- data: RevokeTokenResponse;
45
+ data: {
46
+ revoked: boolean;
47
+ };
40
48
  };
41
49
  export declare type UserProfile = {
42
50
  firstname?: string;
@@ -58,33 +66,40 @@ export declare type SerializedUser = {
58
66
  readonly accountType?: ("service-account" | "user") & readonlyP;
59
67
  };
60
68
  export declare type User = SerializedUser;
61
- export declare type DescribeTokenResponse = {
62
- isValid: boolean;
63
- revokedAt: string | null;
64
- expiresAt: string | null;
65
- user: User;
66
- };
67
- export declare type __type_DescribeTokenResponse = {
69
+ export declare type InternalResponse_isValid_boolean_revokedAt_Date_null_expiresAt_Date_null_user_User = {
68
70
  program: string;
69
71
  version: string;
70
72
  datetime: string;
71
73
  status: string;
72
74
  code?: number;
73
75
  message: string;
74
- data: DescribeTokenResponse;
76
+ data: {
77
+ isValid: boolean;
78
+ revokedAt: string | null;
79
+ expiresAt: string | null;
80
+ user: User;
81
+ };
75
82
  };
76
- export declare type GetCompanyDefaults = {
77
- roleId: string;
78
- resourceGroupIds: string[];
83
+ export declare type InternalResponse_void = {
84
+ program: string;
85
+ version: string;
86
+ datetime: string;
87
+ status: string;
88
+ code?: number;
89
+ message: string;
90
+ data: {};
79
91
  };
80
- export declare type __type_GetCompanyDefaults = {
92
+ export declare type InternalResponse_roleId_string_resourceGroupIds_Array_string = {
81
93
  program: string;
82
94
  version: string;
83
95
  datetime: string;
84
96
  status: string;
85
97
  code?: number;
86
98
  message: string;
87
- data: GetCompanyDefaults;
99
+ data: {
100
+ roleId: string;
101
+ resourceGroupIds: string[];
102
+ };
88
103
  };
89
104
  export declare type Quota = {
90
105
  type: "datasource" | "individual" | "display";
@@ -270,7 +285,7 @@ export declare type SerializedCompany = {
270
285
  };
271
286
  };
272
287
  export declare type Company = SerializedCompany;
273
- export declare type __type_Company = {
288
+ export declare type InternalResponse_Company = {
274
289
  program: string;
275
290
  version: string;
276
291
  datetime: string;
@@ -279,6 +294,17 @@ export declare type __type_Company = {
279
294
  message: string;
280
295
  data: Company;
281
296
  };
297
+ export declare type InternalResponse_companyId_string = {
298
+ program: string;
299
+ version: string;
300
+ datetime: string;
301
+ status: string;
302
+ code?: number;
303
+ message: string;
304
+ data: {
305
+ companyId: string;
306
+ };
307
+ };
282
308
  export declare type RoleRule_Without_ = {
283
309
  fields?: string[];
284
310
  conditions?: {
@@ -295,13 +321,23 @@ export declare type RoleRule_Without_ = {
295
321
  };
296
322
  export declare type RoleRule = RoleRule_Without_;
297
323
  export declare type SerializedRole = {
298
- readonly id: (string) & readonlyP;
299
324
  readonly companyId: (string) & readonlyP;
300
325
  name: string;
301
326
  rules: RoleRule[];
302
327
  };
328
+ export declare type InternalResponse_roles_Array_OmitAlias = {
329
+ program: string;
330
+ version: string;
331
+ datetime: string;
332
+ status: string;
333
+ code?: number;
334
+ message: string;
335
+ data: {
336
+ roles: SerializedRole[];
337
+ };
338
+ };
303
339
  export declare type Role = SerializedRole;
304
- export declare type __type_Role = {
340
+ export declare type InternalResponse_Array_Role = {
305
341
  program: string;
306
342
  version: string;
307
343
  datetime: string;
@@ -310,6 +346,19 @@ export declare type __type_Role = {
310
346
  message: string;
311
347
  data: Role[];
312
348
  };
349
+ export declare type ObjectId = string;
350
+ export declare type InternalResponse_companyId_ObjectId_resourceGroupIds_Array_ObjectId = {
351
+ program: string;
352
+ version: string;
353
+ datetime: string;
354
+ status: string;
355
+ code?: number;
356
+ message: string;
357
+ data: {
358
+ companyId: ObjectId;
359
+ resourceGroupIds: ObjectId[];
360
+ };
361
+ };
313
362
  export declare enum InvitationState {
314
363
  WAITING = "waiting",
315
364
  USED = "used",
@@ -326,7 +375,7 @@ export declare type SerializedInvitation = {
326
375
  state: InvitationState;
327
376
  };
328
377
  export declare type Invitation = SerializedInvitation;
329
- export declare type __type_Invitation = {
378
+ export declare type InternalResponse_Array_Invitation = {
330
379
  program: string;
331
380
  version: string;
332
381
  datetime: string;
@@ -335,17 +384,25 @@ export declare type __type_Invitation = {
335
384
  message: string;
336
385
  data: Invitation[];
337
386
  };
338
- export declare type UseInvitationResponse = {
339
- id: string;
387
+ export declare type InternalResponse_Invitation = {
388
+ program: string;
389
+ version: string;
390
+ datetime: string;
391
+ status: string;
392
+ code?: number;
393
+ message: string;
394
+ data: Invitation;
340
395
  };
341
- export declare type __type_UseInvitationResponse = {
396
+ export declare type InternalResponse_id_string = {
342
397
  program: string;
343
398
  version: string;
344
399
  datetime: string;
345
400
  status: string;
346
401
  code?: number;
347
402
  message: string;
348
- data: UseInvitationResponse;
403
+ data: {
404
+ id: string;
405
+ };
349
406
  };
350
407
  export declare type SerializedResourceGroup = {
351
408
  readonly id: (string) & readonlyP;
@@ -354,7 +411,7 @@ export declare type SerializedResourceGroup = {
354
411
  color?: string;
355
412
  };
356
413
  export declare type ResourceGroup = SerializedResourceGroup;
357
- export declare type __type_import_home_node_src_models_resource_groups_ResourceGroup_usersCount_number_ = {
414
+ export declare type InternalResponse_Array_import_home_node_src_models_resource_groups_ResourceGroup_usersCount_number_ = {
358
415
  program: string;
359
416
  version: string;
360
417
  datetime: string;
@@ -365,7 +422,7 @@ export declare type __type_import_home_node_src_models_resource_groups_ResourceG
365
422
  usersCount: number;
366
423
  })[];
367
424
  };
368
- export declare type __type_ResourceGroup = {
425
+ export declare type InternalResponse_ResourceGroup = {
369
426
  program: string;
370
427
  version: string;
371
428
  datetime: string;
@@ -374,7 +431,7 @@ export declare type __type_ResourceGroup = {
374
431
  message: string;
375
432
  data: ResourceGroup;
376
433
  };
377
- export declare type __type_import_home_node_src_models_roles_Role_usersCount_number_ = {
434
+ export declare type InternalResponse_Array_import_home_node_src_models_roles_Role_usersCount_number_ = {
378
435
  program: string;
379
436
  version: string;
380
437
  datetime: string;
@@ -385,7 +442,16 @@ export declare type __type_import_home_node_src_models_roles_Role_usersCount_num
385
442
  usersCount: number;
386
443
  })[];
387
444
  };
388
- export declare type __type_User = {
445
+ export declare type InternalResponse_Role = {
446
+ program: string;
447
+ version: string;
448
+ datetime: string;
449
+ status: string;
450
+ code?: number;
451
+ message: string;
452
+ data: Role;
453
+ };
454
+ export declare type InternalResponse_Array_User = {
389
455
  program: string;
390
456
  version: string;
391
457
  datetime: string;
@@ -394,18 +460,26 @@ export declare type __type_User = {
394
460
  message: string;
395
461
  data: User[];
396
462
  };
397
- export declare type CreateUserResponse = {
398
- user: User;
399
- company: Company;
463
+ export declare type InternalResponse_User = {
464
+ program: string;
465
+ version: string;
466
+ datetime: string;
467
+ status: string;
468
+ code?: number;
469
+ message: string;
470
+ data: User;
400
471
  };
401
- export declare type __type_CreateUserResponse = {
472
+ export declare type InternalResponse_user_User_company_Company = {
402
473
  program: string;
403
474
  version: string;
404
475
  datetime: string;
405
476
  status: string;
406
477
  code?: number;
407
478
  message: string;
408
- data: CreateUserResponse;
479
+ data: {
480
+ user: User;
481
+ company: Company;
482
+ };
409
483
  };
410
484
  export declare enum Variables {
411
485
  "RLVT-U" = "rlvt-u",
@@ -18,4 +18,4 @@ var Variables;
18
18
  Variables["UTM_MEDIUM"] = "utm_medium";
19
19
  Variables["UTM_TERM"] = "utm_term";
20
20
  })(Variables = exports.Variables || (exports.Variables = {}));
21
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBdVVwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQStGRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9kZWZpbml0aW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsb0JBQW9CO0FBQ3BCLG9CQUFvQjs7O0FBd1hwQixJQUFZLGVBSVg7QUFKRCxXQUFZLGVBQWU7SUFDdkIsc0NBQW1CLENBQUE7SUFDbkIsZ0NBQWEsQ0FBQTtJQUNiLHdDQUFxQixDQUFBO0FBQ3pCLENBQUMsRUFKVyxlQUFlLEdBQWYsdUJBQWUsS0FBZix1QkFBZSxRQUkxQjtBQXdIRCxJQUFZLFNBT1g7QUFQRCxXQUFZLFNBQVM7SUFDakIsOEJBQW1CLENBQUE7SUFDbkIsOEJBQW1CLENBQUE7SUFDbkIsMENBQTZCLENBQUE7SUFDN0Isc0NBQXlCLENBQUE7SUFDekIsc0NBQXlCLENBQUE7SUFDekIsa0NBQXFCLENBQUE7QUFDekIsQ0FBQyxFQVBXLFNBQVMsR0FBVCxpQkFBUyxLQUFULGlCQUFTLFFBT3BCIn0=
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rlvt/entity-manager-openapi-client",
3
- "version": "1.0.77+5f676af",
3
+ "version": "1.0.78+adbb031",
4
4
  "description": "Openapi client for reelevant service",
5
5
  "main": "build/index.js",
6
6
  "repository": "https://github.com/reelevant-tech/openapi-clients",