@fenixalliance/abs-api-client 1.0.8 → 1.0.9

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 (57) hide show
  1. package/clients/contentService/index.ts +2 -2
  2. package/clients/contentService/models/{Portal.ts → PortalSettings.ts} +1 -1
  3. package/clients/contentService/models/PortalSettingsEnvelope.ts +14 -0
  4. package/clients/contentService/services/PortalsService.js +1 -1
  5. package/clients/contentService/services/PortalsService.ts +3 -3
  6. package/clients/holderService/index.ts +1 -0
  7. package/clients/holderService/models/FollowRecordDtoListEnvelope.js +2 -0
  8. package/clients/holderService/models/FollowRecordDtoListEnvelope.ts +14 -0
  9. package/clients/holderService/services/HolderService.js +56 -30
  10. package/clients/holderService/services/HolderService.ts +62 -36
  11. package/clients/storageService/core/ApiError.js +20 -0
  12. package/clients/storageService/core/ApiError.ts +25 -0
  13. package/clients/storageService/core/ApiRequestOptions.js +2 -0
  14. package/clients/storageService/core/ApiRequestOptions.ts +17 -0
  15. package/clients/storageService/core/ApiResult.js +2 -0
  16. package/clients/storageService/core/ApiResult.ts +11 -0
  17. package/clients/storageService/core/CancelablePromise.js +104 -0
  18. package/clients/storageService/core/CancelablePromise.ts +131 -0
  19. package/clients/storageService/core/OpenAPI.js +14 -0
  20. package/clients/storageService/core/OpenAPI.ts +32 -0
  21. package/clients/storageService/core/request.js +294 -0
  22. package/clients/storageService/core/request.ts +322 -0
  23. package/clients/storageService/index.js +26 -0
  24. package/clients/storageService/index.ts +23 -0
  25. package/clients/storageService/models/Blob.js +11 -0
  26. package/clients/storageService/models/Blob.ts +26 -0
  27. package/clients/storageService/models/BlobEnvelope.js +2 -0
  28. package/clients/{contentService/models/PortalEnvelope.ts → storageService/models/BlobEnvelope.ts} +3 -3
  29. package/clients/storageService/models/EmptyEnvelope.js +2 -0
  30. package/clients/storageService/models/EmptyEnvelope.ts +12 -0
  31. package/clients/storageService/models/ErrorEnvelope.js +2 -0
  32. package/clients/storageService/models/ErrorEnvelope.ts +12 -0
  33. package/clients/storageService/models/FileUploadCreateDto.js +2 -0
  34. package/clients/storageService/models/FileUploadCreateDto.ts +20 -0
  35. package/clients/storageService/models/FileUploadDto.js +2 -0
  36. package/clients/storageService/models/FileUploadDto.ts +29 -0
  37. package/clients/storageService/models/FileUploadDtoEnvelope.js +2 -0
  38. package/clients/storageService/models/FileUploadDtoEnvelope.ts +14 -0
  39. package/clients/storageService/models/FileUploadUpdateDto.js +2 -0
  40. package/clients/storageService/models/FileUploadUpdateDto.ts +19 -0
  41. package/clients/storageService/services/AvatarsService.js +189 -0
  42. package/clients/storageService/services/AvatarsService.ts +223 -0
  43. package/clients/storageService/services/BlobsService.js +66 -0
  44. package/clients/storageService/services/BlobsService.ts +81 -0
  45. package/clients/storageService/services/FilesService.js +171 -0
  46. package/clients/storageService/services/FilesService.ts +200 -0
  47. package/clients/storageService/services/RadzenEditorService.js +117 -0
  48. package/clients/storageService/services/RadzenEditorService.ts +149 -0
  49. package/clients/storageService/services/UploadsService.js +33 -0
  50. package/clients/storageService/services/UploadsService.ts +53 -0
  51. package/package.json +1 -1
  52. package/schemas/contentService/schema.s.ts +29 -29
  53. package/schemas/holderService/schema.s.ts +874 -780
  54. package/schemas/storageService/schema.s.js +6 -0
  55. package/schemas/storageService/schema.s.ts +1042 -0
  56. /package/clients/contentService/models/{Portal.js → PortalSettings.js} +0 -0
  57. /package/clients/contentService/models/{PortalEnvelope.js → PortalSettingsEnvelope.js} +0 -0
