@ayasofyazilim/saas 0.0.34 → 0.0.36

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 (94) hide show
  1. package/AccountService/AccountServiceClient.ts +65 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/schemas.gen.ts +5103 -5103
  8. package/AccountService/services.gen.ts +1452 -1452
  9. package/AccountService/types.gen.ts +9896 -9896
  10. package/AdministrationService/AdministrationServiceClient.ts +74 -74
  11. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  12. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  13. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  14. package/AdministrationService/core/OpenAPI.ts +55 -55
  15. package/AdministrationService/core/request.ts +340 -340
  16. package/AdministrationService/index.ts +8 -8
  17. package/AdministrationService/schemas.gen.ts +5897 -5897
  18. package/AdministrationService/services.gen.ts +1332 -1332
  19. package/AdministrationService/types.gen.ts +9024 -9024
  20. package/BackerService/core/ApiRequestOptions.ts +12 -12
  21. package/BackerService/core/BaseHttpRequest.ts +9 -9
  22. package/BackerService/core/FetchHttpRequest.ts +21 -21
  23. package/BackerService/core/OpenAPI.ts +55 -55
  24. package/BackerService/core/request.ts +340 -340
  25. package/BackerService/schemas.gen.ts +12444 -12444
  26. package/CRMService/CRMServiceClient.ts +71 -71
  27. package/CRMService/core/ApiError.ts +20 -20
  28. package/CRMService/core/ApiRequestOptions.ts +12 -12
  29. package/CRMService/core/ApiResult.ts +6 -6
  30. package/CRMService/core/BaseHttpRequest.ts +9 -9
  31. package/CRMService/core/CancelablePromise.ts +125 -125
  32. package/CRMService/core/FetchHttpRequest.ts +21 -21
  33. package/CRMService/core/OpenAPI.ts +55 -55
  34. package/CRMService/core/request.ts +340 -340
  35. package/CRMService/index.ts +8 -8
  36. package/CRMService/schemas.gen.ts +15932 -15881
  37. package/CRMService/services.gen.ts +1617 -1589
  38. package/CRMService/types.gen.ts +3464 -3412
  39. package/ContractService/ContractServiceClient.ts +53 -53
  40. package/ContractService/core/ApiError.ts +20 -20
  41. package/ContractService/core/ApiRequestOptions.ts +12 -12
  42. package/ContractService/core/ApiResult.ts +6 -6
  43. package/ContractService/core/BaseHttpRequest.ts +9 -9
  44. package/ContractService/core/CancelablePromise.ts +125 -125
  45. package/ContractService/core/FetchHttpRequest.ts +21 -21
  46. package/ContractService/core/OpenAPI.ts +55 -55
  47. package/ContractService/core/request.ts +340 -340
  48. package/ContractService/index.ts +8 -8
  49. package/ContractService/schemas.gen.ts +10943 -10437
  50. package/ContractService/services.gen.ts +1720 -2034
  51. package/ContractService/types.gen.ts +3691 -4283
  52. package/FundraiserService/FundraiserServiceClient.ts +47 -47
  53. package/FundraiserService/core/ApiError.ts +20 -20
  54. package/FundraiserService/core/ApiResult.ts +6 -6
  55. package/FundraiserService/core/CancelablePromise.ts +125 -125
  56. package/FundraiserService/index.ts +8 -8
  57. package/FundraiserService/schemas.gen.ts +11548 -11548
  58. package/FundraiserService/services.gen.ts +627 -627
  59. package/IdentityService/IdentityServiceClient.ts +77 -77
  60. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  61. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  62. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  63. package/IdentityService/core/OpenAPI.ts +55 -55
  64. package/IdentityService/core/request.ts +340 -340
  65. package/IdentityService/schemas.gen.ts +6573 -6573
  66. package/IdentityService/services.gen.ts +2839 -2839
  67. package/IdentityService/types.gen.ts +17446 -17446
  68. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  69. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  70. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  71. package/MerchantService/core/OpenAPI.ts +55 -55
  72. package/MerchantService/core/request.ts +340 -340
  73. package/MerchantService/schemas.gen.ts +14764 -14764
  74. package/MerchantService/services.gen.ts +1602 -1602
  75. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  76. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  77. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  78. package/ProjectService/core/OpenAPI.ts +55 -55
  79. package/ProjectService/core/request.ts +340 -340
  80. package/ProjectService/schemas.gen.ts +5147 -5147
  81. package/ProjectService/services.gen.ts +492 -492
  82. package/ProjectService.json +2937 -2937
  83. package/SaasService/core/ApiRequestOptions.ts +12 -12
  84. package/SaasService/core/BaseHttpRequest.ts +9 -9
  85. package/SaasService/core/FetchHttpRequest.ts +21 -21
  86. package/SaasService/core/OpenAPI.ts +55 -55
  87. package/SaasService/core/request.ts +340 -340
  88. package/SaasService/schemas.gen.ts +5278 -5278
  89. package/SaasService/services.gen.ts +1325 -1325
  90. package/SaasService/types.gen.ts +9052 -9052
  91. package/SettingService/SettingServiceClient.ts +62 -62
  92. package/SettingService/index.ts +8 -8
  93. package/package.json +1 -1
  94. package/swagger.json +4794 -4794
