@fenixalliance/abs-api-client 1.0.8 → 1.0.10

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 (119) hide show
  1. package/app/index.js +2 -2
  2. package/app/index.ts +1 -1
  3. package/clients/contentService/index.ts +2 -2
  4. package/clients/contentService/models/{Portal.ts → PortalSettings.ts} +1 -1
  5. package/clients/contentService/models/PortalSettingsEnvelope.ts +14 -0
  6. package/clients/contentService/services/PortalsService.js +23 -12
  7. package/clients/contentService/services/PortalsService.ts +25 -14
  8. package/clients/crmService/services/ContactsService.js +86 -28
  9. package/clients/crmService/services/ContactsService.ts +86 -28
  10. package/clients/holderService/index.js +7 -3
  11. package/clients/holderService/index.ts +4 -2
  12. package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +14 -0
  13. package/clients/holderService/services/{HolderService.js → IdentityService.js} +65 -157
  14. package/clients/holderService/services/{HolderService.ts → IdentityService.ts} +70 -186
  15. package/clients/holderService/services/TenantsService.js +151 -0
  16. package/clients/holderService/services/TenantsService.ts +176 -0
  17. package/clients/holderService/services/UserService.js +364 -0
  18. package/clients/holderService/services/UserService.ts +421 -0
  19. package/clients/storageService/core/ApiError.js +20 -0
  20. package/clients/storageService/core/ApiError.ts +25 -0
  21. package/clients/storageService/core/ApiRequestOptions.ts +17 -0
  22. package/clients/storageService/core/ApiResult.ts +11 -0
  23. package/clients/storageService/core/CancelablePromise.js +104 -0
  24. package/clients/storageService/core/CancelablePromise.ts +131 -0
  25. package/clients/storageService/core/OpenAPI.js +14 -0
  26. package/clients/storageService/core/OpenAPI.ts +32 -0
  27. package/clients/storageService/core/request.js +294 -0
  28. package/clients/storageService/core/request.ts +322 -0
  29. package/clients/storageService/index.js +26 -0
  30. package/clients/storageService/index.ts +23 -0
  31. package/clients/storageService/models/Blob.js +11 -0
  32. package/clients/storageService/models/Blob.ts +26 -0
  33. package/clients/{contentService/models/PortalEnvelope.ts → storageService/models/BlobEnvelope.ts} +3 -3
  34. package/clients/{holderService/models/EmptyEnvelopeEnvelope.ts → storageService/models/EmptyEnvelope.ts} +1 -3
  35. package/clients/storageService/models/ErrorEnvelope.ts +12 -0
  36. package/clients/storageService/models/FileUploadCreateDto.ts +20 -0
  37. package/clients/storageService/models/FileUploadDto.js +2 -0
  38. package/clients/storageService/models/FileUploadDto.ts +29 -0
  39. package/clients/storageService/models/FileUploadDtoEnvelope.js +2 -0
  40. package/clients/storageService/models/FileUploadDtoEnvelope.ts +14 -0
  41. package/clients/storageService/models/FileUploadUpdateDto.js +2 -0
  42. package/clients/storageService/models/FileUploadUpdateDto.ts +19 -0
  43. package/clients/storageService/services/AvatarsService.js +200 -0
  44. package/clients/storageService/services/AvatarsService.ts +234 -0
  45. package/clients/storageService/services/BlobsService.js +66 -0
  46. package/clients/storageService/services/BlobsService.ts +81 -0
  47. package/clients/{tenantService/services/EnrollmentsService.js → storageService/services/FilesService.js} +50 -42
  48. package/clients/{tenantService/services/UnitsService.ts → storageService/services/FilesService.ts} +75 -65
  49. package/clients/storageService/services/RadzenEditorService.js +117 -0
  50. package/clients/storageService/services/RadzenEditorService.ts +149 -0
  51. package/clients/storageService/services/UploadsService.js +33 -0
  52. package/clients/storageService/services/UploadsService.ts +53 -0
  53. package/clients/systemService/services/ModulesService.js +4 -2
  54. package/clients/systemService/services/ModulesService.ts +4 -2
  55. package/clients/systemService/services/TenantsService.js +24 -8
  56. package/clients/systemService/services/TenantsService.ts +24 -8
  57. package/clients/tenantService/index.js +1 -29
  58. package/clients/tenantService/index.ts +7 -20
  59. package/clients/tenantService/models/TenantIndustryDtoListEnvelope.js +2 -0
  60. package/clients/tenantService/models/TenantIndustryDtoListEnvelope.ts +14 -0
  61. package/clients/tenantService/models/TenantTeamContactEnrollmentDtoListEnvelope.js +2 -0
  62. package/clients/tenantService/models/{TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamContactEnrollmentDtoListEnvelope.ts} +1 -1
  63. package/clients/tenantService/models/TenantTeamDtoListEnvelope.js +2 -0
  64. package/clients/tenantService/models/{TenantTeamDtoIReadOnlyCollectionEnvelope.ts → TenantTeamDtoListEnvelope.ts} +1 -1
  65. package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoListEnvelope.js +2 -0
  66. package/clients/tenantService/models/{TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamEmployeeEnrollmentDtoListEnvelope.ts} +1 -1
  67. package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoListEnvelope.js +2 -0
  68. package/clients/tenantService/models/{TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts → TenantTeamProjectEnrollmentDtoListEnvelope.ts} +1 -1
  69. package/clients/tenantService/models/TenantTeamRecordDtoListEnvelope.js +2 -0
  70. package/clients/tenantService/models/{TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts → TenantTeamRecordDtoListEnvelope.ts} +1 -1
  71. package/clients/tenantService/models/TenantTypeDtoListEnvelope.js +2 -0
  72. package/clients/tenantService/models/{TenantTypeDtoIReadOnlyCollectionEnvelope.ts → TenantTypeDtoListEnvelope.ts} +1 -1
  73. package/clients/tenantService/services/SizesService.js +15 -5
  74. package/clients/tenantService/services/SizesService.ts +15 -5
  75. package/clients/tenantService/services/TenantsService.js +2554 -233
  76. package/clients/tenantService/services/TenantsService.ts +3004 -307
  77. package/package.json +1 -1
  78. package/schemas/contentService/schema.s.ts +877 -844
  79. package/schemas/crmService/schema.s.ts +1776 -1516
  80. package/schemas/holderService/schema.s.ts +1024 -789
  81. package/schemas/storageService/schema.s.js +6 -0
  82. package/schemas/storageService/schema.s.ts +1087 -0
  83. package/schemas/systemService/schema.s.ts +465 -387
  84. package/schemas/tenantService/schema.s.ts +5713 -4820
  85. package/clients/tenantService/services/DepartmentsService.js +0 -161
  86. package/clients/tenantService/services/DepartmentsService.ts +0 -192
  87. package/clients/tenantService/services/EmployeeEnrollmentsService.js +0 -153
  88. package/clients/tenantService/services/EmployeeEnrollmentsService.ts +0 -181
  89. package/clients/tenantService/services/EnrollmentsService.ts +0 -195
  90. package/clients/tenantService/services/IndustriesService.js +0 -161
  91. package/clients/tenantService/services/IndustriesService.ts +0 -190
  92. package/clients/tenantService/services/InvitationsService.js +0 -128
  93. package/clients/tenantService/services/InvitationsService.ts +0 -150
  94. package/clients/tenantService/services/PositionsService.js +0 -161
  95. package/clients/tenantService/services/PositionsService.ts +0 -192
  96. package/clients/tenantService/services/SegmentsService.js +0 -161
  97. package/clients/tenantService/services/SegmentsService.ts +0 -191
  98. package/clients/tenantService/services/TeamContactEnrollmentsService.js +0 -161
  99. package/clients/tenantService/services/TeamContactEnrollmentsService.ts +0 -191
  100. package/clients/tenantService/services/TeamProjectEnrollmentService.js +0 -153
  101. package/clients/tenantService/services/TeamProjectEnrollmentService.ts +0 -181
  102. package/clients/tenantService/services/TeamRecordsService.js +0 -161
  103. package/clients/tenantService/services/TeamRecordsService.ts +0 -192
  104. package/clients/tenantService/services/TeamsService.js +0 -161
  105. package/clients/tenantService/services/TeamsService.ts +0 -192
  106. package/clients/tenantService/services/TerritoriesService.js +0 -161
  107. package/clients/tenantService/services/TerritoriesService.ts +0 -192
  108. package/clients/tenantService/services/TypesService.js +0 -149
  109. package/clients/tenantService/services/TypesService.ts +0 -176
  110. package/clients/tenantService/services/UnitsService.js +0 -159
  111. /package/clients/contentService/models/{Portal.js → PortalSettings.js} +0 -0
  112. /package/clients/contentService/models/{PortalEnvelope.js → PortalSettingsEnvelope.js} +0 -0
  113. /package/clients/holderService/models/{EmptyEnvelopeEnvelope.js → FollowRecordDtoListEnvelope.js} +0 -0
  114. /package/clients/{tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiRequestOptions.js} +0 -0
  115. /package/clients/{tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.js → storageService/core/ApiResult.js} +0 -0
  116. /package/clients/{tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/BlobEnvelope.js} +0 -0
  117. /package/clients/{tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.js → storageService/models/EmptyEnvelope.js} +0 -0
  118. /package/clients/{tenantService/models/TenantTeamRecordDtoIReadOnlyCollectionEnvelope.js → storageService/models/ErrorEnvelope.js} +0 -0
  119. /package/clients/{tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.js → storageService/models/FileUploadCreateDto.js} +0 -0
