@fenixalliance/abs-api-client 1.0.12 → 1.0.14

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.
Files changed (145) hide show
  1. package/app/index.js +3 -3
  2. package/app/index.ts +1 -1
  3. package/clients/authService/core/ApiError.js +20 -0
  4. package/clients/authService/core/ApiError.ts +25 -0
  5. package/clients/authService/core/ApiRequestOptions.js +2 -0
  6. package/clients/authService/core/ApiRequestOptions.ts +17 -0
  7. package/clients/authService/core/ApiResult.js +2 -0
  8. package/clients/authService/core/ApiResult.ts +11 -0
  9. package/clients/authService/core/CancelablePromise.js +104 -0
  10. package/clients/authService/core/CancelablePromise.ts +131 -0
  11. package/clients/authService/core/OpenAPI.js +14 -0
  12. package/clients/authService/core/OpenAPI.ts +32 -0
  13. package/clients/authService/core/request.js +294 -0
  14. package/clients/authService/core/request.ts +322 -0
  15. package/clients/authService/index.js +28 -0
  16. package/clients/authService/index.ts +48 -0
  17. package/clients/authService/models/AccessTokenResponse.js +2 -0
  18. package/clients/authService/models/AccessTokenResponse.ts +11 -0
  19. package/clients/authService/models/AccountHolderCreateDto.js +12 -0
  20. package/clients/authService/models/AccountHolderCreateDto.ts +41 -0
  21. package/clients/authService/models/AccountHolderCreateDtoEnvelope.js +2 -0
  22. package/clients/authService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
  23. package/clients/authService/models/ApiAuthorizationResult.js +2 -0
  24. package/clients/authService/models/ApiAuthorizationResult.ts +17 -0
  25. package/clients/authService/models/ApiAuthorizationResultEnvelope.js +2 -0
  26. package/clients/authService/models/ApiAuthorizationResultEnvelope.ts +14 -0
  27. package/clients/authService/models/EnrollmentId.js +2 -0
  28. package/clients/authService/models/EnrollmentId.ts +5 -0
  29. package/clients/authService/models/ErrorEnvelope.js +2 -0
  30. package/clients/authService/models/ErrorEnvelope.ts +12 -0
  31. package/clients/authService/models/ForgotPasswordRequest.js +2 -0
  32. package/clients/authService/models/ForgotPasswordRequest.ts +8 -0
  33. package/clients/authService/models/HttpValidationProblemDetails.js +2 -0
  34. package/clients/authService/models/HttpValidationProblemDetails.ts +5 -0
  35. package/clients/authService/models/InfoRequest.js +2 -0
  36. package/clients/authService/models/InfoRequest.ts +10 -0
  37. package/clients/authService/models/InfoResponse.js +2 -0
  38. package/clients/authService/models/InfoResponse.ts +9 -0
  39. package/clients/authService/models/JsonWebKey.js +2 -0
  40. package/clients/authService/models/JsonWebKey.ts +13 -0
  41. package/clients/authService/models/JsonWebKeySet.js +2 -0
  42. package/clients/authService/models/JsonWebKeySet.ts +9 -0
  43. package/clients/authService/models/JsonWebKeySetEnvelope.js +2 -0
  44. package/clients/authService/models/JsonWebKeySetEnvelope.ts +14 -0
  45. package/clients/authService/models/JsonWebToken.js +2 -0
  46. package/clients/authService/models/JsonWebToken.ts +15 -0
  47. package/clients/authService/models/JsonWebTokenEnvelope.js +2 -0
  48. package/clients/authService/models/JsonWebTokenEnvelope.ts +14 -0
  49. package/clients/authService/models/JsonWebTokenHeader.js +2 -0
  50. package/clients/authService/models/JsonWebTokenHeader.ts +11 -0
  51. package/clients/authService/models/JsonWebTokenPayload.js +2 -0
  52. package/clients/authService/models/JsonWebTokenPayload.ts +17 -0
  53. package/clients/authService/models/LoginRequest.js +2 -0
  54. package/clients/authService/models/LoginRequest.ts +11 -0
  55. package/clients/authService/models/OAuthTokenRequest.js +2 -0
  56. package/clients/authService/models/OAuthTokenRequest.ts +12 -0
  57. package/clients/authService/models/OpenIdConfiguration.js +2 -0
  58. package/clients/authService/models/OpenIdConfiguration.ts +19 -0
  59. package/clients/authService/models/OpenIdConfigurationEnvelope.js +2 -0
  60. package/clients/authService/models/OpenIdConfigurationEnvelope.ts +14 -0
  61. package/clients/authService/models/RefreshRequest.js +2 -0
  62. package/clients/authService/models/RefreshRequest.ts +8 -0
  63. package/clients/authService/models/RegisterRequest.js +2 -0
  64. package/clients/authService/models/RegisterRequest.ts +9 -0
  65. package/clients/authService/models/ResendConfirmationEmailRequest.js +2 -0
  66. package/clients/authService/models/ResendConfirmationEmailRequest.ts +8 -0
  67. package/clients/authService/models/ResetPasswordRequest.js +2 -0
  68. package/clients/authService/models/ResetPasswordRequest.ts +10 -0
  69. package/clients/authService/models/SigninModel.js +2 -0
  70. package/clients/authService/models/SigninModel.ts +9 -0
  71. package/clients/authService/models/StringListEnvelope.js +2 -0
  72. package/clients/authService/models/StringListEnvelope.ts +13 -0
  73. package/clients/authService/models/TenantId.js +2 -0
  74. package/clients/authService/models/TenantId.ts +5 -0
  75. package/clients/authService/models/TwoFactorRequest.js +2 -0
  76. package/clients/authService/models/TwoFactorRequest.ts +12 -0
  77. package/clients/authService/models/TwoFactorResponse.js +2 -0
  78. package/clients/authService/models/TwoFactorResponse.ts +12 -0
  79. package/clients/authService/models/UserId.js +2 -0
  80. package/clients/authService/models/UserId.ts +5 -0
  81. package/clients/authService/services/ApplicationsService.js +112 -0
  82. package/clients/authService/services/ApplicationsService.ts +132 -0
  83. package/clients/authService/services/AuthService.js +246 -0
  84. package/clients/authService/services/AuthService.ts +293 -0
  85. package/clients/authService/services/CheckerService.js +22 -0
  86. package/clients/authService/services/CheckerService.ts +25 -0
  87. package/clients/{holderService/services/TenantsService.js → authService/services/OAuthService.js} +52 -51
  88. package/clients/authService/services/OAuthService.ts +183 -0
  89. package/clients/authService/services/ResourceService.js +22 -0
  90. package/clients/authService/services/ResourceService.ts +25 -0
  91. package/clients/authService/services/UserInfoService.js +36 -0
  92. package/clients/authService/services/UserInfoService.ts +41 -0
  93. package/clients/cartService/index.js +3 -7
  94. package/clients/cartService/index.ts +1 -3
  95. package/clients/cartService/services/{CartService.js → CartsService.js} +3 -3
  96. package/clients/cartService/services/{CartService.ts → CartsService.ts} +1 -1
  97. package/clients/cartService/services/WishListsService.js +0 -321
  98. package/clients/cartService/services/WishListsService.ts +0 -373
  99. package/clients/holderService/index.js +1 -5
  100. package/clients/holderService/index.ts +0 -2
  101. package/clients/holderService/services/UserService.js +143 -0
  102. package/clients/holderService/services/UserService.ts +166 -0
  103. package/clients/identityService/index.js +3 -1
  104. package/clients/identityService/index.ts +13 -0
  105. package/clients/identityService/models/AccessTokenResponse.js +2 -0
  106. package/clients/identityService/models/AccessTokenResponse.ts +11 -0
  107. package/clients/identityService/models/ForgotPasswordRequest.js +2 -0
  108. package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
  109. package/clients/identityService/models/HttpValidationProblemDetails.js +2 -0
  110. package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
  111. package/clients/identityService/models/InfoRequest.js +2 -0
  112. package/clients/identityService/models/InfoRequest.ts +10 -0
  113. package/clients/identityService/models/InfoResponse.js +2 -0
  114. package/clients/identityService/models/InfoResponse.ts +9 -0
  115. package/clients/identityService/models/LoginRequest.js +2 -0
  116. package/clients/identityService/models/LoginRequest.ts +11 -0
  117. package/clients/identityService/models/RefreshRequest.js +2 -0
  118. package/clients/identityService/models/RefreshRequest.ts +8 -0
  119. package/clients/identityService/models/RegisterRequest.js +2 -0
  120. package/clients/identityService/models/RegisterRequest.ts +9 -0
  121. package/clients/identityService/models/ResendConfirmationEmailRequest.js +2 -0
  122. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
  123. package/clients/identityService/models/ResetPasswordRequest.js +2 -0
  124. package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
  125. package/clients/identityService/models/TwoFactorRequest.js +2 -0
  126. package/clients/identityService/models/TwoFactorRequest.ts +12 -0
  127. package/clients/identityService/models/TwoFactorResponse.js +2 -0
  128. package/clients/identityService/models/TwoFactorResponse.ts +12 -0
  129. package/clients/identityService/services/FenixAllianceAbsModulesWebService.js +246 -0
  130. package/clients/identityService/services/FenixAllianceAbsModulesWebService.ts +293 -0
  131. package/clients/tenantService/services/TenantsService.js +33 -57
  132. package/clients/tenantService/services/TenantsService.ts +33 -65
  133. package/package.json +1 -1
  134. package/schemas/authService/schema.s.js +6 -0
  135. package/schemas/authService/schema.s.ts +894 -0
  136. package/schemas/identityService/schema.s.ts +382 -1
  137. package/schemas/tenantService/schema.s.ts +144 -70
  138. package/tsconfig.json +1 -1
  139. package/clients/cartService/services/CartLinesService.js +0 -173
  140. package/clients/cartService/services/CartLinesService.ts +0 -203
  141. package/clients/cartService/services/ECommerceService.js +0 -1104
  142. package/clients/cartService/services/ECommerceService.ts +0 -1289
  143. package/clients/holderService/services/IdentityService.js +0 -364
  144. package/clients/holderService/services/IdentityService.ts +0 -421
  145. package/clients/holderService/services/TenantsService.ts +0 -176
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { JsonWebKeySet } from './JsonWebKeySet';
6
+ export type JsonWebKeySetEnvelope = {
7
+ readonly isSuccess?: boolean;
8
+ errorMessage?: string | null;
9
+ correlationId?: string | null;
10
+ readonly timestamp?: string;
11
+ readonly activityId?: string | null;
12
+ result?: JsonWebKeySet;
13
+ };
14
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,15 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { JsonWebTokenHeader } from './JsonWebTokenHeader';
6
+ import type { JsonWebTokenPayload } from './JsonWebTokenPayload';
7
+ export type JsonWebToken = {
8
+ header?: JsonWebTokenHeader;
9
+ payload?: JsonWebTokenPayload;
10
+ signature?: string | null;
11
+ tokenType?: string | null;
12
+ expiresIn?: number;
13
+ accessToken?: string | null;
14
+ };
15
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { JsonWebToken } from './JsonWebToken';
6
+ export type JsonWebTokenEnvelope = {
7
+ readonly isSuccess?: boolean;
8
+ errorMessage?: string | null;
9
+ correlationId?: string | null;
10
+ readonly timestamp?: string;
11
+ readonly activityId?: string | null;
12
+ result?: JsonWebToken;
13
+ };
14
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type JsonWebTokenHeader = {
6
+ alg?: string | null;
7
+ jku?: string | null;
8
+ kid?: string | null;
9
+ typ?: string | null;
10
+ };
11
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,17 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type JsonWebTokenPayload = {
6
+ aud?: string | null;
7
+ cid?: string | null;
8
+ iss?: string | null;
9
+ aid?: string | null;
10
+ sub?: string | null;
11
+ act?: string | null;
12
+ iat?: number;
13
+ nbf?: number;
14
+ exp?: number;
15
+ scopes?: Array<string> | null;
16
+ };
17
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type LoginRequest = {
6
+ email: string | null;
7
+ password: string | null;
8
+ twoFactorCode?: string | null;
9
+ twoFactorRecoveryCode?: string | null;
10
+ };
11
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type OAuthTokenRequest = {
6
+ client_id?: string | null;
7
+ client_secret?: string | null;
8
+ grant_type?: string | null;
9
+ requested_scopes?: string | null;
10
+ requested_enrollment?: string | null;
11
+ };
12
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,19 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type OpenIdConfiguration = {
6
+ issuer?: string | null;
7
+ authorizationEndpoint?: string | null;
8
+ tokenEndpoint?: string | null;
9
+ endSessionEndpoint?: string | null;
10
+ jwksUri?: string | null;
11
+ responseModesSupported?: Array<string> | null;
12
+ responseTypesSupported?: Array<string> | null;
13
+ scopesSupported?: Array<string> | null;
14
+ subjectTypesSupported?: Array<string> | null;
15
+ idTokenSigningAlgValuesSupported?: Array<string> | null;
16
+ tokenEndpointAuthMethodsSupported?: Array<string> | null;
17
+ claimsSupported?: Array<string> | null;
18
+ };
19
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,14 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { OpenIdConfiguration } from './OpenIdConfiguration';
6
+ export type OpenIdConfigurationEnvelope = {
7
+ readonly isSuccess?: boolean;
8
+ errorMessage?: string | null;
9
+ correlationId?: string | null;
10
+ readonly timestamp?: string;
11
+ readonly activityId?: string | null;
12
+ result?: OpenIdConfiguration;
13
+ };
14
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type RefreshRequest = {
6
+ refreshToken: string | null;
7
+ };
8
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type RegisterRequest = {
6
+ email: string | null;
7
+ password: string | null;
8
+ };
9
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ResendConfirmationEmailRequest = {
6
+ email: string | null;
7
+ };
8
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ResetPasswordRequest = {
6
+ email: string | null;
7
+ resetCode: string | null;
8
+ newPassword: string | null;
9
+ };
10
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,9 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type SigninModel = {
6
+ email?: string | null;
7
+ password?: string | null;
8
+ };
9
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,13 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type StringListEnvelope = {
6
+ readonly isSuccess?: boolean;
7
+ errorMessage?: string | null;
8
+ correlationId?: string | null;
9
+ readonly timestamp?: string;
10
+ readonly activityId?: string | null;
11
+ result?: Array<string> | null;
12
+ };
13
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type TenantId = Record<string, any>;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type TwoFactorRequest = {
6
+ enable?: boolean | null;
7
+ twoFactorCode?: string | null;
8
+ resetSharedKey?: boolean;
9
+ resetRecoveryCodes?: boolean;
10
+ forgetMachine?: boolean;
11
+ };
12
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type TwoFactorResponse = {
6
+ sharedKey: string | null;
7
+ recoveryCodesLeft: number;
8
+ recoveryCodes?: Array<string> | null;
9
+ isTwoFactorEnabled: boolean;
10
+ isMachineRemembered: boolean;
11
+ };
12
+
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type UserId = Record<string, any>;
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ApplicationsService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class ApplicationsService {
7
+ /**
8
+ * @param appId
9
+ * @param xApiVersion
10
+ * @returns any OK
11
+ * @throws ApiError
12
+ */
13
+ static getApiV2Applications(appId, xApiVersion) {
14
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
15
+ method: 'GET',
16
+ url: '/api/v2/Applications/{appID}',
17
+ path: {
18
+ 'appID': appId,
19
+ },
20
+ headers: {
21
+ 'x-api-version': xApiVersion,
22
+ },
23
+ });
24
+ }
25
+ /**
26
+ * @param appId
27
+ * @param xApiVersion
28
+ * @returns any OK
29
+ * @throws ApiError
30
+ */
31
+ static getApiV2ApplicationsRequiredPermissions(appId, xApiVersion) {
32
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
33
+ method: 'GET',
34
+ url: '/api/v2/Applications/{appID}/RequiredPermissions',
35
+ path: {
36
+ 'appID': appId,
37
+ },
38
+ headers: {
39
+ 'x-api-version': xApiVersion,
40
+ },
41
+ });
42
+ }
43
+ /**
44
+ * @param appId
45
+ * @param tenantId
46
+ * @param xApiVersion
47
+ * @returns any OK
48
+ * @throws ApiError
49
+ */
50
+ static getApiV2ApplicationsGrantedPermissions(appId, tenantId, xApiVersion) {
51
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
52
+ method: 'GET',
53
+ url: '/api/v2/Applications/{appID}/GrantedPermissions',
54
+ path: {
55
+ 'appID': appId,
56
+ },
57
+ headers: {
58
+ 'x-api-version': xApiVersion,
59
+ },
60
+ query: {
61
+ 'tenantID': tenantId,
62
+ },
63
+ });
64
+ }
65
+ /**
66
+ * @param appId
67
+ * @param tenantId
68
+ * @param xApiVersion
69
+ * @returns any OK
70
+ * @throws ApiError
71
+ */
72
+ static getApiV2ApplicationsGrantedRoles(appId, tenantId, xApiVersion) {
73
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
74
+ method: 'GET',
75
+ url: '/api/v2/Applications/{appID}/GrantedRoles',
76
+ path: {
77
+ 'appID': appId,
78
+ },
79
+ headers: {
80
+ 'x-api-version': xApiVersion,
81
+ },
82
+ query: {
83
+ 'tenantID': tenantId,
84
+ },
85
+ });
86
+ }
87
+ /**
88
+ * @param appId
89
+ * @param securityRoleId
90
+ * @param enrollmentId
91
+ * @param xApiVersion
92
+ * @returns any OK
93
+ * @throws ApiError
94
+ */
95
+ static getApiV2ApplicationsGrantedRolesGrantedPermissions(appId, securityRoleId, enrollmentId, xApiVersion) {
96
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
97
+ method: 'GET',
98
+ url: '/api/v2/Applications/{appID}/GrantedRoles/{SecurityRoleID}/GrantedPermissions',
99
+ path: {
100
+ 'appID': appId,
101
+ 'securityRoleID': securityRoleId,
102
+ },
103
+ headers: {
104
+ 'x-api-version': xApiVersion,
105
+ },
106
+ query: {
107
+ 'enrollmentID': enrollmentId,
108
+ },
109
+ });
110
+ }
111
+ }
112
+ exports.ApplicationsService = ApplicationsService;
@@ -0,0 +1,132 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { CancelablePromise } from '../core/CancelablePromise';
6
+ import { OpenAPI } from '../core/OpenAPI';
7
+ import { request as __request } from '../core/request';
8
+ export class ApplicationsService {
9
+ /**
10
+ * @param appId
11
+ * @param xApiVersion
12
+ * @returns any OK
13
+ * @throws ApiError
14
+ */
15
+ public static getApiV2Applications(
16
+ appId: string,
17
+ xApiVersion?: string,
18
+ ): CancelablePromise<any> {
19
+ return __request(OpenAPI, {
20
+ method: 'GET',
21
+ url: '/api/v2/Applications/{appID}',
22
+ path: {
23
+ 'appID': appId,
24
+ },
25
+ headers: {
26
+ 'x-api-version': xApiVersion,
27
+ },
28
+ });
29
+ }
30
+ /**
31
+ * @param appId
32
+ * @param xApiVersion
33
+ * @returns any OK
34
+ * @throws ApiError
35
+ */
36
+ public static getApiV2ApplicationsRequiredPermissions(
37
+ appId: string,
38
+ xApiVersion?: string,
39
+ ): CancelablePromise<any> {
40
+ return __request(OpenAPI, {
41
+ method: 'GET',
42
+ url: '/api/v2/Applications/{appID}/RequiredPermissions',
43
+ path: {
44
+ 'appID': appId,
45
+ },
46
+ headers: {
47
+ 'x-api-version': xApiVersion,
48
+ },
49
+ });
50
+ }
51
+ /**
52
+ * @param appId
53
+ * @param tenantId
54
+ * @param xApiVersion
55
+ * @returns any OK
56
+ * @throws ApiError
57
+ */
58
+ public static getApiV2ApplicationsGrantedPermissions(
59
+ appId: string,
60
+ tenantId?: string,
61
+ xApiVersion?: string,
62
+ ): CancelablePromise<any> {
63
+ return __request(OpenAPI, {
64
+ method: 'GET',
65
+ url: '/api/v2/Applications/{appID}/GrantedPermissions',
66
+ path: {
67
+ 'appID': appId,
68
+ },
69
+ headers: {
70
+ 'x-api-version': xApiVersion,
71
+ },
72
+ query: {
73
+ 'tenantID': tenantId,
74
+ },
75
+ });
76
+ }
77
+ /**
78
+ * @param appId
79
+ * @param tenantId
80
+ * @param xApiVersion
81
+ * @returns any OK
82
+ * @throws ApiError
83
+ */
84
+ public static getApiV2ApplicationsGrantedRoles(
85
+ appId: string,
86
+ tenantId?: string,
87
+ xApiVersion?: string,
88
+ ): CancelablePromise<any> {
89
+ return __request(OpenAPI, {
90
+ method: 'GET',
91
+ url: '/api/v2/Applications/{appID}/GrantedRoles',
92
+ path: {
93
+ 'appID': appId,
94
+ },
95
+ headers: {
96
+ 'x-api-version': xApiVersion,
97
+ },
98
+ query: {
99
+ 'tenantID': tenantId,
100
+ },
101
+ });
102
+ }
103
+ /**
104
+ * @param appId
105
+ * @param securityRoleId
106
+ * @param enrollmentId
107
+ * @param xApiVersion
108
+ * @returns any OK
109
+ * @throws ApiError
110
+ */
111
+ public static getApiV2ApplicationsGrantedRolesGrantedPermissions(
112
+ appId: string,
113
+ securityRoleId: string,
114
+ enrollmentId?: string,
115
+ xApiVersion?: string,
116
+ ): CancelablePromise<any> {
117
+ return __request(OpenAPI, {
118
+ method: 'GET',
119
+ url: '/api/v2/Applications/{appID}/GrantedRoles/{SecurityRoleID}/GrantedPermissions',
120
+ path: {
121
+ 'appID': appId,
122
+ 'securityRoleID': securityRoleId,
123
+ },
124
+ headers: {
125
+ 'x-api-version': xApiVersion,
126
+ },
127
+ query: {
128
+ 'enrollmentID': enrollmentId,
129
+ },
130
+ });
131
+ }
132
+ }