@ayasofyazilim/saas 0.0.41 → 0.0.42

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 (107) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -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/index.ts +9 -9
  8. package/AccountService/schemas.gen.ts +5333 -5103
  9. package/AccountService/services.gen.ts +1539 -1452
  10. package/AccountService/types.gen.ts +3328 -9896
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -74
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +9 -9
  18. package/AdministrationService/schemas.gen.ts +5987 -5897
  19. package/AdministrationService/services.gen.ts +1404 -1332
  20. package/AdministrationService/types.gen.ts +2851 -9024
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +9 -9
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -14936
  29. package/CRMService/schemas.gen.ts +15928 -15928
  30. package/CRMService/services.gen.ts +2104 -2104
  31. package/CRMService/types.gen.ts +4189 -4189
  32. package/ContractService/schemas.gen.ts +10590 -10590
  33. package/ContractService/types.gen.ts +3709 -3709
  34. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  35. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  36. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  37. package/FundraiserService/core/OpenAPI.ts +55 -55
  38. package/FundraiserService/core/request.ts +340 -340
  39. package/FundraiserService/index.ts +9 -9
  40. package/FundraiserService/services.gen.ts +627 -627
  41. package/FundraiserService/types.gen.ts +1793 -11187
  42. package/IdentityService/IdentityServiceClient.ts +80 -77
  43. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  44. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  45. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  46. package/IdentityService/core/OpenAPI.ts +55 -55
  47. package/IdentityService/core/request.ts +340 -340
  48. package/IdentityService/index.ts +9 -9
  49. package/IdentityService/schemas.gen.ts +6845 -6573
  50. package/IdentityService/services.gen.ts +2924 -2839
  51. package/IdentityService/types.gen.ts +5484 -17446
  52. package/LocationService/LocationServiceClient.ts +110 -110
  53. package/LocationService/core/ApiError.ts +20 -20
  54. package/LocationService/core/ApiRequestOptions.ts +12 -12
  55. package/LocationService/core/ApiResult.ts +6 -6
  56. package/LocationService/core/BaseHttpRequest.ts +9 -9
  57. package/LocationService/core/CancelablePromise.ts +125 -125
  58. package/LocationService/core/FetchHttpRequest.ts +21 -21
  59. package/LocationService/core/OpenAPI.ts +55 -55
  60. package/LocationService/core/request.ts +340 -340
  61. package/LocationService/index.ts +8 -8
  62. package/LocationService/schemas.gen.ts +10136 -10136
  63. package/LocationService/services.gen.ts +3392 -3392
  64. package/LocationService/types.gen.ts +6507 -6507
  65. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  66. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  67. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  68. package/MerchantService/core/OpenAPI.ts +55 -55
  69. package/MerchantService/core/request.ts +340 -340
  70. package/MerchantService/schemas.gen.ts +14764 -14764
  71. package/MerchantService/services.gen.ts +1602 -1602
  72. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  73. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  74. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  75. package/ProjectService/core/OpenAPI.ts +55 -55
  76. package/ProjectService/core/request.ts +340 -340
  77. package/ProjectService/index.ts +9 -9
  78. package/ProjectService/services.gen.ts +492 -492
  79. package/ProjectService/types.gen.ts +1303 -4978
  80. package/ProjectService.json +2937 -2937
  81. package/SaasService/core/ApiRequestOptions.ts +12 -12
  82. package/SaasService/core/BaseHttpRequest.ts +9 -9
  83. package/SaasService/core/FetchHttpRequest.ts +21 -21
  84. package/SaasService/core/OpenAPI.ts +55 -55
  85. package/SaasService/core/request.ts +340 -340
  86. package/SaasService/index.ts +9 -9
  87. package/SaasService/schemas.gen.ts +5345 -5278
  88. package/SaasService/services.gen.ts +1329 -1325
  89. package/SaasService/types.gen.ts +2737 -9052
  90. package/SettingService/schemas.gen.ts +5410 -5395
  91. package/SettingService/services.gen.ts +890 -843
  92. package/SettingService/types.gen.ts +2052 -1965
  93. package/TravellerService/TravellerServiceClient.ts +56 -56
  94. package/TravellerService/core/ApiError.ts +20 -20
  95. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  96. package/TravellerService/core/ApiResult.ts +6 -6
  97. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  98. package/TravellerService/core/CancelablePromise.ts +125 -125
  99. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  100. package/TravellerService/core/OpenAPI.ts +55 -55
  101. package/TravellerService/core/request.ts +340 -340
  102. package/TravellerService/index.ts +8 -8
  103. package/TravellerService/schemas.gen.ts +6184 -6204
  104. package/TravellerService/services.gen.ts +699 -695
  105. package/TravellerService/types.gen.ts +1809 -1808
  106. package/package.json +1 -1
  107. package/swagger.json +4794 -4794