@@ -1,195 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { EmptyEnvelope } from '../models/EmptyEnvelope';
6
- import type { Operation } from '../models/Operation';
7
- import type { TenantEnrollmentCreateDto } from '../models/TenantEnrollmentCreateDto';
8
- import type { TenantEnrollmentUpdateDto } from '../models/TenantEnrollmentUpdateDto';
9
- import type { TenantEnrolmentDtoEnvelope } from '../models/TenantEnrolmentDtoEnvelope';
10
- import type { TenantEnrolmentDtoListEnvelope } from '../models/TenantEnrolmentDtoListEnvelope';
11
- import type { CancelablePromise } from '../core/CancelablePromise';
12
- import { OpenAPI } from '../core/OpenAPI';
13
- import { request as __request } from '../core/request';
14
- export class EnrollmentsService {
15
- /**
16
- * @param tenantId
17
- * @param xApiVersion
18
- * @param requestBody
19
- * @returns EmptyEnvelope Created
20
- * @throws ApiError
21
- */
22
- public static postApiV2Enrollments(
23
- tenantId: string,
24
- xApiVersion?: string,
25
- requestBody?: TenantEnrollmentCreateDto,
26
- ): CancelablePromise<EmptyEnvelope> {
27
- return __request(OpenAPI, {
28
- method: 'POST',
29
- url: '/api/v2/Enrollments',
30
- headers: {
31
- 'x-api-version': xApiVersion,
32
- },
33
- query: {
34
- 'tenantId': tenantId,
35
- },
36
- body: requestBody,
37
- mediaType: 'application/json',
38
- errors: {
39
- 401: `Unauthorized`,
40
- 403: `Forbidden`,
41
- },
42
- });
43
- }
44
- /**
45
- * @param tenantId
46
- * @param xApiVersion
47
- * @returns TenantEnrolmentDtoListEnvelope OK
48
- * @throws ApiError
49
- */
50
- public static getApiV2Enrollments(
51
- tenantId: string,
52
- xApiVersion?: string,
53
- ): CancelablePromise<TenantEnrolmentDtoListEnvelope> {
54
- return __request(OpenAPI, {
55
- method: 'GET',
56
- url: '/api/v2/Enrollments',
57
- headers: {
58
- 'x-api-version': xApiVersion,
59
- },
60
- query: {
61
- 'tenantId': tenantId,
62
- },
63
- errors: {
64
- 401: `Unauthorized`,
65
- 403: `Forbidden`,
66
- },
67
- });
68
- }
69
- /**
70
- * @param tenantId
71
- * @param userId
72
- * @param xApiVersion
73
- * @returns TenantEnrolmentDtoEnvelope OK
74
- * @throws ApiError
75
- */
76
- public static getApiV2Enrollments1(
77
- tenantId: string,
78
- userId: string,
79
- xApiVersion?: string,
80
- ): CancelablePromise<TenantEnrolmentDtoEnvelope> {
81
- return __request(OpenAPI, {
82
- method: 'GET',
83
- url: '/api/v2/Enrollments/{tenantId}',
84
- headers: {
85
- 'x-api-version': xApiVersion,
86
- },
87
- query: {
88
- 'tenantId': tenantId,
89
- 'userId': userId,
90
- },
91
- errors: {
92
- 401: `Unauthorized`,
93
- 403: `Forbidden`,
94
- },
95
- });
96
- }
97
- /**
98
- * @param tenantId
99
- * @param tenantEnrollmentId
100
- * @param xApiVersion
101
- * @param requestBody
102
- * @returns EmptyEnvelope OK
103
- * @throws ApiError
104
- */
105
- public static putApiV2Enrollments(
106
- tenantId: string,
107
- tenantEnrollmentId: string,
108
- xApiVersion?: string,
109
- requestBody?: TenantEnrollmentUpdateDto,
110
- ): CancelablePromise<EmptyEnvelope> {
111
- return __request(OpenAPI, {
112
- method: 'PUT',
113
- url: '/api/v2/Enrollments/{tenantEnrollmentId}',
114
- path: {
115
- 'tenantEnrollmentId': tenantEnrollmentId,
116
- },
117
- headers: {
118
- 'x-api-version': xApiVersion,
119
- },
120
- query: {
121
- 'tenantId': tenantId,
122
- },
123
- body: requestBody,
124
- mediaType: 'application/json',
125
- errors: {
126
- 401: `Unauthorized`,
127
- 403: `Forbidden`,
128
- },
129
- });
130
- }
131
- /**
132
- * @param tenantId
133
- * @param tenantEnrollmentId
134
- * @param xApiVersion
135
- * @param requestBody
136
- * @returns EmptyEnvelope OK
137
- * @throws ApiError
138
- */
139
- public static patchApiV2Enrollments(
140
- tenantId: string,
141
- tenantEnrollmentId: string,
142
- xApiVersion?: string,
143
- requestBody?: Array<Operation>,
144
- ): CancelablePromise<EmptyEnvelope> {
145
- return __request(OpenAPI, {
146
- method: 'PATCH',
147
- url: '/api/v2/Enrollments/{tenantEnrollmentId}',
148
- path: {
149
- 'tenantEnrollmentId': tenantEnrollmentId,
150
- },
151
- headers: {
152
- 'x-api-version': xApiVersion,
153
- },
154
- query: {
155
- 'tenantId': tenantId,
156
- },
157
- body: requestBody,
158
- mediaType: 'application/json',
159
- errors: {
160
- 401: `Unauthorized`,
161
- 403: `Forbidden`,
162
- },
163
- });
164
- }
165
- /**
166
- * @param tenantId
167
- * @param tenantEnrollmentId
168
- * @param xApiVersion
169
- * @returns EmptyEnvelope OK
170
- * @throws ApiError
171
- */
172
- public static deleteApiV2Enrollments(
173
- tenantId: string,
174
- tenantEnrollmentId: string,
175
- xApiVersion?: string,
176
- ): CancelablePromise<EmptyEnvelope> {
177
- return __request(OpenAPI, {
178
- method: 'DELETE',
179
- url: '/api/v2/Enrollments/{tenantEnrollmentId}',
180
- path: {
181
- 'tenantEnrollmentId': tenantEnrollmentId,
182
- },
183
- headers: {
184
- 'x-api-version': xApiVersion,
185
- },
186
- query: {
187
- 'tenantId': tenantId,
188
- },
189
- errors: {
190
- 401: `Unauthorized`,
191
- 403: `Forbidden`,
192
- },
193
- });
194
- }
195
- }
@@ -1,161 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.IndustriesService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class IndustriesService {
7
- /**
8
- * @param tenantId
9
- * @param xApiVersion
10
- * @param requestBody
11
- * @returns TenantIndustryDtoEnvelope Created
12
- * @throws ApiError
13
- */
14
- static postApiV2Industries(tenantId, xApiVersion, requestBody) {
15
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
16
- method: 'POST',
17
- url: '/api/v2/Industries',
18
- headers: {
19
- 'x-api-version': xApiVersion,
20
- },
21
- query: {
22
- 'tenantId': tenantId,
23
- },
24
- body: requestBody,
25
- mediaType: 'application/json',
26
- errors: {
27
- 401: `Unauthorized`,
28
- 403: `Forbidden`,
29
- },
30
- });
31
- }
32
- /**
33
- * @param tenantId
34
- * @param xApiVersion
35
- * @returns TenantIndustryDtoEnvelope OK
36
- * @throws ApiError
37
- */
38
- static getApiV2Industries(tenantId, xApiVersion) {
39
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
40
- method: 'GET',
41
- url: '/api/v2/Industries',
42
- headers: {
43
- 'x-api-version': xApiVersion,
44
- },
45
- query: {
46
- 'tenantId': tenantId,
47
- },
48
- errors: {
49
- 401: `Unauthorized`,
50
- 403: `Forbidden`,
51
- },
52
- });
53
- }
54
- /**
55
- * @param tenantIndustryId
56
- * @param xApiVersion
57
- * @returns TenantIndustryDtoEnvelope OK
58
- * @throws ApiError
59
- */
60
- static getApiV2Industries1(tenantIndustryId, xApiVersion) {
61
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
62
- method: 'GET',
63
- url: '/api/v2/Industries/{tenantIndustryId}',
64
- path: {
65
- 'tenantIndustryId': tenantIndustryId,
66
- },
67
- headers: {
68
- 'x-api-version': xApiVersion,
69
- },
70
- errors: {
71
- 401: `Unauthorized`,
72
- 403: `Forbidden`,
73
- },
74
- });
75
- }
76
- /**
77
- * @param tenantId
78
- * @param tenantIndustryId
79
- * @param xApiVersion
80
- * @returns TenantIndustryDtoEnvelope OK
81
- * @throws ApiError
82
- */
83
- static deleteApiV2Industries(tenantId, tenantIndustryId, xApiVersion) {
84
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
85
- method: 'DELETE',
86
- url: '/api/v2/Industries/{tenantIndustryId}',
87
- path: {
88
- 'tenantIndustryId': tenantIndustryId,
89
- },
90
- headers: {
91
- 'x-api-version': xApiVersion,
92
- },
93
- query: {
94
- 'tenantId': tenantId,
95
- },
96
- errors: {
97
- 401: `Unauthorized`,
98
- 403: `Forbidden`,
99
- },
100
- });
101
- }
102
- /**
103
- * @param tenantId
104
- * @param tenantIndustryId
105
- * @param xApiVersion
106
- * @param requestBody
107
- * @returns TenantIndustryDtoEnvelope OK
108
- * @throws ApiError
109
- */
110
- static putApiV2Industries(tenantId, tenantIndustryId, xApiVersion, requestBody) {
111
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
112
- method: 'PUT',
113
- url: '/api/v2/Industries/{tenantIndustryId}',
114
- path: {
115
- 'tenantIndustryId': tenantIndustryId,
116
- },
117
- headers: {
118
- 'x-api-version': xApiVersion,
119
- },
120
- query: {
121
- 'tenantId': tenantId,
122
- },
123
- body: requestBody,
124
- mediaType: 'application/json',
125
- errors: {
126
- 401: `Unauthorized`,
127
- 403: `Forbidden`,
128
- },
129
- });
130
- }
131
- /**
132
- * @param tenantId
133
- * @param tenantIndustryId
134
- * @param xApiVersion
135
- * @param requestBody
136
- * @returns TenantIndustryDtoEnvelope OK
137
- * @throws ApiError
138
- */
139
- static patchApiV2Industries(tenantId, tenantIndustryId, xApiVersion, requestBody) {
140
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
141
- method: 'PATCH',
142
- url: '/api/v2/Industries/{tenantIndustryId}',
143
- path: {
144
- 'tenantIndustryId': tenantIndustryId,
145
- },
146
- headers: {
147
- 'x-api-version': xApiVersion,
148
- },
149
- query: {
150
- 'tenantId': tenantId,
151
- },
152
- body: requestBody,
153
- mediaType: 'application/json',
154
- errors: {
155
- 401: `Unauthorized`,
156
- 403: `Forbidden`,
157
- },
158
- });
159
- }
160
- }
161
- exports.IndustriesService = IndustriesService;
@@ -1,190 +0,0 @@
1
- /* generated using openapi-typescript-codegen -- do no edit */
2
- /* istanbul ignore file */
3
- /* tslint:disable */
4
- /* eslint-disable */
5
- import type { Operation } from '../models/Operation';
6
- import type { TenantIndustryCreateDto } from '../models/TenantIndustryCreateDto';
7
- import type { TenantIndustryDtoEnvelope } from '../models/TenantIndustryDtoEnvelope';
8
- import type { TenantIndustryUpdateDto } from '../models/TenantIndustryUpdateDto';
9
- import type { CancelablePromise } from '../core/CancelablePromise';
10
- import { OpenAPI } from '../core/OpenAPI';
11
- import { request as __request } from '../core/request';
12
- export class IndustriesService {
13
- /**
14
- * @param tenantId
15
- * @param xApiVersion
16
- * @param requestBody
17
- * @returns TenantIndustryDtoEnvelope Created
18
- * @throws ApiError
19
- */
20
- public static postApiV2Industries(
21
- tenantId: string,
22
- xApiVersion?: string,
23
- requestBody?: TenantIndustryCreateDto,
24
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
25
- return __request(OpenAPI, {
26
- method: 'POST',
27
- url: '/api/v2/Industries',
28
- headers: {
29
- 'x-api-version': xApiVersion,
30
- },
31
- query: {
32
- 'tenantId': tenantId,
33
- },
34
- body: requestBody,
35
- mediaType: 'application/json',
36
- errors: {
37
- 401: `Unauthorized`,
38
- 403: `Forbidden`,
39
- },
40
- });
41
- }
42
- /**
43
- * @param tenantId
44
- * @param xApiVersion
45
- * @returns TenantIndustryDtoEnvelope OK
46
- * @throws ApiError
47
- */
48
- public static getApiV2Industries(
49
- tenantId: string,
50
- xApiVersion?: string,
51
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
52
- return __request(OpenAPI, {
53
- method: 'GET',
54
- url: '/api/v2/Industries',
55
- headers: {
56
- 'x-api-version': xApiVersion,
57
- },
58
- query: {
59
- 'tenantId': tenantId,
60
- },
61
- errors: {
62
- 401: `Unauthorized`,
63
- 403: `Forbidden`,
64
- },
65
- });
66
- }
67
- /**
68
- * @param tenantIndustryId
69
- * @param xApiVersion
70
- * @returns TenantIndustryDtoEnvelope OK
71
- * @throws ApiError
72
- */
73
- public static getApiV2Industries1(
74
- tenantIndustryId: string,
75
- xApiVersion?: string,
76
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
77
- return __request(OpenAPI, {
78
- method: 'GET',
79
- url: '/api/v2/Industries/{tenantIndustryId}',
80
- path: {
81
- 'tenantIndustryId': tenantIndustryId,
82
- },
83
- headers: {
84
- 'x-api-version': xApiVersion,
85
- },
86
- errors: {
87
- 401: `Unauthorized`,
88
- 403: `Forbidden`,
89
- },
90
- });
91
- }
92
- /**
93
- * @param tenantId
94
- * @param tenantIndustryId
95
- * @param xApiVersion
96
- * @returns TenantIndustryDtoEnvelope OK
97
- * @throws ApiError
98
- */
99
- public static deleteApiV2Industries(
100
- tenantId: string,
101
- tenantIndustryId: string,
102
- xApiVersion?: string,
103
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
104
- return __request(OpenAPI, {
105
- method: 'DELETE',
106
- url: '/api/v2/Industries/{tenantIndustryId}',
107
- path: {
108
- 'tenantIndustryId': tenantIndustryId,
109
- },
110
- headers: {
111
- 'x-api-version': xApiVersion,
112
- },
113
- query: {
114
- 'tenantId': tenantId,
115
- },
116
- errors: {
117
- 401: `Unauthorized`,
118
- 403: `Forbidden`,
119
- },
120
- });
121
- }
122
- /**
123
- * @param tenantId
124
- * @param tenantIndustryId
125
- * @param xApiVersion
126
- * @param requestBody
127
- * @returns TenantIndustryDtoEnvelope OK
128
- * @throws ApiError
129
- */
130
- public static putApiV2Industries(
131
- tenantId: string,
132
- tenantIndustryId: string,
133
- xApiVersion?: string,
134
- requestBody?: TenantIndustryUpdateDto,
135
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
136
- return __request(OpenAPI, {
137
- method: 'PUT',
138
- url: '/api/v2/Industries/{tenantIndustryId}',
139
- path: {
140
- 'tenantIndustryId': tenantIndustryId,
141
- },
142
- headers: {
143
- 'x-api-version': xApiVersion,
144
- },
145
- query: {
146
- 'tenantId': tenantId,
147
- },
148
- body: requestBody,
149
- mediaType: 'application/json',
150
- errors: {
151
- 401: `Unauthorized`,
152
- 403: `Forbidden`,
153
- },
154
- });
155
- }
156
- /**
157
- * @param tenantId
158
- * @param tenantIndustryId
159
- * @param xApiVersion
160
- * @param requestBody
161
- * @returns TenantIndustryDtoEnvelope OK
162
- * @throws ApiError
163
- */
164
- public static patchApiV2Industries(
165
- tenantId: string,
166
- tenantIndustryId: string,
167
- xApiVersion?: string,
168
- requestBody?: Array<Operation>,
169
- ): CancelablePromise<TenantIndustryDtoEnvelope> {
170
- return __request(OpenAPI, {
171
- method: 'PATCH',
172
- url: '/api/v2/Industries/{tenantIndustryId}',
173
- path: {
174
- 'tenantIndustryId': tenantIndustryId,
175
- },
176
- headers: {
177
- 'x-api-version': xApiVersion,
178
- },
179
- query: {
180
- 'tenantId': tenantId,
181
- },
182
- body: requestBody,
183
- mediaType: 'application/json',
184
- errors: {
185
- 401: `Unauthorized`,
186
- 403: `Forbidden`,
187
- },
188
- });
189
- }
190
- }
@@ -1,128 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvitationsService = void 0;
4
- const OpenAPI_1 = require("../core/OpenAPI");
5
- const request_1 = require("../core/request");
6
- class InvitationsService {
7
- /**
8
- * @param invitationId
9
- * @param xApiVersion
10
- * @param requestBody
11
- * @returns TenantInvitationDtoEnvelope OK
12
- * @throws ApiError
13
- */
14
- static getApiV2TenantServiceInvitations(invitationId, xApiVersion, requestBody) {
15
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
16
- method: 'GET',
17
- url: '/api/v2/TenantService/Invitations/{invitationId}',
18
- path: {
19
- 'invitationId': invitationId,
20
- },
21
- headers: {
22
- 'x-api-version': xApiVersion,
23
- },
24
- body: requestBody,
25
- mediaType: 'application/json',
26
- errors: {
27
- 401: `Unauthorized`,
28
- 403: `Forbidden`,
29
- },
30
- });
31
- }
32
- /**
33
- * @param invitationId
34
- * @param tenantId
35
- * @param xApiVersion
36
- * @returns TenantDtoEnvelope OK
37
- * @throws ApiError
38
- */
39
- static deleteApiV2TenantServiceInvitations(invitationId, tenantId, xApiVersion) {
40
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
41
- method: 'DELETE',
42
- url: '/api/v2/TenantService/Invitations/{invitationId}',
43
- path: {
44
- 'invitationId': invitationId,
45
- },
46
- headers: {
47
- 'x-api-version': xApiVersion,
48
- },
49
- query: {
50
- 'tenantId': tenantId,
51
- },
52
- errors: {
53
- 401: `Unauthorized`,
54
- 403: `Forbidden`,
55
- },
56
- });
57
- }
58
- /**
59
- * @param tenantId
60
- * @param xApiVersion
61
- * @param requestBody
62
- * @returns TenantDtoEnvelope OK
63
- * @throws ApiError
64
- */
65
- static postApiV2TenantServiceInvitations(tenantId, xApiVersion, requestBody) {
66
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
67
- method: 'POST',
68
- url: '/api/v2/TenantService/Invitations',
69
- headers: {
70
- 'x-api-version': xApiVersion,
71
- },
72
- query: {
73
- 'tenantId': tenantId,
74
- },
75
- body: requestBody,
76
- mediaType: 'application/json',
77
- errors: {
78
- 401: `Unauthorized`,
79
- 403: `Forbidden`,
80
- },
81
- });
82
- }
83
- /**
84
- * @param invitationId
85
- * @param xApiVersion
86
- * @returns TenantDtoEnvelope OK
87
- * @throws ApiError
88
- */
89
- static postApiV2TenantServiceInvitationsDecline(invitationId, xApiVersion) {
90
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
91
- method: 'POST',
92
- url: '/api/v2/TenantService/Invitations/{invitationId}/Decline',
93
- path: {
94
- 'invitationId': invitationId,
95
- },
96
- headers: {
97
- 'x-api-version': xApiVersion,
98
- },
99
- errors: {
100
- 401: `Unauthorized`,
101
- 403: `Forbidden`,
102
- },
103
- });
104
- }
105
- /**
106
- * @param invitationId
107
- * @param xApiVersion
108
- * @returns TenantDtoEnvelope OK
109
- * @throws ApiError
110
- */
111
- static postApiV2TenantServiceInvitationsAccept(invitationId, xApiVersion) {
112
- return (0, request_1.request)(OpenAPI_1.OpenAPI, {
113
- method: 'POST',
114
- url: '/api/v2/TenantService/Invitations/{invitationId}/Accept',
115
- path: {
116
- 'invitationId': invitationId,
117
- },
118
- headers: {
119
- 'x-api-version': xApiVersion,
120
- },
121
- errors: {
122
- 401: `Unauthorized`,
123
- 403: `Forbidden`,
124
- },
125
- });
126
- }
127
- }
128
- exports.InvitationsService = InvitationsService;