@@ -0,0 +1,53 @@
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 UploadsService {
10
+ /**
11
+ * @param tenantId
12
+ * @param xApiVersion
13
+ * @param formData
14
+ * @returns EmptyEnvelope OK
15
+ * @throws ApiError
16
+ */
17
+ public static postApiV2StorageServiceUploads(
18
+ tenantId?: string,
19
+ xApiVersion?: string,
20
+ formData?: {
21
+ notes?: string;
22
+ title?: string;
23
+ author?: string;
24
+ isFolder?: boolean;
25
+ fileName?: string;
26
+ abstract?: string;
27
+ keyWords?: string;
28
+ validResponse?: boolean;
29
+ parentFileUploadId?: string;
30
+ filePath?: string;
31
+ file?: Blob;
32
+ iD?: string;
33
+ timestamp?: string;
34
+ },
35
+ ): CancelablePromise<EmptyEnvelope> {
36
+ return __request(OpenAPI, {
37
+ method: 'POST',
38
+ url: '/api/v2/StorageService/Uploads',
39
+ headers: {
40
+ 'x-api-version': xApiVersion,
41
+ },
42
+ query: {
43
+ 'tenantId': tenantId,
44
+ },
45
+ formData: formData,
46
+ mediaType: 'multipart/form-data',
47
+ errors: {
48
+ 401: `Unauthorized`,
49
+ 403: `Forbidden`,
50
+ },
51
+ });
52
+ }
53
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "access": "public",
4
- "version": "1.0.8",
4
+ "version": "1.0.9",
5
5
  "name": "@fenixalliance/abs-api-client",
6
6
  "main": "wwwroot/build/bundle.js",
7
7
  "homepage": "https://absuite.net",
@@ -1699,8 +1699,8 @@ export interface paths {
1699
1699
  /** @description OK */
1700
1700
  200: {
1701
1701
  content: {
1702
- "application/json": components["schemas"]["PortalEnvelope"];
1703
- "application/xml": components["schemas"]["PortalEnvelope"];
1702
+ "application/json": components["schemas"]["PortalSettingsEnvelope"];
1703
+ "application/xml": components["schemas"]["PortalSettingsEnvelope"];
1704
1704
  };
1705
1705
  };
1706
1706
  /** @description Unauthorized */
@@ -4032,33 +4032,6 @@ export interface components {
4032
4032
  paymentMethods?: components["schemas"]["PaymentMethod"][] | null;
4033
4033
  };
4034
4034
  PerformanceOptions: Record<string, never>;
4035
- Portal: {
4036
- enable?: boolean;
4037
- portalID?: string | null;
4038
- scopes?: string | null;
4039
- tenantID?: string | null;
4040
- homePageID?: string | null;
4041
- blogPageID?: string | null;
4042
- storePageID?: string | null;
4043
- baseEndpoint?: string | null;
4044
- storeRoutePrefix?: string | null;
4045
- publicKey?: string | null;
4046
- privateKey?: string | null;
4047
- authToken?: string | null;
4048
- authTokenType?: string | null;
4049
- /** Format: int64 */
4050
- authTokenExpiration?: number;
4051
- options?: components["schemas"]["PortalOptions"];
4052
- };
4053
- PortalEnvelope: {
4054
- isSuccess?: boolean;
4055
- errorMessage?: string | null;
4056
- correlationId?: string | null;
4057
- /** Format: date-time */
4058
- timestamp?: string;
4059
- activityId?: string | null;
4060
- result?: components["schemas"]["Portal"];
4061
- };
4062
4035
  PortalId: Record<string, never>;
4063
4036
  PortalOptions: {
4064
4037
  title?: string | null;
@@ -4116,6 +4089,33 @@ export interface components {
4116
4089
  activityId?: string | null;
4117
4090
  result?: components["schemas"]["PortalOptions"];
4118
4091
  };
4092
+ PortalSettings: {
4093
+ enable?: boolean;
4094
+ portalID?: string | null;
4095
+ scopes?: string | null;
4096
+ tenantID?: string | null;
4097
+ homePageID?: string | null;
4098
+ blogPageID?: string | null;
4099
+ storePageID?: string | null;
4100
+ baseEndpoint?: string | null;
4101
+ storeRoutePrefix?: string | null;
4102
+ publicKey?: string | null;
4103
+ privateKey?: string | null;
4104
+ authToken?: string | null;
4105
+ authTokenType?: string | null;
4106
+ /** Format: int64 */
4107
+ authTokenExpiration?: number;
4108
+ options?: components["schemas"]["PortalOptions"];
4109
+ };
4110
+ PortalSettingsEnvelope: {
4111
+ isSuccess?: boolean;
4112
+ errorMessage?: string | null;
4113
+ correlationId?: string | null;
4114
+ /** Format: date-time */
4115
+ timestamp?: string;
4116
+ activityId?: string | null;
4117
+ result?: components["schemas"]["PortalSettings"];
4118
+ };
4119
4119
  PortfolioOptions: Record<string, never>;
4120
4120
  PriceCalculationOptions: {
4121
4121
  pricingListID?: string | null;