@@ -1,2105 +1,2105 @@
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, GetApiCrmServiceCustomsByIdDetailData, GetApiCrmServiceCustomsByIdDetailResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsByIdWithComponentsData, DeleteApiCrmServiceCustomsByIdWithComponentsResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData, PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceCustomsByIdAddressesByAddressIdData, PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse, PutApiCrmServiceCustomsByIdEmailsByEmailIdData, PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsByIdDetailData, GetApiCrmServiceMerchantsByIdDetailResponse, GetApiCrmServiceMerchantsByIdSubMerchantsData, GetApiCrmServiceMerchantsByIdSubMerchantsResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsByIdWithComponentsData, DeleteApiCrmServiceMerchantsByIdWithComponentsResponse, GetApiCrmServiceMerchantsByIdAffiliationsData, GetApiCrmServiceMerchantsByIdAffiliationsResponse, PostApiCrmServiceMerchantsByIdAffiliationsData, PostApiCrmServiceMerchantsByIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantsData, PostApiCrmServiceMerchantsBulkProductGroupMerchantsResponse, PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdData, PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdResponse, GetApiCrmServiceMerchantsByIdAddressesData, GetApiCrmServiceMerchantsByIdAddressesResponse, PutApiCrmServiceMerchantsByIdAddressesByAddressIdData, PutApiCrmServiceMerchantsByIdAddressesByAddressIdResponse, PutApiCrmServiceMerchantsByIdEmailsByEmailIdData, PutApiCrmServiceMerchantsByIdEmailsByEmailIdResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsByIdDetailData, GetApiCrmServiceRefundPointsByIdDetailResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsByIdWithComponentsData, DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse, PostApiCrmServiceRefundPointsByIdAffiliationsData, PostApiCrmServiceRefundPointsByIdAffiliationsResponse, GetApiCrmServiceRefundPointsByIdAffiliationsData, GetApiCrmServiceRefundPointsByIdAffiliationsResponse, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesByIdDetailData, GetApiCrmServiceTaxFreesByIdDetailResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesByIdWithComponentsData, DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse, PostApiCrmServiceTaxFreesByIdAffiliationsData, PostApiCrmServiceTaxFreesByIdAffiliationsResponse, GetApiCrmServiceTaxFreesByIdAffiliationsData, GetApiCrmServiceTaxFreesByIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesByIdDetailData, GetApiCrmServiceTaxOfficesByIdDetailResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesByIdWithComponentsData, DeleteApiCrmServiceTaxOfficesByIdWithComponentsResponse, PostApiCrmServiceTaxOfficesByIdAffiliationsData, PostApiCrmServiceTaxOfficesByIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByIdAffiliationsData, GetApiCrmServiceTaxOfficesByIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdData, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse, 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 getApiCrmServiceCustomsByIdDetail(data: GetApiCrmServiceCustomsByIdDetailData): CancelablePromise<GetApiCrmServiceCustomsByIdDetailResponse> {
265
- return this.httpRequest.request({
266
- method: 'GET',
267
- url: '/api/crm-service/customs/{id}/detail',
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 deleteApiCrmServiceCustomsByIdWithComponents(data: DeleteApiCrmServiceCustomsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceCustomsByIdWithComponentsResponse> {
312
- return this.httpRequest.request({
313
- method: 'DELETE',
314
- url: '/api/crm-service/customs/{id}/with-components',
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 putApiCrmServiceCustomsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse> {
397
- return this.httpRequest.request({
398
- method: 'PUT',
399
- url: '/api/crm-service/customs/{id}/organizations/{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
- * @param data The data for the request.
419
- * @param data.id
420
- * @param data.telephoneId
421
- * @param data.requestBody
422
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
423
- * @throws ApiError
424
- */
425
- public putApiCrmServiceCustomsByIdTelephonesByTelephoneId(data: PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse> {
426
- return this.httpRequest.request({
427
- method: 'PUT',
428
- url: '/api/crm-service/customs/{id}/telephones/{telephoneId}',
429
- path: {
430
- id: data.id,
431
- telephoneId: data.telephoneId
432
- },
433
- body: data.requestBody,
434
- mediaType: 'application/json',
435
- errors: {
436
- 400: 'Bad Request',
437
- 401: 'Unauthorized',
438
- 403: 'Forbidden',
439
- 404: 'Not Found',
440
- 500: 'Server Error',
441
- 501: 'Server Error'
442
- }
443
- });
444
- }
445
-
446
- /**
447
- * @param data The data for the request.
448
- * @param data.id
449
- * @param data.addressId
450
- * @param data.requestBody
451
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
452
- * @throws ApiError
453
- */
454
- public putApiCrmServiceCustomsByIdAddressesByAddressId(data: PutApiCrmServiceCustomsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse> {
455
- return this.httpRequest.request({
456
- method: 'PUT',
457
- url: '/api/crm-service/customs/{id}/addresses/{addressId}',
458
- path: {
459
- id: data.id,
460
- addressId: data.addressId
461
- },
462
- body: data.requestBody,
463
- mediaType: 'application/json',
464
- errors: {
465
- 400: 'Bad Request',
466
- 401: 'Unauthorized',
467
- 403: 'Forbidden',
468
- 404: 'Not Found',
469
- 500: 'Server Error',
470
- 501: 'Server Error'
471
- }
472
- });
473
- }
474
-
475
- /**
476
- * @param data The data for the request.
477
- * @param data.id
478
- * @param data.emailId
479
- * @param data.addressId
480
- * @param data.requestBody
481
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
482
- * @throws ApiError
483
- */
484
- public putApiCrmServiceCustomsByIdEmailsByEmailId(data: PutApiCrmServiceCustomsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse> {
485
- return this.httpRequest.request({
486
- method: 'PUT',
487
- url: '/api/crm-service/customs/{id}/emails/{emailId}',
488
- path: {
489
- id: data.id,
490
- emailId: data.emailId
491
- },
492
- query: {
493
- addressId: data.addressId
494
- },
495
- body: data.requestBody,
496
- mediaType: 'application/json',
497
- errors: {
498
- 400: 'Bad Request',
499
- 401: 'Unauthorized',
500
- 403: 'Forbidden',
501
- 404: 'Not Found',
502
- 500: 'Server Error',
503
- 501: 'Server Error'
504
- }
505
- });
506
- }
507
-
508
- }
509
-
510
- export class EmailCommonDataService {
511
- constructor(public readonly httpRequest: BaseHttpRequest) { }
512
-
513
- /**
514
- * @param data The data for the request.
515
- * @param data.sorting
516
- * @param data.skipCount
517
- * @param data.maxResultCount
518
- * @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
519
- * @throws ApiError
520
- */
521
- public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
522
- return this.httpRequest.request({
523
- method: 'GET',
524
- url: '/api/crm-service/emails',
525
- query: {
526
- Sorting: data.sorting,
527
- SkipCount: data.skipCount,
528
- MaxResultCount: data.maxResultCount
529
- },
530
- errors: {
531
- 400: 'Bad Request',
532
- 401: 'Unauthorized',
533
- 403: 'Forbidden',
534
- 404: 'Not Found',
535
- 500: 'Server Error',
536
- 501: 'Server Error'
537
- }
538
- });
539
- }
540
-
541
- /**
542
- * @param data The data for the request.
543
- * @param data.requestBody
544
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
545
- * @throws ApiError
546
- */
547
- public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
548
- return this.httpRequest.request({
549
- method: 'POST',
550
- url: '/api/crm-service/emails',
551
- body: data.requestBody,
552
- mediaType: 'application/json',
553
- errors: {
554
- 400: 'Bad Request',
555
- 401: 'Unauthorized',
556
- 403: 'Forbidden',
557
- 404: 'Not Found',
558
- 500: 'Server Error',
559
- 501: 'Server Error'
560
- }
561
- });
562
- }
563
-
564
- /**
565
- * @param data The data for the request.
566
- * @param data.id
567
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
568
- * @throws ApiError
569
- */
570
- public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
571
- return this.httpRequest.request({
572
- method: 'GET',
573
- url: '/api/crm-service/emails/{id}',
574
- path: {
575
- id: data.id
576
- },
577
- errors: {
578
- 400: 'Bad Request',
579
- 401: 'Unauthorized',
580
- 403: 'Forbidden',
581
- 404: 'Not Found',
582
- 500: 'Server Error',
583
- 501: 'Server Error'
584
- }
585
- });
586
- }
587
-
588
- /**
589
- * @param data The data for the request.
590
- * @param data.id
591
- * @param data.requestBody
592
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
593
- * @throws ApiError
594
- */
595
- public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
596
- return this.httpRequest.request({
597
- method: 'PUT',
598
- url: '/api/crm-service/emails/{id}',
599
- path: {
600
- id: data.id
601
- },
602
- body: data.requestBody,
603
- mediaType: 'application/json',
604
- errors: {
605
- 400: 'Bad Request',
606
- 401: 'Unauthorized',
607
- 403: 'Forbidden',
608
- 404: 'Not Found',
609
- 500: 'Server Error',
610
- 501: 'Server Error'
611
- }
612
- });
613
- }
614
-
615
- /**
616
- * @param data The data for the request.
617
- * @param data.id
618
- * @returns unknown Success
619
- * @throws ApiError
620
- */
621
- public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
622
- return this.httpRequest.request({
623
- method: 'DELETE',
624
- url: '/api/crm-service/emails/{id}',
625
- path: {
626
- id: data.id
627
- },
628
- errors: {
629
- 400: 'Bad Request',
630
- 401: 'Unauthorized',
631
- 403: 'Forbidden',
632
- 404: 'Not Found',
633
- 500: 'Server Error',
634
- 501: 'Server Error'
635
- }
636
- });
637
- }
638
-
639
- }
640
-
641
- export class IndividualService {
642
- constructor(public readonly httpRequest: BaseHttpRequest) { }
643
-
644
- /**
645
- * @param data The data for the request.
646
- * @param data.requestBody
647
- * @returns unknown Success
648
- * @throws ApiError
649
- */
650
- public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
651
- return this.httpRequest.request({
652
- method: 'POST',
653
- url: '/api/crm-service/individuals/with-components',
654
- body: data.requestBody,
655
- mediaType: 'application/json',
656
- errors: {
657
- 400: 'Bad Request',
658
- 401: 'Unauthorized',
659
- 403: 'Forbidden',
660
- 404: 'Not Found',
661
- 500: 'Server Error',
662
- 501: 'Server Error'
663
- }
664
- });
665
- }
666
-
667
- /**
668
- * @param data The data for the request.
669
- * @param data.entityPartyTypeCode
670
- * @param data.parentId
671
- * @param data.sorting
672
- * @param data.skipCount
673
- * @param data.maxResultCount
674
- * @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
675
- * @throws ApiError
676
- */
677
- public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
678
- return this.httpRequest.request({
679
- method: 'GET',
680
- url: '/api/crm-service/individuals',
681
- query: {
682
- EntityPartyTypeCode: data.entityPartyTypeCode,
683
- ParentId: data.parentId,
684
- Sorting: data.sorting,
685
- SkipCount: data.skipCount,
686
- MaxResultCount: data.maxResultCount
687
- },
688
- errors: {
689
- 400: 'Bad Request',
690
- 401: 'Unauthorized',
691
- 403: 'Forbidden',
692
- 404: 'Not Found',
693
- 500: 'Server Error',
694
- 501: 'Server Error'
695
- }
696
- });
697
- }
698
-
699
- }
700
-
701
- export class MerchantService {
702
- constructor(public readonly httpRequest: BaseHttpRequest) { }
703
-
704
- /**
705
- * @param data The data for the request.
706
- * @param data.sorting
707
- * @param data.skipCount
708
- * @param data.maxResultCount
709
- * @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
710
- * @throws ApiError
711
- */
712
- public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
713
- return this.httpRequest.request({
714
- method: 'GET',
715
- url: '/api/crm-service/merchants',
716
- query: {
717
- Sorting: data.sorting,
718
- SkipCount: data.skipCount,
719
- MaxResultCount: data.maxResultCount
720
- },
721
- errors: {
722
- 400: 'Bad Request',
723
- 401: 'Unauthorized',
724
- 403: 'Forbidden',
725
- 404: 'Not Found',
726
- 500: 'Server Error',
727
- 501: 'Server Error'
728
- }
729
- });
730
- }
731
-
732
- /**
733
- * @param data The data for the request.
734
- * @param data.vatNumber
735
- * @param data.countryCode
736
- * @param data.branchId
737
- * @returns UniRefund_CRMService_Merchants_MerchantInfoDto Success
738
- * @throws ApiError
739
- */
740
- public getApiCrmServiceMerchantsInfo(data: GetApiCrmServiceMerchantsInfoData = {}): CancelablePromise<GetApiCrmServiceMerchantsInfoResponse> {
741
- return this.httpRequest.request({
742
- method: 'GET',
743
- url: '/api/crm-service/merchants/info',
744
- query: {
745
- VatNumber: data.vatNumber,
746
- CountryCode: data.countryCode,
747
- BranchId: data.branchId
748
- },
749
- errors: {
750
- 400: 'Bad Request',
751
- 401: 'Unauthorized',
752
- 403: 'Forbidden',
753
- 404: 'Not Found',
754
- 500: 'Server Error',
755
- 501: 'Server Error'
756
- }
757
- });
758
- }
759
-
760
- /**
761
- * @param data The data for the request.
762
- * @param data.id
763
- * @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
764
- * @throws ApiError
765
- */
766
- public getApiCrmServiceMerchantsByIdDetail(data: GetApiCrmServiceMerchantsByIdDetailData): CancelablePromise<GetApiCrmServiceMerchantsByIdDetailResponse> {
767
- return this.httpRequest.request({
768
- method: 'GET',
769
- url: '/api/crm-service/merchants/{id}/detail',
770
- path: {
771
- id: data.id
772
- },
773
- errors: {
774
- 400: 'Bad Request',
775
- 401: 'Unauthorized',
776
- 403: 'Forbidden',
777
- 404: 'Not Found',
778
- 500: 'Server Error',
779
- 501: 'Server Error'
780
- }
781
- });
782
- }
783
-
784
- /**
785
- * @param data The data for the request.
786
- * @param data.id
787
- * @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
788
- * @throws ApiError
789
- */
790
- public getApiCrmServiceMerchantsByIdSubMerchants(data: GetApiCrmServiceMerchantsByIdSubMerchantsData): CancelablePromise<GetApiCrmServiceMerchantsByIdSubMerchantsResponse> {
791
- return this.httpRequest.request({
792
- method: 'GET',
793
- url: '/api/crm-service/merchants/{id}/sub-merchants',
794
- path: {
795
- id: data.id
796
- },
797
- errors: {
798
- 400: 'Bad Request',
799
- 401: 'Unauthorized',
800
- 403: 'Forbidden',
801
- 404: 'Not Found',
802
- 500: 'Server Error',
803
- 501: 'Server Error'
804
- }
805
- });
806
- }
807
-
808
- /**
809
- * @param data The data for the request.
810
- * @param data.requestBody
811
- * @returns unknown Success
812
- * @throws ApiError
813
- */
814
- public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
815
- return this.httpRequest.request({
816
- method: 'POST',
817
- url: '/api/crm-service/merchants/with-components',
818
- body: data.requestBody,
819
- mediaType: 'application/json',
820
- errors: {
821
- 400: 'Bad Request',
822
- 401: 'Unauthorized',
823
- 403: 'Forbidden',
824
- 404: 'Not Found',
825
- 500: 'Server Error',
826
- 501: 'Server Error'
827
- }
828
- });
829
- }
830
-
831
- /**
832
- * @param data The data for the request.
833
- * @param data.id
834
- * @returns unknown Success
835
- * @throws ApiError
836
- */
837
- public deleteApiCrmServiceMerchantsByIdWithComponents(data: DeleteApiCrmServiceMerchantsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceMerchantsByIdWithComponentsResponse> {
838
- return this.httpRequest.request({
839
- method: 'DELETE',
840
- url: '/api/crm-service/merchants/{id}/with-components',
841
- path: {
842
- id: data.id
843
- },
844
- errors: {
845
- 400: 'Bad Request',
846
- 401: 'Unauthorized',
847
- 403: 'Forbidden',
848
- 404: 'Not Found',
849
- 500: 'Server Error',
850
- 501: 'Server Error'
851
- }
852
- });
853
- }
854
-
855
- /**
856
- * @param data The data for the request.
857
- * @param data.id
858
- * @param data.sorting
859
- * @param data.skipCount
860
- * @param data.maxResultCount
861
- * @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
862
- * @throws ApiError
863
- */
864
- public getApiCrmServiceMerchantsByIdAffiliations(data: GetApiCrmServiceMerchantsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByIdAffiliationsResponse> {
865
- return this.httpRequest.request({
866
- method: 'GET',
867
- url: '/api/crm-service/merchants/{id}/affiliations',
868
- path: {
869
- id: data.id
870
- },
871
- query: {
872
- Sorting: data.sorting,
873
- SkipCount: data.skipCount,
874
- MaxResultCount: data.maxResultCount
875
- },
876
- errors: {
877
- 400: 'Bad Request',
878
- 401: 'Unauthorized',
879
- 403: 'Forbidden',
880
- 404: 'Not Found',
881
- 500: 'Server Error',
882
- 501: 'Server Error'
883
- }
884
- });
885
- }
886
-
887
- /**
888
- * @param data The data for the request.
889
- * @param data.id
890
- * @param data.requestBody
891
- * @returns unknown Success
892
- * @throws ApiError
893
- */
894
- public postApiCrmServiceMerchantsByIdAffiliations(data: PostApiCrmServiceMerchantsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByIdAffiliationsResponse> {
895
- return this.httpRequest.request({
896
- method: 'POST',
897
- url: '/api/crm-service/merchants/{id}/affiliations',
898
- path: {
899
- id: data.id
900
- },
901
- body: data.requestBody,
902
- mediaType: 'application/json',
903
- errors: {
904
- 400: 'Bad Request',
905
- 401: 'Unauthorized',
906
- 403: 'Forbidden',
907
- 404: 'Not Found',
908
- 500: 'Server Error',
909
- 501: 'Server Error'
910
- }
911
- });
912
- }
913
-
914
- /**
915
- * @param data The data for the request.
916
- * @param data.id
917
- * @param data.organizationId
918
- * @param data.requestBody
919
- * @returns unknown Success
920
- * @throws ApiError
921
- */
922
- public putApiCrmServiceMerchantsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdResponse> {
923
- return this.httpRequest.request({
924
- method: 'PUT',
925
- url: '/api/crm-service/merchants/{id}/organizations/{organizationId}',
926
- path: {
927
- id: data.id,
928
- organizationId: data.organizationId
929
- },
930
- body: data.requestBody,
931
- mediaType: 'application/json',
932
- errors: {
933
- 400: 'Bad Request',
934
- 401: 'Unauthorized',
935
- 403: 'Forbidden',
936
- 404: 'Not Found',
937
- 500: 'Server Error',
938
- 501: 'Server Error'
939
- }
940
- });
941
- }
942
-
943
- /**
944
- * @param data The data for the request.
945
- * @param data.requestBody
946
- * @returns unknown Success
947
- * @throws ApiError
948
- */
949
- public postApiCrmServiceMerchantsBulkProductGroupMerchants(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantsData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantsResponse> {
950
- return this.httpRequest.request({
951
- method: 'POST',
952
- url: '/api/crm-service/merchants/bulk-product-group-merchants',
953
- body: data.requestBody,
954
- mediaType: 'application/json',
955
- errors: {
956
- 400: 'Bad Request',
957
- 401: 'Unauthorized',
958
- 403: 'Forbidden',
959
- 404: 'Not Found',
960
- 500: 'Server Error',
961
- 501: 'Server Error'
962
- }
963
- });
964
- }
965
-
966
- /**
967
- * @param data The data for the request.
968
- * @param data.id
969
- * @param data.telephoneId
970
- * @param data.requestBody
971
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
972
- * @throws ApiError
973
- */
974
- public putApiCrmServiceMerchantsByIdTelephonesByTelephoneId(data: PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdResponse> {
975
- return this.httpRequest.request({
976
- method: 'PUT',
977
- url: '/api/crm-service/merchants/{id}/telephones/{telephoneId}',
978
- path: {
979
- id: data.id,
980
- telephoneId: data.telephoneId
981
- },
982
- body: data.requestBody,
983
- mediaType: 'application/json',
984
- errors: {
985
- 400: 'Bad Request',
986
- 401: 'Unauthorized',
987
- 403: 'Forbidden',
988
- 404: 'Not Found',
989
- 500: 'Server Error',
990
- 501: 'Server Error'
991
- }
992
- });
993
- }
994
-
995
- /**
996
- * @param data The data for the request.
997
- * @param data.id
998
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
999
- * @throws ApiError
1000
- */
1001
- public getApiCrmServiceMerchantsByIdAddresses(data: GetApiCrmServiceMerchantsByIdAddressesData): CancelablePromise<GetApiCrmServiceMerchantsByIdAddressesResponse> {
1002
- return this.httpRequest.request({
1003
- method: 'GET',
1004
- url: '/api/crm-service/merchants/{id}/addresses',
1005
- path: {
1006
- id: data.id
1007
- },
1008
- errors: {
1009
- 400: 'Bad Request',
1010
- 401: 'Unauthorized',
1011
- 403: 'Forbidden',
1012
- 404: 'Not Found',
1013
- 500: 'Server Error',
1014
- 501: 'Server Error'
1015
- }
1016
- });
1017
- }
1018
-
1019
- /**
1020
- * @param data The data for the request.
1021
- * @param data.id
1022
- * @param data.addressId
1023
- * @param data.requestBody
1024
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1025
- * @throws ApiError
1026
- */
1027
- public putApiCrmServiceMerchantsByIdAddressesByAddressId(data: PutApiCrmServiceMerchantsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdAddressesByAddressIdResponse> {
1028
- return this.httpRequest.request({
1029
- method: 'PUT',
1030
- url: '/api/crm-service/merchants/{id}/addresses/{addressId}',
1031
- path: {
1032
- id: data.id,
1033
- addressId: data.addressId
1034
- },
1035
- body: data.requestBody,
1036
- mediaType: 'application/json',
1037
- errors: {
1038
- 400: 'Bad Request',
1039
- 401: 'Unauthorized',
1040
- 403: 'Forbidden',
1041
- 404: 'Not Found',
1042
- 500: 'Server Error',
1043
- 501: 'Server Error'
1044
- }
1045
- });
1046
- }
1047
-
1048
- /**
1049
- * @param data The data for the request.
1050
- * @param data.id
1051
- * @param data.emailId
1052
- * @param data.requestBody
1053
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1054
- * @throws ApiError
1055
- */
1056
- public putApiCrmServiceMerchantsByIdEmailsByEmailId(data: PutApiCrmServiceMerchantsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdEmailsByEmailIdResponse> {
1057
- return this.httpRequest.request({
1058
- method: 'PUT',
1059
- url: '/api/crm-service/merchants/{id}/emails/{emailId}',
1060
- path: {
1061
- id: data.id,
1062
- emailId: data.emailId
1063
- },
1064
- body: data.requestBody,
1065
- mediaType: 'application/json',
1066
- errors: {
1067
- 400: 'Bad Request',
1068
- 401: 'Unauthorized',
1069
- 403: 'Forbidden',
1070
- 404: 'Not Found',
1071
- 500: 'Server Error',
1072
- 501: 'Server Error'
1073
- }
1074
- });
1075
- }
1076
-
1077
- }
1078
-
1079
- export class OrganizationService {
1080
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1081
-
1082
- /**
1083
- * @param data The data for the request.
1084
- * @param data.requestBody
1085
- * @returns unknown Success
1086
- * @throws ApiError
1087
- */
1088
- public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
1089
- return this.httpRequest.request({
1090
- method: 'POST',
1091
- url: '/api/crm-service/organizations/with-components',
1092
- body: data.requestBody,
1093
- mediaType: 'application/json',
1094
- errors: {
1095
- 400: 'Bad Request',
1096
- 401: 'Unauthorized',
1097
- 403: 'Forbidden',
1098
- 404: 'Not Found',
1099
- 500: 'Server Error',
1100
- 501: 'Server Error'
1101
- }
1102
- });
1103
- }
1104
-
1105
- /**
1106
- * @param data The data for the request.
1107
- * @param data.entityPartyTypeCode
1108
- * @param data.parentId
1109
- * @param data.sorting
1110
- * @param data.skipCount
1111
- * @param data.maxResultCount
1112
- * @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
1113
- * @throws ApiError
1114
- */
1115
- public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
1116
- return this.httpRequest.request({
1117
- method: 'GET',
1118
- url: '/api/crm-service/organizations',
1119
- query: {
1120
- EntityPartyTypeCode: data.entityPartyTypeCode,
1121
- ParentId: data.parentId,
1122
- Sorting: data.sorting,
1123
- SkipCount: data.skipCount,
1124
- MaxResultCount: data.maxResultCount
1125
- },
1126
- errors: {
1127
- 400: 'Bad Request',
1128
- 401: 'Unauthorized',
1129
- 403: 'Forbidden',
1130
- 404: 'Not Found',
1131
- 500: 'Server Error',
1132
- 501: 'Server Error'
1133
- }
1134
- });
1135
- }
1136
-
1137
- }
1138
-
1139
- export class RefundPointService {
1140
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1141
-
1142
- /**
1143
- * @param data The data for the request.
1144
- * @param data.sorting
1145
- * @param data.skipCount
1146
- * @param data.maxResultCount
1147
- * @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
1148
- * @throws ApiError
1149
- */
1150
- public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
1151
- return this.httpRequest.request({
1152
- method: 'GET',
1153
- url: '/api/crm-service/refund-points',
1154
- query: {
1155
- Sorting: data.sorting,
1156
- SkipCount: data.skipCount,
1157
- MaxResultCount: data.maxResultCount
1158
- },
1159
- errors: {
1160
- 400: 'Bad Request',
1161
- 401: 'Unauthorized',
1162
- 403: 'Forbidden',
1163
- 404: 'Not Found',
1164
- 500: 'Server Error',
1165
- 501: 'Server Error'
1166
- }
1167
- });
1168
- }
1169
-
1170
- /**
1171
- * @param data The data for the request.
1172
- * @param data.id
1173
- * @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
1174
- * @throws ApiError
1175
- */
1176
- public getApiCrmServiceRefundPointsByIdDetail(data: GetApiCrmServiceRefundPointsByIdDetailData): CancelablePromise<GetApiCrmServiceRefundPointsByIdDetailResponse> {
1177
- return this.httpRequest.request({
1178
- method: 'GET',
1179
- url: '/api/crm-service/refund-points/{id}/detail',
1180
- path: {
1181
- id: data.id
1182
- },
1183
- errors: {
1184
- 400: 'Bad Request',
1185
- 401: 'Unauthorized',
1186
- 403: 'Forbidden',
1187
- 404: 'Not Found',
1188
- 500: 'Server Error',
1189
- 501: 'Server Error'
1190
- }
1191
- });
1192
- }
1193
-
1194
- /**
1195
- * @param data The data for the request.
1196
- * @param data.requestBody
1197
- * @returns unknown Success
1198
- * @throws ApiError
1199
- */
1200
- public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
1201
- return this.httpRequest.request({
1202
- method: 'POST',
1203
- url: '/api/crm-service/refund-points/with-components',
1204
- body: data.requestBody,
1205
- mediaType: 'application/json',
1206
- errors: {
1207
- 400: 'Bad Request',
1208
- 401: 'Unauthorized',
1209
- 403: 'Forbidden',
1210
- 404: 'Not Found',
1211
- 500: 'Server Error',
1212
- 501: 'Server Error'
1213
- }
1214
- });
1215
- }
1216
-
1217
- /**
1218
- * @param data The data for the request.
1219
- * @param data.id
1220
- * @returns unknown Success
1221
- * @throws ApiError
1222
- */
1223
- public deleteApiCrmServiceRefundPointsByIdWithComponents(data: DeleteApiCrmServiceRefundPointsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse> {
1224
- return this.httpRequest.request({
1225
- method: 'DELETE',
1226
- url: '/api/crm-service/refund-points/{id}/with-components',
1227
- path: {
1228
- id: data.id
1229
- },
1230
- errors: {
1231
- 400: 'Bad Request',
1232
- 401: 'Unauthorized',
1233
- 403: 'Forbidden',
1234
- 404: 'Not Found',
1235
- 500: 'Server Error',
1236
- 501: 'Server Error'
1237
- }
1238
- });
1239
- }
1240
-
1241
- /**
1242
- * @param data The data for the request.
1243
- * @param data.id
1244
- * @param data.requestBody
1245
- * @returns unknown Success
1246
- * @throws ApiError
1247
- */
1248
- public postApiCrmServiceRefundPointsByIdAffiliations(data: PostApiCrmServiceRefundPointsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByIdAffiliationsResponse> {
1249
- return this.httpRequest.request({
1250
- method: 'POST',
1251
- url: '/api/crm-service/refund-points/{id}/affiliations',
1252
- path: {
1253
- id: data.id
1254
- },
1255
- body: data.requestBody,
1256
- mediaType: 'application/json',
1257
- errors: {
1258
- 400: 'Bad Request',
1259
- 401: 'Unauthorized',
1260
- 403: 'Forbidden',
1261
- 404: 'Not Found',
1262
- 500: 'Server Error',
1263
- 501: 'Server Error'
1264
- }
1265
- });
1266
- }
1267
-
1268
- /**
1269
- * @param data The data for the request.
1270
- * @param data.id
1271
- * @param data.sorting
1272
- * @param data.skipCount
1273
- * @param data.maxResultCount
1274
- * @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
1275
- * @throws ApiError
1276
- */
1277
- public getApiCrmServiceRefundPointsByIdAffiliations(data: GetApiCrmServiceRefundPointsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByIdAffiliationsResponse> {
1278
- return this.httpRequest.request({
1279
- method: 'GET',
1280
- url: '/api/crm-service/refund-points/{id}/affiliations',
1281
- path: {
1282
- id: data.id
1283
- },
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
- * @param data.organizationId
1304
- * @param data.requestBody
1305
- * @returns unknown Success
1306
- * @throws ApiError
1307
- */
1308
- public putApiCrmServiceRefundPointsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse> {
1309
- return this.httpRequest.request({
1310
- method: 'PUT',
1311
- url: '/api/crm-service/refund-points/{id}/organizations/{organizationId}',
1312
- path: {
1313
- id: data.id,
1314
- organizationId: data.organizationId
1315
- },
1316
- body: data.requestBody,
1317
- mediaType: 'application/json',
1318
- errors: {
1319
- 400: 'Bad Request',
1320
- 401: 'Unauthorized',
1321
- 403: 'Forbidden',
1322
- 404: 'Not Found',
1323
- 500: 'Server Error',
1324
- 501: 'Server Error'
1325
- }
1326
- });
1327
- }
1328
-
1329
- /**
1330
- * @param data The data for the request.
1331
- * @param data.id
1332
- * @param data.telephoneId
1333
- * @param data.requestBody
1334
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1335
- * @throws ApiError
1336
- */
1337
- public putApiCrmServiceRefundPointsByIdTelephonesByTelephoneId(data: PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse> {
1338
- return this.httpRequest.request({
1339
- method: 'PUT',
1340
- url: '/api/crm-service/refund-points/{id}/telephones/{telephoneId}',
1341
- path: {
1342
- id: data.id,
1343
- telephoneId: data.telephoneId
1344
- },
1345
- body: data.requestBody,
1346
- mediaType: 'application/json',
1347
- errors: {
1348
- 400: 'Bad Request',
1349
- 401: 'Unauthorized',
1350
- 403: 'Forbidden',
1351
- 404: 'Not Found',
1352
- 500: 'Server Error',
1353
- 501: 'Server Error'
1354
- }
1355
- });
1356
- }
1357
-
1358
- /**
1359
- * @param data The data for the request.
1360
- * @param data.id
1361
- * @param data.addressId
1362
- * @param data.requestBody
1363
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1364
- * @throws ApiError
1365
- */
1366
- public putApiCrmServiceRefundPointsByIdAddressesByAddressId(data: PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse> {
1367
- return this.httpRequest.request({
1368
- method: 'PUT',
1369
- url: '/api/crm-service/refund-points/{id}/addresses/{addressId}',
1370
- path: {
1371
- id: data.id,
1372
- addressId: data.addressId
1373
- },
1374
- body: data.requestBody,
1375
- mediaType: 'application/json',
1376
- errors: {
1377
- 400: 'Bad Request',
1378
- 401: 'Unauthorized',
1379
- 403: 'Forbidden',
1380
- 404: 'Not Found',
1381
- 500: 'Server Error',
1382
- 501: 'Server Error'
1383
- }
1384
- });
1385
- }
1386
-
1387
- /**
1388
- * @param data The data for the request.
1389
- * @param data.id
1390
- * @param data.emailId
1391
- * @param data.requestBody
1392
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1393
- * @throws ApiError
1394
- */
1395
- public putApiCrmServiceRefundPointsByIdEmailsByEmailId(data: PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse> {
1396
- return this.httpRequest.request({
1397
- method: 'PUT',
1398
- url: '/api/crm-service/refund-points/{id}/emails/{emailId}',
1399
- path: {
1400
- id: data.id,
1401
- emailId: data.emailId
1402
- },
1403
- body: data.requestBody,
1404
- mediaType: 'application/json',
1405
- errors: {
1406
- 400: 'Bad Request',
1407
- 401: 'Unauthorized',
1408
- 403: 'Forbidden',
1409
- 404: 'Not Found',
1410
- 500: 'Server Error',
1411
- 501: 'Server Error'
1412
- }
1413
- });
1414
- }
1415
-
1416
- }
1417
-
1418
- export class TaxFreeService {
1419
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1420
-
1421
- /**
1422
- * @param data The data for the request.
1423
- * @param data.sorting
1424
- * @param data.skipCount
1425
- * @param data.maxResultCount
1426
- * @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
1427
- * @throws ApiError
1428
- */
1429
- public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
1430
- return this.httpRequest.request({
1431
- method: 'GET',
1432
- url: '/api/crm-service/tax-frees',
1433
- query: {
1434
- Sorting: data.sorting,
1435
- SkipCount: data.skipCount,
1436
- MaxResultCount: data.maxResultCount
1437
- },
1438
- errors: {
1439
- 400: 'Bad Request',
1440
- 401: 'Unauthorized',
1441
- 403: 'Forbidden',
1442
- 404: 'Not Found',
1443
- 500: 'Server Error',
1444
- 501: 'Server Error'
1445
- }
1446
- });
1447
- }
1448
-
1449
- /**
1450
- * @param data The data for the request.
1451
- * @param data.id
1452
- * @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
1453
- * @throws ApiError
1454
- */
1455
- public getApiCrmServiceTaxFreesByIdDetail(data: GetApiCrmServiceTaxFreesByIdDetailData): CancelablePromise<GetApiCrmServiceTaxFreesByIdDetailResponse> {
1456
- return this.httpRequest.request({
1457
- method: 'GET',
1458
- url: '/api/crm-service/tax-frees/{id}/detail',
1459
- path: {
1460
- id: data.id
1461
- },
1462
- errors: {
1463
- 400: 'Bad Request',
1464
- 401: 'Unauthorized',
1465
- 403: 'Forbidden',
1466
- 404: 'Not Found',
1467
- 500: 'Server Error',
1468
- 501: 'Server Error'
1469
- }
1470
- });
1471
- }
1472
-
1473
- /**
1474
- * @param data The data for the request.
1475
- * @param data.requestBody
1476
- * @returns unknown Success
1477
- * @throws ApiError
1478
- */
1479
- public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
1480
- return this.httpRequest.request({
1481
- method: 'POST',
1482
- url: '/api/crm-service/tax-frees/with-components',
1483
- body: data.requestBody,
1484
- mediaType: 'application/json',
1485
- errors: {
1486
- 400: 'Bad Request',
1487
- 401: 'Unauthorized',
1488
- 403: 'Forbidden',
1489
- 404: 'Not Found',
1490
- 500: 'Server Error',
1491
- 501: 'Server Error'
1492
- }
1493
- });
1494
- }
1495
-
1496
- /**
1497
- * @param data The data for the request.
1498
- * @param data.id
1499
- * @returns unknown Success
1500
- * @throws ApiError
1501
- */
1502
- public deleteApiCrmServiceTaxFreesByIdWithComponents(data: DeleteApiCrmServiceTaxFreesByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse> {
1503
- return this.httpRequest.request({
1504
- method: 'DELETE',
1505
- url: '/api/crm-service/tax-frees/{id}/with-components',
1506
- path: {
1507
- id: data.id
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.id
1523
- * @param data.requestBody
1524
- * @returns unknown Success
1525
- * @throws ApiError
1526
- */
1527
- public postApiCrmServiceTaxFreesByIdAffiliations(data: PostApiCrmServiceTaxFreesByIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByIdAffiliationsResponse> {
1528
- return this.httpRequest.request({
1529
- method: 'POST',
1530
- url: '/api/crm-service/tax-frees/{id}/affiliations',
1531
- path: {
1532
- id: data.id
1533
- },
1534
- body: data.requestBody,
1535
- mediaType: 'application/json',
1536
- errors: {
1537
- 400: 'Bad Request',
1538
- 401: 'Unauthorized',
1539
- 403: 'Forbidden',
1540
- 404: 'Not Found',
1541
- 500: 'Server Error',
1542
- 501: 'Server Error'
1543
- }
1544
- });
1545
- }
1546
-
1547
- /**
1548
- * @param data The data for the request.
1549
- * @param data.id
1550
- * @param data.sorting
1551
- * @param data.skipCount
1552
- * @param data.maxResultCount
1553
- * @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
1554
- * @throws ApiError
1555
- */
1556
- public getApiCrmServiceTaxFreesByIdAffiliations(data: GetApiCrmServiceTaxFreesByIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByIdAffiliationsResponse> {
1557
- return this.httpRequest.request({
1558
- method: 'GET',
1559
- url: '/api/crm-service/tax-frees/{id}/affiliations',
1560
- path: {
1561
- id: data.id
1562
- },
1563
- query: {
1564
- Sorting: data.sorting,
1565
- SkipCount: data.skipCount,
1566
- MaxResultCount: data.maxResultCount
1567
- },
1568
- errors: {
1569
- 400: 'Bad Request',
1570
- 401: 'Unauthorized',
1571
- 403: 'Forbidden',
1572
- 404: 'Not Found',
1573
- 500: 'Server Error',
1574
- 501: 'Server Error'
1575
- }
1576
- });
1577
- }
1578
-
1579
- /**
1580
- * @param data The data for the request.
1581
- * @param data.id
1582
- * @param data.organizationId
1583
- * @param data.requestBody
1584
- * @returns unknown Success
1585
- * @throws ApiError
1586
- */
1587
- public putApiCrmServiceTaxFreesByIdOrganizationsByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse> {
1588
- return this.httpRequest.request({
1589
- method: 'PUT',
1590
- url: '/api/crm-service/tax-frees/{id}/organizations/{organizationId}',
1591
- path: {
1592
- id: data.id,
1593
- organizationId: data.organizationId
1594
- },
1595
- body: data.requestBody,
1596
- mediaType: 'application/json',
1597
- errors: {
1598
- 400: 'Bad Request',
1599
- 401: 'Unauthorized',
1600
- 403: 'Forbidden',
1601
- 404: 'Not Found',
1602
- 500: 'Server Error',
1603
- 501: 'Server Error'
1604
- }
1605
- });
1606
- }
1607
-
1608
- /**
1609
- * @param data The data for the request.
1610
- * @param data.id
1611
- * @param data.telephoneId
1612
- * @param data.requestBody
1613
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1614
- * @throws ApiError
1615
- */
1616
- public putApiCrmServiceTaxFreesByIdTelephonesByTelephoneId(data: PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse> {
1617
- return this.httpRequest.request({
1618
- method: 'PUT',
1619
- url: '/api/crm-service/tax-frees/{id}/telephones/{telephoneId}',
1620
- path: {
1621
- id: data.id,
1622
- telephoneId: data.telephoneId
1623
- },
1624
- body: data.requestBody,
1625
- mediaType: 'application/json',
1626
- errors: {
1627
- 400: 'Bad Request',
1628
- 401: 'Unauthorized',
1629
- 403: 'Forbidden',
1630
- 404: 'Not Found',
1631
- 500: 'Server Error',
1632
- 501: 'Server Error'
1633
- }
1634
- });
1635
- }
1636
-
1637
- /**
1638
- * @param data The data for the request.
1639
- * @param data.id
1640
- * @param data.addressId
1641
- * @param data.requestBody
1642
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1643
- * @throws ApiError
1644
- */
1645
- public putApiCrmServiceTaxFreesByIdAddressesByAddressId(data: PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse> {
1646
- return this.httpRequest.request({
1647
- method: 'PUT',
1648
- url: '/api/crm-service/tax-frees/{id}/addresses/{addressId}',
1649
- path: {
1650
- id: data.id,
1651
- addressId: data.addressId
1652
- },
1653
- body: data.requestBody,
1654
- mediaType: 'application/json',
1655
- errors: {
1656
- 400: 'Bad Request',
1657
- 401: 'Unauthorized',
1658
- 403: 'Forbidden',
1659
- 404: 'Not Found',
1660
- 500: 'Server Error',
1661
- 501: 'Server Error'
1662
- }
1663
- });
1664
- }
1665
-
1666
- /**
1667
- * @param data The data for the request.
1668
- * @param data.id
1669
- * @param data.emailId
1670
- * @param data.requestBody
1671
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1672
- * @throws ApiError
1673
- */
1674
- public putApiCrmServiceTaxFreesByIdEmailsByEmailId(data: PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse> {
1675
- return this.httpRequest.request({
1676
- method: 'PUT',
1677
- url: '/api/crm-service/tax-frees/{id}/emails/{emailId}',
1678
- path: {
1679
- id: data.id,
1680
- emailId: data.emailId
1681
- },
1682
- body: data.requestBody,
1683
- mediaType: 'application/json',
1684
- errors: {
1685
- 400: 'Bad Request',
1686
- 401: 'Unauthorized',
1687
- 403: 'Forbidden',
1688
- 404: 'Not Found',
1689
- 500: 'Server Error',
1690
- 501: 'Server Error'
1691
- }
1692
- });
1693
- }
1694
-
1695
- }
1696
-
1697
- export class TaxOfficeService {
1698
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1699
-
1700
- /**
1701
- * @param data The data for the request.
1702
- * @param data.sorting
1703
- * @param data.skipCount
1704
- * @param data.maxResultCount
1705
- * @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
1706
- * @throws ApiError
1707
- */
1708
- public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
1709
- return this.httpRequest.request({
1710
- method: 'GET',
1711
- url: '/api/crm-service/tax-offices',
1712
- query: {
1713
- Sorting: data.sorting,
1714
- SkipCount: data.skipCount,
1715
- MaxResultCount: data.maxResultCount
1716
- },
1717
- errors: {
1718
- 400: 'Bad Request',
1719
- 401: 'Unauthorized',
1720
- 403: 'Forbidden',
1721
- 404: 'Not Found',
1722
- 500: 'Server Error',
1723
- 501: 'Server Error'
1724
- }
1725
- });
1726
- }
1727
-
1728
- /**
1729
- * @param data The data for the request.
1730
- * @param data.id
1731
- * @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
1732
- * @throws ApiError
1733
- */
1734
- public getApiCrmServiceTaxOfficesByIdDetail(data: GetApiCrmServiceTaxOfficesByIdDetailData): CancelablePromise<GetApiCrmServiceTaxOfficesByIdDetailResponse> {
1735
- return this.httpRequest.request({
1736
- method: 'GET',
1737
- url: '/api/crm-service/tax-offices/{id}/detail',
1738
- path: {
1739
- id: data.id
1740
- },
1741
- errors: {
1742
- 400: 'Bad Request',
1743
- 401: 'Unauthorized',
1744
- 403: 'Forbidden',
1745
- 404: 'Not Found',
1746
- 500: 'Server Error',
1747
- 501: 'Server Error'
1748
- }
1749
- });
1750
- }
1751
-
1752
- /**
1753
- * @param data The data for the request.
1754
- * @param data.requestBody
1755
- * @returns unknown Success
1756
- * @throws ApiError
1757
- */
1758
- public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
1759
- return this.httpRequest.request({
1760
- method: 'POST',
1761
- url: '/api/crm-service/tax-offices/with-components',
1762
- body: data.requestBody,
1763
- mediaType: 'application/json',
1764
- errors: {
1765
- 400: 'Bad Request',
1766
- 401: 'Unauthorized',
1767
- 403: 'Forbidden',
1768
- 404: 'Not Found',
1769
- 500: 'Server Error',
1770
- 501: 'Server Error'
1771
- }
1772
- });
1773
- }
1774
-
1775
- /**
1776
- * @param data The data for the request.
1777
- * @param data.id
1778
- * @returns unknown Success
1779
- * @throws ApiError
1780
- */
1781
- public deleteApiCrmServiceTaxOfficesByIdWithComponents(data: DeleteApiCrmServiceTaxOfficesByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceTaxOfficesByIdWithComponentsResponse> {
1782
- return this.httpRequest.request({
1783
- method: 'DELETE',
1784
- url: '/api/crm-service/tax-offices/{id}/with-components',
1785
- path: {
1786
- id: data.id
1787
- },
1788
- errors: {
1789
- 400: 'Bad Request',
1790
- 401: 'Unauthorized',
1791
- 403: 'Forbidden',
1792
- 404: 'Not Found',
1793
- 500: 'Server Error',
1794
- 501: 'Server Error'
1795
- }
1796
- });
1797
- }
1798
-
1799
- /**
1800
- * @param data The data for the request.
1801
- * @param data.id
1802
- * @param data.requestBody
1803
- * @returns unknown Success
1804
- * @throws ApiError
1805
- */
1806
- public postApiCrmServiceTaxOfficesByIdAffiliations(data: PostApiCrmServiceTaxOfficesByIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByIdAffiliationsResponse> {
1807
- return this.httpRequest.request({
1808
- method: 'POST',
1809
- url: '/api/crm-service/tax-offices/{id}/affiliations',
1810
- path: {
1811
- id: data.id
1812
- },
1813
- body: data.requestBody,
1814
- mediaType: 'application/json',
1815
- errors: {
1816
- 400: 'Bad Request',
1817
- 401: 'Unauthorized',
1818
- 403: 'Forbidden',
1819
- 404: 'Not Found',
1820
- 500: 'Server Error',
1821
- 501: 'Server Error'
1822
- }
1823
- });
1824
- }
1825
-
1826
- /**
1827
- * @param data The data for the request.
1828
- * @param data.id
1829
- * @param data.sorting
1830
- * @param data.skipCount
1831
- * @param data.maxResultCount
1832
- * @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
1833
- * @throws ApiError
1834
- */
1835
- public getApiCrmServiceTaxOfficesByIdAffiliations(data: GetApiCrmServiceTaxOfficesByIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByIdAffiliationsResponse> {
1836
- return this.httpRequest.request({
1837
- method: 'GET',
1838
- url: '/api/crm-service/tax-offices/{id}/affiliations',
1839
- path: {
1840
- id: data.id
1841
- },
1842
- query: {
1843
- Sorting: data.sorting,
1844
- SkipCount: data.skipCount,
1845
- MaxResultCount: data.maxResultCount
1846
- },
1847
- errors: {
1848
- 400: 'Bad Request',
1849
- 401: 'Unauthorized',
1850
- 403: 'Forbidden',
1851
- 404: 'Not Found',
1852
- 500: 'Server Error',
1853
- 501: 'Server Error'
1854
- }
1855
- });
1856
- }
1857
-
1858
- /**
1859
- * @param data The data for the request.
1860
- * @param data.id
1861
- * @param data.organizationId
1862
- * @param data.requestBody
1863
- * @returns unknown Success
1864
- * @throws ApiError
1865
- */
1866
- public putApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationId(data: PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdResponse> {
1867
- return this.httpRequest.request({
1868
- method: 'PUT',
1869
- url: '/api/crm-service/tax-offices/{id}/organizations/{organizationId}',
1870
- path: {
1871
- id: data.id,
1872
- organizationId: data.organizationId
1873
- },
1874
- body: data.requestBody,
1875
- mediaType: 'application/json',
1876
- errors: {
1877
- 400: 'Bad Request',
1878
- 401: 'Unauthorized',
1879
- 403: 'Forbidden',
1880
- 404: 'Not Found',
1881
- 500: 'Server Error',
1882
- 501: 'Server Error'
1883
- }
1884
- });
1885
- }
1886
-
1887
- /**
1888
- * @param data The data for the request.
1889
- * @param data.id
1890
- * @param data.telephoneId
1891
- * @param data.requestBody
1892
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1893
- * @throws ApiError
1894
- */
1895
- public putApiCrmServiceTaxOfficesByIdTelephonesByTelephoneId(data: PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdResponse> {
1896
- return this.httpRequest.request({
1897
- method: 'PUT',
1898
- url: '/api/crm-service/tax-offices/{id}/telephones/{telephoneId}',
1899
- path: {
1900
- id: data.id,
1901
- telephoneId: data.telephoneId
1902
- },
1903
- body: data.requestBody,
1904
- mediaType: 'application/json',
1905
- errors: {
1906
- 400: 'Bad Request',
1907
- 401: 'Unauthorized',
1908
- 403: 'Forbidden',
1909
- 404: 'Not Found',
1910
- 500: 'Server Error',
1911
- 501: 'Server Error'
1912
- }
1913
- });
1914
- }
1915
-
1916
- /**
1917
- * @param data The data for the request.
1918
- * @param data.id
1919
- * @param data.addressId
1920
- * @param data.requestBody
1921
- * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1922
- * @throws ApiError
1923
- */
1924
- public putApiCrmServiceTaxOfficesByIdAddressesByAddressId(data: PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdResponse> {
1925
- return this.httpRequest.request({
1926
- method: 'PUT',
1927
- url: '/api/crm-service/tax-offices/{id}/addresses/{addressId}',
1928
- path: {
1929
- id: data.id,
1930
- addressId: data.addressId
1931
- },
1932
- body: data.requestBody,
1933
- mediaType: 'application/json',
1934
- errors: {
1935
- 400: 'Bad Request',
1936
- 401: 'Unauthorized',
1937
- 403: 'Forbidden',
1938
- 404: 'Not Found',
1939
- 500: 'Server Error',
1940
- 501: 'Server Error'
1941
- }
1942
- });
1943
- }
1944
-
1945
- /**
1946
- * @param data The data for the request.
1947
- * @param data.id
1948
- * @param data.emailId
1949
- * @param data.requestBody
1950
- * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1951
- * @throws ApiError
1952
- */
1953
- public putApiCrmServiceTaxOfficesByIdEmailsByEmailId(data: PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse> {
1954
- return this.httpRequest.request({
1955
- method: 'PUT',
1956
- url: '/api/crm-service/tax-offices/{id}/emails/{emailId}',
1957
- path: {
1958
- id: data.id,
1959
- emailId: data.emailId
1960
- },
1961
- body: data.requestBody,
1962
- mediaType: 'application/json',
1963
- errors: {
1964
- 400: 'Bad Request',
1965
- 401: 'Unauthorized',
1966
- 403: 'Forbidden',
1967
- 404: 'Not Found',
1968
- 500: 'Server Error',
1969
- 501: 'Server Error'
1970
- }
1971
- });
1972
- }
1973
-
1974
- }
1975
-
1976
- export class TelephoneTypeService {
1977
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1978
-
1979
- /**
1980
- * @param data The data for the request.
1981
- * @param data.sorting
1982
- * @param data.skipCount
1983
- * @param data.maxResultCount
1984
- * @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
1985
- * @throws ApiError
1986
- */
1987
- public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
1988
- return this.httpRequest.request({
1989
- method: 'GET',
1990
- url: '/api/crm-service/telephones',
1991
- query: {
1992
- Sorting: data.sorting,
1993
- SkipCount: data.skipCount,
1994
- MaxResultCount: data.maxResultCount
1995
- },
1996
- errors: {
1997
- 400: 'Bad Request',
1998
- 401: 'Unauthorized',
1999
- 403: 'Forbidden',
2000
- 404: 'Not Found',
2001
- 500: 'Server Error',
2002
- 501: 'Server Error'
2003
- }
2004
- });
2005
- }
2006
-
2007
- /**
2008
- * @param data The data for the request.
2009
- * @param data.requestBody
2010
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2011
- * @throws ApiError
2012
- */
2013
- public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
2014
- return this.httpRequest.request({
2015
- method: 'POST',
2016
- url: '/api/crm-service/telephones',
2017
- body: data.requestBody,
2018
- mediaType: 'application/json',
2019
- errors: {
2020
- 400: 'Bad Request',
2021
- 401: 'Unauthorized',
2022
- 403: 'Forbidden',
2023
- 404: 'Not Found',
2024
- 500: 'Server Error',
2025
- 501: 'Server Error'
2026
- }
2027
- });
2028
- }
2029
-
2030
- /**
2031
- * @param data The data for the request.
2032
- * @param data.id
2033
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2034
- * @throws ApiError
2035
- */
2036
- public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
2037
- return this.httpRequest.request({
2038
- method: 'GET',
2039
- url: '/api/crm-service/telephones/{id}',
2040
- path: {
2041
- id: data.id
2042
- },
2043
- errors: {
2044
- 400: 'Bad Request',
2045
- 401: 'Unauthorized',
2046
- 403: 'Forbidden',
2047
- 404: 'Not Found',
2048
- 500: 'Server Error',
2049
- 501: 'Server Error'
2050
- }
2051
- });
2052
- }
2053
-
2054
- /**
2055
- * @param data The data for the request.
2056
- * @param data.id
2057
- * @param data.requestBody
2058
- * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2059
- * @throws ApiError
2060
- */
2061
- public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
2062
- return this.httpRequest.request({
2063
- method: 'PUT',
2064
- url: '/api/crm-service/telephones/{id}',
2065
- path: {
2066
- id: data.id
2067
- },
2068
- body: data.requestBody,
2069
- mediaType: 'application/json',
2070
- errors: {
2071
- 400: 'Bad Request',
2072
- 401: 'Unauthorized',
2073
- 403: 'Forbidden',
2074
- 404: 'Not Found',
2075
- 500: 'Server Error',
2076
- 501: 'Server Error'
2077
- }
2078
- });
2079
- }
2080
-
2081
- /**
2082
- * @param data The data for the request.
2083
- * @param data.id
2084
- * @returns unknown Success
2085
- * @throws ApiError
2086
- */
2087
- public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
2088
- return this.httpRequest.request({
2089
- method: 'DELETE',
2090
- url: '/api/crm-service/telephones/{id}',
2091
- path: {
2092
- id: data.id
2093
- },
2094
- errors: {
2095
- 400: 'Bad Request',
2096
- 401: 'Unauthorized',
2097
- 403: 'Forbidden',
2098
- 404: 'Not Found',
2099
- 500: 'Server Error',
2100
- 501: 'Server Error'
2101
- }
2102
- });
2103
- }
2104
-
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, GetApiCrmServiceCustomsByIdDetailData, GetApiCrmServiceCustomsByIdDetailResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsByIdWithComponentsData, DeleteApiCrmServiceCustomsByIdWithComponentsResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData, PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceCustomsByIdAddressesByAddressIdData, PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse, PutApiCrmServiceCustomsByIdEmailsByEmailIdData, PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsByIdDetailData, GetApiCrmServiceMerchantsByIdDetailResponse, GetApiCrmServiceMerchantsByIdSubMerchantsData, GetApiCrmServiceMerchantsByIdSubMerchantsResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsByIdWithComponentsData, DeleteApiCrmServiceMerchantsByIdWithComponentsResponse, GetApiCrmServiceMerchantsByIdAffiliationsData, GetApiCrmServiceMerchantsByIdAffiliationsResponse, PostApiCrmServiceMerchantsByIdAffiliationsData, PostApiCrmServiceMerchantsByIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantsData, PostApiCrmServiceMerchantsBulkProductGroupMerchantsResponse, PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdData, PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdResponse, GetApiCrmServiceMerchantsByIdAddressesData, GetApiCrmServiceMerchantsByIdAddressesResponse, PutApiCrmServiceMerchantsByIdAddressesByAddressIdData, PutApiCrmServiceMerchantsByIdAddressesByAddressIdResponse, PutApiCrmServiceMerchantsByIdEmailsByEmailIdData, PutApiCrmServiceMerchantsByIdEmailsByEmailIdResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsByIdDetailData, GetApiCrmServiceRefundPointsByIdDetailResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsByIdWithComponentsData, DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse, PostApiCrmServiceRefundPointsByIdAffiliationsData, PostApiCrmServiceRefundPointsByIdAffiliationsResponse, GetApiCrmServiceRefundPointsByIdAffiliationsData, GetApiCrmServiceRefundPointsByIdAffiliationsResponse, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesByIdDetailData, GetApiCrmServiceTaxFreesByIdDetailResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesByIdWithComponentsData, DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse, PostApiCrmServiceTaxFreesByIdAffiliationsData, PostApiCrmServiceTaxFreesByIdAffiliationsResponse, GetApiCrmServiceTaxFreesByIdAffiliationsData, GetApiCrmServiceTaxFreesByIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesByIdDetailData, GetApiCrmServiceTaxOfficesByIdDetailResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesByIdWithComponentsData, DeleteApiCrmServiceTaxOfficesByIdWithComponentsResponse, PostApiCrmServiceTaxOfficesByIdAffiliationsData, PostApiCrmServiceTaxOfficesByIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByIdAffiliationsData, GetApiCrmServiceTaxOfficesByIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdData, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse, 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 getApiCrmServiceCustomsByIdDetail(data: GetApiCrmServiceCustomsByIdDetailData): CancelablePromise<GetApiCrmServiceCustomsByIdDetailResponse> {
265
+ return this.httpRequest.request({
266
+ method: 'GET',
267
+ url: '/api/crm-service/customs/{id}/detail',
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 deleteApiCrmServiceCustomsByIdWithComponents(data: DeleteApiCrmServiceCustomsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceCustomsByIdWithComponentsResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'DELETE',
314
+ url: '/api/crm-service/customs/{id}/with-components',
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 putApiCrmServiceCustomsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationsByOrganizationIdResponse> {
397
+ return this.httpRequest.request({
398
+ method: 'PUT',
399
+ url: '/api/crm-service/customs/{id}/organizations/{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
+ * @param data The data for the request.
419
+ * @param data.id
420
+ * @param data.telephoneId
421
+ * @param data.requestBody
422
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
423
+ * @throws ApiError
424
+ */
425
+ public putApiCrmServiceCustomsByIdTelephonesByTelephoneId(data: PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceCustomsByIdTelephonesByTelephoneIdResponse> {
426
+ return this.httpRequest.request({
427
+ method: 'PUT',
428
+ url: '/api/crm-service/customs/{id}/telephones/{telephoneId}',
429
+ path: {
430
+ id: data.id,
431
+ telephoneId: data.telephoneId
432
+ },
433
+ body: data.requestBody,
434
+ mediaType: 'application/json',
435
+ errors: {
436
+ 400: 'Bad Request',
437
+ 401: 'Unauthorized',
438
+ 403: 'Forbidden',
439
+ 404: 'Not Found',
440
+ 500: 'Server Error',
441
+ 501: 'Server Error'
442
+ }
443
+ });
444
+ }
445
+
446
+ /**
447
+ * @param data The data for the request.
448
+ * @param data.id
449
+ * @param data.addressId
450
+ * @param data.requestBody
451
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
452
+ * @throws ApiError
453
+ */
454
+ public putApiCrmServiceCustomsByIdAddressesByAddressId(data: PutApiCrmServiceCustomsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceCustomsByIdAddressesByAddressIdResponse> {
455
+ return this.httpRequest.request({
456
+ method: 'PUT',
457
+ url: '/api/crm-service/customs/{id}/addresses/{addressId}',
458
+ path: {
459
+ id: data.id,
460
+ addressId: data.addressId
461
+ },
462
+ body: data.requestBody,
463
+ mediaType: 'application/json',
464
+ errors: {
465
+ 400: 'Bad Request',
466
+ 401: 'Unauthorized',
467
+ 403: 'Forbidden',
468
+ 404: 'Not Found',
469
+ 500: 'Server Error',
470
+ 501: 'Server Error'
471
+ }
472
+ });
473
+ }
474
+
475
+ /**
476
+ * @param data The data for the request.
477
+ * @param data.id
478
+ * @param data.emailId
479
+ * @param data.addressId
480
+ * @param data.requestBody
481
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
482
+ * @throws ApiError
483
+ */
484
+ public putApiCrmServiceCustomsByIdEmailsByEmailId(data: PutApiCrmServiceCustomsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceCustomsByIdEmailsByEmailIdResponse> {
485
+ return this.httpRequest.request({
486
+ method: 'PUT',
487
+ url: '/api/crm-service/customs/{id}/emails/{emailId}',
488
+ path: {
489
+ id: data.id,
490
+ emailId: data.emailId
491
+ },
492
+ query: {
493
+ addressId: data.addressId
494
+ },
495
+ body: data.requestBody,
496
+ mediaType: 'application/json',
497
+ errors: {
498
+ 400: 'Bad Request',
499
+ 401: 'Unauthorized',
500
+ 403: 'Forbidden',
501
+ 404: 'Not Found',
502
+ 500: 'Server Error',
503
+ 501: 'Server Error'
504
+ }
505
+ });
506
+ }
507
+
508
+ }
509
+
510
+ export class EmailCommonDataService {
511
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
512
+
513
+ /**
514
+ * @param data The data for the request.
515
+ * @param data.sorting
516
+ * @param data.skipCount
517
+ * @param data.maxResultCount
518
+ * @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
519
+ * @throws ApiError
520
+ */
521
+ public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
522
+ return this.httpRequest.request({
523
+ method: 'GET',
524
+ url: '/api/crm-service/emails',
525
+ query: {
526
+ Sorting: data.sorting,
527
+ SkipCount: data.skipCount,
528
+ MaxResultCount: data.maxResultCount
529
+ },
530
+ errors: {
531
+ 400: 'Bad Request',
532
+ 401: 'Unauthorized',
533
+ 403: 'Forbidden',
534
+ 404: 'Not Found',
535
+ 500: 'Server Error',
536
+ 501: 'Server Error'
537
+ }
538
+ });
539
+ }
540
+
541
+ /**
542
+ * @param data The data for the request.
543
+ * @param data.requestBody
544
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
545
+ * @throws ApiError
546
+ */
547
+ public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
548
+ return this.httpRequest.request({
549
+ method: 'POST',
550
+ url: '/api/crm-service/emails',
551
+ body: data.requestBody,
552
+ mediaType: 'application/json',
553
+ errors: {
554
+ 400: 'Bad Request',
555
+ 401: 'Unauthorized',
556
+ 403: 'Forbidden',
557
+ 404: 'Not Found',
558
+ 500: 'Server Error',
559
+ 501: 'Server Error'
560
+ }
561
+ });
562
+ }
563
+
564
+ /**
565
+ * @param data The data for the request.
566
+ * @param data.id
567
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
568
+ * @throws ApiError
569
+ */
570
+ public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
571
+ return this.httpRequest.request({
572
+ method: 'GET',
573
+ url: '/api/crm-service/emails/{id}',
574
+ path: {
575
+ id: data.id
576
+ },
577
+ errors: {
578
+ 400: 'Bad Request',
579
+ 401: 'Unauthorized',
580
+ 403: 'Forbidden',
581
+ 404: 'Not Found',
582
+ 500: 'Server Error',
583
+ 501: 'Server Error'
584
+ }
585
+ });
586
+ }
587
+
588
+ /**
589
+ * @param data The data for the request.
590
+ * @param data.id
591
+ * @param data.requestBody
592
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
593
+ * @throws ApiError
594
+ */
595
+ public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
596
+ return this.httpRequest.request({
597
+ method: 'PUT',
598
+ url: '/api/crm-service/emails/{id}',
599
+ path: {
600
+ id: data.id
601
+ },
602
+ body: data.requestBody,
603
+ mediaType: 'application/json',
604
+ errors: {
605
+ 400: 'Bad Request',
606
+ 401: 'Unauthorized',
607
+ 403: 'Forbidden',
608
+ 404: 'Not Found',
609
+ 500: 'Server Error',
610
+ 501: 'Server Error'
611
+ }
612
+ });
613
+ }
614
+
615
+ /**
616
+ * @param data The data for the request.
617
+ * @param data.id
618
+ * @returns unknown Success
619
+ * @throws ApiError
620
+ */
621
+ public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
622
+ return this.httpRequest.request({
623
+ method: 'DELETE',
624
+ url: '/api/crm-service/emails/{id}',
625
+ path: {
626
+ id: data.id
627
+ },
628
+ errors: {
629
+ 400: 'Bad Request',
630
+ 401: 'Unauthorized',
631
+ 403: 'Forbidden',
632
+ 404: 'Not Found',
633
+ 500: 'Server Error',
634
+ 501: 'Server Error'
635
+ }
636
+ });
637
+ }
638
+
639
+ }
640
+
641
+ export class IndividualService {
642
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
643
+
644
+ /**
645
+ * @param data The data for the request.
646
+ * @param data.requestBody
647
+ * @returns unknown Success
648
+ * @throws ApiError
649
+ */
650
+ public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
651
+ return this.httpRequest.request({
652
+ method: 'POST',
653
+ url: '/api/crm-service/individuals/with-components',
654
+ body: data.requestBody,
655
+ mediaType: 'application/json',
656
+ errors: {
657
+ 400: 'Bad Request',
658
+ 401: 'Unauthorized',
659
+ 403: 'Forbidden',
660
+ 404: 'Not Found',
661
+ 500: 'Server Error',
662
+ 501: 'Server Error'
663
+ }
664
+ });
665
+ }
666
+
667
+ /**
668
+ * @param data The data for the request.
669
+ * @param data.entityPartyTypeCode
670
+ * @param data.parentId
671
+ * @param data.sorting
672
+ * @param data.skipCount
673
+ * @param data.maxResultCount
674
+ * @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
675
+ * @throws ApiError
676
+ */
677
+ public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
678
+ return this.httpRequest.request({
679
+ method: 'GET',
680
+ url: '/api/crm-service/individuals',
681
+ query: {
682
+ EntityPartyTypeCode: data.entityPartyTypeCode,
683
+ ParentId: data.parentId,
684
+ Sorting: data.sorting,
685
+ SkipCount: data.skipCount,
686
+ MaxResultCount: data.maxResultCount
687
+ },
688
+ errors: {
689
+ 400: 'Bad Request',
690
+ 401: 'Unauthorized',
691
+ 403: 'Forbidden',
692
+ 404: 'Not Found',
693
+ 500: 'Server Error',
694
+ 501: 'Server Error'
695
+ }
696
+ });
697
+ }
698
+
699
+ }
700
+
701
+ export class MerchantService {
702
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
703
+
704
+ /**
705
+ * @param data The data for the request.
706
+ * @param data.sorting
707
+ * @param data.skipCount
708
+ * @param data.maxResultCount
709
+ * @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
710
+ * @throws ApiError
711
+ */
712
+ public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
713
+ return this.httpRequest.request({
714
+ method: 'GET',
715
+ url: '/api/crm-service/merchants',
716
+ query: {
717
+ Sorting: data.sorting,
718
+ SkipCount: data.skipCount,
719
+ MaxResultCount: data.maxResultCount
720
+ },
721
+ errors: {
722
+ 400: 'Bad Request',
723
+ 401: 'Unauthorized',
724
+ 403: 'Forbidden',
725
+ 404: 'Not Found',
726
+ 500: 'Server Error',
727
+ 501: 'Server Error'
728
+ }
729
+ });
730
+ }
731
+
732
+ /**
733
+ * @param data The data for the request.
734
+ * @param data.vatNumber
735
+ * @param data.countryCode
736
+ * @param data.branchId
737
+ * @returns UniRefund_CRMService_Merchants_MerchantInfoDto Success
738
+ * @throws ApiError
739
+ */
740
+ public getApiCrmServiceMerchantsInfo(data: GetApiCrmServiceMerchantsInfoData = {}): CancelablePromise<GetApiCrmServiceMerchantsInfoResponse> {
741
+ return this.httpRequest.request({
742
+ method: 'GET',
743
+ url: '/api/crm-service/merchants/info',
744
+ query: {
745
+ VatNumber: data.vatNumber,
746
+ CountryCode: data.countryCode,
747
+ BranchId: data.branchId
748
+ },
749
+ errors: {
750
+ 400: 'Bad Request',
751
+ 401: 'Unauthorized',
752
+ 403: 'Forbidden',
753
+ 404: 'Not Found',
754
+ 500: 'Server Error',
755
+ 501: 'Server Error'
756
+ }
757
+ });
758
+ }
759
+
760
+ /**
761
+ * @param data The data for the request.
762
+ * @param data.id
763
+ * @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
764
+ * @throws ApiError
765
+ */
766
+ public getApiCrmServiceMerchantsByIdDetail(data: GetApiCrmServiceMerchantsByIdDetailData): CancelablePromise<GetApiCrmServiceMerchantsByIdDetailResponse> {
767
+ return this.httpRequest.request({
768
+ method: 'GET',
769
+ url: '/api/crm-service/merchants/{id}/detail',
770
+ path: {
771
+ id: data.id
772
+ },
773
+ errors: {
774
+ 400: 'Bad Request',
775
+ 401: 'Unauthorized',
776
+ 403: 'Forbidden',
777
+ 404: 'Not Found',
778
+ 500: 'Server Error',
779
+ 501: 'Server Error'
780
+ }
781
+ });
782
+ }
783
+
784
+ /**
785
+ * @param data The data for the request.
786
+ * @param data.id
787
+ * @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
788
+ * @throws ApiError
789
+ */
790
+ public getApiCrmServiceMerchantsByIdSubMerchants(data: GetApiCrmServiceMerchantsByIdSubMerchantsData): CancelablePromise<GetApiCrmServiceMerchantsByIdSubMerchantsResponse> {
791
+ return this.httpRequest.request({
792
+ method: 'GET',
793
+ url: '/api/crm-service/merchants/{id}/sub-merchants',
794
+ path: {
795
+ id: data.id
796
+ },
797
+ errors: {
798
+ 400: 'Bad Request',
799
+ 401: 'Unauthorized',
800
+ 403: 'Forbidden',
801
+ 404: 'Not Found',
802
+ 500: 'Server Error',
803
+ 501: 'Server Error'
804
+ }
805
+ });
806
+ }
807
+
808
+ /**
809
+ * @param data The data for the request.
810
+ * @param data.requestBody
811
+ * @returns unknown Success
812
+ * @throws ApiError
813
+ */
814
+ public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
815
+ return this.httpRequest.request({
816
+ method: 'POST',
817
+ url: '/api/crm-service/merchants/with-components',
818
+ body: data.requestBody,
819
+ mediaType: 'application/json',
820
+ errors: {
821
+ 400: 'Bad Request',
822
+ 401: 'Unauthorized',
823
+ 403: 'Forbidden',
824
+ 404: 'Not Found',
825
+ 500: 'Server Error',
826
+ 501: 'Server Error'
827
+ }
828
+ });
829
+ }
830
+
831
+ /**
832
+ * @param data The data for the request.
833
+ * @param data.id
834
+ * @returns unknown Success
835
+ * @throws ApiError
836
+ */
837
+ public deleteApiCrmServiceMerchantsByIdWithComponents(data: DeleteApiCrmServiceMerchantsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceMerchantsByIdWithComponentsResponse> {
838
+ return this.httpRequest.request({
839
+ method: 'DELETE',
840
+ url: '/api/crm-service/merchants/{id}/with-components',
841
+ path: {
842
+ id: data.id
843
+ },
844
+ errors: {
845
+ 400: 'Bad Request',
846
+ 401: 'Unauthorized',
847
+ 403: 'Forbidden',
848
+ 404: 'Not Found',
849
+ 500: 'Server Error',
850
+ 501: 'Server Error'
851
+ }
852
+ });
853
+ }
854
+
855
+ /**
856
+ * @param data The data for the request.
857
+ * @param data.id
858
+ * @param data.sorting
859
+ * @param data.skipCount
860
+ * @param data.maxResultCount
861
+ * @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
862
+ * @throws ApiError
863
+ */
864
+ public getApiCrmServiceMerchantsByIdAffiliations(data: GetApiCrmServiceMerchantsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByIdAffiliationsResponse> {
865
+ return this.httpRequest.request({
866
+ method: 'GET',
867
+ url: '/api/crm-service/merchants/{id}/affiliations',
868
+ path: {
869
+ id: data.id
870
+ },
871
+ query: {
872
+ Sorting: data.sorting,
873
+ SkipCount: data.skipCount,
874
+ MaxResultCount: data.maxResultCount
875
+ },
876
+ errors: {
877
+ 400: 'Bad Request',
878
+ 401: 'Unauthorized',
879
+ 403: 'Forbidden',
880
+ 404: 'Not Found',
881
+ 500: 'Server Error',
882
+ 501: 'Server Error'
883
+ }
884
+ });
885
+ }
886
+
887
+ /**
888
+ * @param data The data for the request.
889
+ * @param data.id
890
+ * @param data.requestBody
891
+ * @returns unknown Success
892
+ * @throws ApiError
893
+ */
894
+ public postApiCrmServiceMerchantsByIdAffiliations(data: PostApiCrmServiceMerchantsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByIdAffiliationsResponse> {
895
+ return this.httpRequest.request({
896
+ method: 'POST',
897
+ url: '/api/crm-service/merchants/{id}/affiliations',
898
+ path: {
899
+ id: data.id
900
+ },
901
+ body: data.requestBody,
902
+ mediaType: 'application/json',
903
+ errors: {
904
+ 400: 'Bad Request',
905
+ 401: 'Unauthorized',
906
+ 403: 'Forbidden',
907
+ 404: 'Not Found',
908
+ 500: 'Server Error',
909
+ 501: 'Server Error'
910
+ }
911
+ });
912
+ }
913
+
914
+ /**
915
+ * @param data The data for the request.
916
+ * @param data.id
917
+ * @param data.organizationId
918
+ * @param data.requestBody
919
+ * @returns unknown Success
920
+ * @throws ApiError
921
+ */
922
+ public putApiCrmServiceMerchantsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationsByOrganizationIdResponse> {
923
+ return this.httpRequest.request({
924
+ method: 'PUT',
925
+ url: '/api/crm-service/merchants/{id}/organizations/{organizationId}',
926
+ path: {
927
+ id: data.id,
928
+ organizationId: data.organizationId
929
+ },
930
+ body: data.requestBody,
931
+ mediaType: 'application/json',
932
+ errors: {
933
+ 400: 'Bad Request',
934
+ 401: 'Unauthorized',
935
+ 403: 'Forbidden',
936
+ 404: 'Not Found',
937
+ 500: 'Server Error',
938
+ 501: 'Server Error'
939
+ }
940
+ });
941
+ }
942
+
943
+ /**
944
+ * @param data The data for the request.
945
+ * @param data.requestBody
946
+ * @returns unknown Success
947
+ * @throws ApiError
948
+ */
949
+ public postApiCrmServiceMerchantsBulkProductGroupMerchants(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantsData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantsResponse> {
950
+ return this.httpRequest.request({
951
+ method: 'POST',
952
+ url: '/api/crm-service/merchants/bulk-product-group-merchants',
953
+ body: data.requestBody,
954
+ mediaType: 'application/json',
955
+ errors: {
956
+ 400: 'Bad Request',
957
+ 401: 'Unauthorized',
958
+ 403: 'Forbidden',
959
+ 404: 'Not Found',
960
+ 500: 'Server Error',
961
+ 501: 'Server Error'
962
+ }
963
+ });
964
+ }
965
+
966
+ /**
967
+ * @param data The data for the request.
968
+ * @param data.id
969
+ * @param data.telephoneId
970
+ * @param data.requestBody
971
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
972
+ * @throws ApiError
973
+ */
974
+ public putApiCrmServiceMerchantsByIdTelephonesByTelephoneId(data: PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdTelephonesByTelephoneIdResponse> {
975
+ return this.httpRequest.request({
976
+ method: 'PUT',
977
+ url: '/api/crm-service/merchants/{id}/telephones/{telephoneId}',
978
+ path: {
979
+ id: data.id,
980
+ telephoneId: data.telephoneId
981
+ },
982
+ body: data.requestBody,
983
+ mediaType: 'application/json',
984
+ errors: {
985
+ 400: 'Bad Request',
986
+ 401: 'Unauthorized',
987
+ 403: 'Forbidden',
988
+ 404: 'Not Found',
989
+ 500: 'Server Error',
990
+ 501: 'Server Error'
991
+ }
992
+ });
993
+ }
994
+
995
+ /**
996
+ * @param data The data for the request.
997
+ * @param data.id
998
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
999
+ * @throws ApiError
1000
+ */
1001
+ public getApiCrmServiceMerchantsByIdAddresses(data: GetApiCrmServiceMerchantsByIdAddressesData): CancelablePromise<GetApiCrmServiceMerchantsByIdAddressesResponse> {
1002
+ return this.httpRequest.request({
1003
+ method: 'GET',
1004
+ url: '/api/crm-service/merchants/{id}/addresses',
1005
+ path: {
1006
+ id: data.id
1007
+ },
1008
+ errors: {
1009
+ 400: 'Bad Request',
1010
+ 401: 'Unauthorized',
1011
+ 403: 'Forbidden',
1012
+ 404: 'Not Found',
1013
+ 500: 'Server Error',
1014
+ 501: 'Server Error'
1015
+ }
1016
+ });
1017
+ }
1018
+
1019
+ /**
1020
+ * @param data The data for the request.
1021
+ * @param data.id
1022
+ * @param data.addressId
1023
+ * @param data.requestBody
1024
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1025
+ * @throws ApiError
1026
+ */
1027
+ public putApiCrmServiceMerchantsByIdAddressesByAddressId(data: PutApiCrmServiceMerchantsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdAddressesByAddressIdResponse> {
1028
+ return this.httpRequest.request({
1029
+ method: 'PUT',
1030
+ url: '/api/crm-service/merchants/{id}/addresses/{addressId}',
1031
+ path: {
1032
+ id: data.id,
1033
+ addressId: data.addressId
1034
+ },
1035
+ body: data.requestBody,
1036
+ mediaType: 'application/json',
1037
+ errors: {
1038
+ 400: 'Bad Request',
1039
+ 401: 'Unauthorized',
1040
+ 403: 'Forbidden',
1041
+ 404: 'Not Found',
1042
+ 500: 'Server Error',
1043
+ 501: 'Server Error'
1044
+ }
1045
+ });
1046
+ }
1047
+
1048
+ /**
1049
+ * @param data The data for the request.
1050
+ * @param data.id
1051
+ * @param data.emailId
1052
+ * @param data.requestBody
1053
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1054
+ * @throws ApiError
1055
+ */
1056
+ public putApiCrmServiceMerchantsByIdEmailsByEmailId(data: PutApiCrmServiceMerchantsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdEmailsByEmailIdResponse> {
1057
+ return this.httpRequest.request({
1058
+ method: 'PUT',
1059
+ url: '/api/crm-service/merchants/{id}/emails/{emailId}',
1060
+ path: {
1061
+ id: data.id,
1062
+ emailId: data.emailId
1063
+ },
1064
+ body: data.requestBody,
1065
+ mediaType: 'application/json',
1066
+ errors: {
1067
+ 400: 'Bad Request',
1068
+ 401: 'Unauthorized',
1069
+ 403: 'Forbidden',
1070
+ 404: 'Not Found',
1071
+ 500: 'Server Error',
1072
+ 501: 'Server Error'
1073
+ }
1074
+ });
1075
+ }
1076
+
1077
+ }
1078
+
1079
+ export class OrganizationService {
1080
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1081
+
1082
+ /**
1083
+ * @param data The data for the request.
1084
+ * @param data.requestBody
1085
+ * @returns unknown Success
1086
+ * @throws ApiError
1087
+ */
1088
+ public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
1089
+ return this.httpRequest.request({
1090
+ method: 'POST',
1091
+ url: '/api/crm-service/organizations/with-components',
1092
+ body: data.requestBody,
1093
+ mediaType: 'application/json',
1094
+ errors: {
1095
+ 400: 'Bad Request',
1096
+ 401: 'Unauthorized',
1097
+ 403: 'Forbidden',
1098
+ 404: 'Not Found',
1099
+ 500: 'Server Error',
1100
+ 501: 'Server Error'
1101
+ }
1102
+ });
1103
+ }
1104
+
1105
+ /**
1106
+ * @param data The data for the request.
1107
+ * @param data.entityPartyTypeCode
1108
+ * @param data.parentId
1109
+ * @param data.sorting
1110
+ * @param data.skipCount
1111
+ * @param data.maxResultCount
1112
+ * @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
1113
+ * @throws ApiError
1114
+ */
1115
+ public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
1116
+ return this.httpRequest.request({
1117
+ method: 'GET',
1118
+ url: '/api/crm-service/organizations',
1119
+ query: {
1120
+ EntityPartyTypeCode: data.entityPartyTypeCode,
1121
+ ParentId: data.parentId,
1122
+ Sorting: data.sorting,
1123
+ SkipCount: data.skipCount,
1124
+ MaxResultCount: data.maxResultCount
1125
+ },
1126
+ errors: {
1127
+ 400: 'Bad Request',
1128
+ 401: 'Unauthorized',
1129
+ 403: 'Forbidden',
1130
+ 404: 'Not Found',
1131
+ 500: 'Server Error',
1132
+ 501: 'Server Error'
1133
+ }
1134
+ });
1135
+ }
1136
+
1137
+ }
1138
+
1139
+ export class RefundPointService {
1140
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1141
+
1142
+ /**
1143
+ * @param data The data for the request.
1144
+ * @param data.sorting
1145
+ * @param data.skipCount
1146
+ * @param data.maxResultCount
1147
+ * @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
1148
+ * @throws ApiError
1149
+ */
1150
+ public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
1151
+ return this.httpRequest.request({
1152
+ method: 'GET',
1153
+ url: '/api/crm-service/refund-points',
1154
+ query: {
1155
+ Sorting: data.sorting,
1156
+ SkipCount: data.skipCount,
1157
+ MaxResultCount: data.maxResultCount
1158
+ },
1159
+ errors: {
1160
+ 400: 'Bad Request',
1161
+ 401: 'Unauthorized',
1162
+ 403: 'Forbidden',
1163
+ 404: 'Not Found',
1164
+ 500: 'Server Error',
1165
+ 501: 'Server Error'
1166
+ }
1167
+ });
1168
+ }
1169
+
1170
+ /**
1171
+ * @param data The data for the request.
1172
+ * @param data.id
1173
+ * @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
1174
+ * @throws ApiError
1175
+ */
1176
+ public getApiCrmServiceRefundPointsByIdDetail(data: GetApiCrmServiceRefundPointsByIdDetailData): CancelablePromise<GetApiCrmServiceRefundPointsByIdDetailResponse> {
1177
+ return this.httpRequest.request({
1178
+ method: 'GET',
1179
+ url: '/api/crm-service/refund-points/{id}/detail',
1180
+ path: {
1181
+ id: data.id
1182
+ },
1183
+ errors: {
1184
+ 400: 'Bad Request',
1185
+ 401: 'Unauthorized',
1186
+ 403: 'Forbidden',
1187
+ 404: 'Not Found',
1188
+ 500: 'Server Error',
1189
+ 501: 'Server Error'
1190
+ }
1191
+ });
1192
+ }
1193
+
1194
+ /**
1195
+ * @param data The data for the request.
1196
+ * @param data.requestBody
1197
+ * @returns unknown Success
1198
+ * @throws ApiError
1199
+ */
1200
+ public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
1201
+ return this.httpRequest.request({
1202
+ method: 'POST',
1203
+ url: '/api/crm-service/refund-points/with-components',
1204
+ body: data.requestBody,
1205
+ mediaType: 'application/json',
1206
+ errors: {
1207
+ 400: 'Bad Request',
1208
+ 401: 'Unauthorized',
1209
+ 403: 'Forbidden',
1210
+ 404: 'Not Found',
1211
+ 500: 'Server Error',
1212
+ 501: 'Server Error'
1213
+ }
1214
+ });
1215
+ }
1216
+
1217
+ /**
1218
+ * @param data The data for the request.
1219
+ * @param data.id
1220
+ * @returns unknown Success
1221
+ * @throws ApiError
1222
+ */
1223
+ public deleteApiCrmServiceRefundPointsByIdWithComponents(data: DeleteApiCrmServiceRefundPointsByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse> {
1224
+ return this.httpRequest.request({
1225
+ method: 'DELETE',
1226
+ url: '/api/crm-service/refund-points/{id}/with-components',
1227
+ path: {
1228
+ id: data.id
1229
+ },
1230
+ errors: {
1231
+ 400: 'Bad Request',
1232
+ 401: 'Unauthorized',
1233
+ 403: 'Forbidden',
1234
+ 404: 'Not Found',
1235
+ 500: 'Server Error',
1236
+ 501: 'Server Error'
1237
+ }
1238
+ });
1239
+ }
1240
+
1241
+ /**
1242
+ * @param data The data for the request.
1243
+ * @param data.id
1244
+ * @param data.requestBody
1245
+ * @returns unknown Success
1246
+ * @throws ApiError
1247
+ */
1248
+ public postApiCrmServiceRefundPointsByIdAffiliations(data: PostApiCrmServiceRefundPointsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByIdAffiliationsResponse> {
1249
+ return this.httpRequest.request({
1250
+ method: 'POST',
1251
+ url: '/api/crm-service/refund-points/{id}/affiliations',
1252
+ path: {
1253
+ id: data.id
1254
+ },
1255
+ body: data.requestBody,
1256
+ mediaType: 'application/json',
1257
+ errors: {
1258
+ 400: 'Bad Request',
1259
+ 401: 'Unauthorized',
1260
+ 403: 'Forbidden',
1261
+ 404: 'Not Found',
1262
+ 500: 'Server Error',
1263
+ 501: 'Server Error'
1264
+ }
1265
+ });
1266
+ }
1267
+
1268
+ /**
1269
+ * @param data The data for the request.
1270
+ * @param data.id
1271
+ * @param data.sorting
1272
+ * @param data.skipCount
1273
+ * @param data.maxResultCount
1274
+ * @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
1275
+ * @throws ApiError
1276
+ */
1277
+ public getApiCrmServiceRefundPointsByIdAffiliations(data: GetApiCrmServiceRefundPointsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByIdAffiliationsResponse> {
1278
+ return this.httpRequest.request({
1279
+ method: 'GET',
1280
+ url: '/api/crm-service/refund-points/{id}/affiliations',
1281
+ path: {
1282
+ id: data.id
1283
+ },
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
+ * @param data.organizationId
1304
+ * @param data.requestBody
1305
+ * @returns unknown Success
1306
+ * @throws ApiError
1307
+ */
1308
+ public putApiCrmServiceRefundPointsByIdOrganizationsByOrganizationId(data: PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse> {
1309
+ return this.httpRequest.request({
1310
+ method: 'PUT',
1311
+ url: '/api/crm-service/refund-points/{id}/organizations/{organizationId}',
1312
+ path: {
1313
+ id: data.id,
1314
+ organizationId: data.organizationId
1315
+ },
1316
+ body: data.requestBody,
1317
+ mediaType: 'application/json',
1318
+ errors: {
1319
+ 400: 'Bad Request',
1320
+ 401: 'Unauthorized',
1321
+ 403: 'Forbidden',
1322
+ 404: 'Not Found',
1323
+ 500: 'Server Error',
1324
+ 501: 'Server Error'
1325
+ }
1326
+ });
1327
+ }
1328
+
1329
+ /**
1330
+ * @param data The data for the request.
1331
+ * @param data.id
1332
+ * @param data.telephoneId
1333
+ * @param data.requestBody
1334
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1335
+ * @throws ApiError
1336
+ */
1337
+ public putApiCrmServiceRefundPointsByIdTelephonesByTelephoneId(data: PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse> {
1338
+ return this.httpRequest.request({
1339
+ method: 'PUT',
1340
+ url: '/api/crm-service/refund-points/{id}/telephones/{telephoneId}',
1341
+ path: {
1342
+ id: data.id,
1343
+ telephoneId: data.telephoneId
1344
+ },
1345
+ body: data.requestBody,
1346
+ mediaType: 'application/json',
1347
+ errors: {
1348
+ 400: 'Bad Request',
1349
+ 401: 'Unauthorized',
1350
+ 403: 'Forbidden',
1351
+ 404: 'Not Found',
1352
+ 500: 'Server Error',
1353
+ 501: 'Server Error'
1354
+ }
1355
+ });
1356
+ }
1357
+
1358
+ /**
1359
+ * @param data The data for the request.
1360
+ * @param data.id
1361
+ * @param data.addressId
1362
+ * @param data.requestBody
1363
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1364
+ * @throws ApiError
1365
+ */
1366
+ public putApiCrmServiceRefundPointsByIdAddressesByAddressId(data: PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse> {
1367
+ return this.httpRequest.request({
1368
+ method: 'PUT',
1369
+ url: '/api/crm-service/refund-points/{id}/addresses/{addressId}',
1370
+ path: {
1371
+ id: data.id,
1372
+ addressId: data.addressId
1373
+ },
1374
+ body: data.requestBody,
1375
+ mediaType: 'application/json',
1376
+ errors: {
1377
+ 400: 'Bad Request',
1378
+ 401: 'Unauthorized',
1379
+ 403: 'Forbidden',
1380
+ 404: 'Not Found',
1381
+ 500: 'Server Error',
1382
+ 501: 'Server Error'
1383
+ }
1384
+ });
1385
+ }
1386
+
1387
+ /**
1388
+ * @param data The data for the request.
1389
+ * @param data.id
1390
+ * @param data.emailId
1391
+ * @param data.requestBody
1392
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1393
+ * @throws ApiError
1394
+ */
1395
+ public putApiCrmServiceRefundPointsByIdEmailsByEmailId(data: PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse> {
1396
+ return this.httpRequest.request({
1397
+ method: 'PUT',
1398
+ url: '/api/crm-service/refund-points/{id}/emails/{emailId}',
1399
+ path: {
1400
+ id: data.id,
1401
+ emailId: data.emailId
1402
+ },
1403
+ body: data.requestBody,
1404
+ mediaType: 'application/json',
1405
+ errors: {
1406
+ 400: 'Bad Request',
1407
+ 401: 'Unauthorized',
1408
+ 403: 'Forbidden',
1409
+ 404: 'Not Found',
1410
+ 500: 'Server Error',
1411
+ 501: 'Server Error'
1412
+ }
1413
+ });
1414
+ }
1415
+
1416
+ }
1417
+
1418
+ export class TaxFreeService {
1419
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1420
+
1421
+ /**
1422
+ * @param data The data for the request.
1423
+ * @param data.sorting
1424
+ * @param data.skipCount
1425
+ * @param data.maxResultCount
1426
+ * @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
1427
+ * @throws ApiError
1428
+ */
1429
+ public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
1430
+ return this.httpRequest.request({
1431
+ method: 'GET',
1432
+ url: '/api/crm-service/tax-frees',
1433
+ query: {
1434
+ Sorting: data.sorting,
1435
+ SkipCount: data.skipCount,
1436
+ MaxResultCount: data.maxResultCount
1437
+ },
1438
+ errors: {
1439
+ 400: 'Bad Request',
1440
+ 401: 'Unauthorized',
1441
+ 403: 'Forbidden',
1442
+ 404: 'Not Found',
1443
+ 500: 'Server Error',
1444
+ 501: 'Server Error'
1445
+ }
1446
+ });
1447
+ }
1448
+
1449
+ /**
1450
+ * @param data The data for the request.
1451
+ * @param data.id
1452
+ * @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
1453
+ * @throws ApiError
1454
+ */
1455
+ public getApiCrmServiceTaxFreesByIdDetail(data: GetApiCrmServiceTaxFreesByIdDetailData): CancelablePromise<GetApiCrmServiceTaxFreesByIdDetailResponse> {
1456
+ return this.httpRequest.request({
1457
+ method: 'GET',
1458
+ url: '/api/crm-service/tax-frees/{id}/detail',
1459
+ path: {
1460
+ id: data.id
1461
+ },
1462
+ errors: {
1463
+ 400: 'Bad Request',
1464
+ 401: 'Unauthorized',
1465
+ 403: 'Forbidden',
1466
+ 404: 'Not Found',
1467
+ 500: 'Server Error',
1468
+ 501: 'Server Error'
1469
+ }
1470
+ });
1471
+ }
1472
+
1473
+ /**
1474
+ * @param data The data for the request.
1475
+ * @param data.requestBody
1476
+ * @returns unknown Success
1477
+ * @throws ApiError
1478
+ */
1479
+ public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
1480
+ return this.httpRequest.request({
1481
+ method: 'POST',
1482
+ url: '/api/crm-service/tax-frees/with-components',
1483
+ body: data.requestBody,
1484
+ mediaType: 'application/json',
1485
+ errors: {
1486
+ 400: 'Bad Request',
1487
+ 401: 'Unauthorized',
1488
+ 403: 'Forbidden',
1489
+ 404: 'Not Found',
1490
+ 500: 'Server Error',
1491
+ 501: 'Server Error'
1492
+ }
1493
+ });
1494
+ }
1495
+
1496
+ /**
1497
+ * @param data The data for the request.
1498
+ * @param data.id
1499
+ * @returns unknown Success
1500
+ * @throws ApiError
1501
+ */
1502
+ public deleteApiCrmServiceTaxFreesByIdWithComponents(data: DeleteApiCrmServiceTaxFreesByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse> {
1503
+ return this.httpRequest.request({
1504
+ method: 'DELETE',
1505
+ url: '/api/crm-service/tax-frees/{id}/with-components',
1506
+ path: {
1507
+ id: data.id
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.id
1523
+ * @param data.requestBody
1524
+ * @returns unknown Success
1525
+ * @throws ApiError
1526
+ */
1527
+ public postApiCrmServiceTaxFreesByIdAffiliations(data: PostApiCrmServiceTaxFreesByIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByIdAffiliationsResponse> {
1528
+ return this.httpRequest.request({
1529
+ method: 'POST',
1530
+ url: '/api/crm-service/tax-frees/{id}/affiliations',
1531
+ path: {
1532
+ id: data.id
1533
+ },
1534
+ body: data.requestBody,
1535
+ mediaType: 'application/json',
1536
+ errors: {
1537
+ 400: 'Bad Request',
1538
+ 401: 'Unauthorized',
1539
+ 403: 'Forbidden',
1540
+ 404: 'Not Found',
1541
+ 500: 'Server Error',
1542
+ 501: 'Server Error'
1543
+ }
1544
+ });
1545
+ }
1546
+
1547
+ /**
1548
+ * @param data The data for the request.
1549
+ * @param data.id
1550
+ * @param data.sorting
1551
+ * @param data.skipCount
1552
+ * @param data.maxResultCount
1553
+ * @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
1554
+ * @throws ApiError
1555
+ */
1556
+ public getApiCrmServiceTaxFreesByIdAffiliations(data: GetApiCrmServiceTaxFreesByIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByIdAffiliationsResponse> {
1557
+ return this.httpRequest.request({
1558
+ method: 'GET',
1559
+ url: '/api/crm-service/tax-frees/{id}/affiliations',
1560
+ path: {
1561
+ id: data.id
1562
+ },
1563
+ query: {
1564
+ Sorting: data.sorting,
1565
+ SkipCount: data.skipCount,
1566
+ MaxResultCount: data.maxResultCount
1567
+ },
1568
+ errors: {
1569
+ 400: 'Bad Request',
1570
+ 401: 'Unauthorized',
1571
+ 403: 'Forbidden',
1572
+ 404: 'Not Found',
1573
+ 500: 'Server Error',
1574
+ 501: 'Server Error'
1575
+ }
1576
+ });
1577
+ }
1578
+
1579
+ /**
1580
+ * @param data The data for the request.
1581
+ * @param data.id
1582
+ * @param data.organizationId
1583
+ * @param data.requestBody
1584
+ * @returns unknown Success
1585
+ * @throws ApiError
1586
+ */
1587
+ public putApiCrmServiceTaxFreesByIdOrganizationsByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse> {
1588
+ return this.httpRequest.request({
1589
+ method: 'PUT',
1590
+ url: '/api/crm-service/tax-frees/{id}/organizations/{organizationId}',
1591
+ path: {
1592
+ id: data.id,
1593
+ organizationId: data.organizationId
1594
+ },
1595
+ body: data.requestBody,
1596
+ mediaType: 'application/json',
1597
+ errors: {
1598
+ 400: 'Bad Request',
1599
+ 401: 'Unauthorized',
1600
+ 403: 'Forbidden',
1601
+ 404: 'Not Found',
1602
+ 500: 'Server Error',
1603
+ 501: 'Server Error'
1604
+ }
1605
+ });
1606
+ }
1607
+
1608
+ /**
1609
+ * @param data The data for the request.
1610
+ * @param data.id
1611
+ * @param data.telephoneId
1612
+ * @param data.requestBody
1613
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1614
+ * @throws ApiError
1615
+ */
1616
+ public putApiCrmServiceTaxFreesByIdTelephonesByTelephoneId(data: PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse> {
1617
+ return this.httpRequest.request({
1618
+ method: 'PUT',
1619
+ url: '/api/crm-service/tax-frees/{id}/telephones/{telephoneId}',
1620
+ path: {
1621
+ id: data.id,
1622
+ telephoneId: data.telephoneId
1623
+ },
1624
+ body: data.requestBody,
1625
+ mediaType: 'application/json',
1626
+ errors: {
1627
+ 400: 'Bad Request',
1628
+ 401: 'Unauthorized',
1629
+ 403: 'Forbidden',
1630
+ 404: 'Not Found',
1631
+ 500: 'Server Error',
1632
+ 501: 'Server Error'
1633
+ }
1634
+ });
1635
+ }
1636
+
1637
+ /**
1638
+ * @param data The data for the request.
1639
+ * @param data.id
1640
+ * @param data.addressId
1641
+ * @param data.requestBody
1642
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1643
+ * @throws ApiError
1644
+ */
1645
+ public putApiCrmServiceTaxFreesByIdAddressesByAddressId(data: PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse> {
1646
+ return this.httpRequest.request({
1647
+ method: 'PUT',
1648
+ url: '/api/crm-service/tax-frees/{id}/addresses/{addressId}',
1649
+ path: {
1650
+ id: data.id,
1651
+ addressId: data.addressId
1652
+ },
1653
+ body: data.requestBody,
1654
+ mediaType: 'application/json',
1655
+ errors: {
1656
+ 400: 'Bad Request',
1657
+ 401: 'Unauthorized',
1658
+ 403: 'Forbidden',
1659
+ 404: 'Not Found',
1660
+ 500: 'Server Error',
1661
+ 501: 'Server Error'
1662
+ }
1663
+ });
1664
+ }
1665
+
1666
+ /**
1667
+ * @param data The data for the request.
1668
+ * @param data.id
1669
+ * @param data.emailId
1670
+ * @param data.requestBody
1671
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1672
+ * @throws ApiError
1673
+ */
1674
+ public putApiCrmServiceTaxFreesByIdEmailsByEmailId(data: PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse> {
1675
+ return this.httpRequest.request({
1676
+ method: 'PUT',
1677
+ url: '/api/crm-service/tax-frees/{id}/emails/{emailId}',
1678
+ path: {
1679
+ id: data.id,
1680
+ emailId: data.emailId
1681
+ },
1682
+ body: data.requestBody,
1683
+ mediaType: 'application/json',
1684
+ errors: {
1685
+ 400: 'Bad Request',
1686
+ 401: 'Unauthorized',
1687
+ 403: 'Forbidden',
1688
+ 404: 'Not Found',
1689
+ 500: 'Server Error',
1690
+ 501: 'Server Error'
1691
+ }
1692
+ });
1693
+ }
1694
+
1695
+ }
1696
+
1697
+ export class TaxOfficeService {
1698
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1699
+
1700
+ /**
1701
+ * @param data The data for the request.
1702
+ * @param data.sorting
1703
+ * @param data.skipCount
1704
+ * @param data.maxResultCount
1705
+ * @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
1706
+ * @throws ApiError
1707
+ */
1708
+ public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
1709
+ return this.httpRequest.request({
1710
+ method: 'GET',
1711
+ url: '/api/crm-service/tax-offices',
1712
+ query: {
1713
+ Sorting: data.sorting,
1714
+ SkipCount: data.skipCount,
1715
+ MaxResultCount: data.maxResultCount
1716
+ },
1717
+ errors: {
1718
+ 400: 'Bad Request',
1719
+ 401: 'Unauthorized',
1720
+ 403: 'Forbidden',
1721
+ 404: 'Not Found',
1722
+ 500: 'Server Error',
1723
+ 501: 'Server Error'
1724
+ }
1725
+ });
1726
+ }
1727
+
1728
+ /**
1729
+ * @param data The data for the request.
1730
+ * @param data.id
1731
+ * @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
1732
+ * @throws ApiError
1733
+ */
1734
+ public getApiCrmServiceTaxOfficesByIdDetail(data: GetApiCrmServiceTaxOfficesByIdDetailData): CancelablePromise<GetApiCrmServiceTaxOfficesByIdDetailResponse> {
1735
+ return this.httpRequest.request({
1736
+ method: 'GET',
1737
+ url: '/api/crm-service/tax-offices/{id}/detail',
1738
+ path: {
1739
+ id: data.id
1740
+ },
1741
+ errors: {
1742
+ 400: 'Bad Request',
1743
+ 401: 'Unauthorized',
1744
+ 403: 'Forbidden',
1745
+ 404: 'Not Found',
1746
+ 500: 'Server Error',
1747
+ 501: 'Server Error'
1748
+ }
1749
+ });
1750
+ }
1751
+
1752
+ /**
1753
+ * @param data The data for the request.
1754
+ * @param data.requestBody
1755
+ * @returns unknown Success
1756
+ * @throws ApiError
1757
+ */
1758
+ public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
1759
+ return this.httpRequest.request({
1760
+ method: 'POST',
1761
+ url: '/api/crm-service/tax-offices/with-components',
1762
+ body: data.requestBody,
1763
+ mediaType: 'application/json',
1764
+ errors: {
1765
+ 400: 'Bad Request',
1766
+ 401: 'Unauthorized',
1767
+ 403: 'Forbidden',
1768
+ 404: 'Not Found',
1769
+ 500: 'Server Error',
1770
+ 501: 'Server Error'
1771
+ }
1772
+ });
1773
+ }
1774
+
1775
+ /**
1776
+ * @param data The data for the request.
1777
+ * @param data.id
1778
+ * @returns unknown Success
1779
+ * @throws ApiError
1780
+ */
1781
+ public deleteApiCrmServiceTaxOfficesByIdWithComponents(data: DeleteApiCrmServiceTaxOfficesByIdWithComponentsData): CancelablePromise<DeleteApiCrmServiceTaxOfficesByIdWithComponentsResponse> {
1782
+ return this.httpRequest.request({
1783
+ method: 'DELETE',
1784
+ url: '/api/crm-service/tax-offices/{id}/with-components',
1785
+ path: {
1786
+ id: data.id
1787
+ },
1788
+ errors: {
1789
+ 400: 'Bad Request',
1790
+ 401: 'Unauthorized',
1791
+ 403: 'Forbidden',
1792
+ 404: 'Not Found',
1793
+ 500: 'Server Error',
1794
+ 501: 'Server Error'
1795
+ }
1796
+ });
1797
+ }
1798
+
1799
+ /**
1800
+ * @param data The data for the request.
1801
+ * @param data.id
1802
+ * @param data.requestBody
1803
+ * @returns unknown Success
1804
+ * @throws ApiError
1805
+ */
1806
+ public postApiCrmServiceTaxOfficesByIdAffiliations(data: PostApiCrmServiceTaxOfficesByIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByIdAffiliationsResponse> {
1807
+ return this.httpRequest.request({
1808
+ method: 'POST',
1809
+ url: '/api/crm-service/tax-offices/{id}/affiliations',
1810
+ path: {
1811
+ id: data.id
1812
+ },
1813
+ body: data.requestBody,
1814
+ mediaType: 'application/json',
1815
+ errors: {
1816
+ 400: 'Bad Request',
1817
+ 401: 'Unauthorized',
1818
+ 403: 'Forbidden',
1819
+ 404: 'Not Found',
1820
+ 500: 'Server Error',
1821
+ 501: 'Server Error'
1822
+ }
1823
+ });
1824
+ }
1825
+
1826
+ /**
1827
+ * @param data The data for the request.
1828
+ * @param data.id
1829
+ * @param data.sorting
1830
+ * @param data.skipCount
1831
+ * @param data.maxResultCount
1832
+ * @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
1833
+ * @throws ApiError
1834
+ */
1835
+ public getApiCrmServiceTaxOfficesByIdAffiliations(data: GetApiCrmServiceTaxOfficesByIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByIdAffiliationsResponse> {
1836
+ return this.httpRequest.request({
1837
+ method: 'GET',
1838
+ url: '/api/crm-service/tax-offices/{id}/affiliations',
1839
+ path: {
1840
+ id: data.id
1841
+ },
1842
+ query: {
1843
+ Sorting: data.sorting,
1844
+ SkipCount: data.skipCount,
1845
+ MaxResultCount: data.maxResultCount
1846
+ },
1847
+ errors: {
1848
+ 400: 'Bad Request',
1849
+ 401: 'Unauthorized',
1850
+ 403: 'Forbidden',
1851
+ 404: 'Not Found',
1852
+ 500: 'Server Error',
1853
+ 501: 'Server Error'
1854
+ }
1855
+ });
1856
+ }
1857
+
1858
+ /**
1859
+ * @param data The data for the request.
1860
+ * @param data.id
1861
+ * @param data.organizationId
1862
+ * @param data.requestBody
1863
+ * @returns unknown Success
1864
+ * @throws ApiError
1865
+ */
1866
+ public putApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationId(data: PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdResponse> {
1867
+ return this.httpRequest.request({
1868
+ method: 'PUT',
1869
+ url: '/api/crm-service/tax-offices/{id}/organizations/{organizationId}',
1870
+ path: {
1871
+ id: data.id,
1872
+ organizationId: data.organizationId
1873
+ },
1874
+ body: data.requestBody,
1875
+ mediaType: 'application/json',
1876
+ errors: {
1877
+ 400: 'Bad Request',
1878
+ 401: 'Unauthorized',
1879
+ 403: 'Forbidden',
1880
+ 404: 'Not Found',
1881
+ 500: 'Server Error',
1882
+ 501: 'Server Error'
1883
+ }
1884
+ });
1885
+ }
1886
+
1887
+ /**
1888
+ * @param data The data for the request.
1889
+ * @param data.id
1890
+ * @param data.telephoneId
1891
+ * @param data.requestBody
1892
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
1893
+ * @throws ApiError
1894
+ */
1895
+ public putApiCrmServiceTaxOfficesByIdTelephonesByTelephoneId(data: PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdResponse> {
1896
+ return this.httpRequest.request({
1897
+ method: 'PUT',
1898
+ url: '/api/crm-service/tax-offices/{id}/telephones/{telephoneId}',
1899
+ path: {
1900
+ id: data.id,
1901
+ telephoneId: data.telephoneId
1902
+ },
1903
+ body: data.requestBody,
1904
+ mediaType: 'application/json',
1905
+ errors: {
1906
+ 400: 'Bad Request',
1907
+ 401: 'Unauthorized',
1908
+ 403: 'Forbidden',
1909
+ 404: 'Not Found',
1910
+ 500: 'Server Error',
1911
+ 501: 'Server Error'
1912
+ }
1913
+ });
1914
+ }
1915
+
1916
+ /**
1917
+ * @param data The data for the request.
1918
+ * @param data.id
1919
+ * @param data.addressId
1920
+ * @param data.requestBody
1921
+ * @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
1922
+ * @throws ApiError
1923
+ */
1924
+ public putApiCrmServiceTaxOfficesByIdAddressesByAddressId(data: PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdResponse> {
1925
+ return this.httpRequest.request({
1926
+ method: 'PUT',
1927
+ url: '/api/crm-service/tax-offices/{id}/addresses/{addressId}',
1928
+ path: {
1929
+ id: data.id,
1930
+ addressId: data.addressId
1931
+ },
1932
+ body: data.requestBody,
1933
+ mediaType: 'application/json',
1934
+ errors: {
1935
+ 400: 'Bad Request',
1936
+ 401: 'Unauthorized',
1937
+ 403: 'Forbidden',
1938
+ 404: 'Not Found',
1939
+ 500: 'Server Error',
1940
+ 501: 'Server Error'
1941
+ }
1942
+ });
1943
+ }
1944
+
1945
+ /**
1946
+ * @param data The data for the request.
1947
+ * @param data.id
1948
+ * @param data.emailId
1949
+ * @param data.requestBody
1950
+ * @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
1951
+ * @throws ApiError
1952
+ */
1953
+ public putApiCrmServiceTaxOfficesByIdEmailsByEmailId(data: PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse> {
1954
+ return this.httpRequest.request({
1955
+ method: 'PUT',
1956
+ url: '/api/crm-service/tax-offices/{id}/emails/{emailId}',
1957
+ path: {
1958
+ id: data.id,
1959
+ emailId: data.emailId
1960
+ },
1961
+ body: data.requestBody,
1962
+ mediaType: 'application/json',
1963
+ errors: {
1964
+ 400: 'Bad Request',
1965
+ 401: 'Unauthorized',
1966
+ 403: 'Forbidden',
1967
+ 404: 'Not Found',
1968
+ 500: 'Server Error',
1969
+ 501: 'Server Error'
1970
+ }
1971
+ });
1972
+ }
1973
+
1974
+ }
1975
+
1976
+ export class TelephoneTypeService {
1977
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1978
+
1979
+ /**
1980
+ * @param data The data for the request.
1981
+ * @param data.sorting
1982
+ * @param data.skipCount
1983
+ * @param data.maxResultCount
1984
+ * @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
1985
+ * @throws ApiError
1986
+ */
1987
+ public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
1988
+ return this.httpRequest.request({
1989
+ method: 'GET',
1990
+ url: '/api/crm-service/telephones',
1991
+ query: {
1992
+ Sorting: data.sorting,
1993
+ SkipCount: data.skipCount,
1994
+ MaxResultCount: data.maxResultCount
1995
+ },
1996
+ errors: {
1997
+ 400: 'Bad Request',
1998
+ 401: 'Unauthorized',
1999
+ 403: 'Forbidden',
2000
+ 404: 'Not Found',
2001
+ 500: 'Server Error',
2002
+ 501: 'Server Error'
2003
+ }
2004
+ });
2005
+ }
2006
+
2007
+ /**
2008
+ * @param data The data for the request.
2009
+ * @param data.requestBody
2010
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2011
+ * @throws ApiError
2012
+ */
2013
+ public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
2014
+ return this.httpRequest.request({
2015
+ method: 'POST',
2016
+ url: '/api/crm-service/telephones',
2017
+ body: data.requestBody,
2018
+ mediaType: 'application/json',
2019
+ errors: {
2020
+ 400: 'Bad Request',
2021
+ 401: 'Unauthorized',
2022
+ 403: 'Forbidden',
2023
+ 404: 'Not Found',
2024
+ 500: 'Server Error',
2025
+ 501: 'Server Error'
2026
+ }
2027
+ });
2028
+ }
2029
+
2030
+ /**
2031
+ * @param data The data for the request.
2032
+ * @param data.id
2033
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2034
+ * @throws ApiError
2035
+ */
2036
+ public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
2037
+ return this.httpRequest.request({
2038
+ method: 'GET',
2039
+ url: '/api/crm-service/telephones/{id}',
2040
+ path: {
2041
+ id: data.id
2042
+ },
2043
+ errors: {
2044
+ 400: 'Bad Request',
2045
+ 401: 'Unauthorized',
2046
+ 403: 'Forbidden',
2047
+ 404: 'Not Found',
2048
+ 500: 'Server Error',
2049
+ 501: 'Server Error'
2050
+ }
2051
+ });
2052
+ }
2053
+
2054
+ /**
2055
+ * @param data The data for the request.
2056
+ * @param data.id
2057
+ * @param data.requestBody
2058
+ * @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
2059
+ * @throws ApiError
2060
+ */
2061
+ public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
2062
+ return this.httpRequest.request({
2063
+ method: 'PUT',
2064
+ url: '/api/crm-service/telephones/{id}',
2065
+ path: {
2066
+ id: data.id
2067
+ },
2068
+ body: data.requestBody,
2069
+ mediaType: 'application/json',
2070
+ errors: {
2071
+ 400: 'Bad Request',
2072
+ 401: 'Unauthorized',
2073
+ 403: 'Forbidden',
2074
+ 404: 'Not Found',
2075
+ 500: 'Server Error',
2076
+ 501: 'Server Error'
2077
+ }
2078
+ });
2079
+ }
2080
+
2081
+ /**
2082
+ * @param data The data for the request.
2083
+ * @param data.id
2084
+ * @returns unknown Success
2085
+ * @throws ApiError
2086
+ */
2087
+ public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
2088
+ return this.httpRequest.request({
2089
+ method: 'DELETE',
2090
+ url: '/api/crm-service/telephones/{id}',
2091
+ path: {
2092
+ id: data.id
2093
+ },
2094
+ errors: {
2095
+ 400: 'Bad Request',
2096
+ 401: 'Unauthorized',
2097
+ 403: 'Forbidden',
2098
+ 404: 'Not Found',
2099
+ 500: 'Server Error',
2100
+ 501: 'Server Error'
2101
+ }
2102
+ });
2103
+ }
2104
+
2105
2105
  }