@fenixalliance/abs-api-client 1.0.9 → 1.0.11

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