@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
@@ -0,0 +1,200 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AvatarsService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class AvatarsService {
7
+ /**
8
+ * Get the avatar for a given social profile.
9
+ * @param socialProfileId
10
+ * @param xApiVersion
11
+ * @returns EmptyEnvelope OK
12
+ * @throws ApiError
13
+ */
14
+ static getAvatar(socialProfileId, xApiVersion) {
15
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
16
+ method: 'GET',
17
+ url: '/api/v2/StorageService/Avatars/{socialProfileId}',
18
+ path: {
19
+ 'socialProfileId': socialProfileId,
20
+ },
21
+ headers: {
22
+ 'x-api-version': xApiVersion,
23
+ },
24
+ errors: {
25
+ 401: `Unauthorized`,
26
+ 403: `Forbidden`,
27
+ },
28
+ });
29
+ }
30
+ /**
31
+ * Get the avatar for the current user.
32
+ * @param xApiVersion
33
+ * @returns EmptyEnvelope OK
34
+ * @throws ApiError
35
+ */
36
+ static getCurrentUserAvatar(xApiVersion) {
37
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
38
+ method: 'GET',
39
+ url: '/api/v2/StorageService/Avatars/User',
40
+ headers: {
41
+ 'x-api-version': xApiVersion,
42
+ },
43
+ errors: {
44
+ 401: `Unauthorized`,
45
+ 403: `Forbidden`,
46
+ },
47
+ });
48
+ }
49
+ /**
50
+ * Update the avatar for the current user.
51
+ * @param xApiVersion
52
+ * @param formData
53
+ * @returns EmptyEnvelope OK
54
+ * @throws ApiError
55
+ */
56
+ static updateUserAvatar(xApiVersion, formData) {
57
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
58
+ method: 'POST',
59
+ url: '/api/v2/StorageService/Avatars/User',
60
+ headers: {
61
+ 'x-api-version': xApiVersion,
62
+ },
63
+ formData: formData,
64
+ mediaType: 'multipart/form-data',
65
+ errors: {
66
+ 400: `Bad Request`,
67
+ 401: `Unauthorized`,
68
+ 403: `Forbidden`,
69
+ },
70
+ });
71
+ }
72
+ /**
73
+ * Get the avatar for a given user.
74
+ * @param userId
75
+ * @param xApiVersion
76
+ * @returns EmptyEnvelope OK
77
+ * @throws ApiError
78
+ */
79
+ static getUserAvatar(userId, xApiVersion) {
80
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
81
+ method: 'GET',
82
+ url: '/api/v2/StorageService/Avatars/User/{userId}',
83
+ path: {
84
+ 'userId': userId,
85
+ },
86
+ headers: {
87
+ 'x-api-version': xApiVersion,
88
+ },
89
+ errors: {
90
+ 401: `Unauthorized`,
91
+ 403: `Forbidden`,
92
+ },
93
+ });
94
+ }
95
+ /**
96
+ * Get the avatar for a given tenant.
97
+ * @param tenantId
98
+ * @param xApiVersion
99
+ * @returns EmptyEnvelope OK
100
+ * @throws ApiError
101
+ */
102
+ static getTenantAvatar(tenantId, xApiVersion) {
103
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
104
+ method: 'GET',
105
+ url: '/api/v2/StorageService/Avatars/Tenant/{tenantId}',
106
+ path: {
107
+ 'tenantId': tenantId,
108
+ },
109
+ headers: {
110
+ 'x-api-version': xApiVersion,
111
+ },
112
+ errors: {
113
+ 401: `Unauthorized`,
114
+ 403: `Forbidden`,
115
+ },
116
+ });
117
+ }
118
+ /**
119
+ * Update the avatar for a given tenant.
120
+ * @param tenantId
121
+ * @param xApiVersion
122
+ * @param formData
123
+ * @returns EmptyEnvelope OK
124
+ * @throws ApiError
125
+ */
126
+ static updateTenantAvatar(tenantId, xApiVersion, formData) {
127
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
128
+ method: 'POST',
129
+ url: '/api/v2/StorageService/Avatars/Tenant/{tenantId}',
130
+ path: {
131
+ 'tenantId': tenantId,
132
+ },
133
+ headers: {
134
+ 'x-api-version': xApiVersion,
135
+ },
136
+ formData: formData,
137
+ mediaType: 'multipart/form-data',
138
+ errors: {
139
+ 400: `Bad Request`,
140
+ 401: `Unauthorized`,
141
+ 403: `Forbidden`,
142
+ },
143
+ });
144
+ }
145
+ /**
146
+ * Get the avatar for a given contact.
147
+ * @param contactId
148
+ * @param xApiVersion
149
+ * @returns EmptyEnvelope OK
150
+ * @throws ApiError
151
+ */
152
+ static getContactAvatar(contactId, xApiVersion) {
153
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
154
+ method: 'GET',
155
+ url: '/api/v2/StorageService/Avatars/Contact/{contactId}',
156
+ path: {
157
+ 'contactId': contactId,
158
+ },
159
+ headers: {
160
+ 'x-api-version': xApiVersion,
161
+ },
162
+ errors: {
163
+ 401: `Unauthorized`,
164
+ 403: `Forbidden`,
165
+ },
166
+ });
167
+ }
168
+ /**
169
+ * Update the avatar for a given contact.
170
+ * @param contactId
171
+ * @param tenantId
172
+ * @param xApiVersion
173
+ * @param formData
174
+ * @returns EmptyEnvelope OK
175
+ * @throws ApiError
176
+ */
177
+ static updateContactAvatar(contactId, tenantId, xApiVersion, formData) {
178
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
179
+ method: 'POST',
180
+ url: '/api/v2/StorageService/Avatars/Contacts/{contactId}',
181
+ path: {
182
+ 'contactId': contactId,
183
+ },
184
+ headers: {
185
+ 'x-api-version': xApiVersion,
186
+ },
187
+ query: {
188
+ 'tenantId': tenantId,
189
+ },
190
+ formData: formData,
191
+ mediaType: 'multipart/form-data',
192
+ errors: {
193
+ 400: `Bad Request`,
194
+ 401: `Unauthorized`,
195
+ 403: `Forbidden`,
196
+ },
197
+ });
198
+ }
199
+ }
200
+ exports.AvatarsService = AvatarsService;
@@ -0,0 +1,234 @@
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 { CancelablePromise } from '../core/CancelablePromise';
7
+ import { OpenAPI } from '../core/OpenAPI';
8
+ import { request as __request } from '../core/request';
9
+ export class AvatarsService {
10
+ /**
11
+ * Get the avatar for a given social profile.
12
+ * @param socialProfileId
13
+ * @param xApiVersion
14
+ * @returns EmptyEnvelope OK
15
+ * @throws ApiError
16
+ */
17
+ public static getAvatar(
18
+ socialProfileId: string,
19
+ xApiVersion?: string,
20
+ ): CancelablePromise<EmptyEnvelope> {
21
+ return __request(OpenAPI, {
22
+ method: 'GET',
23
+ url: '/api/v2/StorageService/Avatars/{socialProfileId}',
24
+ path: {
25
+ 'socialProfileId': socialProfileId,
26
+ },
27
+ headers: {
28
+ 'x-api-version': xApiVersion,
29
+ },
30
+ errors: {
31
+ 401: `Unauthorized`,
32
+ 403: `Forbidden`,
33
+ },
34
+ });
35
+ }
36
+ /**
37
+ * Get the avatar for the current user.
38
+ * @param xApiVersion
39
+ * @returns EmptyEnvelope OK
40
+ * @throws ApiError
41
+ */
42
+ public static getCurrentUserAvatar(
43
+ xApiVersion?: string,
44
+ ): CancelablePromise<EmptyEnvelope> {
45
+ return __request(OpenAPI, {
46
+ method: 'GET',
47
+ url: '/api/v2/StorageService/Avatars/User',
48
+ headers: {
49
+ 'x-api-version': xApiVersion,
50
+ },
51
+ errors: {
52
+ 401: `Unauthorized`,
53
+ 403: `Forbidden`,
54
+ },
55
+ });
56
+ }
57
+ /**
58
+ * Update the avatar for the current user.
59
+ * @param xApiVersion
60
+ * @param formData
61
+ * @returns EmptyEnvelope OK
62
+ * @throws ApiError
63
+ */
64
+ public static updateUserAvatar(
65
+ xApiVersion?: string,
66
+ formData?: {
67
+ avatar?: Blob;
68
+ },
69
+ ): CancelablePromise<EmptyEnvelope> {
70
+ return __request(OpenAPI, {
71
+ method: 'POST',
72
+ url: '/api/v2/StorageService/Avatars/User',
73
+ headers: {
74
+ 'x-api-version': xApiVersion,
75
+ },
76
+ formData: formData,
77
+ mediaType: 'multipart/form-data',
78
+ errors: {
79
+ 400: `Bad Request`,
80
+ 401: `Unauthorized`,
81
+ 403: `Forbidden`,
82
+ },
83
+ });
84
+ }
85
+ /**
86
+ * Get the avatar for a given user.
87
+ * @param userId
88
+ * @param xApiVersion
89
+ * @returns EmptyEnvelope OK
90
+ * @throws ApiError
91
+ */
92
+ public static getUserAvatar(
93
+ userId: string,
94
+ xApiVersion?: string,
95
+ ): CancelablePromise<EmptyEnvelope> {
96
+ return __request(OpenAPI, {
97
+ method: 'GET',
98
+ url: '/api/v2/StorageService/Avatars/User/{userId}',
99
+ path: {
100
+ 'userId': userId,
101
+ },
102
+ headers: {
103
+ 'x-api-version': xApiVersion,
104
+ },
105
+ errors: {
106
+ 401: `Unauthorized`,
107
+ 403: `Forbidden`,
108
+ },
109
+ });
110
+ }
111
+ /**
112
+ * Get the avatar for a given tenant.
113
+ * @param tenantId
114
+ * @param xApiVersion
115
+ * @returns EmptyEnvelope OK
116
+ * @throws ApiError
117
+ */
118
+ public static getTenantAvatar(
119
+ tenantId: string,
120
+ xApiVersion?: string,
121
+ ): CancelablePromise<EmptyEnvelope> {
122
+ return __request(OpenAPI, {
123
+ method: 'GET',
124
+ url: '/api/v2/StorageService/Avatars/Tenant/{tenantId}',
125
+ path: {
126
+ 'tenantId': tenantId,
127
+ },
128
+ headers: {
129
+ 'x-api-version': xApiVersion,
130
+ },
131
+ errors: {
132
+ 401: `Unauthorized`,
133
+ 403: `Forbidden`,
134
+ },
135
+ });
136
+ }
137
+ /**
138
+ * Update the avatar for a given tenant.
139
+ * @param tenantId
140
+ * @param xApiVersion
141
+ * @param formData
142
+ * @returns EmptyEnvelope OK
143
+ * @throws ApiError
144
+ */
145
+ public static updateTenantAvatar(
146
+ tenantId: string,
147
+ xApiVersion?: string,
148
+ formData?: {
149
+ avatar?: Blob;
150
+ },
151
+ ): CancelablePromise<EmptyEnvelope> {
152
+ return __request(OpenAPI, {
153
+ method: 'POST',
154
+ url: '/api/v2/StorageService/Avatars/Tenant/{tenantId}',
155
+ path: {
156
+ 'tenantId': tenantId,
157
+ },
158
+ headers: {
159
+ 'x-api-version': xApiVersion,
160
+ },
161
+ formData: formData,
162
+ mediaType: 'multipart/form-data',
163
+ errors: {
164
+ 400: `Bad Request`,
165
+ 401: `Unauthorized`,
166
+ 403: `Forbidden`,
167
+ },
168
+ });
169
+ }
170
+ /**
171
+ * Get the avatar for a given contact.
172
+ * @param contactId
173
+ * @param xApiVersion
174
+ * @returns EmptyEnvelope OK
175
+ * @throws ApiError
176
+ */
177
+ public static getContactAvatar(
178
+ contactId: string,
179
+ xApiVersion?: string,
180
+ ): CancelablePromise<EmptyEnvelope> {
181
+ return __request(OpenAPI, {
182
+ method: 'GET',
183
+ url: '/api/v2/StorageService/Avatars/Contact/{contactId}',
184
+ path: {
185
+ 'contactId': contactId,
186
+ },
187
+ headers: {
188
+ 'x-api-version': xApiVersion,
189
+ },
190
+ errors: {
191
+ 401: `Unauthorized`,
192
+ 403: `Forbidden`,
193
+ },
194
+ });
195
+ }
196
+ /**
197
+ * Update the avatar for a given contact.
198
+ * @param contactId
199
+ * @param tenantId
200
+ * @param xApiVersion
201
+ * @param formData
202
+ * @returns EmptyEnvelope OK
203
+ * @throws ApiError
204
+ */
205
+ public static updateContactAvatar(
206
+ contactId: string,
207
+ tenantId?: string,
208
+ xApiVersion?: string,
209
+ formData?: {
210
+ avatar?: Blob;
211
+ },
212
+ ): CancelablePromise<EmptyEnvelope> {
213
+ return __request(OpenAPI, {
214
+ method: 'POST',
215
+ url: '/api/v2/StorageService/Avatars/Contacts/{contactId}',
216
+ path: {
217
+ 'contactId': contactId,
218
+ },
219
+ headers: {
220
+ 'x-api-version': xApiVersion,
221
+ },
222
+ query: {
223
+ 'tenantId': tenantId,
224
+ },
225
+ formData: formData,
226
+ mediaType: 'multipart/form-data',
227
+ errors: {
228
+ 400: `Bad Request`,
229
+ 401: `Unauthorized`,
230
+ 403: `Forbidden`,
231
+ },
232
+ });
233
+ }
234
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BlobsService = void 0;
4
+ const OpenAPI_1 = require("../core/OpenAPI");
5
+ const request_1 = require("../core/request");
6
+ class BlobsService {
7
+ /**
8
+ * @param tenantId
9
+ * @param folderPath
10
+ * @param browseFilter
11
+ * @param filePrefix
12
+ * @param recurse
13
+ * @param maxResults
14
+ * @param includeAttributes
15
+ * @param xApiVersion
16
+ * @returns BlobEnvelope OK
17
+ * @throws ApiError
18
+ */
19
+ static getBlobsAsync(tenantId, folderPath, browseFilter, filePrefix, recurse, maxResults, includeAttributes, xApiVersion) {
20
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
21
+ method: 'GET',
22
+ url: '/api/v2/StorageService/Blobs',
23
+ headers: {
24
+ 'x-api-version': xApiVersion,
25
+ },
26
+ query: {
27
+ 'tenantId': tenantId,
28
+ 'folderPath': folderPath,
29
+ 'browseFilter': browseFilter,
30
+ 'filePrefix': filePrefix,
31
+ 'recurse': recurse,
32
+ 'maxResults': maxResults,
33
+ 'includeAttributes': includeAttributes,
34
+ },
35
+ errors: {
36
+ 401: `Unauthorized`,
37
+ 403: `Forbidden`,
38
+ },
39
+ });
40
+ }
41
+ /**
42
+ * @param tenantId
43
+ * @param filePath
44
+ * @param xApiVersion
45
+ * @returns BlobEnvelope OK
46
+ * @throws ApiError
47
+ */
48
+ static getBlobAsync(tenantId, filePath, xApiVersion) {
49
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
50
+ method: 'GET',
51
+ url: '/api/v2/StorageService/Blobs/Single',
52
+ headers: {
53
+ 'x-api-version': xApiVersion,
54
+ },
55
+ query: {
56
+ 'tenantId': tenantId,
57
+ 'filePath': filePath,
58
+ },
59
+ errors: {
60
+ 401: `Unauthorized`,
61
+ 403: `Forbidden`,
62
+ },
63
+ });
64
+ }
65
+ }
66
+ exports.BlobsService = BlobsService;
@@ -0,0 +1,81 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { BlobEnvelope } from '../models/BlobEnvelope';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ import { OpenAPI } from '../core/OpenAPI';
8
+ import { request as __request } from '../core/request';
9
+ export class BlobsService {
10
+ /**
11
+ * @param tenantId
12
+ * @param folderPath
13
+ * @param browseFilter
14
+ * @param filePrefix
15
+ * @param recurse
16
+ * @param maxResults
17
+ * @param includeAttributes
18
+ * @param xApiVersion
19
+ * @returns BlobEnvelope OK
20
+ * @throws ApiError
21
+ */
22
+ public static getBlobsAsync(
23
+ tenantId?: string,
24
+ folderPath?: string,
25
+ browseFilter?: string,
26
+ filePrefix?: string,
27
+ recurse?: boolean,
28
+ maxResults?: number,
29
+ includeAttributes?: boolean,
30
+ xApiVersion?: string,
31
+ ): CancelablePromise<BlobEnvelope> {
32
+ return __request(OpenAPI, {
33
+ method: 'GET',
34
+ url: '/api/v2/StorageService/Blobs',
35
+ headers: {
36
+ 'x-api-version': xApiVersion,
37
+ },
38
+ query: {
39
+ 'tenantId': tenantId,
40
+ 'folderPath': folderPath,
41
+ 'browseFilter': browseFilter,
42
+ 'filePrefix': filePrefix,
43
+ 'recurse': recurse,
44
+ 'maxResults': maxResults,
45
+ 'includeAttributes': includeAttributes,
46
+ },
47
+ errors: {
48
+ 401: `Unauthorized`,
49
+ 403: `Forbidden`,
50
+ },
51
+ });
52
+ }
53
+ /**
54
+ * @param tenantId
55
+ * @param filePath
56
+ * @param xApiVersion
57
+ * @returns BlobEnvelope OK
58
+ * @throws ApiError
59
+ */
60
+ public static getBlobAsync(
61
+ tenantId?: string,
62
+ filePath?: string,
63
+ xApiVersion?: string,
64
+ ): CancelablePromise<BlobEnvelope> {
65
+ return __request(OpenAPI, {
66
+ method: 'GET',
67
+ url: '/api/v2/StorageService/Blobs/Single',
68
+ headers: {
69
+ 'x-api-version': xApiVersion,
70
+ },
71
+ query: {
72
+ 'tenantId': tenantId,
73
+ 'filePath': filePath,
74
+ },
75
+ errors: {
76
+ 401: `Unauthorized`,
77
+ 403: `Forbidden`,
78
+ },
79
+ });
80
+ }
81
+ }