@@ -1,1590 +1,1618 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- import type { CancelablePromise } from './core/CancelablePromise';
4
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiCrmServiceAddressesData, GetApiCrmServiceAddressesResponse, PostApiCrmServiceAddressesData, PostApiCrmServiceAddressesResponse, GetApiCrmServiceAddressesByIdData, GetApiCrmServiceAddressesByIdResponse, PutApiCrmServiceAddressesByIdData, PutApiCrmServiceAddressesByIdResponse, DeleteApiCrmServiceAddressesByIdData, DeleteApiCrmServiceAddressesByIdResponse, GetApiCrmServiceCustomsData, GetApiCrmServiceCustomsResponse, GetApiCrmServiceCustomsDetailByIdData, GetApiCrmServiceCustomsDetailByIdResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsWithComponentsByIdData, DeleteApiCrmServiceCustomsWithComponentsByIdResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsDetailByIdData, GetApiCrmServiceMerchantsDetailByIdResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsWithComponentsByIdData, DeleteApiCrmServiceMerchantsWithComponentsByIdResponse, PostApiCrmServiceMerchantsByMerchantIdAffiliationsData, PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, GetApiCrmServiceMerchantsByMerchantIdAffiliationsData, GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantData, PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsDetailByIdData, GetApiCrmServiceRefundPointsDetailByIdResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsWithComponentsByIdData, DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdData, PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesDetailByIdData, GetApiCrmServiceTaxFreesDetailByIdResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesWithComponentsByIdData, DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesDetailByIdData, GetApiCrmServiceTaxOfficesDetailByIdResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesWithComponentsByIdData, DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTelephonesData, GetApiCrmServiceTelephonesResponse, PostApiCrmServiceTelephonesData, PostApiCrmServiceTelephonesResponse, GetApiCrmServiceTelephonesByIdData, GetApiCrmServiceTelephonesByIdResponse, PutApiCrmServiceTelephonesByIdData, PutApiCrmServiceTelephonesByIdResponse, DeleteApiCrmServiceTelephonesByIdData, DeleteApiCrmServiceTelephonesByIdResponse } from './types.gen';
6
-
7
- export class AbpApiDefinitionService {
8
- constructor(public readonly httpRequest: BaseHttpRequest) { }
9
-
10
- /**
11
- * @param data The data for the request.
12
- * @param data.includeTypes
13
- * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
- * @throws ApiError
15
- */
16
- public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
- return this.httpRequest.request({
18
- method: 'GET',
19
- url: '/api/abp/api-definition',
20
- query: {
21
- IncludeTypes: data.includeTypes
22
- },
23
- errors: {
24
- 400: 'Bad Request',
25
- 401: 'Unauthorized',
26
- 403: 'Forbidden',
27
- 404: 'Not Found',
28
- 500: 'Server Error',
29
- 501: 'Server Error'
30
- }
31
- });
32
- }
33
-
34
- }
35
-
36
- export class AbpApplicationConfigurationService {
37
- constructor(public readonly httpRequest: BaseHttpRequest) { }
38
-
39
- /**
40
- * @param data The data for the request.
41
- * @param data.includeLocalizationResources
42
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
- * @throws ApiError
44
- */
45
- public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
- return this.httpRequest.request({
47
- method: 'GET',
48
- url: '/api/abp/application-configuration',
49
- query: {
50
- IncludeLocalizationResources: data.includeLocalizationResources
51
- },
52
- errors: {
53
- 400: 'Bad Request',
54
- 401: 'Unauthorized',
55
- 403: 'Forbidden',
56
- 404: 'Not Found',
57
- 500: 'Server Error',
58
- 501: 'Server Error'
59
- }
60
- });
61
- }
62
-
63
- }
64
-
65
- export class AbpApplicationLocalizationService {
66
- constructor(public readonly httpRequest: BaseHttpRequest) { }
67
-
68
- /**
69
- * @param data The data for the request.
70
- * @param data.cultureName
71
- * @param data.onlyDynamics
72
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
- * @throws ApiError
74
- */
75
- public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
- return this.httpRequest.request({
77
- method: 'GET',
78
- url: '/api/abp/application-localization',
79
- query: {
80
- CultureName: data.cultureName,
81
- OnlyDynamics: data.onlyDynamics
82
- },
83
- errors: {
84
- 400: 'Bad Request',
85
- 401: 'Unauthorized',
86
- 403: 'Forbidden',
87
- 404: 'Not Found',
88
- 500: 'Server Error',
89
- 501: 'Server Error'
90
- }
91
- });
92
- }
93
-
94
- }
95
-
96
- export class AddressTypeService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.sorting
102
- * @param data.skipCount
103
- * @param data.maxResultCount
104
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AddressTypes_AddressTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
105
- * @throws ApiError
106
- */
107
- public getApiCrmServiceAddresses(data: GetApiCrmServiceAddressesData = {}): CancelablePromise<GetApiCrmServiceAddressesResponse> {
108
- return this.httpRequest.request({
109
- method: 'GET',
110
- url: '/api/crm-service/addresses',
111
- query: {
112
- Sorting: data.sorting,
113
- SkipCount: data.skipCount,
114
- MaxResultCount: data.maxResultCount
115
- },
116
- errors: {
117
- 400: 'Bad Request',
118
- 401: 'Unauthorized',
119
- 403: 'Forbidden',
120
- 404: 'Not Found',
121
- 500: 'Server Error',
122
- 501: 'Server Error'
123
- }
124
- });
125
- }
126
-
127
- /**
128
- * @param data The data for the request.
129
- * @param data.requestBody
130
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
131
- * @throws ApiError
132
- */
133
- public postApiCrmServiceAddresses(data: PostApiCrmServiceAddressesData = {}): CancelablePromise<PostApiCrmServiceAddressesResponse> {
134
- return this.httpRequest.request({
135
- method: 'POST',
136
- url: '/api/crm-service/addresses',
137
- body: data.requestBody,
138
- mediaType: 'application/json',
139
- errors: {
140
- 400: 'Bad Request',
141
- 401: 'Unauthorized',
142
- 403: 'Forbidden',
143
- 404: 'Not Found',
144
- 500: 'Server Error',
145
- 501: 'Server Error'
146
- }
147
- });
148
- }
149
-
150
- /**
151
- * @param data The data for the request.
152
- * @param data.id
153
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
154
- * @throws ApiError
155
- */
156
- public getApiCrmServiceAddressesById(data: GetApiCrmServiceAddressesByIdData): CancelablePromise<GetApiCrmServiceAddressesByIdResponse> {
157
- return this.httpRequest.request({
158
- method: 'GET',
159
- url: '/api/crm-service/addresses/{id}',
160
- path: {
161
- id: data.id
162
- },
163
- errors: {
164
- 400: 'Bad Request',
165
- 401: 'Unauthorized',
166
- 403: 'Forbidden',
167
- 404: 'Not Found',
168
- 500: 'Server Error',
169
- 501: 'Server Error'
170
- }
171
- });
172
- }
173
-
174
- /**
175
- * @param data The data for the request.
176
- * @param data.id
177
- * @param data.requestBody
178
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
179
- * @throws ApiError
180
- */
181
- public putApiCrmServiceAddressesById(data: PutApiCrmServiceAddressesByIdData): CancelablePromise<PutApiCrmServiceAddressesByIdResponse> {
182
- return this.httpRequest.request({
183
- method: 'PUT',
184
- url: '/api/crm-service/addresses/{id}',
185
- path: {
186
- id: data.id
187
- },
188
- body: data.requestBody,
189
- mediaType: 'application/json',
190
- errors: {
191
- 400: 'Bad Request',
192
- 401: 'Unauthorized',
193
- 403: 'Forbidden',
194
- 404: 'Not Found',
195
- 500: 'Server Error',
196
- 501: 'Server Error'
197
- }
198
- });
199
- }
200
-
201
- /**
202
- * @param data The data for the request.
203
- * @param data.id
204
- * @returns unknown Success
205
- * @throws ApiError
206
- */
207
- public deleteApiCrmServiceAddressesById(data: DeleteApiCrmServiceAddressesByIdData): CancelablePromise<DeleteApiCrmServiceAddressesByIdResponse> {
208
- return this.httpRequest.request({
209
- method: 'DELETE',
210
- url: '/api/crm-service/addresses/{id}',
211
- path: {
212
- id: data.id
213
- },
214
- errors: {
215
- 400: 'Bad Request',
216
- 401: 'Unauthorized',
217
- 403: 'Forbidden',
218
- 404: 'Not Found',
219
- 500: 'Server Error',
220
- 501: 'Server Error'
221
- }
222
- });
223
- }
224
-
225
- }
226
-
227
- export class CustomsService {
228
- constructor(public readonly httpRequest: BaseHttpRequest) { }
229
-
230
- /**
231
- * @param data The data for the request.
232
- * @param data.sorting
233
- * @param data.skipCount
234
- * @param data.maxResultCount
235
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Customss_CustomsProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
236
- * @throws ApiError
237
- */
238
- public getApiCrmServiceCustoms(data: GetApiCrmServiceCustomsData = {}): CancelablePromise<GetApiCrmServiceCustomsResponse> {
239
- return this.httpRequest.request({
240
- method: 'GET',
241
- url: '/api/crm-service/customs',
242
- query: {
243
- Sorting: data.sorting,
244
- SkipCount: data.skipCount,
245
- MaxResultCount: data.maxResultCount
246
- },
247
- errors: {
248
- 400: 'Bad Request',
249
- 401: 'Unauthorized',
250
- 403: 'Forbidden',
251
- 404: 'Not Found',
252
- 500: 'Server Error',
253
- 501: 'Server Error'
254
- }
255
- });
256
- }
257
-
258
- /**
259
- * @param data The data for the request.
260
- * @param data.id
261
- * @returns UniRefund_CRMService_Customss_CustomsDto Success
262
- * @throws ApiError
263
- */
264
- public getApiCrmServiceCustomsDetailById(data: GetApiCrmServiceCustomsDetailByIdData): CancelablePromise<GetApiCrmServiceCustomsDetailByIdResponse> {
265
- return this.httpRequest.request({
266
- method: 'GET',
267
- url: '/api/crm-service/customs/detail/{id}',
268
- path: {
269
- id: data.id
270
- },
271
- errors: {
272
- 400: 'Bad Request',
273
- 401: 'Unauthorized',
274
- 403: 'Forbidden',
275
- 404: 'Not Found',
276
- 500: 'Server Error',
277
- 501: 'Server Error'
278
- }
279
- });
280
- }
281
-
282
- /**
283
- * @param data The data for the request.
284
- * @param data.requestBody
285
- * @returns unknown Success
286
- * @throws ApiError
287
- */
288
- public postApiCrmServiceCustomsWithComponents(data: PostApiCrmServiceCustomsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceCustomsWithComponentsResponse> {
289
- return this.httpRequest.request({
290
- method: 'POST',
291
- url: '/api/crm-service/customs/with-components',
292
- body: data.requestBody,
293
- mediaType: 'application/json',
294
- errors: {
295
- 400: 'Bad Request',
296
- 401: 'Unauthorized',
297
- 403: 'Forbidden',
298
- 404: 'Not Found',
299
- 500: 'Server Error',
300
- 501: 'Server Error'
301
- }
302
- });
303
- }
304
-
305
- /**
306
- * @param data The data for the request.
307
- * @param data.id
308
- * @returns unknown Success
309
- * @throws ApiError
310
- */
311
- public deleteApiCrmServiceCustomsWithComponentsById(data: DeleteApiCrmServiceCustomsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceCustomsWithComponentsByIdResponse> {
312
- return this.httpRequest.request({
313
- method: 'DELETE',
314
- url: '/api/crm-service/customs/with-components/{id}',
315
- path: {
316
- id: data.id
317
- },
318
- errors: {
319
- 400: 'Bad Request',
320
- 401: 'Unauthorized',
321
- 403: 'Forbidden',
322
- 404: 'Not Found',
323
- 500: 'Server Error',
324
- 501: 'Server Error'
325
- }
326
- });
327
- }
328
-
329
- /**
330
- * @param data The data for the request.
331
- * @param data.id
332
- * @param data.requestBody
333
- * @returns unknown Success
334
- * @throws ApiError
335
- */
336
- public postApiCrmServiceCustomsByIdAffiliations(data: PostApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceCustomsByIdAffiliationsResponse> {
337
- return this.httpRequest.request({
338
- method: 'POST',
339
- url: '/api/crm-service/customs/{id}/affiliations',
340
- path: {
341
- id: data.id
342
- },
343
- body: data.requestBody,
344
- mediaType: 'application/json',
345
- errors: {
346
- 400: 'Bad Request',
347
- 401: 'Unauthorized',
348
- 403: 'Forbidden',
349
- 404: 'Not Found',
350
- 500: 'Server Error',
351
- 501: 'Server Error'
352
- }
353
- });
354
- }
355
-
356
- /**
357
- * @param data The data for the request.
358
- * @param data.id
359
- * @param data.sorting
360
- * @param data.skipCount
361
- * @param data.maxResultCount
362
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
363
- * @throws ApiError
364
- */
365
- public getApiCrmServiceCustomsByIdAffiliations(data: GetApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceCustomsByIdAffiliationsResponse> {
366
- return this.httpRequest.request({
367
- method: 'GET',
368
- url: '/api/crm-service/customs/{id}/affiliations',
369
- path: {
370
- id: data.id
371
- },
372
- query: {
373
- Sorting: data.sorting,
374
- SkipCount: data.skipCount,
375
- MaxResultCount: data.maxResultCount
376
- },
377
- errors: {
378
- 400: 'Bad Request',
379
- 401: 'Unauthorized',
380
- 403: 'Forbidden',
381
- 404: 'Not Found',
382
- 500: 'Server Error',
383
- 501: 'Server Error'
384
- }
385
- });
386
- }
387
-
388
- /**
389
- * @param data The data for the request.
390
- * @param data.id
391
- * @param data.organizationId
392
- * @param data.requestBody
393
- * @returns unknown Success
394
- * @throws ApiError
395
- */
396
- public putApiCrmServiceCustomsByIdOrganizationByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse> {
397
- return this.httpRequest.request({
398
- method: 'PUT',
399
- url: '/api/crm-service/customs/{id}/organization/{organizationId}',
400
- path: {
401
- id: data.id,
402
- organizationId: data.organizationId
403
- },
404
- body: data.requestBody,
405
- mediaType: 'application/json',
406
- errors: {
407
- 400: 'Bad Request',
408
- 401: 'Unauthorized',
409
- 403: 'Forbidden',
410
- 404: 'Not Found',
411
- 500: 'Server Error',
412
- 501: 'Server Error'
413
- }
414
- });
415
- }
416
-
417
- }
418
-
419
- export class EmailCommonDataService {
420
- constructor(public readonly httpRequest: BaseHttpRequest) { }
421
-
422
- /**
423
- * @param data The data for the request.
424
- * @param data.sorting
425
- * @param data.skipCount
426
- * @param data.maxResultCount
427
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
428
- * @throws ApiError
429
- */
430
- public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
431
- return this.httpRequest.request({
432
- method: 'GET',
433
- url: '/api/crm-service/emails',
434
- query: {
435
- Sorting: data.sorting,
436
- SkipCount: data.skipCount,
437
- MaxResultCount: data.maxResultCount
438
- },
439
- errors: {
440
- 400: 'Bad Request',
441
- 401: 'Unauthorized',
442
- 403: 'Forbidden',
443
- 404: 'Not Found',
444
- 500: 'Server Error',
445
- 501: 'Server Error'
446
- }
447
- });
448
- }
449
-
450
- /**
451
- * @param data The data for the request.
452
- * @param data.requestBody
453
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
454
- * @throws ApiError
455
- */
456
- public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
457
- return this.httpRequest.request({
458
- method: 'POST',
459
- url: '/api/crm-service/emails',
460
- body: data.requestBody,
461
- mediaType: 'application/json',
462
- errors: {
463
- 400: 'Bad Request',
464
- 401: 'Unauthorized',
465
- 403: 'Forbidden',
466
- 404: 'Not Found',
467
- 500: 'Server Error',
468
- 501: 'Server Error'
469
- }
470
- });
471
- }
472
-
473
- /**
474
- * @param data The data for the request.
475
- * @param data.id
476
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
477
- * @throws ApiError
478
- */
479
- public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
480
- return this.httpRequest.request({
481
- method: 'GET',
482
- url: '/api/crm-service/emails/{id}',
483
- path: {
484
- id: data.id
485
- },
486
- errors: {
487
- 400: 'Bad Request',
488
- 401: 'Unauthorized',
489
- 403: 'Forbidden',
490
- 404: 'Not Found',
491
- 500: 'Server Error',
492
- 501: 'Server Error'
493
- }
494
- });
495
- }
496
-
497
- /**
498
- * @param data The data for the request.
499
- * @param data.id
500
- * @param data.requestBody
501
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
502
- * @throws ApiError
503
- */
504
- public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
505
- return this.httpRequest.request({
506
- method: 'PUT',
507
- url: '/api/crm-service/emails/{id}',
508
- path: {
509
- id: data.id
510
- },
511
- body: data.requestBody,
512
- mediaType: 'application/json',
513
- errors: {
514
- 400: 'Bad Request',
515
- 401: 'Unauthorized',
516
- 403: 'Forbidden',
517
- 404: 'Not Found',
518
- 500: 'Server Error',
519
- 501: 'Server Error'
520
- }
521
- });
522
- }
523
-
524
- /**
525
- * @param data The data for the request.
526
- * @param data.id
527
- * @returns unknown Success
528
- * @throws ApiError
529
- */
530
- public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
531
- return this.httpRequest.request({
532
- method: 'DELETE',
533
- url: '/api/crm-service/emails/{id}',
534
- path: {
535
- id: data.id
536
- },
537
- errors: {
538
- 400: 'Bad Request',
539
- 401: 'Unauthorized',
540
- 403: 'Forbidden',
541
- 404: 'Not Found',
542
- 500: 'Server Error',
543
- 501: 'Server Error'
544
- }
545
- });
546
- }
547
-
548
- }
549
-
550
- export class IndividualService {
551
- constructor(public readonly httpRequest: BaseHttpRequest) { }
552
-
553
- /**
554
- * @param data The data for the request.
555
- * @param data.requestBody
556
- * @returns unknown Success
557
- * @throws ApiError
558
- */
559
- public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
560
- return this.httpRequest.request({
561
- method: 'POST',
562
- url: '/api/crm-service/individuals/with-components',
563
- body: data.requestBody,
564
- mediaType: 'application/json',
565
- errors: {
566
- 400: 'Bad Request',
567
- 401: 'Unauthorized',
568
- 403: 'Forbidden',
569
- 404: 'Not Found',
570
- 500: 'Server Error',
571
- 501: 'Server Error'
572
- }
573
- });
574
- }
575
-
576
- /**
577
- * @param data The data for the request.
578
- * @param data.entityPartyTypeCode
579
- * @param data.parentId
580
- * @param data.sorting
581
- * @param data.skipCount
582
- * @param data.maxResultCount
583
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Individuals_IndividualProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
584
- * @throws ApiError
585
- */
586
- public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
587
- return this.httpRequest.request({
588
- method: 'GET',
589
- url: '/api/crm-service/individuals',
590
- query: {
591
- EntityPartyTypeCode: data.entityPartyTypeCode,
592
- ParentId: data.parentId,
593
- Sorting: data.sorting,
594
- SkipCount: data.skipCount,
595
- MaxResultCount: data.maxResultCount
596
- },
597
- errors: {
598
- 400: 'Bad Request',
599
- 401: 'Unauthorized',
600
- 403: 'Forbidden',
601
- 404: 'Not Found',
602
- 500: 'Server Error',
603
- 501: 'Server Error'
604
- }
605
- });
606
- }
607
-
608
- }
609
-
610
- export class MerchantService {
611
- constructor(public readonly httpRequest: BaseHttpRequest) { }
612
-
613
- /**
614
- * @param data The data for the request.
615
- * @param data.sorting
616
- * @param data.skipCount
617
- * @param data.maxResultCount
618
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Merchants_MerchantProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
619
- * @throws ApiError
620
- */
621
- public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
622
- return this.httpRequest.request({
623
- method: 'GET',
624
- url: '/api/crm-service/merchants',
625
- query: {
626
- Sorting: data.sorting,
627
- SkipCount: data.skipCount,
628
- MaxResultCount: data.maxResultCount
629
- },
630
- errors: {
631
- 400: 'Bad Request',
632
- 401: 'Unauthorized',
633
- 403: 'Forbidden',
634
- 404: 'Not Found',
635
- 500: 'Server Error',
636
- 501: 'Server Error'
637
- }
638
- });
639
- }
640
-
641
- /**
642
- * @param data The data for the request.
643
- * @param data.id
644
- * @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
645
- * @throws ApiError
646
- */
647
- public getApiCrmServiceMerchantsDetailById(data: GetApiCrmServiceMerchantsDetailByIdData): CancelablePromise<GetApiCrmServiceMerchantsDetailByIdResponse> {
648
- return this.httpRequest.request({
649
- method: 'GET',
650
- url: '/api/crm-service/merchants/detail/{id}',
651
- path: {
652
- id: data.id
653
- },
654
- errors: {
655
- 400: 'Bad Request',
656
- 401: 'Unauthorized',
657
- 403: 'Forbidden',
658
- 404: 'Not Found',
659
- 500: 'Server Error',
660
- 501: 'Server Error'
661
- }
662
- });
663
- }
664
-
665
- /**
666
- * @param data The data for the request.
667
- * @param data.requestBody
668
- * @returns unknown Success
669
- * @throws ApiError
670
- */
671
- public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
672
- return this.httpRequest.request({
673
- method: 'POST',
674
- url: '/api/crm-service/merchants/with-components',
675
- body: data.requestBody,
676
- mediaType: 'application/json',
677
- errors: {
678
- 400: 'Bad Request',
679
- 401: 'Unauthorized',
680
- 403: 'Forbidden',
681
- 404: 'Not Found',
682
- 500: 'Server Error',
683
- 501: 'Server Error'
684
- }
685
- });
686
- }
687
-
688
- /**
689
- * @param data The data for the request.
690
- * @param data.id
691
- * @returns unknown Success
692
- * @throws ApiError
693
- */
694
- public deleteApiCrmServiceMerchantsWithComponentsById(data: DeleteApiCrmServiceMerchantsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceMerchantsWithComponentsByIdResponse> {
695
- return this.httpRequest.request({
696
- method: 'DELETE',
697
- url: '/api/crm-service/merchants/with-components/{id}',
698
- path: {
699
- id: data.id
700
- },
701
- errors: {
702
- 400: 'Bad Request',
703
- 401: 'Unauthorized',
704
- 403: 'Forbidden',
705
- 404: 'Not Found',
706
- 500: 'Server Error',
707
- 501: 'Server Error'
708
- }
709
- });
710
- }
711
-
712
- /**
713
- * @param data The data for the request.
714
- * @param data.merchantId
715
- * @param data.requestBody
716
- * @returns unknown Success
717
- * @throws ApiError
718
- */
719
- public postApiCrmServiceMerchantsByMerchantIdAffiliations(data: PostApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
720
- return this.httpRequest.request({
721
- method: 'POST',
722
- url: '/api/crm-service/merchants/{merchantId}/affiliations',
723
- path: {
724
- merchantId: data.merchantId
725
- },
726
- body: data.requestBody,
727
- mediaType: 'application/json',
728
- errors: {
729
- 400: 'Bad Request',
730
- 401: 'Unauthorized',
731
- 403: 'Forbidden',
732
- 404: 'Not Found',
733
- 500: 'Server Error',
734
- 501: 'Server Error'
735
- }
736
- });
737
- }
738
-
739
- /**
740
- * @param data The data for the request.
741
- * @param data.merchantId
742
- * @param data.sorting
743
- * @param data.skipCount
744
- * @param data.maxResultCount
745
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
746
- * @throws ApiError
747
- */
748
- public getApiCrmServiceMerchantsByMerchantIdAffiliations(data: GetApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
749
- return this.httpRequest.request({
750
- method: 'GET',
751
- url: '/api/crm-service/merchants/{merchantId}/affiliations',
752
- path: {
753
- merchantId: data.merchantId
754
- },
755
- query: {
756
- Sorting: data.sorting,
757
- SkipCount: data.skipCount,
758
- MaxResultCount: data.maxResultCount
759
- },
760
- errors: {
761
- 400: 'Bad Request',
762
- 401: 'Unauthorized',
763
- 403: 'Forbidden',
764
- 404: 'Not Found',
765
- 500: 'Server Error',
766
- 501: 'Server Error'
767
- }
768
- });
769
- }
770
-
771
- /**
772
- * @param data The data for the request.
773
- * @param data.id
774
- * @param data.organizationId
775
- * @param data.requestBody
776
- * @returns unknown Success
777
- * @throws ApiError
778
- */
779
- public putApiCrmServiceMerchantsByIdOrganizationByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse> {
780
- return this.httpRequest.request({
781
- method: 'PUT',
782
- url: '/api/crm-service/merchants/{id}/organization/{organizationId}',
783
- path: {
784
- id: data.id,
785
- organizationId: data.organizationId
786
- },
787
- body: data.requestBody,
788
- mediaType: 'application/json',
789
- errors: {
790
- 400: 'Bad Request',
791
- 401: 'Unauthorized',
792
- 403: 'Forbidden',
793
- 404: 'Not Found',
794
- 500: 'Server Error',
795
- 501: 'Server Error'
796
- }
797
- });
798
- }
799
-
800
- /**
801
- * @param data The data for the request.
802
- * @param data.requestBody
803
- * @returns unknown Success
804
- * @throws ApiError
805
- */
806
- public postApiCrmServiceMerchantsBulkProductGroupMerchant(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse> {
807
- return this.httpRequest.request({
808
- method: 'POST',
809
- url: '/api/crm-service/merchants/bulk-product-group-merchant',
810
- body: data.requestBody,
811
- mediaType: 'application/json',
812
- errors: {
813
- 400: 'Bad Request',
814
- 401: 'Unauthorized',
815
- 403: 'Forbidden',
816
- 404: 'Not Found',
817
- 500: 'Server Error',
818
- 501: 'Server Error'
819
- }
820
- });
821
- }
822
-
823
- }
824
-
825
- export class OrganizationService {
826
- constructor(public readonly httpRequest: BaseHttpRequest) { }
827
-
828
- /**
829
- * @param data The data for the request.
830
- * @param data.requestBody
831
- * @returns unknown Success
832
- * @throws ApiError
833
- */
834
- public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
835
- return this.httpRequest.request({
836
- method: 'POST',
837
- url: '/api/crm-service/organizations/with-components',
838
- body: data.requestBody,
839
- mediaType: 'application/json',
840
- errors: {
841
- 400: 'Bad Request',
842
- 401: 'Unauthorized',
843
- 403: 'Forbidden',
844
- 404: 'Not Found',
845
- 500: 'Server Error',
846
- 501: 'Server Error'
847
- }
848
- });
849
- }
850
-
851
- /**
852
- * @param data The data for the request.
853
- * @param data.entityPartyTypeCode
854
- * @param data.parentId
855
- * @param data.sorting
856
- * @param data.skipCount
857
- * @param data.maxResultCount
858
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Organizations_OrganizationProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
859
- * @throws ApiError
860
- */
861
- public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
862
- return this.httpRequest.request({
863
- method: 'GET',
864
- url: '/api/crm-service/organizations',
865
- query: {
866
- EntityPartyTypeCode: data.entityPartyTypeCode,
867
- ParentId: data.parentId,
868
- Sorting: data.sorting,
869
- SkipCount: data.skipCount,
870
- MaxResultCount: data.maxResultCount
871
- },
872
- errors: {
873
- 400: 'Bad Request',
874
- 401: 'Unauthorized',
875
- 403: 'Forbidden',
876
- 404: 'Not Found',
877
- 500: 'Server Error',
878
- 501: 'Server Error'
879
- }
880
- });
881
- }
882
-
883
- }
884
-
885
- export class RefundPointService {
886
- constructor(public readonly httpRequest: BaseHttpRequest) { }
887
-
888
- /**
889
- * @param data The data for the request.
890
- * @param data.sorting
891
- * @param data.skipCount
892
- * @param data.maxResultCount
893
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Merchants_RefundPointProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
894
- * @throws ApiError
895
- */
896
- public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
897
- return this.httpRequest.request({
898
- method: 'GET',
899
- url: '/api/crm-service/refund-points',
900
- query: {
901
- Sorting: data.sorting,
902
- SkipCount: data.skipCount,
903
- MaxResultCount: data.maxResultCount
904
- },
905
- errors: {
906
- 400: 'Bad Request',
907
- 401: 'Unauthorized',
908
- 403: 'Forbidden',
909
- 404: 'Not Found',
910
- 500: 'Server Error',
911
- 501: 'Server Error'
912
- }
913
- });
914
- }
915
-
916
- /**
917
- * @param data The data for the request.
918
- * @param data.id
919
- * @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
920
- * @throws ApiError
921
- */
922
- public getApiCrmServiceRefundPointsDetailById(data: GetApiCrmServiceRefundPointsDetailByIdData): CancelablePromise<GetApiCrmServiceRefundPointsDetailByIdResponse> {
923
- return this.httpRequest.request({
924
- method: 'GET',
925
- url: '/api/crm-service/refund-points/detail/{id}',
926
- path: {
927
- id: data.id
928
- },
929
- errors: {
930
- 400: 'Bad Request',
931
- 401: 'Unauthorized',
932
- 403: 'Forbidden',
933
- 404: 'Not Found',
934
- 500: 'Server Error',
935
- 501: 'Server Error'
936
- }
937
- });
938
- }
939
-
940
- /**
941
- * @param data The data for the request.
942
- * @param data.requestBody
943
- * @returns unknown Success
944
- * @throws ApiError
945
- */
946
- public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
947
- return this.httpRequest.request({
948
- method: 'POST',
949
- url: '/api/crm-service/refund-points/with-components',
950
- body: data.requestBody,
951
- mediaType: 'application/json',
952
- errors: {
953
- 400: 'Bad Request',
954
- 401: 'Unauthorized',
955
- 403: 'Forbidden',
956
- 404: 'Not Found',
957
- 500: 'Server Error',
958
- 501: 'Server Error'
959
- }
960
- });
961
- }
962
-
963
- /**
964
- * @param data The data for the request.
965
- * @param data.id
966
- * @returns unknown Success
967
- * @throws ApiError
968
- */
969
- public deleteApiCrmServiceRefundPointsWithComponentsById(data: DeleteApiCrmServiceRefundPointsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse> {
970
- return this.httpRequest.request({
971
- method: 'DELETE',
972
- url: '/api/crm-service/refund-points/with-components/{id}',
973
- path: {
974
- id: data.id
975
- },
976
- errors: {
977
- 400: 'Bad Request',
978
- 401: 'Unauthorized',
979
- 403: 'Forbidden',
980
- 404: 'Not Found',
981
- 500: 'Server Error',
982
- 501: 'Server Error'
983
- }
984
- });
985
- }
986
-
987
- /**
988
- * @param data The data for the request.
989
- * @param data.refundPointId
990
- * @param data.requestBody
991
- * @returns unknown Success
992
- * @throws ApiError
993
- */
994
- public postApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
995
- return this.httpRequest.request({
996
- method: 'POST',
997
- url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
998
- path: {
999
- refundPointId: data.refundPointId
1000
- },
1001
- body: data.requestBody,
1002
- mediaType: 'application/json',
1003
- errors: {
1004
- 400: 'Bad Request',
1005
- 401: 'Unauthorized',
1006
- 403: 'Forbidden',
1007
- 404: 'Not Found',
1008
- 500: 'Server Error',
1009
- 501: 'Server Error'
1010
- }
1011
- });
1012
- }
1013
-
1014
- /**
1015
- * @param data The data for the request.
1016
- * @param data.refundPointId
1017
- * @param data.sorting
1018
- * @param data.skipCount
1019
- * @param data.maxResultCount
1020
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1021
- * @throws ApiError
1022
- */
1023
- public getApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
1024
- return this.httpRequest.request({
1025
- method: 'GET',
1026
- url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
1027
- path: {
1028
- refundPointId: data.refundPointId
1029
- },
1030
- query: {
1031
- Sorting: data.sorting,
1032
- SkipCount: data.skipCount,
1033
- MaxResultCount: data.maxResultCount
1034
- },
1035
- errors: {
1036
- 400: 'Bad Request',
1037
- 401: 'Unauthorized',
1038
- 403: 'Forbidden',
1039
- 404: 'Not Found',
1040
- 500: 'Server Error',
1041
- 501: 'Server Error'
1042
- }
1043
- });
1044
- }
1045
-
1046
- /**
1047
- * @param data The data for the request.
1048
- * @param data.id
1049
- * @param data.organizationId
1050
- * @param data.requestBody
1051
- * @returns unknown Success
1052
- * @throws ApiError
1053
- */
1054
- public putApiCrmServiceRefundPointsByIdOrganizationByOrganizationId(data: PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdResponse> {
1055
- return this.httpRequest.request({
1056
- method: 'PUT',
1057
- url: '/api/crm-service/refund-points/{id}/organization/{organizationId}',
1058
- path: {
1059
- id: data.id,
1060
- organizationId: data.organizationId
1061
- },
1062
- body: data.requestBody,
1063
- mediaType: 'application/json',
1064
- errors: {
1065
- 400: 'Bad Request',
1066
- 401: 'Unauthorized',
1067
- 403: 'Forbidden',
1068
- 404: 'Not Found',
1069
- 500: 'Server Error',
1070
- 501: 'Server Error'
1071
- }
1072
- });
1073
- }
1074
-
1075
- }
1076
-
1077
- export class TaxFreeService {
1078
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1079
-
1080
- /**
1081
- * @param data The data for the request.
1082
- * @param data.sorting
1083
- * @param data.skipCount
1084
- * @param data.maxResultCount
1085
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TaxFrees_TaxFreeProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1086
- * @throws ApiError
1087
- */
1088
- public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
1089
- return this.httpRequest.request({
1090
- method: 'GET',
1091
- url: '/api/crm-service/tax-frees',
1092
- query: {
1093
- Sorting: data.sorting,
1094
- SkipCount: data.skipCount,
1095
- MaxResultCount: data.maxResultCount
1096
- },
1097
- errors: {
1098
- 400: 'Bad Request',
1099
- 401: 'Unauthorized',
1100
- 403: 'Forbidden',
1101
- 404: 'Not Found',
1102
- 500: 'Server Error',
1103
- 501: 'Server Error'
1104
- }
1105
- });
1106
- }
1107
-
1108
- /**
1109
- * @param data The data for the request.
1110
- * @param data.id
1111
- * @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
1112
- * @throws ApiError
1113
- */
1114
- public getApiCrmServiceTaxFreesDetailById(data: GetApiCrmServiceTaxFreesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxFreesDetailByIdResponse> {
1115
- return this.httpRequest.request({
1116
- method: 'GET',
1117
- url: '/api/crm-service/tax-frees/detail/{id}',
1118
- path: {
1119
- id: data.id
1120
- },
1121
- errors: {
1122
- 400: 'Bad Request',
1123
- 401: 'Unauthorized',
1124
- 403: 'Forbidden',
1125
- 404: 'Not Found',
1126
- 500: 'Server Error',
1127
- 501: 'Server Error'
1128
- }
1129
- });
1130
- }
1131
-
1132
- /**
1133
- * @param data The data for the request.
1134
- * @param data.requestBody
1135
- * @returns unknown Success
1136
- * @throws ApiError
1137
- */
1138
- public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
1139
- return this.httpRequest.request({
1140
- method: 'POST',
1141
- url: '/api/crm-service/tax-frees/with-components',
1142
- body: data.requestBody,
1143
- mediaType: 'application/json',
1144
- errors: {
1145
- 400: 'Bad Request',
1146
- 401: 'Unauthorized',
1147
- 403: 'Forbidden',
1148
- 404: 'Not Found',
1149
- 500: 'Server Error',
1150
- 501: 'Server Error'
1151
- }
1152
- });
1153
- }
1154
-
1155
- /**
1156
- * @param data The data for the request.
1157
- * @param data.id
1158
- * @returns unknown Success
1159
- * @throws ApiError
1160
- */
1161
- public deleteApiCrmServiceTaxFreesWithComponentsById(data: DeleteApiCrmServiceTaxFreesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse> {
1162
- return this.httpRequest.request({
1163
- method: 'DELETE',
1164
- url: '/api/crm-service/tax-frees/with-components/{id}',
1165
- path: {
1166
- id: data.id
1167
- },
1168
- errors: {
1169
- 400: 'Bad Request',
1170
- 401: 'Unauthorized',
1171
- 403: 'Forbidden',
1172
- 404: 'Not Found',
1173
- 500: 'Server Error',
1174
- 501: 'Server Error'
1175
- }
1176
- });
1177
- }
1178
-
1179
- /**
1180
- * @param data The data for the request.
1181
- * @param data.taxFreesId
1182
- * @param data.requestBody
1183
- * @returns unknown Success
1184
- * @throws ApiError
1185
- */
1186
- public postApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
1187
- return this.httpRequest.request({
1188
- method: 'POST',
1189
- url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
1190
- path: {
1191
- taxFreesId: data.taxFreesId
1192
- },
1193
- body: data.requestBody,
1194
- mediaType: 'application/json',
1195
- errors: {
1196
- 400: 'Bad Request',
1197
- 401: 'Unauthorized',
1198
- 403: 'Forbidden',
1199
- 404: 'Not Found',
1200
- 500: 'Server Error',
1201
- 501: 'Server Error'
1202
- }
1203
- });
1204
- }
1205
-
1206
- /**
1207
- * @param data The data for the request.
1208
- * @param data.taxFreesId
1209
- * @param data.sorting
1210
- * @param data.skipCount
1211
- * @param data.maxResultCount
1212
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1213
- * @throws ApiError
1214
- */
1215
- public getApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
1216
- return this.httpRequest.request({
1217
- method: 'GET',
1218
- url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
1219
- path: {
1220
- taxFreesId: data.taxFreesId
1221
- },
1222
- query: {
1223
- Sorting: data.sorting,
1224
- SkipCount: data.skipCount,
1225
- MaxResultCount: data.maxResultCount
1226
- },
1227
- errors: {
1228
- 400: 'Bad Request',
1229
- 401: 'Unauthorized',
1230
- 403: 'Forbidden',
1231
- 404: 'Not Found',
1232
- 500: 'Server Error',
1233
- 501: 'Server Error'
1234
- }
1235
- });
1236
- }
1237
-
1238
- /**
1239
- * @param data The data for the request.
1240
- * @param data.id
1241
- * @param data.organizationId
1242
- * @param data.requestBody
1243
- * @returns unknown Success
1244
- * @throws ApiError
1245
- */
1246
- public putApiCrmServiceTaxFreesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse> {
1247
- return this.httpRequest.request({
1248
- method: 'PUT',
1249
- url: '/api/crm-service/tax-frees/{id}/organization/{organizationId}',
1250
- path: {
1251
- id: data.id,
1252
- organizationId: data.organizationId
1253
- },
1254
- body: data.requestBody,
1255
- mediaType: 'application/json',
1256
- errors: {
1257
- 400: 'Bad Request',
1258
- 401: 'Unauthorized',
1259
- 403: 'Forbidden',
1260
- 404: 'Not Found',
1261
- 500: 'Server Error',
1262
- 501: 'Server Error'
1263
- }
1264
- });
1265
- }
1266
-
1267
- }
1268
-
1269
- export class TaxOfficeService {
1270
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1271
-
1272
- /**
1273
- * @param data The data for the request.
1274
- * @param data.sorting
1275
- * @param data.skipCount
1276
- * @param data.maxResultCount
1277
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1278
- * @throws ApiError
1279
- */
1280
- public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
1281
- return this.httpRequest.request({
1282
- method: 'GET',
1283
- url: '/api/crm-service/tax-offices',
1284
- query: {
1285
- Sorting: data.sorting,
1286
- SkipCount: data.skipCount,
1287
- MaxResultCount: data.maxResultCount
1288
- },
1289
- errors: {
1290
- 400: 'Bad Request',
1291
- 401: 'Unauthorized',
1292
- 403: 'Forbidden',
1293
- 404: 'Not Found',
1294
- 500: 'Server Error',
1295
- 501: 'Server Error'
1296
- }
1297
- });
1298
- }
1299
-
1300
- /**
1301
- * @param data The data for the request.
1302
- * @param data.id
1303
- * @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
1304
- * @throws ApiError
1305
- */
1306
- public getApiCrmServiceTaxOfficesDetailById(data: GetApiCrmServiceTaxOfficesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxOfficesDetailByIdResponse> {
1307
- return this.httpRequest.request({
1308
- method: 'GET',
1309
- url: '/api/crm-service/tax-offices/detail/{id}',
1310
- path: {
1311
- id: data.id
1312
- },
1313
- errors: {
1314
- 400: 'Bad Request',
1315
- 401: 'Unauthorized',
1316
- 403: 'Forbidden',
1317
- 404: 'Not Found',
1318
- 500: 'Server Error',
1319
- 501: 'Server Error'
1320
- }
1321
- });
1322
- }
1323
-
1324
- /**
1325
- * @param data The data for the request.
1326
- * @param data.requestBody
1327
- * @returns unknown Success
1328
- * @throws ApiError
1329
- */
1330
- public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
1331
- return this.httpRequest.request({
1332
- method: 'POST',
1333
- url: '/api/crm-service/tax-offices/with-components',
1334
- body: data.requestBody,
1335
- mediaType: 'application/json',
1336
- errors: {
1337
- 400: 'Bad Request',
1338
- 401: 'Unauthorized',
1339
- 403: 'Forbidden',
1340
- 404: 'Not Found',
1341
- 500: 'Server Error',
1342
- 501: 'Server Error'
1343
- }
1344
- });
1345
- }
1346
-
1347
- /**
1348
- * @param data The data for the request.
1349
- * @param data.id
1350
- * @returns unknown Success
1351
- * @throws ApiError
1352
- */
1353
- public deleteApiCrmServiceTaxOfficesWithComponentsById(data: DeleteApiCrmServiceTaxOfficesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse> {
1354
- return this.httpRequest.request({
1355
- method: 'DELETE',
1356
- url: '/api/crm-service/tax-offices/with-components/{id}',
1357
- path: {
1358
- id: data.id
1359
- },
1360
- errors: {
1361
- 400: 'Bad Request',
1362
- 401: 'Unauthorized',
1363
- 403: 'Forbidden',
1364
- 404: 'Not Found',
1365
- 500: 'Server Error',
1366
- 501: 'Server Error'
1367
- }
1368
- });
1369
- }
1370
-
1371
- /**
1372
- * @param data The data for the request.
1373
- * @param data.taxOfficesId
1374
- * @param data.requestBody
1375
- * @returns unknown Success
1376
- * @throws ApiError
1377
- */
1378
- public postApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
1379
- return this.httpRequest.request({
1380
- method: 'POST',
1381
- url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
1382
- path: {
1383
- taxOfficesId: data.taxOfficesId
1384
- },
1385
- body: data.requestBody,
1386
- mediaType: 'application/json',
1387
- errors: {
1388
- 400: 'Bad Request',
1389
- 401: 'Unauthorized',
1390
- 403: 'Forbidden',
1391
- 404: 'Not Found',
1392
- 500: 'Server Error',
1393
- 501: 'Server Error'
1394
- }
1395
- });
1396
- }
1397
-
1398
- /**
1399
- * @param data The data for the request.
1400
- * @param data.taxOfficesId
1401
- * @param data.sorting
1402
- * @param data.skipCount
1403
- * @param data.maxResultCount
1404
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1405
- * @throws ApiError
1406
- */
1407
- public getApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
1408
- return this.httpRequest.request({
1409
- method: 'GET',
1410
- url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
1411
- path: {
1412
- taxOfficesId: data.taxOfficesId
1413
- },
1414
- query: {
1415
- Sorting: data.sorting,
1416
- SkipCount: data.skipCount,
1417
- MaxResultCount: data.maxResultCount
1418
- },
1419
- errors: {
1420
- 400: 'Bad Request',
1421
- 401: 'Unauthorized',
1422
- 403: 'Forbidden',
1423
- 404: 'Not Found',
1424
- 500: 'Server Error',
1425
- 501: 'Server Error'
1426
- }
1427
- });
1428
- }
1429
-
1430
- /**
1431
- * @param data The data for the request.
1432
- * @param data.id
1433
- * @param data.organizationId
1434
- * @param data.requestBody
1435
- * @returns unknown Success
1436
- * @throws ApiError
1437
- */
1438
- public putApiCrmServiceTaxOfficesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdResponse> {
1439
- return this.httpRequest.request({
1440
- method: 'PUT',
1441
- url: '/api/crm-service/tax-offices/{id}/organization/{organizationId}',
1442
- path: {
1443
- id: data.id,
1444
- organizationId: data.organizationId
1445
- },
1446
- body: data.requestBody,
1447
- mediaType: 'application/json',
1448
- errors: {
1449
- 400: 'Bad Request',
1450
- 401: 'Unauthorized',
1451
- 403: 'Forbidden',
1452
- 404: 'Not Found',
1453
- 500: 'Server Error',
1454
- 501: 'Server Error'
1455
- }
1456
- });
1457
- }
1458
-
1459
- }
1460
-
1461
- export class TelephoneTypeService {
1462
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1463
-
1464
- /**
1465
- * @param data The data for the request.
1466
- * @param data.sorting
1467
- * @param data.skipCount
1468
- * @param data.maxResultCount
1469
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1470
- * @throws ApiError
1471
- */
1472
- public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
1473
- return this.httpRequest.request({
1474
- method: 'GET',
1475
- url: '/api/crm-service/telephones',
1476
- query: {
1477
- Sorting: data.sorting,
1478
- SkipCount: data.skipCount,
1479
- MaxResultCount: data.maxResultCount
1480
- },
1481
- errors: {
1482
- 400: 'Bad Request',
1483
- 401: 'Unauthorized',
1484
- 403: 'Forbidden',
1485
- 404: 'Not Found',
1486
- 500: 'Server Error',
1487
- 501: 'Server Error'
1488
- }
1489
- });
1490
- }
1491
-
1492
- /**
1493
- * @param data The data for the request.
1494
- * @param data.requestBody
1495
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1496
- * @throws ApiError
1497
- */
1498
- public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
1499
- return this.httpRequest.request({
1500
- method: 'POST',
1501
- url: '/api/crm-service/telephones',
1502
- body: data.requestBody,
1503
- mediaType: 'application/json',
1504
- errors: {
1505
- 400: 'Bad Request',
1506
- 401: 'Unauthorized',
1507
- 403: 'Forbidden',
1508
- 404: 'Not Found',
1509
- 500: 'Server Error',
1510
- 501: 'Server Error'
1511
- }
1512
- });
1513
- }
1514
-
1515
- /**
1516
- * @param data The data for the request.
1517
- * @param data.id
1518
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1519
- * @throws ApiError
1520
- */
1521
- public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
1522
- return this.httpRequest.request({
1523
- method: 'GET',
1524
- url: '/api/crm-service/telephones/{id}',
1525
- path: {
1526
- id: data.id
1527
- },
1528
- errors: {
1529
- 400: 'Bad Request',
1530
- 401: 'Unauthorized',
1531
- 403: 'Forbidden',
1532
- 404: 'Not Found',
1533
- 500: 'Server Error',
1534
- 501: 'Server Error'
1535
- }
1536
- });
1537
- }
1538
-
1539
- /**
1540
- * @param data The data for the request.
1541
- * @param data.id
1542
- * @param data.requestBody
1543
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1544
- * @throws ApiError
1545
- */
1546
- public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
1547
- return this.httpRequest.request({
1548
- method: 'PUT',
1549
- url: '/api/crm-service/telephones/{id}',
1550
- path: {
1551
- id: data.id
1552
- },
1553
- body: data.requestBody,
1554
- mediaType: 'application/json',
1555
- errors: {
1556
- 400: 'Bad Request',
1557
- 401: 'Unauthorized',
1558
- 403: 'Forbidden',
1559
- 404: 'Not Found',
1560
- 500: 'Server Error',
1561
- 501: 'Server Error'
1562
- }
1563
- });
1564
- }
1565
-
1566
- /**
1567
- * @param data The data for the request.
1568
- * @param data.id
1569
- * @returns unknown Success
1570
- * @throws ApiError
1571
- */
1572
- public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
1573
- return this.httpRequest.request({
1574
- method: 'DELETE',
1575
- url: '/api/crm-service/telephones/{id}',
1576
- path: {
1577
- id: data.id
1578
- },
1579
- errors: {
1580
- 400: 'Bad Request',
1581
- 401: 'Unauthorized',
1582
- 403: 'Forbidden',
1583
- 404: 'Not Found',
1584
- 500: 'Server Error',
1585
- 501: 'Server Error'
1586
- }
1587
- });
1588
- }
1589
-
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ import type { CancelablePromise } from './core/CancelablePromise';
4
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiCrmServiceAddressesData, GetApiCrmServiceAddressesResponse, PostApiCrmServiceAddressesData, PostApiCrmServiceAddressesResponse, GetApiCrmServiceAddressesByIdData, GetApiCrmServiceAddressesByIdResponse, PutApiCrmServiceAddressesByIdData, PutApiCrmServiceAddressesByIdResponse, DeleteApiCrmServiceAddressesByIdData, DeleteApiCrmServiceAddressesByIdResponse, GetApiCrmServiceCustomsData, GetApiCrmServiceCustomsResponse, GetApiCrmServiceCustomsDetailByIdData, GetApiCrmServiceCustomsDetailByIdResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsWithComponentsByIdData, DeleteApiCrmServiceCustomsWithComponentsByIdResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsDetailByIdData, GetApiCrmServiceMerchantsDetailByIdResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsWithComponentsByIdData, DeleteApiCrmServiceMerchantsWithComponentsByIdResponse, PostApiCrmServiceMerchantsByMerchantIdAffiliationsData, PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, GetApiCrmServiceMerchantsByMerchantIdAffiliationsData, GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantData, PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsDetailByIdData, GetApiCrmServiceRefundPointsDetailByIdResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsWithComponentsByIdData, DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdData, PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesDetailByIdData, GetApiCrmServiceTaxFreesDetailByIdResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesWithComponentsByIdData, DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesDetailByIdData, GetApiCrmServiceTaxOfficesDetailByIdResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesWithComponentsByIdData, DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdResponse, GetApiCrmServiceTelephonesData, GetApiCrmServiceTelephonesResponse, PostApiCrmServiceTelephonesData, PostApiCrmServiceTelephonesResponse, GetApiCrmServiceTelephonesByIdData, GetApiCrmServiceTelephonesByIdResponse, PutApiCrmServiceTelephonesByIdData, PutApiCrmServiceTelephonesByIdResponse, DeleteApiCrmServiceTelephonesByIdData, DeleteApiCrmServiceTelephonesByIdResponse } from './types.gen';
6
+
7
+ export class AbpApiDefinitionService {
8
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
9
+
10
+ /**
11
+ * @param data The data for the request.
12
+ * @param data.includeTypes
13
+ * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
+ * @throws ApiError
15
+ */
16
+ public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
+ return this.httpRequest.request({
18
+ method: 'GET',
19
+ url: '/api/abp/api-definition',
20
+ query: {
21
+ IncludeTypes: data.includeTypes
22
+ },
23
+ errors: {
24
+ 400: 'Bad Request',
25
+ 401: 'Unauthorized',
26
+ 403: 'Forbidden',
27
+ 404: 'Not Found',
28
+ 500: 'Server Error',
29
+ 501: 'Server Error'
30
+ }
31
+ });
32
+ }
33
+
34
+ }
35
+
36
+ export class AbpApplicationConfigurationService {
37
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
38
+
39
+ /**
40
+ * @param data The data for the request.
41
+ * @param data.includeLocalizationResources
42
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
+ * @throws ApiError
44
+ */
45
+ public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
+ return this.httpRequest.request({
47
+ method: 'GET',
48
+ url: '/api/abp/application-configuration',
49
+ query: {
50
+ IncludeLocalizationResources: data.includeLocalizationResources
51
+ },
52
+ errors: {
53
+ 400: 'Bad Request',
54
+ 401: 'Unauthorized',
55
+ 403: 'Forbidden',
56
+ 404: 'Not Found',
57
+ 500: 'Server Error',
58
+ 501: 'Server Error'
59
+ }
60
+ });
61
+ }
62
+
63
+ }
64
+
65
+ export class AbpApplicationLocalizationService {
66
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
67
+
68
+ /**
69
+ * @param data The data for the request.
70
+ * @param data.cultureName
71
+ * @param data.onlyDynamics
72
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
+ * @throws ApiError
74
+ */
75
+ public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
+ return this.httpRequest.request({
77
+ method: 'GET',
78
+ url: '/api/abp/application-localization',
79
+ query: {
80
+ CultureName: data.cultureName,
81
+ OnlyDynamics: data.onlyDynamics
82
+ },
83
+ errors: {
84
+ 400: 'Bad Request',
85
+ 401: 'Unauthorized',
86
+ 403: 'Forbidden',
87
+ 404: 'Not Found',
88
+ 500: 'Server Error',
89
+ 501: 'Server Error'
90
+ }
91
+ });
92
+ }
93
+
94
+ }
95
+
96
+ export class AddressTypeService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.sorting
102
+ * @param data.skipCount
103
+ * @param data.maxResultCount
104
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AddressTypes_AddressTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
105
+ * @throws ApiError
106
+ */
107
+ public getApiCrmServiceAddresses(data: GetApiCrmServiceAddressesData = {}): CancelablePromise<GetApiCrmServiceAddressesResponse> {
108
+ return this.httpRequest.request({
109
+ method: 'GET',
110
+ url: '/api/crm-service/addresses',
111
+ query: {
112
+ Sorting: data.sorting,
113
+ SkipCount: data.skipCount,
114
+ MaxResultCount: data.maxResultCount
115
+ },
116
+ errors: {
117
+ 400: 'Bad Request',
118
+ 401: 'Unauthorized',
119
+ 403: 'Forbidden',
120
+ 404: 'Not Found',
121
+ 500: 'Server Error',
122
+ 501: 'Server Error'
123
+ }
124
+ });
125
+ }
126
+
127
+ /**
128
+ * @param data The data for the request.
129
+ * @param data.requestBody
130
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
131
+ * @throws ApiError
132
+ */
133
+ public postApiCrmServiceAddresses(data: PostApiCrmServiceAddressesData = {}): CancelablePromise<PostApiCrmServiceAddressesResponse> {
134
+ return this.httpRequest.request({
135
+ method: 'POST',
136
+ url: '/api/crm-service/addresses',
137
+ body: data.requestBody,
138
+ mediaType: 'application/json',
139
+ errors: {
140
+ 400: 'Bad Request',
141
+ 401: 'Unauthorized',
142
+ 403: 'Forbidden',
143
+ 404: 'Not Found',
144
+ 500: 'Server Error',
145
+ 501: 'Server Error'
146
+ }
147
+ });
148
+ }
149
+
150
+ /**
151
+ * @param data The data for the request.
152
+ * @param data.id
153
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
154
+ * @throws ApiError
155
+ */
156
+ public getApiCrmServiceAddressesById(data: GetApiCrmServiceAddressesByIdData): CancelablePromise<GetApiCrmServiceAddressesByIdResponse> {
157
+ return this.httpRequest.request({
158
+ method: 'GET',
159
+ url: '/api/crm-service/addresses/{id}',
160
+ path: {
161
+ id: data.id
162
+ },
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.id
177
+ * @param data.requestBody
178
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
179
+ * @throws ApiError
180
+ */
181
+ public putApiCrmServiceAddressesById(data: PutApiCrmServiceAddressesByIdData): CancelablePromise<PutApiCrmServiceAddressesByIdResponse> {
182
+ return this.httpRequest.request({
183
+ method: 'PUT',
184
+ url: '/api/crm-service/addresses/{id}',
185
+ path: {
186
+ id: data.id
187
+ },
188
+ body: data.requestBody,
189
+ mediaType: 'application/json',
190
+ errors: {
191
+ 400: 'Bad Request',
192
+ 401: 'Unauthorized',
193
+ 403: 'Forbidden',
194
+ 404: 'Not Found',
195
+ 500: 'Server Error',
196
+ 501: 'Server Error'
197
+ }
198
+ });
199
+ }
200
+
201
+ /**
202
+ * @param data The data for the request.
203
+ * @param data.id
204
+ * @returns unknown Success
205
+ * @throws ApiError
206
+ */
207
+ public deleteApiCrmServiceAddressesById(data: DeleteApiCrmServiceAddressesByIdData): CancelablePromise<DeleteApiCrmServiceAddressesByIdResponse> {
208
+ return this.httpRequest.request({
209
+ method: 'DELETE',
210
+ url: '/api/crm-service/addresses/{id}',
211
+ path: {
212
+ id: data.id
213
+ },
214
+ errors: {
215
+ 400: 'Bad Request',
216
+ 401: 'Unauthorized',
217
+ 403: 'Forbidden',
218
+ 404: 'Not Found',
219
+ 500: 'Server Error',
220
+ 501: 'Server Error'
221
+ }
222
+ });
223
+ }
224
+
225
+ }
226
+
227
+ export class CustomsService {
228
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
229
+
230
+ /**
231
+ * @param data The data for the request.
232
+ * @param data.sorting
233
+ * @param data.skipCount
234
+ * @param data.maxResultCount
235
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Customss_CustomsProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
236
+ * @throws ApiError
237
+ */
238
+ public getApiCrmServiceCustoms(data: GetApiCrmServiceCustomsData = {}): CancelablePromise<GetApiCrmServiceCustomsResponse> {
239
+ return this.httpRequest.request({
240
+ method: 'GET',
241
+ url: '/api/crm-service/customs',
242
+ query: {
243
+ Sorting: data.sorting,
244
+ SkipCount: data.skipCount,
245
+ MaxResultCount: data.maxResultCount
246
+ },
247
+ errors: {
248
+ 400: 'Bad Request',
249
+ 401: 'Unauthorized',
250
+ 403: 'Forbidden',
251
+ 404: 'Not Found',
252
+ 500: 'Server Error',
253
+ 501: 'Server Error'
254
+ }
255
+ });
256
+ }
257
+
258
+ /**
259
+ * @param data The data for the request.
260
+ * @param data.id
261
+ * @returns UniRefund_CRMService_Customss_CustomsDto Success
262
+ * @throws ApiError
263
+ */
264
+ public getApiCrmServiceCustomsDetailById(data: GetApiCrmServiceCustomsDetailByIdData): CancelablePromise<GetApiCrmServiceCustomsDetailByIdResponse> {
265
+ return this.httpRequest.request({
266
+ method: 'GET',
267
+ url: '/api/crm-service/customs/detail/{id}',
268
+ path: {
269
+ id: data.id
270
+ },
271
+ errors: {
272
+ 400: 'Bad Request',
273
+ 401: 'Unauthorized',
274
+ 403: 'Forbidden',
275
+ 404: 'Not Found',
276
+ 500: 'Server Error',
277
+ 501: 'Server Error'
278
+ }
279
+ });
280
+ }
281
+
282
+ /**
283
+ * @param data The data for the request.
284
+ * @param data.requestBody
285
+ * @returns unknown Success
286
+ * @throws ApiError
287
+ */
288
+ public postApiCrmServiceCustomsWithComponents(data: PostApiCrmServiceCustomsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceCustomsWithComponentsResponse> {
289
+ return this.httpRequest.request({
290
+ method: 'POST',
291
+ url: '/api/crm-service/customs/with-components',
292
+ body: data.requestBody,
293
+ mediaType: 'application/json',
294
+ errors: {
295
+ 400: 'Bad Request',
296
+ 401: 'Unauthorized',
297
+ 403: 'Forbidden',
298
+ 404: 'Not Found',
299
+ 500: 'Server Error',
300
+ 501: 'Server Error'
301
+ }
302
+ });
303
+ }
304
+
305
+ /**
306
+ * @param data The data for the request.
307
+ * @param data.id
308
+ * @returns unknown Success
309
+ * @throws ApiError
310
+ */
311
+ public deleteApiCrmServiceCustomsWithComponentsById(data: DeleteApiCrmServiceCustomsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceCustomsWithComponentsByIdResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'DELETE',
314
+ url: '/api/crm-service/customs/with-components/{id}',
315
+ path: {
316
+ id: data.id
317
+ },
318
+ errors: {
319
+ 400: 'Bad Request',
320
+ 401: 'Unauthorized',
321
+ 403: 'Forbidden',
322
+ 404: 'Not Found',
323
+ 500: 'Server Error',
324
+ 501: 'Server Error'
325
+ }
326
+ });
327
+ }
328
+
329
+ /**
330
+ * @param data The data for the request.
331
+ * @param data.id
332
+ * @param data.requestBody
333
+ * @returns unknown Success
334
+ * @throws ApiError
335
+ */
336
+ public postApiCrmServiceCustomsByIdAffiliations(data: PostApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceCustomsByIdAffiliationsResponse> {
337
+ return this.httpRequest.request({
338
+ method: 'POST',
339
+ url: '/api/crm-service/customs/{id}/affiliations',
340
+ path: {
341
+ id: data.id
342
+ },
343
+ body: data.requestBody,
344
+ mediaType: 'application/json',
345
+ errors: {
346
+ 400: 'Bad Request',
347
+ 401: 'Unauthorized',
348
+ 403: 'Forbidden',
349
+ 404: 'Not Found',
350
+ 500: 'Server Error',
351
+ 501: 'Server Error'
352
+ }
353
+ });
354
+ }
355
+
356
+ /**
357
+ * @param data The data for the request.
358
+ * @param data.id
359
+ * @param data.sorting
360
+ * @param data.skipCount
361
+ * @param data.maxResultCount
362
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
363
+ * @throws ApiError
364
+ */
365
+ public getApiCrmServiceCustomsByIdAffiliations(data: GetApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceCustomsByIdAffiliationsResponse> {
366
+ return this.httpRequest.request({
367
+ method: 'GET',
368
+ url: '/api/crm-service/customs/{id}/affiliations',
369
+ path: {
370
+ id: data.id
371
+ },
372
+ query: {
373
+ Sorting: data.sorting,
374
+ SkipCount: data.skipCount,
375
+ MaxResultCount: data.maxResultCount
376
+ },
377
+ errors: {
378
+ 400: 'Bad Request',
379
+ 401: 'Unauthorized',
380
+ 403: 'Forbidden',
381
+ 404: 'Not Found',
382
+ 500: 'Server Error',
383
+ 501: 'Server Error'
384
+ }
385
+ });
386
+ }
387
+
388
+ /**
389
+ * @param data The data for the request.
390
+ * @param data.id
391
+ * @param data.organizationId
392
+ * @param data.requestBody
393
+ * @returns unknown Success
394
+ * @throws ApiError
395
+ */
396
+ public putApiCrmServiceCustomsByIdOrganizationByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse> {
397
+ return this.httpRequest.request({
398
+ method: 'PUT',
399
+ url: '/api/crm-service/customs/{id}/organization/{organizationId}',
400
+ path: {
401
+ id: data.id,
402
+ organizationId: data.organizationId
403
+ },
404
+ body: data.requestBody,
405
+ mediaType: 'application/json',
406
+ errors: {
407
+ 400: 'Bad Request',
408
+ 401: 'Unauthorized',
409
+ 403: 'Forbidden',
410
+ 404: 'Not Found',
411
+ 500: 'Server Error',
412
+ 501: 'Server Error'
413
+ }
414
+ });
415
+ }
416
+
417
+ }
418
+
419
+ export class EmailCommonDataService {
420
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
421
+
422
+ /**
423
+ * @param data The data for the request.
424
+ * @param data.sorting
425
+ * @param data.skipCount
426
+ * @param data.maxResultCount
427
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
428
+ * @throws ApiError
429
+ */
430
+ public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
431
+ return this.httpRequest.request({
432
+ method: 'GET',
433
+ url: '/api/crm-service/emails',
434
+ query: {
435
+ Sorting: data.sorting,
436
+ SkipCount: data.skipCount,
437
+ MaxResultCount: data.maxResultCount
438
+ },
439
+ errors: {
440
+ 400: 'Bad Request',
441
+ 401: 'Unauthorized',
442
+ 403: 'Forbidden',
443
+ 404: 'Not Found',
444
+ 500: 'Server Error',
445
+ 501: 'Server Error'
446
+ }
447
+ });
448
+ }
449
+
450
+ /**
451
+ * @param data The data for the request.
452
+ * @param data.requestBody
453
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
454
+ * @throws ApiError
455
+ */
456
+ public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
457
+ return this.httpRequest.request({
458
+ method: 'POST',
459
+ url: '/api/crm-service/emails',
460
+ body: data.requestBody,
461
+ mediaType: 'application/json',
462
+ errors: {
463
+ 400: 'Bad Request',
464
+ 401: 'Unauthorized',
465
+ 403: 'Forbidden',
466
+ 404: 'Not Found',
467
+ 500: 'Server Error',
468
+ 501: 'Server Error'
469
+ }
470
+ });
471
+ }
472
+
473
+ /**
474
+ * @param data The data for the request.
475
+ * @param data.id
476
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
477
+ * @throws ApiError
478
+ */
479
+ public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
480
+ return this.httpRequest.request({
481
+ method: 'GET',
482
+ url: '/api/crm-service/emails/{id}',
483
+ path: {
484
+ id: data.id
485
+ },
486
+ errors: {
487
+ 400: 'Bad Request',
488
+ 401: 'Unauthorized',
489
+ 403: 'Forbidden',
490
+ 404: 'Not Found',
491
+ 500: 'Server Error',
492
+ 501: 'Server Error'
493
+ }
494
+ });
495
+ }
496
+
497
+ /**
498
+ * @param data The data for the request.
499
+ * @param data.id
500
+ * @param data.requestBody
501
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
502
+ * @throws ApiError
503
+ */
504
+ public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
505
+ return this.httpRequest.request({
506
+ method: 'PUT',
507
+ url: '/api/crm-service/emails/{id}',
508
+ path: {
509
+ id: data.id
510
+ },
511
+ body: data.requestBody,
512
+ mediaType: 'application/json',
513
+ errors: {
514
+ 400: 'Bad Request',
515
+ 401: 'Unauthorized',
516
+ 403: 'Forbidden',
517
+ 404: 'Not Found',
518
+ 500: 'Server Error',
519
+ 501: 'Server Error'
520
+ }
521
+ });
522
+ }
523
+
524
+ /**
525
+ * @param data The data for the request.
526
+ * @param data.id
527
+ * @returns unknown Success
528
+ * @throws ApiError
529
+ */
530
+ public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
531
+ return this.httpRequest.request({
532
+ method: 'DELETE',
533
+ url: '/api/crm-service/emails/{id}',
534
+ path: {
535
+ id: data.id
536
+ },
537
+ errors: {
538
+ 400: 'Bad Request',
539
+ 401: 'Unauthorized',
540
+ 403: 'Forbidden',
541
+ 404: 'Not Found',
542
+ 500: 'Server Error',
543
+ 501: 'Server Error'
544
+ }
545
+ });
546
+ }
547
+
548
+ }
549
+
550
+ export class IndividualService {
551
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
552
+
553
+ /**
554
+ * @param data The data for the request.
555
+ * @param data.requestBody
556
+ * @returns unknown Success
557
+ * @throws ApiError
558
+ */
559
+ public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
560
+ return this.httpRequest.request({
561
+ method: 'POST',
562
+ url: '/api/crm-service/individuals/with-components',
563
+ body: data.requestBody,
564
+ mediaType: 'application/json',
565
+ errors: {
566
+ 400: 'Bad Request',
567
+ 401: 'Unauthorized',
568
+ 403: 'Forbidden',
569
+ 404: 'Not Found',
570
+ 500: 'Server Error',
571
+ 501: 'Server Error'
572
+ }
573
+ });
574
+ }
575
+
576
+ /**
577
+ * @param data The data for the request.
578
+ * @param data.entityPartyTypeCode
579
+ * @param data.parentId
580
+ * @param data.sorting
581
+ * @param data.skipCount
582
+ * @param data.maxResultCount
583
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Individuals_IndividualProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
584
+ * @throws ApiError
585
+ */
586
+ public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
587
+ return this.httpRequest.request({
588
+ method: 'GET',
589
+ url: '/api/crm-service/individuals',
590
+ query: {
591
+ EntityPartyTypeCode: data.entityPartyTypeCode,
592
+ ParentId: data.parentId,
593
+ Sorting: data.sorting,
594
+ SkipCount: data.skipCount,
595
+ MaxResultCount: data.maxResultCount
596
+ },
597
+ errors: {
598
+ 400: 'Bad Request',
599
+ 401: 'Unauthorized',
600
+ 403: 'Forbidden',
601
+ 404: 'Not Found',
602
+ 500: 'Server Error',
603
+ 501: 'Server Error'
604
+ }
605
+ });
606
+ }
607
+
608
+ }
609
+
610
+ export class MerchantService {
611
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
612
+
613
+ /**
614
+ * @param data The data for the request.
615
+ * @param data.sorting
616
+ * @param data.skipCount
617
+ * @param data.maxResultCount
618
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Merchants_MerchantProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
619
+ * @throws ApiError
620
+ */
621
+ public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
622
+ return this.httpRequest.request({
623
+ method: 'GET',
624
+ url: '/api/crm-service/merchants',
625
+ query: {
626
+ Sorting: data.sorting,
627
+ SkipCount: data.skipCount,
628
+ MaxResultCount: data.maxResultCount
629
+ },
630
+ errors: {
631
+ 400: 'Bad Request',
632
+ 401: 'Unauthorized',
633
+ 403: 'Forbidden',
634
+ 404: 'Not Found',
635
+ 500: 'Server Error',
636
+ 501: 'Server Error'
637
+ }
638
+ });
639
+ }
640
+
641
+ /**
642
+ * @param data The data for the request.
643
+ * @param data.vatNumber
644
+ * @param data.countryCode
645
+ * @param data.branchId
646
+ * @returns UniRefund_CRMService_Merchants_MerchantInfoDto Success
647
+ * @throws ApiError
648
+ */
649
+ public getApiCrmServiceMerchantsInfo(data: GetApiCrmServiceMerchantsInfoData = {}): CancelablePromise<GetApiCrmServiceMerchantsInfoResponse> {
650
+ return this.httpRequest.request({
651
+ method: 'GET',
652
+ url: '/api/crm-service/merchants/info',
653
+ query: {
654
+ VatNumber: data.vatNumber,
655
+ CountryCode: data.countryCode,
656
+ BranchId: data.branchId
657
+ },
658
+ errors: {
659
+ 400: 'Bad Request',
660
+ 401: 'Unauthorized',
661
+ 403: 'Forbidden',
662
+ 404: 'Not Found',
663
+ 500: 'Server Error',
664
+ 501: 'Server Error'
665
+ }
666
+ });
667
+ }
668
+
669
+ /**
670
+ * @param data The data for the request.
671
+ * @param data.id
672
+ * @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
673
+ * @throws ApiError
674
+ */
675
+ public getApiCrmServiceMerchantsDetailById(data: GetApiCrmServiceMerchantsDetailByIdData): CancelablePromise<GetApiCrmServiceMerchantsDetailByIdResponse> {
676
+ return this.httpRequest.request({
677
+ method: 'GET',
678
+ url: '/api/crm-service/merchants/detail/{id}',
679
+ path: {
680
+ id: data.id
681
+ },
682
+ errors: {
683
+ 400: 'Bad Request',
684
+ 401: 'Unauthorized',
685
+ 403: 'Forbidden',
686
+ 404: 'Not Found',
687
+ 500: 'Server Error',
688
+ 501: 'Server Error'
689
+ }
690
+ });
691
+ }
692
+
693
+ /**
694
+ * @param data The data for the request.
695
+ * @param data.requestBody
696
+ * @returns unknown Success
697
+ * @throws ApiError
698
+ */
699
+ public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
700
+ return this.httpRequest.request({
701
+ method: 'POST',
702
+ url: '/api/crm-service/merchants/with-components',
703
+ body: data.requestBody,
704
+ mediaType: 'application/json',
705
+ errors: {
706
+ 400: 'Bad Request',
707
+ 401: 'Unauthorized',
708
+ 403: 'Forbidden',
709
+ 404: 'Not Found',
710
+ 500: 'Server Error',
711
+ 501: 'Server Error'
712
+ }
713
+ });
714
+ }
715
+
716
+ /**
717
+ * @param data The data for the request.
718
+ * @param data.id
719
+ * @returns unknown Success
720
+ * @throws ApiError
721
+ */
722
+ public deleteApiCrmServiceMerchantsWithComponentsById(data: DeleteApiCrmServiceMerchantsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceMerchantsWithComponentsByIdResponse> {
723
+ return this.httpRequest.request({
724
+ method: 'DELETE',
725
+ url: '/api/crm-service/merchants/with-components/{id}',
726
+ path: {
727
+ id: data.id
728
+ },
729
+ errors: {
730
+ 400: 'Bad Request',
731
+ 401: 'Unauthorized',
732
+ 403: 'Forbidden',
733
+ 404: 'Not Found',
734
+ 500: 'Server Error',
735
+ 501: 'Server Error'
736
+ }
737
+ });
738
+ }
739
+
740
+ /**
741
+ * @param data The data for the request.
742
+ * @param data.merchantId
743
+ * @param data.requestBody
744
+ * @returns unknown Success
745
+ * @throws ApiError
746
+ */
747
+ public postApiCrmServiceMerchantsByMerchantIdAffiliations(data: PostApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
748
+ return this.httpRequest.request({
749
+ method: 'POST',
750
+ url: '/api/crm-service/merchants/{merchantId}/affiliations',
751
+ path: {
752
+ merchantId: data.merchantId
753
+ },
754
+ body: data.requestBody,
755
+ mediaType: 'application/json',
756
+ errors: {
757
+ 400: 'Bad Request',
758
+ 401: 'Unauthorized',
759
+ 403: 'Forbidden',
760
+ 404: 'Not Found',
761
+ 500: 'Server Error',
762
+ 501: 'Server Error'
763
+ }
764
+ });
765
+ }
766
+
767
+ /**
768
+ * @param data The data for the request.
769
+ * @param data.merchantId
770
+ * @param data.sorting
771
+ * @param data.skipCount
772
+ * @param data.maxResultCount
773
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
774
+ * @throws ApiError
775
+ */
776
+ public getApiCrmServiceMerchantsByMerchantIdAffiliations(data: GetApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
777
+ return this.httpRequest.request({
778
+ method: 'GET',
779
+ url: '/api/crm-service/merchants/{merchantId}/affiliations',
780
+ path: {
781
+ merchantId: data.merchantId
782
+ },
783
+ query: {
784
+ Sorting: data.sorting,
785
+ SkipCount: data.skipCount,
786
+ MaxResultCount: data.maxResultCount
787
+ },
788
+ errors: {
789
+ 400: 'Bad Request',
790
+ 401: 'Unauthorized',
791
+ 403: 'Forbidden',
792
+ 404: 'Not Found',
793
+ 500: 'Server Error',
794
+ 501: 'Server Error'
795
+ }
796
+ });
797
+ }
798
+
799
+ /**
800
+ * @param data The data for the request.
801
+ * @param data.id
802
+ * @param data.organizationId
803
+ * @param data.requestBody
804
+ * @returns unknown Success
805
+ * @throws ApiError
806
+ */
807
+ public putApiCrmServiceMerchantsByIdOrganizationByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse> {
808
+ return this.httpRequest.request({
809
+ method: 'PUT',
810
+ url: '/api/crm-service/merchants/{id}/organization/{organizationId}',
811
+ path: {
812
+ id: data.id,
813
+ organizationId: data.organizationId
814
+ },
815
+ body: data.requestBody,
816
+ mediaType: 'application/json',
817
+ errors: {
818
+ 400: 'Bad Request',
819
+ 401: 'Unauthorized',
820
+ 403: 'Forbidden',
821
+ 404: 'Not Found',
822
+ 500: 'Server Error',
823
+ 501: 'Server Error'
824
+ }
825
+ });
826
+ }
827
+
828
+ /**
829
+ * @param data The data for the request.
830
+ * @param data.requestBody
831
+ * @returns unknown Success
832
+ * @throws ApiError
833
+ */
834
+ public postApiCrmServiceMerchantsBulkProductGroupMerchant(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse> {
835
+ return this.httpRequest.request({
836
+ method: 'POST',
837
+ url: '/api/crm-service/merchants/bulk-product-group-merchant',
838
+ body: data.requestBody,
839
+ mediaType: 'application/json',
840
+ errors: {
841
+ 400: 'Bad Request',
842
+ 401: 'Unauthorized',
843
+ 403: 'Forbidden',
844
+ 404: 'Not Found',
845
+ 500: 'Server Error',
846
+ 501: 'Server Error'
847
+ }
848
+ });
849
+ }
850
+
851
+ }
852
+
853
+ export class OrganizationService {
854
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
855
+
856
+ /**
857
+ * @param data The data for the request.
858
+ * @param data.requestBody
859
+ * @returns unknown Success
860
+ * @throws ApiError
861
+ */
862
+ public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
863
+ return this.httpRequest.request({
864
+ method: 'POST',
865
+ url: '/api/crm-service/organizations/with-components',
866
+ body: data.requestBody,
867
+ mediaType: 'application/json',
868
+ errors: {
869
+ 400: 'Bad Request',
870
+ 401: 'Unauthorized',
871
+ 403: 'Forbidden',
872
+ 404: 'Not Found',
873
+ 500: 'Server Error',
874
+ 501: 'Server Error'
875
+ }
876
+ });
877
+ }
878
+
879
+ /**
880
+ * @param data The data for the request.
881
+ * @param data.entityPartyTypeCode
882
+ * @param data.parentId
883
+ * @param data.sorting
884
+ * @param data.skipCount
885
+ * @param data.maxResultCount
886
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Organizations_OrganizationProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
887
+ * @throws ApiError
888
+ */
889
+ public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
890
+ return this.httpRequest.request({
891
+ method: 'GET',
892
+ url: '/api/crm-service/organizations',
893
+ query: {
894
+ EntityPartyTypeCode: data.entityPartyTypeCode,
895
+ ParentId: data.parentId,
896
+ Sorting: data.sorting,
897
+ SkipCount: data.skipCount,
898
+ MaxResultCount: data.maxResultCount
899
+ },
900
+ errors: {
901
+ 400: 'Bad Request',
902
+ 401: 'Unauthorized',
903
+ 403: 'Forbidden',
904
+ 404: 'Not Found',
905
+ 500: 'Server Error',
906
+ 501: 'Server Error'
907
+ }
908
+ });
909
+ }
910
+
911
+ }
912
+
913
+ export class RefundPointService {
914
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
915
+
916
+ /**
917
+ * @param data The data for the request.
918
+ * @param data.sorting
919
+ * @param data.skipCount
920
+ * @param data.maxResultCount
921
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Merchants_RefundPointProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
922
+ * @throws ApiError
923
+ */
924
+ public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
925
+ return this.httpRequest.request({
926
+ method: 'GET',
927
+ url: '/api/crm-service/refund-points',
928
+ query: {
929
+ Sorting: data.sorting,
930
+ SkipCount: data.skipCount,
931
+ MaxResultCount: data.maxResultCount
932
+ },
933
+ errors: {
934
+ 400: 'Bad Request',
935
+ 401: 'Unauthorized',
936
+ 403: 'Forbidden',
937
+ 404: 'Not Found',
938
+ 500: 'Server Error',
939
+ 501: 'Server Error'
940
+ }
941
+ });
942
+ }
943
+
944
+ /**
945
+ * @param data The data for the request.
946
+ * @param data.id
947
+ * @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
948
+ * @throws ApiError
949
+ */
950
+ public getApiCrmServiceRefundPointsDetailById(data: GetApiCrmServiceRefundPointsDetailByIdData): CancelablePromise<GetApiCrmServiceRefundPointsDetailByIdResponse> {
951
+ return this.httpRequest.request({
952
+ method: 'GET',
953
+ url: '/api/crm-service/refund-points/detail/{id}',
954
+ path: {
955
+ id: data.id
956
+ },
957
+ errors: {
958
+ 400: 'Bad Request',
959
+ 401: 'Unauthorized',
960
+ 403: 'Forbidden',
961
+ 404: 'Not Found',
962
+ 500: 'Server Error',
963
+ 501: 'Server Error'
964
+ }
965
+ });
966
+ }
967
+
968
+ /**
969
+ * @param data The data for the request.
970
+ * @param data.requestBody
971
+ * @returns unknown Success
972
+ * @throws ApiError
973
+ */
974
+ public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
975
+ return this.httpRequest.request({
976
+ method: 'POST',
977
+ url: '/api/crm-service/refund-points/with-components',
978
+ body: data.requestBody,
979
+ mediaType: 'application/json',
980
+ errors: {
981
+ 400: 'Bad Request',
982
+ 401: 'Unauthorized',
983
+ 403: 'Forbidden',
984
+ 404: 'Not Found',
985
+ 500: 'Server Error',
986
+ 501: 'Server Error'
987
+ }
988
+ });
989
+ }
990
+
991
+ /**
992
+ * @param data The data for the request.
993
+ * @param data.id
994
+ * @returns unknown Success
995
+ * @throws ApiError
996
+ */
997
+ public deleteApiCrmServiceRefundPointsWithComponentsById(data: DeleteApiCrmServiceRefundPointsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse> {
998
+ return this.httpRequest.request({
999
+ method: 'DELETE',
1000
+ url: '/api/crm-service/refund-points/with-components/{id}',
1001
+ path: {
1002
+ id: data.id
1003
+ },
1004
+ errors: {
1005
+ 400: 'Bad Request',
1006
+ 401: 'Unauthorized',
1007
+ 403: 'Forbidden',
1008
+ 404: 'Not Found',
1009
+ 500: 'Server Error',
1010
+ 501: 'Server Error'
1011
+ }
1012
+ });
1013
+ }
1014
+
1015
+ /**
1016
+ * @param data The data for the request.
1017
+ * @param data.refundPointId
1018
+ * @param data.requestBody
1019
+ * @returns unknown Success
1020
+ * @throws ApiError
1021
+ */
1022
+ public postApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
1023
+ return this.httpRequest.request({
1024
+ method: 'POST',
1025
+ url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
1026
+ path: {
1027
+ refundPointId: data.refundPointId
1028
+ },
1029
+ body: data.requestBody,
1030
+ mediaType: 'application/json',
1031
+ errors: {
1032
+ 400: 'Bad Request',
1033
+ 401: 'Unauthorized',
1034
+ 403: 'Forbidden',
1035
+ 404: 'Not Found',
1036
+ 500: 'Server Error',
1037
+ 501: 'Server Error'
1038
+ }
1039
+ });
1040
+ }
1041
+
1042
+ /**
1043
+ * @param data The data for the request.
1044
+ * @param data.refundPointId
1045
+ * @param data.sorting
1046
+ * @param data.skipCount
1047
+ * @param data.maxResultCount
1048
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1049
+ * @throws ApiError
1050
+ */
1051
+ public getApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
1052
+ return this.httpRequest.request({
1053
+ method: 'GET',
1054
+ url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
1055
+ path: {
1056
+ refundPointId: data.refundPointId
1057
+ },
1058
+ query: {
1059
+ Sorting: data.sorting,
1060
+ SkipCount: data.skipCount,
1061
+ MaxResultCount: data.maxResultCount
1062
+ },
1063
+ errors: {
1064
+ 400: 'Bad Request',
1065
+ 401: 'Unauthorized',
1066
+ 403: 'Forbidden',
1067
+ 404: 'Not Found',
1068
+ 500: 'Server Error',
1069
+ 501: 'Server Error'
1070
+ }
1071
+ });
1072
+ }
1073
+
1074
+ /**
1075
+ * @param data The data for the request.
1076
+ * @param data.id
1077
+ * @param data.organizationId
1078
+ * @param data.requestBody
1079
+ * @returns unknown Success
1080
+ * @throws ApiError
1081
+ */
1082
+ public putApiCrmServiceRefundPointsByIdOrganizationByOrganizationId(data: PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdOrganizationByOrganizationIdResponse> {
1083
+ return this.httpRequest.request({
1084
+ method: 'PUT',
1085
+ url: '/api/crm-service/refund-points/{id}/organization/{organizationId}',
1086
+ path: {
1087
+ id: data.id,
1088
+ organizationId: data.organizationId
1089
+ },
1090
+ body: data.requestBody,
1091
+ mediaType: 'application/json',
1092
+ errors: {
1093
+ 400: 'Bad Request',
1094
+ 401: 'Unauthorized',
1095
+ 403: 'Forbidden',
1096
+ 404: 'Not Found',
1097
+ 500: 'Server Error',
1098
+ 501: 'Server Error'
1099
+ }
1100
+ });
1101
+ }
1102
+
1103
+ }
1104
+
1105
+ export class TaxFreeService {
1106
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1107
+
1108
+ /**
1109
+ * @param data The data for the request.
1110
+ * @param data.sorting
1111
+ * @param data.skipCount
1112
+ * @param data.maxResultCount
1113
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TaxFrees_TaxFreeProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1114
+ * @throws ApiError
1115
+ */
1116
+ public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
1117
+ return this.httpRequest.request({
1118
+ method: 'GET',
1119
+ url: '/api/crm-service/tax-frees',
1120
+ query: {
1121
+ Sorting: data.sorting,
1122
+ SkipCount: data.skipCount,
1123
+ MaxResultCount: data.maxResultCount
1124
+ },
1125
+ errors: {
1126
+ 400: 'Bad Request',
1127
+ 401: 'Unauthorized',
1128
+ 403: 'Forbidden',
1129
+ 404: 'Not Found',
1130
+ 500: 'Server Error',
1131
+ 501: 'Server Error'
1132
+ }
1133
+ });
1134
+ }
1135
+
1136
+ /**
1137
+ * @param data The data for the request.
1138
+ * @param data.id
1139
+ * @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
1140
+ * @throws ApiError
1141
+ */
1142
+ public getApiCrmServiceTaxFreesDetailById(data: GetApiCrmServiceTaxFreesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxFreesDetailByIdResponse> {
1143
+ return this.httpRequest.request({
1144
+ method: 'GET',
1145
+ url: '/api/crm-service/tax-frees/detail/{id}',
1146
+ path: {
1147
+ id: data.id
1148
+ },
1149
+ errors: {
1150
+ 400: 'Bad Request',
1151
+ 401: 'Unauthorized',
1152
+ 403: 'Forbidden',
1153
+ 404: 'Not Found',
1154
+ 500: 'Server Error',
1155
+ 501: 'Server Error'
1156
+ }
1157
+ });
1158
+ }
1159
+
1160
+ /**
1161
+ * @param data The data for the request.
1162
+ * @param data.requestBody
1163
+ * @returns unknown Success
1164
+ * @throws ApiError
1165
+ */
1166
+ public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
1167
+ return this.httpRequest.request({
1168
+ method: 'POST',
1169
+ url: '/api/crm-service/tax-frees/with-components',
1170
+ body: data.requestBody,
1171
+ mediaType: 'application/json',
1172
+ errors: {
1173
+ 400: 'Bad Request',
1174
+ 401: 'Unauthorized',
1175
+ 403: 'Forbidden',
1176
+ 404: 'Not Found',
1177
+ 500: 'Server Error',
1178
+ 501: 'Server Error'
1179
+ }
1180
+ });
1181
+ }
1182
+
1183
+ /**
1184
+ * @param data The data for the request.
1185
+ * @param data.id
1186
+ * @returns unknown Success
1187
+ * @throws ApiError
1188
+ */
1189
+ public deleteApiCrmServiceTaxFreesWithComponentsById(data: DeleteApiCrmServiceTaxFreesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse> {
1190
+ return this.httpRequest.request({
1191
+ method: 'DELETE',
1192
+ url: '/api/crm-service/tax-frees/with-components/{id}',
1193
+ path: {
1194
+ id: data.id
1195
+ },
1196
+ errors: {
1197
+ 400: 'Bad Request',
1198
+ 401: 'Unauthorized',
1199
+ 403: 'Forbidden',
1200
+ 404: 'Not Found',
1201
+ 500: 'Server Error',
1202
+ 501: 'Server Error'
1203
+ }
1204
+ });
1205
+ }
1206
+
1207
+ /**
1208
+ * @param data The data for the request.
1209
+ * @param data.taxFreesId
1210
+ * @param data.requestBody
1211
+ * @returns unknown Success
1212
+ * @throws ApiError
1213
+ */
1214
+ public postApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
1215
+ return this.httpRequest.request({
1216
+ method: 'POST',
1217
+ url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
1218
+ path: {
1219
+ taxFreesId: data.taxFreesId
1220
+ },
1221
+ body: data.requestBody,
1222
+ mediaType: 'application/json',
1223
+ errors: {
1224
+ 400: 'Bad Request',
1225
+ 401: 'Unauthorized',
1226
+ 403: 'Forbidden',
1227
+ 404: 'Not Found',
1228
+ 500: 'Server Error',
1229
+ 501: 'Server Error'
1230
+ }
1231
+ });
1232
+ }
1233
+
1234
+ /**
1235
+ * @param data The data for the request.
1236
+ * @param data.taxFreesId
1237
+ * @param data.sorting
1238
+ * @param data.skipCount
1239
+ * @param data.maxResultCount
1240
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1241
+ * @throws ApiError
1242
+ */
1243
+ public getApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
1244
+ return this.httpRequest.request({
1245
+ method: 'GET',
1246
+ url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
1247
+ path: {
1248
+ taxFreesId: data.taxFreesId
1249
+ },
1250
+ query: {
1251
+ Sorting: data.sorting,
1252
+ SkipCount: data.skipCount,
1253
+ MaxResultCount: data.maxResultCount
1254
+ },
1255
+ errors: {
1256
+ 400: 'Bad Request',
1257
+ 401: 'Unauthorized',
1258
+ 403: 'Forbidden',
1259
+ 404: 'Not Found',
1260
+ 500: 'Server Error',
1261
+ 501: 'Server Error'
1262
+ }
1263
+ });
1264
+ }
1265
+
1266
+ /**
1267
+ * @param data The data for the request.
1268
+ * @param data.id
1269
+ * @param data.organizationId
1270
+ * @param data.requestBody
1271
+ * @returns unknown Success
1272
+ * @throws ApiError
1273
+ */
1274
+ public putApiCrmServiceTaxFreesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse> {
1275
+ return this.httpRequest.request({
1276
+ method: 'PUT',
1277
+ url: '/api/crm-service/tax-frees/{id}/organization/{organizationId}',
1278
+ path: {
1279
+ id: data.id,
1280
+ organizationId: data.organizationId
1281
+ },
1282
+ body: data.requestBody,
1283
+ mediaType: 'application/json',
1284
+ errors: {
1285
+ 400: 'Bad Request',
1286
+ 401: 'Unauthorized',
1287
+ 403: 'Forbidden',
1288
+ 404: 'Not Found',
1289
+ 500: 'Server Error',
1290
+ 501: 'Server Error'
1291
+ }
1292
+ });
1293
+ }
1294
+
1295
+ }
1296
+
1297
+ export class TaxOfficeService {
1298
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1299
+
1300
+ /**
1301
+ * @param data The data for the request.
1302
+ * @param data.sorting
1303
+ * @param data.skipCount
1304
+ * @param data.maxResultCount
1305
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TaxOffices_TaxOfficeProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1306
+ * @throws ApiError
1307
+ */
1308
+ public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
1309
+ return this.httpRequest.request({
1310
+ method: 'GET',
1311
+ url: '/api/crm-service/tax-offices',
1312
+ query: {
1313
+ Sorting: data.sorting,
1314
+ SkipCount: data.skipCount,
1315
+ MaxResultCount: data.maxResultCount
1316
+ },
1317
+ errors: {
1318
+ 400: 'Bad Request',
1319
+ 401: 'Unauthorized',
1320
+ 403: 'Forbidden',
1321
+ 404: 'Not Found',
1322
+ 500: 'Server Error',
1323
+ 501: 'Server Error'
1324
+ }
1325
+ });
1326
+ }
1327
+
1328
+ /**
1329
+ * @param data The data for the request.
1330
+ * @param data.id
1331
+ * @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
1332
+ * @throws ApiError
1333
+ */
1334
+ public getApiCrmServiceTaxOfficesDetailById(data: GetApiCrmServiceTaxOfficesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxOfficesDetailByIdResponse> {
1335
+ return this.httpRequest.request({
1336
+ method: 'GET',
1337
+ url: '/api/crm-service/tax-offices/detail/{id}',
1338
+ path: {
1339
+ id: data.id
1340
+ },
1341
+ errors: {
1342
+ 400: 'Bad Request',
1343
+ 401: 'Unauthorized',
1344
+ 403: 'Forbidden',
1345
+ 404: 'Not Found',
1346
+ 500: 'Server Error',
1347
+ 501: 'Server Error'
1348
+ }
1349
+ });
1350
+ }
1351
+
1352
+ /**
1353
+ * @param data The data for the request.
1354
+ * @param data.requestBody
1355
+ * @returns unknown Success
1356
+ * @throws ApiError
1357
+ */
1358
+ public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
1359
+ return this.httpRequest.request({
1360
+ method: 'POST',
1361
+ url: '/api/crm-service/tax-offices/with-components',
1362
+ body: data.requestBody,
1363
+ mediaType: 'application/json',
1364
+ errors: {
1365
+ 400: 'Bad Request',
1366
+ 401: 'Unauthorized',
1367
+ 403: 'Forbidden',
1368
+ 404: 'Not Found',
1369
+ 500: 'Server Error',
1370
+ 501: 'Server Error'
1371
+ }
1372
+ });
1373
+ }
1374
+
1375
+ /**
1376
+ * @param data The data for the request.
1377
+ * @param data.id
1378
+ * @returns unknown Success
1379
+ * @throws ApiError
1380
+ */
1381
+ public deleteApiCrmServiceTaxOfficesWithComponentsById(data: DeleteApiCrmServiceTaxOfficesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse> {
1382
+ return this.httpRequest.request({
1383
+ method: 'DELETE',
1384
+ url: '/api/crm-service/tax-offices/with-components/{id}',
1385
+ path: {
1386
+ id: data.id
1387
+ },
1388
+ errors: {
1389
+ 400: 'Bad Request',
1390
+ 401: 'Unauthorized',
1391
+ 403: 'Forbidden',
1392
+ 404: 'Not Found',
1393
+ 500: 'Server Error',
1394
+ 501: 'Server Error'
1395
+ }
1396
+ });
1397
+ }
1398
+
1399
+ /**
1400
+ * @param data The data for the request.
1401
+ * @param data.taxOfficesId
1402
+ * @param data.requestBody
1403
+ * @returns unknown Success
1404
+ * @throws ApiError
1405
+ */
1406
+ public postApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
1407
+ return this.httpRequest.request({
1408
+ method: 'POST',
1409
+ url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
1410
+ path: {
1411
+ taxOfficesId: data.taxOfficesId
1412
+ },
1413
+ body: data.requestBody,
1414
+ mediaType: 'application/json',
1415
+ errors: {
1416
+ 400: 'Bad Request',
1417
+ 401: 'Unauthorized',
1418
+ 403: 'Forbidden',
1419
+ 404: 'Not Found',
1420
+ 500: 'Server Error',
1421
+ 501: 'Server Error'
1422
+ }
1423
+ });
1424
+ }
1425
+
1426
+ /**
1427
+ * @param data The data for the request.
1428
+ * @param data.taxOfficesId
1429
+ * @param data.sorting
1430
+ * @param data.skipCount
1431
+ * @param data.maxResultCount
1432
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1433
+ * @throws ApiError
1434
+ */
1435
+ public getApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
1436
+ return this.httpRequest.request({
1437
+ method: 'GET',
1438
+ url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
1439
+ path: {
1440
+ taxOfficesId: data.taxOfficesId
1441
+ },
1442
+ query: {
1443
+ Sorting: data.sorting,
1444
+ SkipCount: data.skipCount,
1445
+ MaxResultCount: data.maxResultCount
1446
+ },
1447
+ errors: {
1448
+ 400: 'Bad Request',
1449
+ 401: 'Unauthorized',
1450
+ 403: 'Forbidden',
1451
+ 404: 'Not Found',
1452
+ 500: 'Server Error',
1453
+ 501: 'Server Error'
1454
+ }
1455
+ });
1456
+ }
1457
+
1458
+ /**
1459
+ * @param data The data for the request.
1460
+ * @param data.id
1461
+ * @param data.organizationId
1462
+ * @param data.requestBody
1463
+ * @returns unknown Success
1464
+ * @throws ApiError
1465
+ */
1466
+ public putApiCrmServiceTaxOfficesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdOrganizationByOrganizationIdResponse> {
1467
+ return this.httpRequest.request({
1468
+ method: 'PUT',
1469
+ url: '/api/crm-service/tax-offices/{id}/organization/{organizationId}',
1470
+ path: {
1471
+ id: data.id,
1472
+ organizationId: data.organizationId
1473
+ },
1474
+ body: data.requestBody,
1475
+ mediaType: 'application/json',
1476
+ errors: {
1477
+ 400: 'Bad Request',
1478
+ 401: 'Unauthorized',
1479
+ 403: 'Forbidden',
1480
+ 404: 'Not Found',
1481
+ 500: 'Server Error',
1482
+ 501: 'Server Error'
1483
+ }
1484
+ });
1485
+ }
1486
+
1487
+ }
1488
+
1489
+ export class TelephoneTypeService {
1490
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1491
+
1492
+ /**
1493
+ * @param data The data for the request.
1494
+ * @param data.sorting
1495
+ * @param data.skipCount
1496
+ * @param data.maxResultCount
1497
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1498
+ * @throws ApiError
1499
+ */
1500
+ public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
1501
+ return this.httpRequest.request({
1502
+ method: 'GET',
1503
+ url: '/api/crm-service/telephones',
1504
+ query: {
1505
+ Sorting: data.sorting,
1506
+ SkipCount: data.skipCount,
1507
+ MaxResultCount: data.maxResultCount
1508
+ },
1509
+ errors: {
1510
+ 400: 'Bad Request',
1511
+ 401: 'Unauthorized',
1512
+ 403: 'Forbidden',
1513
+ 404: 'Not Found',
1514
+ 500: 'Server Error',
1515
+ 501: 'Server Error'
1516
+ }
1517
+ });
1518
+ }
1519
+
1520
+ /**
1521
+ * @param data The data for the request.
1522
+ * @param data.requestBody
1523
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1524
+ * @throws ApiError
1525
+ */
1526
+ public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
1527
+ return this.httpRequest.request({
1528
+ method: 'POST',
1529
+ url: '/api/crm-service/telephones',
1530
+ body: data.requestBody,
1531
+ mediaType: 'application/json',
1532
+ errors: {
1533
+ 400: 'Bad Request',
1534
+ 401: 'Unauthorized',
1535
+ 403: 'Forbidden',
1536
+ 404: 'Not Found',
1537
+ 500: 'Server Error',
1538
+ 501: 'Server Error'
1539
+ }
1540
+ });
1541
+ }
1542
+
1543
+ /**
1544
+ * @param data The data for the request.
1545
+ * @param data.id
1546
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1547
+ * @throws ApiError
1548
+ */
1549
+ public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
1550
+ return this.httpRequest.request({
1551
+ method: 'GET',
1552
+ url: '/api/crm-service/telephones/{id}',
1553
+ path: {
1554
+ id: data.id
1555
+ },
1556
+ errors: {
1557
+ 400: 'Bad Request',
1558
+ 401: 'Unauthorized',
1559
+ 403: 'Forbidden',
1560
+ 404: 'Not Found',
1561
+ 500: 'Server Error',
1562
+ 501: 'Server Error'
1563
+ }
1564
+ });
1565
+ }
1566
+
1567
+ /**
1568
+ * @param data The data for the request.
1569
+ * @param data.id
1570
+ * @param data.requestBody
1571
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1572
+ * @throws ApiError
1573
+ */
1574
+ public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
1575
+ return this.httpRequest.request({
1576
+ method: 'PUT',
1577
+ url: '/api/crm-service/telephones/{id}',
1578
+ path: {
1579
+ id: data.id
1580
+ },
1581
+ body: data.requestBody,
1582
+ mediaType: 'application/json',
1583
+ errors: {
1584
+ 400: 'Bad Request',
1585
+ 401: 'Unauthorized',
1586
+ 403: 'Forbidden',
1587
+ 404: 'Not Found',
1588
+ 500: 'Server Error',
1589
+ 501: 'Server Error'
1590
+ }
1591
+ });
1592
+ }
1593
+
1594
+ /**
1595
+ * @param data The data for the request.
1596
+ * @param data.id
1597
+ * @returns unknown Success
1598
+ * @throws ApiError
1599
+ */
1600
+ public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
1601
+ return this.httpRequest.request({
1602
+ method: 'DELETE',
1603
+ url: '/api/crm-service/telephones/{id}',
1604
+ path: {
1605
+ id: data.id
1606
+ },
1607
+ errors: {
1608
+ 400: 'Bad Request',
1609
+ 401: 'Unauthorized',
1610
+ 403: 'Forbidden',
1611
+ 404: 'Not Found',
1612
+ 500: 'Server Error',
1613
+ 501: 'Server Error'
1614
+ }
1615
+ });
1616
+ }
1617
+
1590
1618
  }