@ayasofyazilim/saas 0.0.29 → 0.0.31

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