@ayasofyazilim/saas 0.0.38 → 0.0.40
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.
- package/AccountService/core/ApiRequestOptions.ts +12 -12
- package/AccountService/core/BaseHttpRequest.ts +9 -9
- package/AccountService/core/FetchHttpRequest.ts +21 -21
- package/AccountService/core/OpenAPI.ts +55 -55
- package/AccountService/core/request.ts +340 -340
- package/AdministrationService/core/ApiRequestOptions.ts +12 -12
- package/AdministrationService/core/BaseHttpRequest.ts +9 -9
- package/AdministrationService/core/FetchHttpRequest.ts +21 -21
- package/AdministrationService/core/OpenAPI.ts +55 -55
- package/AdministrationService/core/request.ts +340 -340
- package/BackerService/core/ApiRequestOptions.ts +12 -12
- package/BackerService/core/BaseHttpRequest.ts +9 -9
- package/BackerService/core/FetchHttpRequest.ts +21 -21
- package/BackerService/core/OpenAPI.ts +55 -55
- package/BackerService/core/request.ts +340 -340
- package/CRMService/schemas.gen.ts +15920 -15920
- package/CRMService/services.gen.ts +2052 -2052
- package/CRMService/types.gen.ts +4106 -4106
- package/ContractService/schemas.gen.ts +258 -157
- package/ContractService/services.gen.ts +139 -139
- package/ContractService/types.gen.ts +231 -217
- package/FundraiserService/core/ApiRequestOptions.ts +12 -12
- package/FundraiserService/core/BaseHttpRequest.ts +9 -9
- package/FundraiserService/core/FetchHttpRequest.ts +21 -21
- package/FundraiserService/core/OpenAPI.ts +55 -55
- package/FundraiserService/core/request.ts +340 -340
- package/IdentityService/core/ApiRequestOptions.ts +12 -12
- package/IdentityService/core/BaseHttpRequest.ts +9 -9
- package/IdentityService/core/FetchHttpRequest.ts +21 -21
- package/IdentityService/core/OpenAPI.ts +55 -55
- package/IdentityService/core/request.ts +340 -340
- package/LocationService/LocationServiceClient.ts +110 -0
- package/LocationService/core/ApiError.ts +21 -0
- package/LocationService/core/ApiRequestOptions.ts +13 -0
- package/LocationService/core/ApiResult.ts +7 -0
- package/LocationService/core/BaseHttpRequest.ts +10 -0
- package/LocationService/core/CancelablePromise.ts +126 -0
- package/LocationService/core/FetchHttpRequest.ts +22 -0
- package/LocationService/core/OpenAPI.ts +56 -0
- package/LocationService/core/request.ts +341 -0
- package/LocationService/index.ts +9 -0
- package/LocationService/schemas.gen.ts +10137 -0
- package/LocationService/services.gen.ts +3393 -0
- package/LocationService/types.gen.ts +6508 -0
- package/MerchantService/core/ApiRequestOptions.ts +12 -12
- package/MerchantService/core/BaseHttpRequest.ts +9 -9
- package/MerchantService/core/FetchHttpRequest.ts +21 -21
- package/MerchantService/core/OpenAPI.ts +55 -55
- package/MerchantService/core/request.ts +340 -340
- package/MerchantService/schemas.gen.ts +14764 -14764
- package/MerchantService/services.gen.ts +1602 -1602
- package/ProjectService/core/ApiRequestOptions.ts +12 -12
- package/ProjectService/core/BaseHttpRequest.ts +9 -9
- package/ProjectService/core/FetchHttpRequest.ts +21 -21
- package/ProjectService/core/OpenAPI.ts +55 -55
- package/ProjectService/core/request.ts +340 -340
- package/ProjectService.json +2937 -2937
- package/SaasService/core/ApiRequestOptions.ts +12 -12
- package/SaasService/core/BaseHttpRequest.ts +9 -9
- package/SaasService/core/FetchHttpRequest.ts +21 -21
- package/SaasService/core/OpenAPI.ts +55 -55
- package/SaasService/core/request.ts +340 -340
- package/TravellerService/TravellerServiceClient.ts +56 -56
- package/TravellerService/core/ApiError.ts +20 -20
- package/TravellerService/core/ApiRequestOptions.ts +12 -12
- package/TravellerService/core/ApiResult.ts +6 -6
- package/TravellerService/core/BaseHttpRequest.ts +9 -9
- package/TravellerService/core/CancelablePromise.ts +125 -125
- package/TravellerService/core/FetchHttpRequest.ts +21 -21
- package/TravellerService/core/OpenAPI.ts +55 -55
- package/TravellerService/core/request.ts +340 -340
- package/TravellerService/index.ts +8 -8
- package/TravellerService/schemas.gen.ts +6204 -6204
- package/TravellerService/services.gen.ts +695 -695
- package/TravellerService/types.gen.ts +1808 -1808
- package/generator.mjs +13 -4
- package/package.json +1 -1
- package/swagger.json +4794 -4794
|
@@ -1,2053 +1,2053 @@
|
|
|
1
|
-
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
-
|
|
3
|
-
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
|
-
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
-
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiCrmServiceAddressesData, GetApiCrmServiceAddressesResponse, PostApiCrmServiceAddressesData, PostApiCrmServiceAddressesResponse, GetApiCrmServiceAddressesByIdData, GetApiCrmServiceAddressesByIdResponse, PutApiCrmServiceAddressesByIdData, PutApiCrmServiceAddressesByIdResponse, DeleteApiCrmServiceAddressesByIdData, DeleteApiCrmServiceAddressesByIdResponse, GetApiCrmServiceCustomsData, GetApiCrmServiceCustomsResponse, GetApiCrmServiceCustomsDetailByIdData, GetApiCrmServiceCustomsDetailByIdResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsWithComponentsByIdData, DeleteApiCrmServiceCustomsWithComponentsByIdResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse, PutApiCrmServiceCustomsByCustomsIdTelephoneByIdData, PutApiCrmServiceCustomsByCustomsIdTelephoneByIdResponse, PutApiCrmServiceCustomsByCustomsIdAddressByIdData, PutApiCrmServiceCustomsByCustomsIdAddressByIdResponse, PutApiCrmServiceCustomsByCustomsIdEmailByIdData, PutApiCrmServiceCustomsByCustomsIdEmailByIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsDetailByIdData, GetApiCrmServiceMerchantsDetailByIdResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsWithComponentsByIdData, DeleteApiCrmServiceMerchantsWithComponentsByIdResponse, PostApiCrmServiceMerchantsByMerchantIdAffiliationsData, PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, GetApiCrmServiceMerchantsByMerchantIdAffiliationsData, GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantData, PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse, PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdData, PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdResponse, PutApiCrmServiceMerchantsByMerchantIdAddressByIdData, PutApiCrmServiceMerchantsByMerchantIdAddressByIdResponse, PutApiCrmServiceMerchantsByMerchantIdEmailByIdData, PutApiCrmServiceMerchantsByMerchantIdEmailByIdResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsDetailByIdData, GetApiCrmServiceRefundPointsDetailByIdResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsWithComponentsByIdData, DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdData, PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdData, PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdData, PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdData, PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesDetailByIdData, GetApiCrmServiceTaxFreesDetailByIdResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesWithComponentsByIdData, DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesDetailByIdData, GetApiCrmServiceTaxOfficesDetailByIdResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesWithComponentsByIdData, DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdResponse, GetApiCrmServiceTelephonesData, GetApiCrmServiceTelephonesResponse, PostApiCrmServiceTelephonesData, PostApiCrmServiceTelephonesResponse, GetApiCrmServiceTelephonesByIdData, GetApiCrmServiceTelephonesByIdResponse, PutApiCrmServiceTelephonesByIdData, PutApiCrmServiceTelephonesByIdResponse, DeleteApiCrmServiceTelephonesByIdData, DeleteApiCrmServiceTelephonesByIdResponse } from './types.gen';
|
|
6
|
-
|
|
7
|
-
export class AbpApiDefinitionService {
|
|
8
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* @param data The data for the request.
|
|
12
|
-
* @param data.includeTypes
|
|
13
|
-
* @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
|
|
14
|
-
* @throws ApiError
|
|
15
|
-
*/
|
|
16
|
-
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
-
return this.httpRequest.request({
|
|
18
|
-
method: 'GET',
|
|
19
|
-
url: '/api/abp/api-definition',
|
|
20
|
-
query: {
|
|
21
|
-
IncludeTypes: data.includeTypes
|
|
22
|
-
},
|
|
23
|
-
errors: {
|
|
24
|
-
400: 'Bad Request',
|
|
25
|
-
401: 'Unauthorized',
|
|
26
|
-
403: 'Forbidden',
|
|
27
|
-
404: 'Not Found',
|
|
28
|
-
500: 'Server Error',
|
|
29
|
-
501: 'Server Error'
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export class AbpApplicationConfigurationService {
|
|
37
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* @param data The data for the request.
|
|
41
|
-
* @param data.includeLocalizationResources
|
|
42
|
-
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
|
|
43
|
-
* @throws ApiError
|
|
44
|
-
*/
|
|
45
|
-
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
-
return this.httpRequest.request({
|
|
47
|
-
method: 'GET',
|
|
48
|
-
url: '/api/abp/application-configuration',
|
|
49
|
-
query: {
|
|
50
|
-
IncludeLocalizationResources: data.includeLocalizationResources
|
|
51
|
-
},
|
|
52
|
-
errors: {
|
|
53
|
-
400: 'Bad Request',
|
|
54
|
-
401: 'Unauthorized',
|
|
55
|
-
403: 'Forbidden',
|
|
56
|
-
404: 'Not Found',
|
|
57
|
-
500: 'Server Error',
|
|
58
|
-
501: 'Server Error'
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export class AbpApplicationLocalizationService {
|
|
66
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
-
|
|
68
|
-
/**
|
|
69
|
-
* @param data The data for the request.
|
|
70
|
-
* @param data.cultureName
|
|
71
|
-
* @param data.onlyDynamics
|
|
72
|
-
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
|
|
73
|
-
* @throws ApiError
|
|
74
|
-
*/
|
|
75
|
-
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
-
return this.httpRequest.request({
|
|
77
|
-
method: 'GET',
|
|
78
|
-
url: '/api/abp/application-localization',
|
|
79
|
-
query: {
|
|
80
|
-
CultureName: data.cultureName,
|
|
81
|
-
OnlyDynamics: data.onlyDynamics
|
|
82
|
-
},
|
|
83
|
-
errors: {
|
|
84
|
-
400: 'Bad Request',
|
|
85
|
-
401: 'Unauthorized',
|
|
86
|
-
403: 'Forbidden',
|
|
87
|
-
404: 'Not Found',
|
|
88
|
-
500: 'Server Error',
|
|
89
|
-
501: 'Server Error'
|
|
90
|
-
}
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export class AddressTypeService {
|
|
97
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @param data The data for the request.
|
|
101
|
-
* @param data.sorting
|
|
102
|
-
* @param data.skipCount
|
|
103
|
-
* @param data.maxResultCount
|
|
104
|
-
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AddressTypes_AddressTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
105
|
-
* @throws ApiError
|
|
106
|
-
*/
|
|
107
|
-
public getApiCrmServiceAddresses(data: GetApiCrmServiceAddressesData = {}): CancelablePromise<GetApiCrmServiceAddressesResponse> {
|
|
108
|
-
return this.httpRequest.request({
|
|
109
|
-
method: 'GET',
|
|
110
|
-
url: '/api/crm-service/addresses',
|
|
111
|
-
query: {
|
|
112
|
-
Sorting: data.sorting,
|
|
113
|
-
SkipCount: data.skipCount,
|
|
114
|
-
MaxResultCount: data.maxResultCount
|
|
115
|
-
},
|
|
116
|
-
errors: {
|
|
117
|
-
400: 'Bad Request',
|
|
118
|
-
401: 'Unauthorized',
|
|
119
|
-
403: 'Forbidden',
|
|
120
|
-
404: 'Not Found',
|
|
121
|
-
500: 'Server Error',
|
|
122
|
-
501: 'Server Error'
|
|
123
|
-
}
|
|
124
|
-
});
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/**
|
|
128
|
-
* @param data The data for the request.
|
|
129
|
-
* @param data.requestBody
|
|
130
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
131
|
-
* @throws ApiError
|
|
132
|
-
*/
|
|
133
|
-
public postApiCrmServiceAddresses(data: PostApiCrmServiceAddressesData = {}): CancelablePromise<PostApiCrmServiceAddressesResponse> {
|
|
134
|
-
return this.httpRequest.request({
|
|
135
|
-
method: 'POST',
|
|
136
|
-
url: '/api/crm-service/addresses',
|
|
137
|
-
body: data.requestBody,
|
|
138
|
-
mediaType: 'application/json',
|
|
139
|
-
errors: {
|
|
140
|
-
400: 'Bad Request',
|
|
141
|
-
401: 'Unauthorized',
|
|
142
|
-
403: 'Forbidden',
|
|
143
|
-
404: 'Not Found',
|
|
144
|
-
500: 'Server Error',
|
|
145
|
-
501: 'Server Error'
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* @param data The data for the request.
|
|
152
|
-
* @param data.id
|
|
153
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
154
|
-
* @throws ApiError
|
|
155
|
-
*/
|
|
156
|
-
public getApiCrmServiceAddressesById(data: GetApiCrmServiceAddressesByIdData): CancelablePromise<GetApiCrmServiceAddressesByIdResponse> {
|
|
157
|
-
return this.httpRequest.request({
|
|
158
|
-
method: 'GET',
|
|
159
|
-
url: '/api/crm-service/addresses/{id}',
|
|
160
|
-
path: {
|
|
161
|
-
id: data.id
|
|
162
|
-
},
|
|
163
|
-
errors: {
|
|
164
|
-
400: 'Bad Request',
|
|
165
|
-
401: 'Unauthorized',
|
|
166
|
-
403: 'Forbidden',
|
|
167
|
-
404: 'Not Found',
|
|
168
|
-
500: 'Server Error',
|
|
169
|
-
501: 'Server Error'
|
|
170
|
-
}
|
|
171
|
-
});
|
|
172
|
-
}
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* @param data The data for the request.
|
|
176
|
-
* @param data.id
|
|
177
|
-
* @param data.requestBody
|
|
178
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
179
|
-
* @throws ApiError
|
|
180
|
-
*/
|
|
181
|
-
public putApiCrmServiceAddressesById(data: PutApiCrmServiceAddressesByIdData): CancelablePromise<PutApiCrmServiceAddressesByIdResponse> {
|
|
182
|
-
return this.httpRequest.request({
|
|
183
|
-
method: 'PUT',
|
|
184
|
-
url: '/api/crm-service/addresses/{id}',
|
|
185
|
-
path: {
|
|
186
|
-
id: data.id
|
|
187
|
-
},
|
|
188
|
-
body: data.requestBody,
|
|
189
|
-
mediaType: 'application/json',
|
|
190
|
-
errors: {
|
|
191
|
-
400: 'Bad Request',
|
|
192
|
-
401: 'Unauthorized',
|
|
193
|
-
403: 'Forbidden',
|
|
194
|
-
404: 'Not Found',
|
|
195
|
-
500: 'Server Error',
|
|
196
|
-
501: 'Server Error'
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* @param data The data for the request.
|
|
203
|
-
* @param data.id
|
|
204
|
-
* @returns unknown Success
|
|
205
|
-
* @throws ApiError
|
|
206
|
-
*/
|
|
207
|
-
public deleteApiCrmServiceAddressesById(data: DeleteApiCrmServiceAddressesByIdData): CancelablePromise<DeleteApiCrmServiceAddressesByIdResponse> {
|
|
208
|
-
return this.httpRequest.request({
|
|
209
|
-
method: 'DELETE',
|
|
210
|
-
url: '/api/crm-service/addresses/{id}',
|
|
211
|
-
path: {
|
|
212
|
-
id: data.id
|
|
213
|
-
},
|
|
214
|
-
errors: {
|
|
215
|
-
400: 'Bad Request',
|
|
216
|
-
401: 'Unauthorized',
|
|
217
|
-
403: 'Forbidden',
|
|
218
|
-
404: 'Not Found',
|
|
219
|
-
500: 'Server Error',
|
|
220
|
-
501: 'Server Error'
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
export class CustomsService {
|
|
228
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
229
|
-
|
|
230
|
-
/**
|
|
231
|
-
* @param data The data for the request.
|
|
232
|
-
* @param data.sorting
|
|
233
|
-
* @param data.skipCount
|
|
234
|
-
* @param data.maxResultCount
|
|
235
|
-
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Customss_CustomsProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
236
|
-
* @throws ApiError
|
|
237
|
-
*/
|
|
238
|
-
public getApiCrmServiceCustoms(data: GetApiCrmServiceCustomsData = {}): CancelablePromise<GetApiCrmServiceCustomsResponse> {
|
|
239
|
-
return this.httpRequest.request({
|
|
240
|
-
method: 'GET',
|
|
241
|
-
url: '/api/crm-service/customs',
|
|
242
|
-
query: {
|
|
243
|
-
Sorting: data.sorting,
|
|
244
|
-
SkipCount: data.skipCount,
|
|
245
|
-
MaxResultCount: data.maxResultCount
|
|
246
|
-
},
|
|
247
|
-
errors: {
|
|
248
|
-
400: 'Bad Request',
|
|
249
|
-
401: 'Unauthorized',
|
|
250
|
-
403: 'Forbidden',
|
|
251
|
-
404: 'Not Found',
|
|
252
|
-
500: 'Server Error',
|
|
253
|
-
501: 'Server Error'
|
|
254
|
-
}
|
|
255
|
-
});
|
|
256
|
-
}
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @param data The data for the request.
|
|
260
|
-
* @param data.id
|
|
261
|
-
* @returns UniRefund_CRMService_Customss_CustomsDto Success
|
|
262
|
-
* @throws ApiError
|
|
263
|
-
*/
|
|
264
|
-
public getApiCrmServiceCustomsDetailById(data: GetApiCrmServiceCustomsDetailByIdData): CancelablePromise<GetApiCrmServiceCustomsDetailByIdResponse> {
|
|
265
|
-
return this.httpRequest.request({
|
|
266
|
-
method: 'GET',
|
|
267
|
-
url: '/api/crm-service/customs/detail/{id}',
|
|
268
|
-
path: {
|
|
269
|
-
id: data.id
|
|
270
|
-
},
|
|
271
|
-
errors: {
|
|
272
|
-
400: 'Bad Request',
|
|
273
|
-
401: 'Unauthorized',
|
|
274
|
-
403: 'Forbidden',
|
|
275
|
-
404: 'Not Found',
|
|
276
|
-
500: 'Server Error',
|
|
277
|
-
501: 'Server Error'
|
|
278
|
-
}
|
|
279
|
-
});
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
/**
|
|
283
|
-
* @param data The data for the request.
|
|
284
|
-
* @param data.requestBody
|
|
285
|
-
* @returns unknown Success
|
|
286
|
-
* @throws ApiError
|
|
287
|
-
*/
|
|
288
|
-
public postApiCrmServiceCustomsWithComponents(data: PostApiCrmServiceCustomsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceCustomsWithComponentsResponse> {
|
|
289
|
-
return this.httpRequest.request({
|
|
290
|
-
method: 'POST',
|
|
291
|
-
url: '/api/crm-service/customs/with-components',
|
|
292
|
-
body: data.requestBody,
|
|
293
|
-
mediaType: 'application/json',
|
|
294
|
-
errors: {
|
|
295
|
-
400: 'Bad Request',
|
|
296
|
-
401: 'Unauthorized',
|
|
297
|
-
403: 'Forbidden',
|
|
298
|
-
404: 'Not Found',
|
|
299
|
-
500: 'Server Error',
|
|
300
|
-
501: 'Server Error'
|
|
301
|
-
}
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
/**
|
|
306
|
-
* @param data The data for the request.
|
|
307
|
-
* @param data.id
|
|
308
|
-
* @returns unknown Success
|
|
309
|
-
* @throws ApiError
|
|
310
|
-
*/
|
|
311
|
-
public deleteApiCrmServiceCustomsWithComponentsById(data: DeleteApiCrmServiceCustomsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceCustomsWithComponentsByIdResponse> {
|
|
312
|
-
return this.httpRequest.request({
|
|
313
|
-
method: 'DELETE',
|
|
314
|
-
url: '/api/crm-service/customs/with-components/{id}',
|
|
315
|
-
path: {
|
|
316
|
-
id: data.id
|
|
317
|
-
},
|
|
318
|
-
errors: {
|
|
319
|
-
400: 'Bad Request',
|
|
320
|
-
401: 'Unauthorized',
|
|
321
|
-
403: 'Forbidden',
|
|
322
|
-
404: 'Not Found',
|
|
323
|
-
500: 'Server Error',
|
|
324
|
-
501: 'Server Error'
|
|
325
|
-
}
|
|
326
|
-
});
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
/**
|
|
330
|
-
* @param data The data for the request.
|
|
331
|
-
* @param data.id
|
|
332
|
-
* @param data.requestBody
|
|
333
|
-
* @returns unknown Success
|
|
334
|
-
* @throws ApiError
|
|
335
|
-
*/
|
|
336
|
-
public postApiCrmServiceCustomsByIdAffiliations(data: PostApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceCustomsByIdAffiliationsResponse> {
|
|
337
|
-
return this.httpRequest.request({
|
|
338
|
-
method: 'POST',
|
|
339
|
-
url: '/api/crm-service/customs/{id}/affiliations',
|
|
340
|
-
path: {
|
|
341
|
-
id: data.id
|
|
342
|
-
},
|
|
343
|
-
body: data.requestBody,
|
|
344
|
-
mediaType: 'application/json',
|
|
345
|
-
errors: {
|
|
346
|
-
400: 'Bad Request',
|
|
347
|
-
401: 'Unauthorized',
|
|
348
|
-
403: 'Forbidden',
|
|
349
|
-
404: 'Not Found',
|
|
350
|
-
500: 'Server Error',
|
|
351
|
-
501: 'Server Error'
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
}
|
|
355
|
-
|
|
356
|
-
/**
|
|
357
|
-
* @param data The data for the request.
|
|
358
|
-
* @param data.id
|
|
359
|
-
* @param data.sorting
|
|
360
|
-
* @param data.skipCount
|
|
361
|
-
* @param data.maxResultCount
|
|
362
|
-
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
363
|
-
* @throws ApiError
|
|
364
|
-
*/
|
|
365
|
-
public getApiCrmServiceCustomsByIdAffiliations(data: GetApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceCustomsByIdAffiliationsResponse> {
|
|
366
|
-
return this.httpRequest.request({
|
|
367
|
-
method: 'GET',
|
|
368
|
-
url: '/api/crm-service/customs/{id}/affiliations',
|
|
369
|
-
path: {
|
|
370
|
-
id: data.id
|
|
371
|
-
},
|
|
372
|
-
query: {
|
|
373
|
-
Sorting: data.sorting,
|
|
374
|
-
SkipCount: data.skipCount,
|
|
375
|
-
MaxResultCount: data.maxResultCount
|
|
376
|
-
},
|
|
377
|
-
errors: {
|
|
378
|
-
400: 'Bad Request',
|
|
379
|
-
401: 'Unauthorized',
|
|
380
|
-
403: 'Forbidden',
|
|
381
|
-
404: 'Not Found',
|
|
382
|
-
500: 'Server Error',
|
|
383
|
-
501: 'Server Error'
|
|
384
|
-
}
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
/**
|
|
389
|
-
* @param data The data for the request.
|
|
390
|
-
* @param data.id
|
|
391
|
-
* @param data.organizationId
|
|
392
|
-
* @param data.requestBody
|
|
393
|
-
* @returns unknown Success
|
|
394
|
-
* @throws ApiError
|
|
395
|
-
*/
|
|
396
|
-
public putApiCrmServiceCustomsByIdOrganizationByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse> {
|
|
397
|
-
return this.httpRequest.request({
|
|
398
|
-
method: 'PUT',
|
|
399
|
-
url: '/api/crm-service/customs/{id}/organization/{organizationId}',
|
|
400
|
-
path: {
|
|
401
|
-
id: data.id,
|
|
402
|
-
organizationId: data.organizationId
|
|
403
|
-
},
|
|
404
|
-
body: data.requestBody,
|
|
405
|
-
mediaType: 'application/json',
|
|
406
|
-
errors: {
|
|
407
|
-
400: 'Bad Request',
|
|
408
|
-
401: 'Unauthorized',
|
|
409
|
-
403: 'Forbidden',
|
|
410
|
-
404: 'Not Found',
|
|
411
|
-
500: 'Server Error',
|
|
412
|
-
501: 'Server Error'
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* @param data The data for the request.
|
|
419
|
-
* @param data.customsId
|
|
420
|
-
* @param data.id
|
|
421
|
-
* @param data.requestBody
|
|
422
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
423
|
-
* @throws ApiError
|
|
424
|
-
*/
|
|
425
|
-
public putApiCrmServiceCustomsByCustomsIdTelephoneById(data: PutApiCrmServiceCustomsByCustomsIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdTelephoneByIdResponse> {
|
|
426
|
-
return this.httpRequest.request({
|
|
427
|
-
method: 'PUT',
|
|
428
|
-
url: '/api/crm-service/customs/{customsId}/telephone/{id}',
|
|
429
|
-
path: {
|
|
430
|
-
customsId: data.customsId,
|
|
431
|
-
id: data.id
|
|
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.customsId
|
|
449
|
-
* @param data.id
|
|
450
|
-
* @param data.requestBody
|
|
451
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
452
|
-
* @throws ApiError
|
|
453
|
-
*/
|
|
454
|
-
public putApiCrmServiceCustomsByCustomsIdAddressById(data: PutApiCrmServiceCustomsByCustomsIdAddressByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdAddressByIdResponse> {
|
|
455
|
-
return this.httpRequest.request({
|
|
456
|
-
method: 'PUT',
|
|
457
|
-
url: '/api/crm-service/customs/{customsId}/address/{id}',
|
|
458
|
-
path: {
|
|
459
|
-
customsId: data.customsId,
|
|
460
|
-
id: data.id
|
|
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.customsId
|
|
478
|
-
* @param data.id
|
|
479
|
-
* @param data.requestBody
|
|
480
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
481
|
-
* @throws ApiError
|
|
482
|
-
*/
|
|
483
|
-
public putApiCrmServiceCustomsByCustomsIdEmailById(data: PutApiCrmServiceCustomsByCustomsIdEmailByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdEmailByIdResponse> {
|
|
484
|
-
return this.httpRequest.request({
|
|
485
|
-
method: 'PUT',
|
|
486
|
-
url: '/api/crm-service/customs/{customsId}/email/{id}',
|
|
487
|
-
path: {
|
|
488
|
-
customsId: data.customsId,
|
|
489
|
-
id: data.id
|
|
490
|
-
},
|
|
491
|
-
body: data.requestBody,
|
|
492
|
-
mediaType: 'application/json',
|
|
493
|
-
errors: {
|
|
494
|
-
400: 'Bad Request',
|
|
495
|
-
401: 'Unauthorized',
|
|
496
|
-
403: 'Forbidden',
|
|
497
|
-
404: 'Not Found',
|
|
498
|
-
500: 'Server Error',
|
|
499
|
-
501: 'Server Error'
|
|
500
|
-
}
|
|
501
|
-
});
|
|
502
|
-
}
|
|
503
|
-
|
|
504
|
-
}
|
|
505
|
-
|
|
506
|
-
export class EmailCommonDataService {
|
|
507
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
508
|
-
|
|
509
|
-
/**
|
|
510
|
-
* @param data The data for the request.
|
|
511
|
-
* @param data.sorting
|
|
512
|
-
* @param data.skipCount
|
|
513
|
-
* @param data.maxResultCount
|
|
514
|
-
* @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
|
|
515
|
-
* @throws ApiError
|
|
516
|
-
*/
|
|
517
|
-
public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
|
|
518
|
-
return this.httpRequest.request({
|
|
519
|
-
method: 'GET',
|
|
520
|
-
url: '/api/crm-service/emails',
|
|
521
|
-
query: {
|
|
522
|
-
Sorting: data.sorting,
|
|
523
|
-
SkipCount: data.skipCount,
|
|
524
|
-
MaxResultCount: data.maxResultCount
|
|
525
|
-
},
|
|
526
|
-
errors: {
|
|
527
|
-
400: 'Bad Request',
|
|
528
|
-
401: 'Unauthorized',
|
|
529
|
-
403: 'Forbidden',
|
|
530
|
-
404: 'Not Found',
|
|
531
|
-
500: 'Server Error',
|
|
532
|
-
501: 'Server Error'
|
|
533
|
-
}
|
|
534
|
-
});
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
/**
|
|
538
|
-
* @param data The data for the request.
|
|
539
|
-
* @param data.requestBody
|
|
540
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
541
|
-
* @throws ApiError
|
|
542
|
-
*/
|
|
543
|
-
public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
|
|
544
|
-
return this.httpRequest.request({
|
|
545
|
-
method: 'POST',
|
|
546
|
-
url: '/api/crm-service/emails',
|
|
547
|
-
body: data.requestBody,
|
|
548
|
-
mediaType: 'application/json',
|
|
549
|
-
errors: {
|
|
550
|
-
400: 'Bad Request',
|
|
551
|
-
401: 'Unauthorized',
|
|
552
|
-
403: 'Forbidden',
|
|
553
|
-
404: 'Not Found',
|
|
554
|
-
500: 'Server Error',
|
|
555
|
-
501: 'Server Error'
|
|
556
|
-
}
|
|
557
|
-
});
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
/**
|
|
561
|
-
* @param data The data for the request.
|
|
562
|
-
* @param data.id
|
|
563
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
564
|
-
* @throws ApiError
|
|
565
|
-
*/
|
|
566
|
-
public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
|
|
567
|
-
return this.httpRequest.request({
|
|
568
|
-
method: 'GET',
|
|
569
|
-
url: '/api/crm-service/emails/{id}',
|
|
570
|
-
path: {
|
|
571
|
-
id: data.id
|
|
572
|
-
},
|
|
573
|
-
errors: {
|
|
574
|
-
400: 'Bad Request',
|
|
575
|
-
401: 'Unauthorized',
|
|
576
|
-
403: 'Forbidden',
|
|
577
|
-
404: 'Not Found',
|
|
578
|
-
500: 'Server Error',
|
|
579
|
-
501: 'Server Error'
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
}
|
|
583
|
-
|
|
584
|
-
/**
|
|
585
|
-
* @param data The data for the request.
|
|
586
|
-
* @param data.id
|
|
587
|
-
* @param data.requestBody
|
|
588
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
589
|
-
* @throws ApiError
|
|
590
|
-
*/
|
|
591
|
-
public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
|
|
592
|
-
return this.httpRequest.request({
|
|
593
|
-
method: 'PUT',
|
|
594
|
-
url: '/api/crm-service/emails/{id}',
|
|
595
|
-
path: {
|
|
596
|
-
id: data.id
|
|
597
|
-
},
|
|
598
|
-
body: data.requestBody,
|
|
599
|
-
mediaType: 'application/json',
|
|
600
|
-
errors: {
|
|
601
|
-
400: 'Bad Request',
|
|
602
|
-
401: 'Unauthorized',
|
|
603
|
-
403: 'Forbidden',
|
|
604
|
-
404: 'Not Found',
|
|
605
|
-
500: 'Server Error',
|
|
606
|
-
501: 'Server Error'
|
|
607
|
-
}
|
|
608
|
-
});
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
* @param data The data for the request.
|
|
613
|
-
* @param data.id
|
|
614
|
-
* @returns unknown Success
|
|
615
|
-
* @throws ApiError
|
|
616
|
-
*/
|
|
617
|
-
public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
|
|
618
|
-
return this.httpRequest.request({
|
|
619
|
-
method: 'DELETE',
|
|
620
|
-
url: '/api/crm-service/emails/{id}',
|
|
621
|
-
path: {
|
|
622
|
-
id: data.id
|
|
623
|
-
},
|
|
624
|
-
errors: {
|
|
625
|
-
400: 'Bad Request',
|
|
626
|
-
401: 'Unauthorized',
|
|
627
|
-
403: 'Forbidden',
|
|
628
|
-
404: 'Not Found',
|
|
629
|
-
500: 'Server Error',
|
|
630
|
-
501: 'Server Error'
|
|
631
|
-
}
|
|
632
|
-
});
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
export class IndividualService {
|
|
638
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
639
|
-
|
|
640
|
-
/**
|
|
641
|
-
* @param data The data for the request.
|
|
642
|
-
* @param data.requestBody
|
|
643
|
-
* @returns unknown Success
|
|
644
|
-
* @throws ApiError
|
|
645
|
-
*/
|
|
646
|
-
public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
|
|
647
|
-
return this.httpRequest.request({
|
|
648
|
-
method: 'POST',
|
|
649
|
-
url: '/api/crm-service/individuals/with-components',
|
|
650
|
-
body: data.requestBody,
|
|
651
|
-
mediaType: 'application/json',
|
|
652
|
-
errors: {
|
|
653
|
-
400: 'Bad Request',
|
|
654
|
-
401: 'Unauthorized',
|
|
655
|
-
403: 'Forbidden',
|
|
656
|
-
404: 'Not Found',
|
|
657
|
-
500: 'Server Error',
|
|
658
|
-
501: 'Server Error'
|
|
659
|
-
}
|
|
660
|
-
});
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
* @param data The data for the request.
|
|
665
|
-
* @param data.entityPartyTypeCode
|
|
666
|
-
* @param data.parentId
|
|
667
|
-
* @param data.sorting
|
|
668
|
-
* @param data.skipCount
|
|
669
|
-
* @param data.maxResultCount
|
|
670
|
-
* @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
|
|
671
|
-
* @throws ApiError
|
|
672
|
-
*/
|
|
673
|
-
public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
|
|
674
|
-
return this.httpRequest.request({
|
|
675
|
-
method: 'GET',
|
|
676
|
-
url: '/api/crm-service/individuals',
|
|
677
|
-
query: {
|
|
678
|
-
EntityPartyTypeCode: data.entityPartyTypeCode,
|
|
679
|
-
ParentId: data.parentId,
|
|
680
|
-
Sorting: data.sorting,
|
|
681
|
-
SkipCount: data.skipCount,
|
|
682
|
-
MaxResultCount: data.maxResultCount
|
|
683
|
-
},
|
|
684
|
-
errors: {
|
|
685
|
-
400: 'Bad Request',
|
|
686
|
-
401: 'Unauthorized',
|
|
687
|
-
403: 'Forbidden',
|
|
688
|
-
404: 'Not Found',
|
|
689
|
-
500: 'Server Error',
|
|
690
|
-
501: 'Server Error'
|
|
691
|
-
}
|
|
692
|
-
});
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
export class MerchantService {
|
|
698
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
699
|
-
|
|
700
|
-
/**
|
|
701
|
-
* @param data The data for the request.
|
|
702
|
-
* @param data.sorting
|
|
703
|
-
* @param data.skipCount
|
|
704
|
-
* @param data.maxResultCount
|
|
705
|
-
* @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
|
|
706
|
-
* @throws ApiError
|
|
707
|
-
*/
|
|
708
|
-
public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
|
|
709
|
-
return this.httpRequest.request({
|
|
710
|
-
method: 'GET',
|
|
711
|
-
url: '/api/crm-service/merchants',
|
|
712
|
-
query: {
|
|
713
|
-
Sorting: data.sorting,
|
|
714
|
-
SkipCount: data.skipCount,
|
|
715
|
-
MaxResultCount: data.maxResultCount
|
|
716
|
-
},
|
|
717
|
-
errors: {
|
|
718
|
-
400: 'Bad Request',
|
|
719
|
-
401: 'Unauthorized',
|
|
720
|
-
403: 'Forbidden',
|
|
721
|
-
404: 'Not Found',
|
|
722
|
-
500: 'Server Error',
|
|
723
|
-
501: 'Server Error'
|
|
724
|
-
}
|
|
725
|
-
});
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* @param data The data for the request.
|
|
730
|
-
* @param data.vatNumber
|
|
731
|
-
* @param data.countryCode
|
|
732
|
-
* @param data.branchId
|
|
733
|
-
* @returns UniRefund_CRMService_Merchants_MerchantInfoDto Success
|
|
734
|
-
* @throws ApiError
|
|
735
|
-
*/
|
|
736
|
-
public getApiCrmServiceMerchantsInfo(data: GetApiCrmServiceMerchantsInfoData = {}): CancelablePromise<GetApiCrmServiceMerchantsInfoResponse> {
|
|
737
|
-
return this.httpRequest.request({
|
|
738
|
-
method: 'GET',
|
|
739
|
-
url: '/api/crm-service/merchants/info',
|
|
740
|
-
query: {
|
|
741
|
-
VatNumber: data.vatNumber,
|
|
742
|
-
CountryCode: data.countryCode,
|
|
743
|
-
BranchId: data.branchId
|
|
744
|
-
},
|
|
745
|
-
errors: {
|
|
746
|
-
400: 'Bad Request',
|
|
747
|
-
401: 'Unauthorized',
|
|
748
|
-
403: 'Forbidden',
|
|
749
|
-
404: 'Not Found',
|
|
750
|
-
500: 'Server Error',
|
|
751
|
-
501: 'Server Error'
|
|
752
|
-
}
|
|
753
|
-
});
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
/**
|
|
757
|
-
* @param data The data for the request.
|
|
758
|
-
* @param data.id
|
|
759
|
-
* @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
|
|
760
|
-
* @throws ApiError
|
|
761
|
-
*/
|
|
762
|
-
public getApiCrmServiceMerchantsDetailById(data: GetApiCrmServiceMerchantsDetailByIdData): CancelablePromise<GetApiCrmServiceMerchantsDetailByIdResponse> {
|
|
763
|
-
return this.httpRequest.request({
|
|
764
|
-
method: 'GET',
|
|
765
|
-
url: '/api/crm-service/merchants/detail/{id}',
|
|
766
|
-
path: {
|
|
767
|
-
id: data.id
|
|
768
|
-
},
|
|
769
|
-
errors: {
|
|
770
|
-
400: 'Bad Request',
|
|
771
|
-
401: 'Unauthorized',
|
|
772
|
-
403: 'Forbidden',
|
|
773
|
-
404: 'Not Found',
|
|
774
|
-
500: 'Server Error',
|
|
775
|
-
501: 'Server Error'
|
|
776
|
-
}
|
|
777
|
-
});
|
|
778
|
-
}
|
|
779
|
-
|
|
780
|
-
/**
|
|
781
|
-
* @param data The data for the request.
|
|
782
|
-
* @param data.requestBody
|
|
783
|
-
* @returns unknown Success
|
|
784
|
-
* @throws ApiError
|
|
785
|
-
*/
|
|
786
|
-
public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
|
|
787
|
-
return this.httpRequest.request({
|
|
788
|
-
method: 'POST',
|
|
789
|
-
url: '/api/crm-service/merchants/with-components',
|
|
790
|
-
body: data.requestBody,
|
|
791
|
-
mediaType: 'application/json',
|
|
792
|
-
errors: {
|
|
793
|
-
400: 'Bad Request',
|
|
794
|
-
401: 'Unauthorized',
|
|
795
|
-
403: 'Forbidden',
|
|
796
|
-
404: 'Not Found',
|
|
797
|
-
500: 'Server Error',
|
|
798
|
-
501: 'Server Error'
|
|
799
|
-
}
|
|
800
|
-
});
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
* @param data The data for the request.
|
|
805
|
-
* @param data.id
|
|
806
|
-
* @returns unknown Success
|
|
807
|
-
* @throws ApiError
|
|
808
|
-
*/
|
|
809
|
-
public deleteApiCrmServiceMerchantsWithComponentsById(data: DeleteApiCrmServiceMerchantsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceMerchantsWithComponentsByIdResponse> {
|
|
810
|
-
return this.httpRequest.request({
|
|
811
|
-
method: 'DELETE',
|
|
812
|
-
url: '/api/crm-service/merchants/with-components/{id}',
|
|
813
|
-
path: {
|
|
814
|
-
id: data.id
|
|
815
|
-
},
|
|
816
|
-
errors: {
|
|
817
|
-
400: 'Bad Request',
|
|
818
|
-
401: 'Unauthorized',
|
|
819
|
-
403: 'Forbidden',
|
|
820
|
-
404: 'Not Found',
|
|
821
|
-
500: 'Server Error',
|
|
822
|
-
501: 'Server Error'
|
|
823
|
-
}
|
|
824
|
-
});
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
/**
|
|
828
|
-
* @param data The data for the request.
|
|
829
|
-
* @param data.merchantId
|
|
830
|
-
* @param data.requestBody
|
|
831
|
-
* @returns unknown Success
|
|
832
|
-
* @throws ApiError
|
|
833
|
-
*/
|
|
834
|
-
public postApiCrmServiceMerchantsByMerchantIdAffiliations(data: PostApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
|
|
835
|
-
return this.httpRequest.request({
|
|
836
|
-
method: 'POST',
|
|
837
|
-
url: '/api/crm-service/merchants/{merchantId}/affiliations',
|
|
838
|
-
path: {
|
|
839
|
-
merchantId: data.merchantId
|
|
840
|
-
},
|
|
841
|
-
body: data.requestBody,
|
|
842
|
-
mediaType: 'application/json',
|
|
843
|
-
errors: {
|
|
844
|
-
400: 'Bad Request',
|
|
845
|
-
401: 'Unauthorized',
|
|
846
|
-
403: 'Forbidden',
|
|
847
|
-
404: 'Not Found',
|
|
848
|
-
500: 'Server Error',
|
|
849
|
-
501: 'Server Error'
|
|
850
|
-
}
|
|
851
|
-
});
|
|
852
|
-
}
|
|
853
|
-
|
|
854
|
-
/**
|
|
855
|
-
* @param data The data for the request.
|
|
856
|
-
* @param data.merchantId
|
|
857
|
-
* @param data.sorting
|
|
858
|
-
* @param data.skipCount
|
|
859
|
-
* @param data.maxResultCount
|
|
860
|
-
* @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
|
|
861
|
-
* @throws ApiError
|
|
862
|
-
*/
|
|
863
|
-
public getApiCrmServiceMerchantsByMerchantIdAffiliations(data: GetApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
|
|
864
|
-
return this.httpRequest.request({
|
|
865
|
-
method: 'GET',
|
|
866
|
-
url: '/api/crm-service/merchants/{merchantId}/affiliations',
|
|
867
|
-
path: {
|
|
868
|
-
merchantId: data.merchantId
|
|
869
|
-
},
|
|
870
|
-
query: {
|
|
871
|
-
Sorting: data.sorting,
|
|
872
|
-
SkipCount: data.skipCount,
|
|
873
|
-
MaxResultCount: data.maxResultCount
|
|
874
|
-
},
|
|
875
|
-
errors: {
|
|
876
|
-
400: 'Bad Request',
|
|
877
|
-
401: 'Unauthorized',
|
|
878
|
-
403: 'Forbidden',
|
|
879
|
-
404: 'Not Found',
|
|
880
|
-
500: 'Server Error',
|
|
881
|
-
501: 'Server Error'
|
|
882
|
-
}
|
|
883
|
-
});
|
|
884
|
-
}
|
|
885
|
-
|
|
886
|
-
/**
|
|
887
|
-
* @param data The data for the request.
|
|
888
|
-
* @param data.id
|
|
889
|
-
* @param data.organizationId
|
|
890
|
-
* @param data.requestBody
|
|
891
|
-
* @returns unknown Success
|
|
892
|
-
* @throws ApiError
|
|
893
|
-
*/
|
|
894
|
-
public putApiCrmServiceMerchantsByIdOrganizationByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse> {
|
|
895
|
-
return this.httpRequest.request({
|
|
896
|
-
method: 'PUT',
|
|
897
|
-
url: '/api/crm-service/merchants/{id}/organization/{organizationId}',
|
|
898
|
-
path: {
|
|
899
|
-
id: data.id,
|
|
900
|
-
organizationId: data.organizationId
|
|
901
|
-
},
|
|
902
|
-
body: data.requestBody,
|
|
903
|
-
mediaType: 'application/json',
|
|
904
|
-
errors: {
|
|
905
|
-
400: 'Bad Request',
|
|
906
|
-
401: 'Unauthorized',
|
|
907
|
-
403: 'Forbidden',
|
|
908
|
-
404: 'Not Found',
|
|
909
|
-
500: 'Server Error',
|
|
910
|
-
501: 'Server Error'
|
|
911
|
-
}
|
|
912
|
-
});
|
|
913
|
-
}
|
|
914
|
-
|
|
915
|
-
/**
|
|
916
|
-
* @param data The data for the request.
|
|
917
|
-
* @param data.requestBody
|
|
918
|
-
* @returns unknown Success
|
|
919
|
-
* @throws ApiError
|
|
920
|
-
*/
|
|
921
|
-
public postApiCrmServiceMerchantsBulkProductGroupMerchant(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse> {
|
|
922
|
-
return this.httpRequest.request({
|
|
923
|
-
method: 'POST',
|
|
924
|
-
url: '/api/crm-service/merchants/bulk-product-group-merchant',
|
|
925
|
-
body: data.requestBody,
|
|
926
|
-
mediaType: 'application/json',
|
|
927
|
-
errors: {
|
|
928
|
-
400: 'Bad Request',
|
|
929
|
-
401: 'Unauthorized',
|
|
930
|
-
403: 'Forbidden',
|
|
931
|
-
404: 'Not Found',
|
|
932
|
-
500: 'Server Error',
|
|
933
|
-
501: 'Server Error'
|
|
934
|
-
}
|
|
935
|
-
});
|
|
936
|
-
}
|
|
937
|
-
|
|
938
|
-
/**
|
|
939
|
-
* @param data The data for the request.
|
|
940
|
-
* @param data.merchantId
|
|
941
|
-
* @param data.id
|
|
942
|
-
* @param data.requestBody
|
|
943
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
944
|
-
* @throws ApiError
|
|
945
|
-
*/
|
|
946
|
-
public putApiCrmServiceMerchantsByMerchantIdTelephoneById(data: PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdResponse> {
|
|
947
|
-
return this.httpRequest.request({
|
|
948
|
-
method: 'PUT',
|
|
949
|
-
url: '/api/crm-service/merchants/{merchantId}/telephone/{id}',
|
|
950
|
-
path: {
|
|
951
|
-
merchantId: data.merchantId,
|
|
952
|
-
id: data.id
|
|
953
|
-
},
|
|
954
|
-
body: data.requestBody,
|
|
955
|
-
mediaType: 'application/json',
|
|
956
|
-
errors: {
|
|
957
|
-
400: 'Bad Request',
|
|
958
|
-
401: 'Unauthorized',
|
|
959
|
-
403: 'Forbidden',
|
|
960
|
-
404: 'Not Found',
|
|
961
|
-
500: 'Server Error',
|
|
962
|
-
501: 'Server Error'
|
|
963
|
-
}
|
|
964
|
-
});
|
|
965
|
-
}
|
|
966
|
-
|
|
967
|
-
/**
|
|
968
|
-
* @param data The data for the request.
|
|
969
|
-
* @param data.merchantId
|
|
970
|
-
* @param data.id
|
|
971
|
-
* @param data.requestBody
|
|
972
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
973
|
-
* @throws ApiError
|
|
974
|
-
*/
|
|
975
|
-
public putApiCrmServiceMerchantsByMerchantIdAddressById(data: PutApiCrmServiceMerchantsByMerchantIdAddressByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdAddressByIdResponse> {
|
|
976
|
-
return this.httpRequest.request({
|
|
977
|
-
method: 'PUT',
|
|
978
|
-
url: '/api/crm-service/merchants/{merchantId}/address/{id}',
|
|
979
|
-
path: {
|
|
980
|
-
merchantId: data.merchantId,
|
|
981
|
-
id: data.id
|
|
982
|
-
},
|
|
983
|
-
body: data.requestBody,
|
|
984
|
-
mediaType: 'application/json',
|
|
985
|
-
errors: {
|
|
986
|
-
400: 'Bad Request',
|
|
987
|
-
401: 'Unauthorized',
|
|
988
|
-
403: 'Forbidden',
|
|
989
|
-
404: 'Not Found',
|
|
990
|
-
500: 'Server Error',
|
|
991
|
-
501: 'Server Error'
|
|
992
|
-
}
|
|
993
|
-
});
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
/**
|
|
997
|
-
* @param data The data for the request.
|
|
998
|
-
* @param data.merchantId
|
|
999
|
-
* @param data.id
|
|
1000
|
-
* @param data.requestBody
|
|
1001
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1002
|
-
* @throws ApiError
|
|
1003
|
-
*/
|
|
1004
|
-
public putApiCrmServiceMerchantsByMerchantIdEmailById(data: PutApiCrmServiceMerchantsByMerchantIdEmailByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdEmailByIdResponse> {
|
|
1005
|
-
return this.httpRequest.request({
|
|
1006
|
-
method: 'PUT',
|
|
1007
|
-
url: '/api/crm-service/merchants/{merchantId}/email/{id}',
|
|
1008
|
-
path: {
|
|
1009
|
-
merchantId: data.merchantId,
|
|
1010
|
-
id: data.id
|
|
1011
|
-
},
|
|
1012
|
-
body: data.requestBody,
|
|
1013
|
-
mediaType: 'application/json',
|
|
1014
|
-
errors: {
|
|
1015
|
-
400: 'Bad Request',
|
|
1016
|
-
401: 'Unauthorized',
|
|
1017
|
-
403: 'Forbidden',
|
|
1018
|
-
404: 'Not Found',
|
|
1019
|
-
500: 'Server Error',
|
|
1020
|
-
501: 'Server Error'
|
|
1021
|
-
}
|
|
1022
|
-
});
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
export class OrganizationService {
|
|
1028
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1029
|
-
|
|
1030
|
-
/**
|
|
1031
|
-
* @param data The data for the request.
|
|
1032
|
-
* @param data.requestBody
|
|
1033
|
-
* @returns unknown Success
|
|
1034
|
-
* @throws ApiError
|
|
1035
|
-
*/
|
|
1036
|
-
public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
|
|
1037
|
-
return this.httpRequest.request({
|
|
1038
|
-
method: 'POST',
|
|
1039
|
-
url: '/api/crm-service/organizations/with-components',
|
|
1040
|
-
body: data.requestBody,
|
|
1041
|
-
mediaType: 'application/json',
|
|
1042
|
-
errors: {
|
|
1043
|
-
400: 'Bad Request',
|
|
1044
|
-
401: 'Unauthorized',
|
|
1045
|
-
403: 'Forbidden',
|
|
1046
|
-
404: 'Not Found',
|
|
1047
|
-
500: 'Server Error',
|
|
1048
|
-
501: 'Server Error'
|
|
1049
|
-
}
|
|
1050
|
-
});
|
|
1051
|
-
}
|
|
1052
|
-
|
|
1053
|
-
/**
|
|
1054
|
-
* @param data The data for the request.
|
|
1055
|
-
* @param data.entityPartyTypeCode
|
|
1056
|
-
* @param data.parentId
|
|
1057
|
-
* @param data.sorting
|
|
1058
|
-
* @param data.skipCount
|
|
1059
|
-
* @param data.maxResultCount
|
|
1060
|
-
* @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
|
|
1061
|
-
* @throws ApiError
|
|
1062
|
-
*/
|
|
1063
|
-
public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
|
|
1064
|
-
return this.httpRequest.request({
|
|
1065
|
-
method: 'GET',
|
|
1066
|
-
url: '/api/crm-service/organizations',
|
|
1067
|
-
query: {
|
|
1068
|
-
EntityPartyTypeCode: data.entityPartyTypeCode,
|
|
1069
|
-
ParentId: data.parentId,
|
|
1070
|
-
Sorting: data.sorting,
|
|
1071
|
-
SkipCount: data.skipCount,
|
|
1072
|
-
MaxResultCount: data.maxResultCount
|
|
1073
|
-
},
|
|
1074
|
-
errors: {
|
|
1075
|
-
400: 'Bad Request',
|
|
1076
|
-
401: 'Unauthorized',
|
|
1077
|
-
403: 'Forbidden',
|
|
1078
|
-
404: 'Not Found',
|
|
1079
|
-
500: 'Server Error',
|
|
1080
|
-
501: 'Server Error'
|
|
1081
|
-
}
|
|
1082
|
-
});
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
}
|
|
1086
|
-
|
|
1087
|
-
export class RefundPointService {
|
|
1088
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1089
|
-
|
|
1090
|
-
/**
|
|
1091
|
-
* @param data The data for the request.
|
|
1092
|
-
* @param data.sorting
|
|
1093
|
-
* @param data.skipCount
|
|
1094
|
-
* @param data.maxResultCount
|
|
1095
|
-
* @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
|
|
1096
|
-
* @throws ApiError
|
|
1097
|
-
*/
|
|
1098
|
-
public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
|
|
1099
|
-
return this.httpRequest.request({
|
|
1100
|
-
method: 'GET',
|
|
1101
|
-
url: '/api/crm-service/refund-points',
|
|
1102
|
-
query: {
|
|
1103
|
-
Sorting: data.sorting,
|
|
1104
|
-
SkipCount: data.skipCount,
|
|
1105
|
-
MaxResultCount: data.maxResultCount
|
|
1106
|
-
},
|
|
1107
|
-
errors: {
|
|
1108
|
-
400: 'Bad Request',
|
|
1109
|
-
401: 'Unauthorized',
|
|
1110
|
-
403: 'Forbidden',
|
|
1111
|
-
404: 'Not Found',
|
|
1112
|
-
500: 'Server Error',
|
|
1113
|
-
501: 'Server Error'
|
|
1114
|
-
}
|
|
1115
|
-
});
|
|
1116
|
-
}
|
|
1117
|
-
|
|
1118
|
-
/**
|
|
1119
|
-
* @param data The data for the request.
|
|
1120
|
-
* @param data.id
|
|
1121
|
-
* @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
|
|
1122
|
-
* @throws ApiError
|
|
1123
|
-
*/
|
|
1124
|
-
public getApiCrmServiceRefundPointsDetailById(data: GetApiCrmServiceRefundPointsDetailByIdData): CancelablePromise<GetApiCrmServiceRefundPointsDetailByIdResponse> {
|
|
1125
|
-
return this.httpRequest.request({
|
|
1126
|
-
method: 'GET',
|
|
1127
|
-
url: '/api/crm-service/refund-points/detail/{id}',
|
|
1128
|
-
path: {
|
|
1129
|
-
id: data.id
|
|
1130
|
-
},
|
|
1131
|
-
errors: {
|
|
1132
|
-
400: 'Bad Request',
|
|
1133
|
-
401: 'Unauthorized',
|
|
1134
|
-
403: 'Forbidden',
|
|
1135
|
-
404: 'Not Found',
|
|
1136
|
-
500: 'Server Error',
|
|
1137
|
-
501: 'Server Error'
|
|
1138
|
-
}
|
|
1139
|
-
});
|
|
1140
|
-
}
|
|
1141
|
-
|
|
1142
|
-
/**
|
|
1143
|
-
* @param data The data for the request.
|
|
1144
|
-
* @param data.requestBody
|
|
1145
|
-
* @returns unknown Success
|
|
1146
|
-
* @throws ApiError
|
|
1147
|
-
*/
|
|
1148
|
-
public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
|
|
1149
|
-
return this.httpRequest.request({
|
|
1150
|
-
method: 'POST',
|
|
1151
|
-
url: '/api/crm-service/refund-points/with-components',
|
|
1152
|
-
body: data.requestBody,
|
|
1153
|
-
mediaType: 'application/json',
|
|
1154
|
-
errors: {
|
|
1155
|
-
400: 'Bad Request',
|
|
1156
|
-
401: 'Unauthorized',
|
|
1157
|
-
403: 'Forbidden',
|
|
1158
|
-
404: 'Not Found',
|
|
1159
|
-
500: 'Server Error',
|
|
1160
|
-
501: 'Server Error'
|
|
1161
|
-
}
|
|
1162
|
-
});
|
|
1163
|
-
}
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* @param data The data for the request.
|
|
1167
|
-
* @param data.id
|
|
1168
|
-
* @returns unknown Success
|
|
1169
|
-
* @throws ApiError
|
|
1170
|
-
*/
|
|
1171
|
-
public deleteApiCrmServiceRefundPointsWithComponentsById(data: DeleteApiCrmServiceRefundPointsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse> {
|
|
1172
|
-
return this.httpRequest.request({
|
|
1173
|
-
method: 'DELETE',
|
|
1174
|
-
url: '/api/crm-service/refund-points/with-components/{id}',
|
|
1175
|
-
path: {
|
|
1176
|
-
id: data.id
|
|
1177
|
-
},
|
|
1178
|
-
errors: {
|
|
1179
|
-
400: 'Bad Request',
|
|
1180
|
-
401: 'Unauthorized',
|
|
1181
|
-
403: 'Forbidden',
|
|
1182
|
-
404: 'Not Found',
|
|
1183
|
-
500: 'Server Error',
|
|
1184
|
-
501: 'Server Error'
|
|
1185
|
-
}
|
|
1186
|
-
});
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
|
-
/**
|
|
1190
|
-
* @param data The data for the request.
|
|
1191
|
-
* @param data.refundPointId
|
|
1192
|
-
* @param data.requestBody
|
|
1193
|
-
* @returns unknown Success
|
|
1194
|
-
* @throws ApiError
|
|
1195
|
-
*/
|
|
1196
|
-
public postApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
|
|
1197
|
-
return this.httpRequest.request({
|
|
1198
|
-
method: 'POST',
|
|
1199
|
-
url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
|
|
1200
|
-
path: {
|
|
1201
|
-
refundPointId: data.refundPointId
|
|
1202
|
-
},
|
|
1203
|
-
body: data.requestBody,
|
|
1204
|
-
mediaType: 'application/json',
|
|
1205
|
-
errors: {
|
|
1206
|
-
400: 'Bad Request',
|
|
1207
|
-
401: 'Unauthorized',
|
|
1208
|
-
403: 'Forbidden',
|
|
1209
|
-
404: 'Not Found',
|
|
1210
|
-
500: 'Server Error',
|
|
1211
|
-
501: 'Server Error'
|
|
1212
|
-
}
|
|
1213
|
-
});
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
/**
|
|
1217
|
-
* @param data The data for the request.
|
|
1218
|
-
* @param data.refundPointId
|
|
1219
|
-
* @param data.sorting
|
|
1220
|
-
* @param data.skipCount
|
|
1221
|
-
* @param data.maxResultCount
|
|
1222
|
-
* @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
|
|
1223
|
-
* @throws ApiError
|
|
1224
|
-
*/
|
|
1225
|
-
public getApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
|
|
1226
|
-
return this.httpRequest.request({
|
|
1227
|
-
method: 'GET',
|
|
1228
|
-
url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
|
|
1229
|
-
path: {
|
|
1230
|
-
refundPointId: data.refundPointId
|
|
1231
|
-
},
|
|
1232
|
-
query: {
|
|
1233
|
-
Sorting: data.sorting,
|
|
1234
|
-
SkipCount: data.skipCount,
|
|
1235
|
-
MaxResultCount: data.maxResultCount
|
|
1236
|
-
},
|
|
1237
|
-
errors: {
|
|
1238
|
-
400: 'Bad Request',
|
|
1239
|
-
401: 'Unauthorized',
|
|
1240
|
-
403: 'Forbidden',
|
|
1241
|
-
404: 'Not Found',
|
|
1242
|
-
500: 'Server Error',
|
|
1243
|
-
501: 'Server Error'
|
|
1244
|
-
}
|
|
1245
|
-
});
|
|
1246
|
-
}
|
|
1247
|
-
|
|
1248
|
-
/**
|
|
1249
|
-
* @param data The data for the request.
|
|
1250
|
-
* @param data.refundPointId
|
|
1251
|
-
* @param data.organizationId
|
|
1252
|
-
* @param data.requestBody
|
|
1253
|
-
* @returns unknown Success
|
|
1254
|
-
* @throws ApiError
|
|
1255
|
-
*/
|
|
1256
|
-
public putApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationId(data: PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdResponse> {
|
|
1257
|
-
return this.httpRequest.request({
|
|
1258
|
-
method: 'PUT',
|
|
1259
|
-
url: '/api/crm-service/refund-points/{refundPointId}/organization/{organizationId}',
|
|
1260
|
-
path: {
|
|
1261
|
-
refundPointId: data.refundPointId,
|
|
1262
|
-
organizationId: data.organizationId
|
|
1263
|
-
},
|
|
1264
|
-
body: data.requestBody,
|
|
1265
|
-
mediaType: 'application/json',
|
|
1266
|
-
errors: {
|
|
1267
|
-
400: 'Bad Request',
|
|
1268
|
-
401: 'Unauthorized',
|
|
1269
|
-
403: 'Forbidden',
|
|
1270
|
-
404: 'Not Found',
|
|
1271
|
-
500: 'Server Error',
|
|
1272
|
-
501: 'Server Error'
|
|
1273
|
-
}
|
|
1274
|
-
});
|
|
1275
|
-
}
|
|
1276
|
-
|
|
1277
|
-
/**
|
|
1278
|
-
* @param data The data for the request.
|
|
1279
|
-
* @param data.refundPointId
|
|
1280
|
-
* @param data.id
|
|
1281
|
-
* @param data.requestBody
|
|
1282
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1283
|
-
* @throws ApiError
|
|
1284
|
-
*/
|
|
1285
|
-
public putApiCrmServiceRefundPointsByRefundPointIdTelephoneById(data: PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdResponse> {
|
|
1286
|
-
return this.httpRequest.request({
|
|
1287
|
-
method: 'PUT',
|
|
1288
|
-
url: '/api/crm-service/refund-points/{refundPointId}/telephone/{id}',
|
|
1289
|
-
path: {
|
|
1290
|
-
refundPointId: data.refundPointId,
|
|
1291
|
-
id: data.id
|
|
1292
|
-
},
|
|
1293
|
-
body: data.requestBody,
|
|
1294
|
-
mediaType: 'application/json',
|
|
1295
|
-
errors: {
|
|
1296
|
-
400: 'Bad Request',
|
|
1297
|
-
401: 'Unauthorized',
|
|
1298
|
-
403: 'Forbidden',
|
|
1299
|
-
404: 'Not Found',
|
|
1300
|
-
500: 'Server Error',
|
|
1301
|
-
501: 'Server Error'
|
|
1302
|
-
}
|
|
1303
|
-
});
|
|
1304
|
-
}
|
|
1305
|
-
|
|
1306
|
-
/**
|
|
1307
|
-
* @param data The data for the request.
|
|
1308
|
-
* @param data.refundPointId
|
|
1309
|
-
* @param data.id
|
|
1310
|
-
* @param data.requestBody
|
|
1311
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1312
|
-
* @throws ApiError
|
|
1313
|
-
*/
|
|
1314
|
-
public putApiCrmServiceRefundPointsByRefundPointIdAddressById(data: PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdResponse> {
|
|
1315
|
-
return this.httpRequest.request({
|
|
1316
|
-
method: 'PUT',
|
|
1317
|
-
url: '/api/crm-service/refund-points/{refundPointId}/address/{id}',
|
|
1318
|
-
path: {
|
|
1319
|
-
refundPointId: data.refundPointId,
|
|
1320
|
-
id: data.id
|
|
1321
|
-
},
|
|
1322
|
-
body: data.requestBody,
|
|
1323
|
-
mediaType: 'application/json',
|
|
1324
|
-
errors: {
|
|
1325
|
-
400: 'Bad Request',
|
|
1326
|
-
401: 'Unauthorized',
|
|
1327
|
-
403: 'Forbidden',
|
|
1328
|
-
404: 'Not Found',
|
|
1329
|
-
500: 'Server Error',
|
|
1330
|
-
501: 'Server Error'
|
|
1331
|
-
}
|
|
1332
|
-
});
|
|
1333
|
-
}
|
|
1334
|
-
|
|
1335
|
-
/**
|
|
1336
|
-
* @param data The data for the request.
|
|
1337
|
-
* @param data.refundPointId
|
|
1338
|
-
* @param data.id
|
|
1339
|
-
* @param data.requestBody
|
|
1340
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1341
|
-
* @throws ApiError
|
|
1342
|
-
*/
|
|
1343
|
-
public putApiCrmServiceRefundPointsByRefundPointIdEmailById(data: PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdResponse> {
|
|
1344
|
-
return this.httpRequest.request({
|
|
1345
|
-
method: 'PUT',
|
|
1346
|
-
url: '/api/crm-service/refund-points/{refundPointId}/email/{id}',
|
|
1347
|
-
path: {
|
|
1348
|
-
refundPointId: data.refundPointId,
|
|
1349
|
-
id: data.id
|
|
1350
|
-
},
|
|
1351
|
-
body: data.requestBody,
|
|
1352
|
-
mediaType: 'application/json',
|
|
1353
|
-
errors: {
|
|
1354
|
-
400: 'Bad Request',
|
|
1355
|
-
401: 'Unauthorized',
|
|
1356
|
-
403: 'Forbidden',
|
|
1357
|
-
404: 'Not Found',
|
|
1358
|
-
500: 'Server Error',
|
|
1359
|
-
501: 'Server Error'
|
|
1360
|
-
}
|
|
1361
|
-
});
|
|
1362
|
-
}
|
|
1363
|
-
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
export class TaxFreeService {
|
|
1367
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* @param data The data for the request.
|
|
1371
|
-
* @param data.sorting
|
|
1372
|
-
* @param data.skipCount
|
|
1373
|
-
* @param data.maxResultCount
|
|
1374
|
-
* @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
|
|
1375
|
-
* @throws ApiError
|
|
1376
|
-
*/
|
|
1377
|
-
public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
|
|
1378
|
-
return this.httpRequest.request({
|
|
1379
|
-
method: 'GET',
|
|
1380
|
-
url: '/api/crm-service/tax-frees',
|
|
1381
|
-
query: {
|
|
1382
|
-
Sorting: data.sorting,
|
|
1383
|
-
SkipCount: data.skipCount,
|
|
1384
|
-
MaxResultCount: data.maxResultCount
|
|
1385
|
-
},
|
|
1386
|
-
errors: {
|
|
1387
|
-
400: 'Bad Request',
|
|
1388
|
-
401: 'Unauthorized',
|
|
1389
|
-
403: 'Forbidden',
|
|
1390
|
-
404: 'Not Found',
|
|
1391
|
-
500: 'Server Error',
|
|
1392
|
-
501: 'Server Error'
|
|
1393
|
-
}
|
|
1394
|
-
});
|
|
1395
|
-
}
|
|
1396
|
-
|
|
1397
|
-
/**
|
|
1398
|
-
* @param data The data for the request.
|
|
1399
|
-
* @param data.id
|
|
1400
|
-
* @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
|
|
1401
|
-
* @throws ApiError
|
|
1402
|
-
*/
|
|
1403
|
-
public getApiCrmServiceTaxFreesDetailById(data: GetApiCrmServiceTaxFreesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxFreesDetailByIdResponse> {
|
|
1404
|
-
return this.httpRequest.request({
|
|
1405
|
-
method: 'GET',
|
|
1406
|
-
url: '/api/crm-service/tax-frees/detail/{id}',
|
|
1407
|
-
path: {
|
|
1408
|
-
id: data.id
|
|
1409
|
-
},
|
|
1410
|
-
errors: {
|
|
1411
|
-
400: 'Bad Request',
|
|
1412
|
-
401: 'Unauthorized',
|
|
1413
|
-
403: 'Forbidden',
|
|
1414
|
-
404: 'Not Found',
|
|
1415
|
-
500: 'Server Error',
|
|
1416
|
-
501: 'Server Error'
|
|
1417
|
-
}
|
|
1418
|
-
});
|
|
1419
|
-
}
|
|
1420
|
-
|
|
1421
|
-
/**
|
|
1422
|
-
* @param data The data for the request.
|
|
1423
|
-
* @param data.requestBody
|
|
1424
|
-
* @returns unknown Success
|
|
1425
|
-
* @throws ApiError
|
|
1426
|
-
*/
|
|
1427
|
-
public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
|
|
1428
|
-
return this.httpRequest.request({
|
|
1429
|
-
method: 'POST',
|
|
1430
|
-
url: '/api/crm-service/tax-frees/with-components',
|
|
1431
|
-
body: data.requestBody,
|
|
1432
|
-
mediaType: 'application/json',
|
|
1433
|
-
errors: {
|
|
1434
|
-
400: 'Bad Request',
|
|
1435
|
-
401: 'Unauthorized',
|
|
1436
|
-
403: 'Forbidden',
|
|
1437
|
-
404: 'Not Found',
|
|
1438
|
-
500: 'Server Error',
|
|
1439
|
-
501: 'Server Error'
|
|
1440
|
-
}
|
|
1441
|
-
});
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
/**
|
|
1445
|
-
* @param data The data for the request.
|
|
1446
|
-
* @param data.id
|
|
1447
|
-
* @returns unknown Success
|
|
1448
|
-
* @throws ApiError
|
|
1449
|
-
*/
|
|
1450
|
-
public deleteApiCrmServiceTaxFreesWithComponentsById(data: DeleteApiCrmServiceTaxFreesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse> {
|
|
1451
|
-
return this.httpRequest.request({
|
|
1452
|
-
method: 'DELETE',
|
|
1453
|
-
url: '/api/crm-service/tax-frees/with-components/{id}',
|
|
1454
|
-
path: {
|
|
1455
|
-
id: data.id
|
|
1456
|
-
},
|
|
1457
|
-
errors: {
|
|
1458
|
-
400: 'Bad Request',
|
|
1459
|
-
401: 'Unauthorized',
|
|
1460
|
-
403: 'Forbidden',
|
|
1461
|
-
404: 'Not Found',
|
|
1462
|
-
500: 'Server Error',
|
|
1463
|
-
501: 'Server Error'
|
|
1464
|
-
}
|
|
1465
|
-
});
|
|
1466
|
-
}
|
|
1467
|
-
|
|
1468
|
-
/**
|
|
1469
|
-
* @param data The data for the request.
|
|
1470
|
-
* @param data.taxFreesId
|
|
1471
|
-
* @param data.requestBody
|
|
1472
|
-
* @returns unknown Success
|
|
1473
|
-
* @throws ApiError
|
|
1474
|
-
*/
|
|
1475
|
-
public postApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
|
|
1476
|
-
return this.httpRequest.request({
|
|
1477
|
-
method: 'POST',
|
|
1478
|
-
url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
|
|
1479
|
-
path: {
|
|
1480
|
-
taxFreesId: data.taxFreesId
|
|
1481
|
-
},
|
|
1482
|
-
body: data.requestBody,
|
|
1483
|
-
mediaType: 'application/json',
|
|
1484
|
-
errors: {
|
|
1485
|
-
400: 'Bad Request',
|
|
1486
|
-
401: 'Unauthorized',
|
|
1487
|
-
403: 'Forbidden',
|
|
1488
|
-
404: 'Not Found',
|
|
1489
|
-
500: 'Server Error',
|
|
1490
|
-
501: 'Server Error'
|
|
1491
|
-
}
|
|
1492
|
-
});
|
|
1493
|
-
}
|
|
1494
|
-
|
|
1495
|
-
/**
|
|
1496
|
-
* @param data The data for the request.
|
|
1497
|
-
* @param data.taxFreesId
|
|
1498
|
-
* @param data.sorting
|
|
1499
|
-
* @param data.skipCount
|
|
1500
|
-
* @param data.maxResultCount
|
|
1501
|
-
* @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
|
|
1502
|
-
* @throws ApiError
|
|
1503
|
-
*/
|
|
1504
|
-
public getApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
|
|
1505
|
-
return this.httpRequest.request({
|
|
1506
|
-
method: 'GET',
|
|
1507
|
-
url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
|
|
1508
|
-
path: {
|
|
1509
|
-
taxFreesId: data.taxFreesId
|
|
1510
|
-
},
|
|
1511
|
-
query: {
|
|
1512
|
-
Sorting: data.sorting,
|
|
1513
|
-
SkipCount: data.skipCount,
|
|
1514
|
-
MaxResultCount: data.maxResultCount
|
|
1515
|
-
},
|
|
1516
|
-
errors: {
|
|
1517
|
-
400: 'Bad Request',
|
|
1518
|
-
401: 'Unauthorized',
|
|
1519
|
-
403: 'Forbidden',
|
|
1520
|
-
404: 'Not Found',
|
|
1521
|
-
500: 'Server Error',
|
|
1522
|
-
501: 'Server Error'
|
|
1523
|
-
}
|
|
1524
|
-
});
|
|
1525
|
-
}
|
|
1526
|
-
|
|
1527
|
-
/**
|
|
1528
|
-
* @param data The data for the request.
|
|
1529
|
-
* @param data.id
|
|
1530
|
-
* @param data.organizationId
|
|
1531
|
-
* @param data.requestBody
|
|
1532
|
-
* @returns unknown Success
|
|
1533
|
-
* @throws ApiError
|
|
1534
|
-
*/
|
|
1535
|
-
public putApiCrmServiceTaxFreesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse> {
|
|
1536
|
-
return this.httpRequest.request({
|
|
1537
|
-
method: 'PUT',
|
|
1538
|
-
url: '/api/crm-service/tax-frees/{id}/organization/{organizationId}',
|
|
1539
|
-
path: {
|
|
1540
|
-
id: data.id,
|
|
1541
|
-
organizationId: data.organizationId
|
|
1542
|
-
},
|
|
1543
|
-
body: data.requestBody,
|
|
1544
|
-
mediaType: 'application/json',
|
|
1545
|
-
errors: {
|
|
1546
|
-
400: 'Bad Request',
|
|
1547
|
-
401: 'Unauthorized',
|
|
1548
|
-
403: 'Forbidden',
|
|
1549
|
-
404: 'Not Found',
|
|
1550
|
-
500: 'Server Error',
|
|
1551
|
-
501: 'Server Error'
|
|
1552
|
-
}
|
|
1553
|
-
});
|
|
1554
|
-
}
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* @param data The data for the request.
|
|
1558
|
-
* @param data.taxFreeId
|
|
1559
|
-
* @param data.id
|
|
1560
|
-
* @param data.requestBody
|
|
1561
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1562
|
-
* @throws ApiError
|
|
1563
|
-
*/
|
|
1564
|
-
public putApiCrmServiceTaxFreesByTaxFreeIdTelephoneById(data: PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdResponse> {
|
|
1565
|
-
return this.httpRequest.request({
|
|
1566
|
-
method: 'PUT',
|
|
1567
|
-
url: '/api/crm-service/tax-frees/{taxFreeId}/telephone/{id}',
|
|
1568
|
-
path: {
|
|
1569
|
-
taxFreeId: data.taxFreeId,
|
|
1570
|
-
id: data.id
|
|
1571
|
-
},
|
|
1572
|
-
body: data.requestBody,
|
|
1573
|
-
mediaType: 'application/json',
|
|
1574
|
-
errors: {
|
|
1575
|
-
400: 'Bad Request',
|
|
1576
|
-
401: 'Unauthorized',
|
|
1577
|
-
403: 'Forbidden',
|
|
1578
|
-
404: 'Not Found',
|
|
1579
|
-
500: 'Server Error',
|
|
1580
|
-
501: 'Server Error'
|
|
1581
|
-
}
|
|
1582
|
-
});
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
/**
|
|
1586
|
-
* @param data The data for the request.
|
|
1587
|
-
* @param data.taxFreeId
|
|
1588
|
-
* @param data.id
|
|
1589
|
-
* @param data.requestBody
|
|
1590
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1591
|
-
* @throws ApiError
|
|
1592
|
-
*/
|
|
1593
|
-
public putApiCrmServiceTaxFreesByTaxFreeIdAddressById(data: PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdResponse> {
|
|
1594
|
-
return this.httpRequest.request({
|
|
1595
|
-
method: 'PUT',
|
|
1596
|
-
url: '/api/crm-service/tax-frees/{taxFreeId}/address/{id}',
|
|
1597
|
-
path: {
|
|
1598
|
-
taxFreeId: data.taxFreeId,
|
|
1599
|
-
id: data.id
|
|
1600
|
-
},
|
|
1601
|
-
body: data.requestBody,
|
|
1602
|
-
mediaType: 'application/json',
|
|
1603
|
-
errors: {
|
|
1604
|
-
400: 'Bad Request',
|
|
1605
|
-
401: 'Unauthorized',
|
|
1606
|
-
403: 'Forbidden',
|
|
1607
|
-
404: 'Not Found',
|
|
1608
|
-
500: 'Server Error',
|
|
1609
|
-
501: 'Server Error'
|
|
1610
|
-
}
|
|
1611
|
-
});
|
|
1612
|
-
}
|
|
1613
|
-
|
|
1614
|
-
/**
|
|
1615
|
-
* @param data The data for the request.
|
|
1616
|
-
* @param data.taxFreeId
|
|
1617
|
-
* @param data.id
|
|
1618
|
-
* @param data.requestBody
|
|
1619
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1620
|
-
* @throws ApiError
|
|
1621
|
-
*/
|
|
1622
|
-
public putApiCrmServiceTaxFreesByTaxFreeIdEmailById(data: PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdResponse> {
|
|
1623
|
-
return this.httpRequest.request({
|
|
1624
|
-
method: 'PUT',
|
|
1625
|
-
url: '/api/crm-service/tax-frees/{taxFreeId}/email/{id}',
|
|
1626
|
-
path: {
|
|
1627
|
-
taxFreeId: data.taxFreeId,
|
|
1628
|
-
id: data.id
|
|
1629
|
-
},
|
|
1630
|
-
body: data.requestBody,
|
|
1631
|
-
mediaType: 'application/json',
|
|
1632
|
-
errors: {
|
|
1633
|
-
400: 'Bad Request',
|
|
1634
|
-
401: 'Unauthorized',
|
|
1635
|
-
403: 'Forbidden',
|
|
1636
|
-
404: 'Not Found',
|
|
1637
|
-
500: 'Server Error',
|
|
1638
|
-
501: 'Server Error'
|
|
1639
|
-
}
|
|
1640
|
-
});
|
|
1641
|
-
}
|
|
1642
|
-
|
|
1643
|
-
}
|
|
1644
|
-
|
|
1645
|
-
export class TaxOfficeService {
|
|
1646
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1647
|
-
|
|
1648
|
-
/**
|
|
1649
|
-
* @param data The data for the request.
|
|
1650
|
-
* @param data.sorting
|
|
1651
|
-
* @param data.skipCount
|
|
1652
|
-
* @param data.maxResultCount
|
|
1653
|
-
* @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
|
|
1654
|
-
* @throws ApiError
|
|
1655
|
-
*/
|
|
1656
|
-
public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
|
|
1657
|
-
return this.httpRequest.request({
|
|
1658
|
-
method: 'GET',
|
|
1659
|
-
url: '/api/crm-service/tax-offices',
|
|
1660
|
-
query: {
|
|
1661
|
-
Sorting: data.sorting,
|
|
1662
|
-
SkipCount: data.skipCount,
|
|
1663
|
-
MaxResultCount: data.maxResultCount
|
|
1664
|
-
},
|
|
1665
|
-
errors: {
|
|
1666
|
-
400: 'Bad Request',
|
|
1667
|
-
401: 'Unauthorized',
|
|
1668
|
-
403: 'Forbidden',
|
|
1669
|
-
404: 'Not Found',
|
|
1670
|
-
500: 'Server Error',
|
|
1671
|
-
501: 'Server Error'
|
|
1672
|
-
}
|
|
1673
|
-
});
|
|
1674
|
-
}
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
* @param data The data for the request.
|
|
1678
|
-
* @param data.id
|
|
1679
|
-
* @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
|
|
1680
|
-
* @throws ApiError
|
|
1681
|
-
*/
|
|
1682
|
-
public getApiCrmServiceTaxOfficesDetailById(data: GetApiCrmServiceTaxOfficesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxOfficesDetailByIdResponse> {
|
|
1683
|
-
return this.httpRequest.request({
|
|
1684
|
-
method: 'GET',
|
|
1685
|
-
url: '/api/crm-service/tax-offices/detail/{id}',
|
|
1686
|
-
path: {
|
|
1687
|
-
id: data.id
|
|
1688
|
-
},
|
|
1689
|
-
errors: {
|
|
1690
|
-
400: 'Bad Request',
|
|
1691
|
-
401: 'Unauthorized',
|
|
1692
|
-
403: 'Forbidden',
|
|
1693
|
-
404: 'Not Found',
|
|
1694
|
-
500: 'Server Error',
|
|
1695
|
-
501: 'Server Error'
|
|
1696
|
-
}
|
|
1697
|
-
});
|
|
1698
|
-
}
|
|
1699
|
-
|
|
1700
|
-
/**
|
|
1701
|
-
* @param data The data for the request.
|
|
1702
|
-
* @param data.requestBody
|
|
1703
|
-
* @returns unknown Success
|
|
1704
|
-
* @throws ApiError
|
|
1705
|
-
*/
|
|
1706
|
-
public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
|
|
1707
|
-
return this.httpRequest.request({
|
|
1708
|
-
method: 'POST',
|
|
1709
|
-
url: '/api/crm-service/tax-offices/with-components',
|
|
1710
|
-
body: data.requestBody,
|
|
1711
|
-
mediaType: 'application/json',
|
|
1712
|
-
errors: {
|
|
1713
|
-
400: 'Bad Request',
|
|
1714
|
-
401: 'Unauthorized',
|
|
1715
|
-
403: 'Forbidden',
|
|
1716
|
-
404: 'Not Found',
|
|
1717
|
-
500: 'Server Error',
|
|
1718
|
-
501: 'Server Error'
|
|
1719
|
-
}
|
|
1720
|
-
});
|
|
1721
|
-
}
|
|
1722
|
-
|
|
1723
|
-
/**
|
|
1724
|
-
* @param data The data for the request.
|
|
1725
|
-
* @param data.id
|
|
1726
|
-
* @returns unknown Success
|
|
1727
|
-
* @throws ApiError
|
|
1728
|
-
*/
|
|
1729
|
-
public deleteApiCrmServiceTaxOfficesWithComponentsById(data: DeleteApiCrmServiceTaxOfficesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse> {
|
|
1730
|
-
return this.httpRequest.request({
|
|
1731
|
-
method: 'DELETE',
|
|
1732
|
-
url: '/api/crm-service/tax-offices/with-components/{id}',
|
|
1733
|
-
path: {
|
|
1734
|
-
id: data.id
|
|
1735
|
-
},
|
|
1736
|
-
errors: {
|
|
1737
|
-
400: 'Bad Request',
|
|
1738
|
-
401: 'Unauthorized',
|
|
1739
|
-
403: 'Forbidden',
|
|
1740
|
-
404: 'Not Found',
|
|
1741
|
-
500: 'Server Error',
|
|
1742
|
-
501: 'Server Error'
|
|
1743
|
-
}
|
|
1744
|
-
});
|
|
1745
|
-
}
|
|
1746
|
-
|
|
1747
|
-
/**
|
|
1748
|
-
* @param data The data for the request.
|
|
1749
|
-
* @param data.taxOfficesId
|
|
1750
|
-
* @param data.requestBody
|
|
1751
|
-
* @returns unknown Success
|
|
1752
|
-
* @throws ApiError
|
|
1753
|
-
*/
|
|
1754
|
-
public postApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
|
|
1755
|
-
return this.httpRequest.request({
|
|
1756
|
-
method: 'POST',
|
|
1757
|
-
url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
|
|
1758
|
-
path: {
|
|
1759
|
-
taxOfficesId: data.taxOfficesId
|
|
1760
|
-
},
|
|
1761
|
-
body: data.requestBody,
|
|
1762
|
-
mediaType: 'application/json',
|
|
1763
|
-
errors: {
|
|
1764
|
-
400: 'Bad Request',
|
|
1765
|
-
401: 'Unauthorized',
|
|
1766
|
-
403: 'Forbidden',
|
|
1767
|
-
404: 'Not Found',
|
|
1768
|
-
500: 'Server Error',
|
|
1769
|
-
501: 'Server Error'
|
|
1770
|
-
}
|
|
1771
|
-
});
|
|
1772
|
-
}
|
|
1773
|
-
|
|
1774
|
-
/**
|
|
1775
|
-
* @param data The data for the request.
|
|
1776
|
-
* @param data.taxOfficesId
|
|
1777
|
-
* @param data.sorting
|
|
1778
|
-
* @param data.skipCount
|
|
1779
|
-
* @param data.maxResultCount
|
|
1780
|
-
* @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
|
|
1781
|
-
* @throws ApiError
|
|
1782
|
-
*/
|
|
1783
|
-
public getApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
|
|
1784
|
-
return this.httpRequest.request({
|
|
1785
|
-
method: 'GET',
|
|
1786
|
-
url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
|
|
1787
|
-
path: {
|
|
1788
|
-
taxOfficesId: data.taxOfficesId
|
|
1789
|
-
},
|
|
1790
|
-
query: {
|
|
1791
|
-
Sorting: data.sorting,
|
|
1792
|
-
SkipCount: data.skipCount,
|
|
1793
|
-
MaxResultCount: data.maxResultCount
|
|
1794
|
-
},
|
|
1795
|
-
errors: {
|
|
1796
|
-
400: 'Bad Request',
|
|
1797
|
-
401: 'Unauthorized',
|
|
1798
|
-
403: 'Forbidden',
|
|
1799
|
-
404: 'Not Found',
|
|
1800
|
-
500: 'Server Error',
|
|
1801
|
-
501: 'Server Error'
|
|
1802
|
-
}
|
|
1803
|
-
});
|
|
1804
|
-
}
|
|
1805
|
-
|
|
1806
|
-
/**
|
|
1807
|
-
* @param data The data for the request.
|
|
1808
|
-
* @param data.taxOfficeId
|
|
1809
|
-
* @param data.organizationId
|
|
1810
|
-
* @param data.requestBody
|
|
1811
|
-
* @returns unknown Success
|
|
1812
|
-
* @throws ApiError
|
|
1813
|
-
*/
|
|
1814
|
-
public putApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdResponse> {
|
|
1815
|
-
return this.httpRequest.request({
|
|
1816
|
-
method: 'PUT',
|
|
1817
|
-
url: '/api/crm-service/tax-offices/{taxOfficeId}/organization/{organizationId}',
|
|
1818
|
-
path: {
|
|
1819
|
-
taxOfficeId: data.taxOfficeId,
|
|
1820
|
-
organizationId: data.organizationId
|
|
1821
|
-
},
|
|
1822
|
-
body: data.requestBody,
|
|
1823
|
-
mediaType: 'application/json',
|
|
1824
|
-
errors: {
|
|
1825
|
-
400: 'Bad Request',
|
|
1826
|
-
401: 'Unauthorized',
|
|
1827
|
-
403: 'Forbidden',
|
|
1828
|
-
404: 'Not Found',
|
|
1829
|
-
500: 'Server Error',
|
|
1830
|
-
501: 'Server Error'
|
|
1831
|
-
}
|
|
1832
|
-
});
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
/**
|
|
1836
|
-
* @param data The data for the request.
|
|
1837
|
-
* @param data.taxOfficeId
|
|
1838
|
-
* @param data.id
|
|
1839
|
-
* @param data.requestBody
|
|
1840
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1841
|
-
* @throws ApiError
|
|
1842
|
-
*/
|
|
1843
|
-
public putApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdResponse> {
|
|
1844
|
-
return this.httpRequest.request({
|
|
1845
|
-
method: 'PUT',
|
|
1846
|
-
url: '/api/crm-service/tax-offices/{taxOfficeId}/telephone/{id}',
|
|
1847
|
-
path: {
|
|
1848
|
-
taxOfficeId: data.taxOfficeId,
|
|
1849
|
-
id: data.id
|
|
1850
|
-
},
|
|
1851
|
-
body: data.requestBody,
|
|
1852
|
-
mediaType: 'application/json',
|
|
1853
|
-
errors: {
|
|
1854
|
-
400: 'Bad Request',
|
|
1855
|
-
401: 'Unauthorized',
|
|
1856
|
-
403: 'Forbidden',
|
|
1857
|
-
404: 'Not Found',
|
|
1858
|
-
500: 'Server Error',
|
|
1859
|
-
501: 'Server Error'
|
|
1860
|
-
}
|
|
1861
|
-
});
|
|
1862
|
-
}
|
|
1863
|
-
|
|
1864
|
-
/**
|
|
1865
|
-
* @param data The data for the request.
|
|
1866
|
-
* @param data.taxOfficeId
|
|
1867
|
-
* @param data.id
|
|
1868
|
-
* @param data.requestBody
|
|
1869
|
-
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1870
|
-
* @throws ApiError
|
|
1871
|
-
*/
|
|
1872
|
-
public putApiCrmServiceTaxOfficesByTaxOfficeIdAddressById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdResponse> {
|
|
1873
|
-
return this.httpRequest.request({
|
|
1874
|
-
method: 'PUT',
|
|
1875
|
-
url: '/api/crm-service/tax-offices/{taxOfficeId}/address/{id}',
|
|
1876
|
-
path: {
|
|
1877
|
-
taxOfficeId: data.taxOfficeId,
|
|
1878
|
-
id: data.id
|
|
1879
|
-
},
|
|
1880
|
-
body: data.requestBody,
|
|
1881
|
-
mediaType: 'application/json',
|
|
1882
|
-
errors: {
|
|
1883
|
-
400: 'Bad Request',
|
|
1884
|
-
401: 'Unauthorized',
|
|
1885
|
-
403: 'Forbidden',
|
|
1886
|
-
404: 'Not Found',
|
|
1887
|
-
500: 'Server Error',
|
|
1888
|
-
501: 'Server Error'
|
|
1889
|
-
}
|
|
1890
|
-
});
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
/**
|
|
1894
|
-
* @param data The data for the request.
|
|
1895
|
-
* @param data.taxOfficeId
|
|
1896
|
-
* @param data.id
|
|
1897
|
-
* @param data.requestBody
|
|
1898
|
-
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1899
|
-
* @throws ApiError
|
|
1900
|
-
*/
|
|
1901
|
-
public putApiCrmServiceTaxOfficesByTaxOfficeIdEmailById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdResponse> {
|
|
1902
|
-
return this.httpRequest.request({
|
|
1903
|
-
method: 'PUT',
|
|
1904
|
-
url: '/api/crm-service/tax-offices/{taxOfficeId}/email/{id}',
|
|
1905
|
-
path: {
|
|
1906
|
-
taxOfficeId: data.taxOfficeId,
|
|
1907
|
-
id: data.id
|
|
1908
|
-
},
|
|
1909
|
-
body: data.requestBody,
|
|
1910
|
-
mediaType: 'application/json',
|
|
1911
|
-
errors: {
|
|
1912
|
-
400: 'Bad Request',
|
|
1913
|
-
401: 'Unauthorized',
|
|
1914
|
-
403: 'Forbidden',
|
|
1915
|
-
404: 'Not Found',
|
|
1916
|
-
500: 'Server Error',
|
|
1917
|
-
501: 'Server Error'
|
|
1918
|
-
}
|
|
1919
|
-
});
|
|
1920
|
-
}
|
|
1921
|
-
|
|
1922
|
-
}
|
|
1923
|
-
|
|
1924
|
-
export class TelephoneTypeService {
|
|
1925
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1926
|
-
|
|
1927
|
-
/**
|
|
1928
|
-
* @param data The data for the request.
|
|
1929
|
-
* @param data.sorting
|
|
1930
|
-
* @param data.skipCount
|
|
1931
|
-
* @param data.maxResultCount
|
|
1932
|
-
* @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
|
|
1933
|
-
* @throws ApiError
|
|
1934
|
-
*/
|
|
1935
|
-
public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
|
|
1936
|
-
return this.httpRequest.request({
|
|
1937
|
-
method: 'GET',
|
|
1938
|
-
url: '/api/crm-service/telephones',
|
|
1939
|
-
query: {
|
|
1940
|
-
Sorting: data.sorting,
|
|
1941
|
-
SkipCount: data.skipCount,
|
|
1942
|
-
MaxResultCount: data.maxResultCount
|
|
1943
|
-
},
|
|
1944
|
-
errors: {
|
|
1945
|
-
400: 'Bad Request',
|
|
1946
|
-
401: 'Unauthorized',
|
|
1947
|
-
403: 'Forbidden',
|
|
1948
|
-
404: 'Not Found',
|
|
1949
|
-
500: 'Server Error',
|
|
1950
|
-
501: 'Server Error'
|
|
1951
|
-
}
|
|
1952
|
-
});
|
|
1953
|
-
}
|
|
1954
|
-
|
|
1955
|
-
/**
|
|
1956
|
-
* @param data The data for the request.
|
|
1957
|
-
* @param data.requestBody
|
|
1958
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1959
|
-
* @throws ApiError
|
|
1960
|
-
*/
|
|
1961
|
-
public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
|
|
1962
|
-
return this.httpRequest.request({
|
|
1963
|
-
method: 'POST',
|
|
1964
|
-
url: '/api/crm-service/telephones',
|
|
1965
|
-
body: data.requestBody,
|
|
1966
|
-
mediaType: 'application/json',
|
|
1967
|
-
errors: {
|
|
1968
|
-
400: 'Bad Request',
|
|
1969
|
-
401: 'Unauthorized',
|
|
1970
|
-
403: 'Forbidden',
|
|
1971
|
-
404: 'Not Found',
|
|
1972
|
-
500: 'Server Error',
|
|
1973
|
-
501: 'Server Error'
|
|
1974
|
-
}
|
|
1975
|
-
});
|
|
1976
|
-
}
|
|
1977
|
-
|
|
1978
|
-
/**
|
|
1979
|
-
* @param data The data for the request.
|
|
1980
|
-
* @param data.id
|
|
1981
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1982
|
-
* @throws ApiError
|
|
1983
|
-
*/
|
|
1984
|
-
public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
|
|
1985
|
-
return this.httpRequest.request({
|
|
1986
|
-
method: 'GET',
|
|
1987
|
-
url: '/api/crm-service/telephones/{id}',
|
|
1988
|
-
path: {
|
|
1989
|
-
id: data.id
|
|
1990
|
-
},
|
|
1991
|
-
errors: {
|
|
1992
|
-
400: 'Bad Request',
|
|
1993
|
-
401: 'Unauthorized',
|
|
1994
|
-
403: 'Forbidden',
|
|
1995
|
-
404: 'Not Found',
|
|
1996
|
-
500: 'Server Error',
|
|
1997
|
-
501: 'Server Error'
|
|
1998
|
-
}
|
|
1999
|
-
});
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
/**
|
|
2003
|
-
* @param data The data for the request.
|
|
2004
|
-
* @param data.id
|
|
2005
|
-
* @param data.requestBody
|
|
2006
|
-
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
2007
|
-
* @throws ApiError
|
|
2008
|
-
*/
|
|
2009
|
-
public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
|
|
2010
|
-
return this.httpRequest.request({
|
|
2011
|
-
method: 'PUT',
|
|
2012
|
-
url: '/api/crm-service/telephones/{id}',
|
|
2013
|
-
path: {
|
|
2014
|
-
id: data.id
|
|
2015
|
-
},
|
|
2016
|
-
body: data.requestBody,
|
|
2017
|
-
mediaType: 'application/json',
|
|
2018
|
-
errors: {
|
|
2019
|
-
400: 'Bad Request',
|
|
2020
|
-
401: 'Unauthorized',
|
|
2021
|
-
403: 'Forbidden',
|
|
2022
|
-
404: 'Not Found',
|
|
2023
|
-
500: 'Server Error',
|
|
2024
|
-
501: 'Server Error'
|
|
2025
|
-
}
|
|
2026
|
-
});
|
|
2027
|
-
}
|
|
2028
|
-
|
|
2029
|
-
/**
|
|
2030
|
-
* @param data The data for the request.
|
|
2031
|
-
* @param data.id
|
|
2032
|
-
* @returns unknown Success
|
|
2033
|
-
* @throws ApiError
|
|
2034
|
-
*/
|
|
2035
|
-
public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
|
|
2036
|
-
return this.httpRequest.request({
|
|
2037
|
-
method: 'DELETE',
|
|
2038
|
-
url: '/api/crm-service/telephones/{id}',
|
|
2039
|
-
path: {
|
|
2040
|
-
id: data.id
|
|
2041
|
-
},
|
|
2042
|
-
errors: {
|
|
2043
|
-
400: 'Bad Request',
|
|
2044
|
-
401: 'Unauthorized',
|
|
2045
|
-
403: 'Forbidden',
|
|
2046
|
-
404: 'Not Found',
|
|
2047
|
-
500: 'Server Error',
|
|
2048
|
-
501: 'Server Error'
|
|
2049
|
-
}
|
|
2050
|
-
});
|
|
2051
|
-
}
|
|
2052
|
-
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiCrmServiceAddressesData, GetApiCrmServiceAddressesResponse, PostApiCrmServiceAddressesData, PostApiCrmServiceAddressesResponse, GetApiCrmServiceAddressesByIdData, GetApiCrmServiceAddressesByIdResponse, PutApiCrmServiceAddressesByIdData, PutApiCrmServiceAddressesByIdResponse, DeleteApiCrmServiceAddressesByIdData, DeleteApiCrmServiceAddressesByIdResponse, GetApiCrmServiceCustomsData, GetApiCrmServiceCustomsResponse, GetApiCrmServiceCustomsDetailByIdData, GetApiCrmServiceCustomsDetailByIdResponse, PostApiCrmServiceCustomsWithComponentsData, PostApiCrmServiceCustomsWithComponentsResponse, DeleteApiCrmServiceCustomsWithComponentsByIdData, DeleteApiCrmServiceCustomsWithComponentsByIdResponse, PostApiCrmServiceCustomsByIdAffiliationsData, PostApiCrmServiceCustomsByIdAffiliationsResponse, GetApiCrmServiceCustomsByIdAffiliationsData, GetApiCrmServiceCustomsByIdAffiliationsResponse, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData, PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse, PutApiCrmServiceCustomsByCustomsIdTelephoneByIdData, PutApiCrmServiceCustomsByCustomsIdTelephoneByIdResponse, PutApiCrmServiceCustomsByCustomsIdAddressByIdData, PutApiCrmServiceCustomsByCustomsIdAddressByIdResponse, PutApiCrmServiceCustomsByCustomsIdEmailByIdData, PutApiCrmServiceCustomsByCustomsIdEmailByIdResponse, GetApiCrmServiceEmailsData, GetApiCrmServiceEmailsResponse, PostApiCrmServiceEmailsData, PostApiCrmServiceEmailsResponse, GetApiCrmServiceEmailsByIdData, GetApiCrmServiceEmailsByIdResponse, PutApiCrmServiceEmailsByIdData, PutApiCrmServiceEmailsByIdResponse, DeleteApiCrmServiceEmailsByIdData, DeleteApiCrmServiceEmailsByIdResponse, PostApiCrmServiceIndividualsWithComponentsData, PostApiCrmServiceIndividualsWithComponentsResponse, GetApiCrmServiceIndividualsData, GetApiCrmServiceIndividualsResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsDetailByIdData, GetApiCrmServiceMerchantsDetailByIdResponse, PostApiCrmServiceMerchantsWithComponentsData, PostApiCrmServiceMerchantsWithComponentsResponse, DeleteApiCrmServiceMerchantsWithComponentsByIdData, DeleteApiCrmServiceMerchantsWithComponentsByIdResponse, PostApiCrmServiceMerchantsByMerchantIdAffiliationsData, PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, GetApiCrmServiceMerchantsByMerchantIdAffiliationsData, GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData, PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse, PostApiCrmServiceMerchantsBulkProductGroupMerchantData, PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse, PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdData, PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdResponse, PutApiCrmServiceMerchantsByMerchantIdAddressByIdData, PutApiCrmServiceMerchantsByMerchantIdAddressByIdResponse, PutApiCrmServiceMerchantsByMerchantIdEmailByIdData, PutApiCrmServiceMerchantsByMerchantIdEmailByIdResponse, PostApiCrmServiceOrganizationsWithComponentsData, PostApiCrmServiceOrganizationsWithComponentsResponse, GetApiCrmServiceOrganizationsData, GetApiCrmServiceOrganizationsResponse, GetApiCrmServiceRefundPointsData, GetApiCrmServiceRefundPointsResponse, GetApiCrmServiceRefundPointsDetailByIdData, GetApiCrmServiceRefundPointsDetailByIdResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsWithComponentsByIdData, DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData, GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse, PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdData, PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdData, PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdData, PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdResponse, PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdData, PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesDetailByIdData, GetApiCrmServiceTaxFreesDetailByIdResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesWithComponentsByIdData, DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData, GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdResponse, PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdData, PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesDetailByIdData, GetApiCrmServiceTaxOfficesDetailByIdResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesWithComponentsByIdData, DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData, GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdResponse, PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdData, PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdResponse, GetApiCrmServiceTelephonesData, GetApiCrmServiceTelephonesResponse, PostApiCrmServiceTelephonesData, PostApiCrmServiceTelephonesResponse, GetApiCrmServiceTelephonesByIdData, GetApiCrmServiceTelephonesByIdResponse, PutApiCrmServiceTelephonesByIdData, PutApiCrmServiceTelephonesByIdResponse, DeleteApiCrmServiceTelephonesByIdData, DeleteApiCrmServiceTelephonesByIdResponse } from './types.gen';
|
|
6
|
+
|
|
7
|
+
export class AbpApiDefinitionService {
|
|
8
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @param data The data for the request.
|
|
12
|
+
* @param data.includeTypes
|
|
13
|
+
* @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
+
return this.httpRequest.request({
|
|
18
|
+
method: 'GET',
|
|
19
|
+
url: '/api/abp/api-definition',
|
|
20
|
+
query: {
|
|
21
|
+
IncludeTypes: data.includeTypes
|
|
22
|
+
},
|
|
23
|
+
errors: {
|
|
24
|
+
400: 'Bad Request',
|
|
25
|
+
401: 'Unauthorized',
|
|
26
|
+
403: 'Forbidden',
|
|
27
|
+
404: 'Not Found',
|
|
28
|
+
500: 'Server Error',
|
|
29
|
+
501: 'Server Error'
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export class AbpApplicationConfigurationService {
|
|
37
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @param data The data for the request.
|
|
41
|
+
* @param data.includeLocalizationResources
|
|
42
|
+
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
|
|
43
|
+
* @throws ApiError
|
|
44
|
+
*/
|
|
45
|
+
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
+
return this.httpRequest.request({
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/api/abp/application-configuration',
|
|
49
|
+
query: {
|
|
50
|
+
IncludeLocalizationResources: data.includeLocalizationResources
|
|
51
|
+
},
|
|
52
|
+
errors: {
|
|
53
|
+
400: 'Bad Request',
|
|
54
|
+
401: 'Unauthorized',
|
|
55
|
+
403: 'Forbidden',
|
|
56
|
+
404: 'Not Found',
|
|
57
|
+
500: 'Server Error',
|
|
58
|
+
501: 'Server Error'
|
|
59
|
+
}
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class AbpApplicationLocalizationService {
|
|
66
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @param data The data for the request.
|
|
70
|
+
* @param data.cultureName
|
|
71
|
+
* @param data.onlyDynamics
|
|
72
|
+
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
|
|
73
|
+
* @throws ApiError
|
|
74
|
+
*/
|
|
75
|
+
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
+
return this.httpRequest.request({
|
|
77
|
+
method: 'GET',
|
|
78
|
+
url: '/api/abp/application-localization',
|
|
79
|
+
query: {
|
|
80
|
+
CultureName: data.cultureName,
|
|
81
|
+
OnlyDynamics: data.onlyDynamics
|
|
82
|
+
},
|
|
83
|
+
errors: {
|
|
84
|
+
400: 'Bad Request',
|
|
85
|
+
401: 'Unauthorized',
|
|
86
|
+
403: 'Forbidden',
|
|
87
|
+
404: 'Not Found',
|
|
88
|
+
500: 'Server Error',
|
|
89
|
+
501: 'Server Error'
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export class AddressTypeService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* @param data The data for the request.
|
|
101
|
+
* @param data.sorting
|
|
102
|
+
* @param data.skipCount
|
|
103
|
+
* @param data.maxResultCount
|
|
104
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AddressTypes_AddressTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
105
|
+
* @throws ApiError
|
|
106
|
+
*/
|
|
107
|
+
public getApiCrmServiceAddresses(data: GetApiCrmServiceAddressesData = {}): CancelablePromise<GetApiCrmServiceAddressesResponse> {
|
|
108
|
+
return this.httpRequest.request({
|
|
109
|
+
method: 'GET',
|
|
110
|
+
url: '/api/crm-service/addresses',
|
|
111
|
+
query: {
|
|
112
|
+
Sorting: data.sorting,
|
|
113
|
+
SkipCount: data.skipCount,
|
|
114
|
+
MaxResultCount: data.maxResultCount
|
|
115
|
+
},
|
|
116
|
+
errors: {
|
|
117
|
+
400: 'Bad Request',
|
|
118
|
+
401: 'Unauthorized',
|
|
119
|
+
403: 'Forbidden',
|
|
120
|
+
404: 'Not Found',
|
|
121
|
+
500: 'Server Error',
|
|
122
|
+
501: 'Server Error'
|
|
123
|
+
}
|
|
124
|
+
});
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* @param data The data for the request.
|
|
129
|
+
* @param data.requestBody
|
|
130
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
131
|
+
* @throws ApiError
|
|
132
|
+
*/
|
|
133
|
+
public postApiCrmServiceAddresses(data: PostApiCrmServiceAddressesData = {}): CancelablePromise<PostApiCrmServiceAddressesResponse> {
|
|
134
|
+
return this.httpRequest.request({
|
|
135
|
+
method: 'POST',
|
|
136
|
+
url: '/api/crm-service/addresses',
|
|
137
|
+
body: data.requestBody,
|
|
138
|
+
mediaType: 'application/json',
|
|
139
|
+
errors: {
|
|
140
|
+
400: 'Bad Request',
|
|
141
|
+
401: 'Unauthorized',
|
|
142
|
+
403: 'Forbidden',
|
|
143
|
+
404: 'Not Found',
|
|
144
|
+
500: 'Server Error',
|
|
145
|
+
501: 'Server Error'
|
|
146
|
+
}
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @param data The data for the request.
|
|
152
|
+
* @param data.id
|
|
153
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
154
|
+
* @throws ApiError
|
|
155
|
+
*/
|
|
156
|
+
public getApiCrmServiceAddressesById(data: GetApiCrmServiceAddressesByIdData): CancelablePromise<GetApiCrmServiceAddressesByIdResponse> {
|
|
157
|
+
return this.httpRequest.request({
|
|
158
|
+
method: 'GET',
|
|
159
|
+
url: '/api/crm-service/addresses/{id}',
|
|
160
|
+
path: {
|
|
161
|
+
id: data.id
|
|
162
|
+
},
|
|
163
|
+
errors: {
|
|
164
|
+
400: 'Bad Request',
|
|
165
|
+
401: 'Unauthorized',
|
|
166
|
+
403: 'Forbidden',
|
|
167
|
+
404: 'Not Found',
|
|
168
|
+
500: 'Server Error',
|
|
169
|
+
501: 'Server Error'
|
|
170
|
+
}
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @param data The data for the request.
|
|
176
|
+
* @param data.id
|
|
177
|
+
* @param data.requestBody
|
|
178
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
179
|
+
* @throws ApiError
|
|
180
|
+
*/
|
|
181
|
+
public putApiCrmServiceAddressesById(data: PutApiCrmServiceAddressesByIdData): CancelablePromise<PutApiCrmServiceAddressesByIdResponse> {
|
|
182
|
+
return this.httpRequest.request({
|
|
183
|
+
method: 'PUT',
|
|
184
|
+
url: '/api/crm-service/addresses/{id}',
|
|
185
|
+
path: {
|
|
186
|
+
id: data.id
|
|
187
|
+
},
|
|
188
|
+
body: data.requestBody,
|
|
189
|
+
mediaType: 'application/json',
|
|
190
|
+
errors: {
|
|
191
|
+
400: 'Bad Request',
|
|
192
|
+
401: 'Unauthorized',
|
|
193
|
+
403: 'Forbidden',
|
|
194
|
+
404: 'Not Found',
|
|
195
|
+
500: 'Server Error',
|
|
196
|
+
501: 'Server Error'
|
|
197
|
+
}
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* @param data The data for the request.
|
|
203
|
+
* @param data.id
|
|
204
|
+
* @returns unknown Success
|
|
205
|
+
* @throws ApiError
|
|
206
|
+
*/
|
|
207
|
+
public deleteApiCrmServiceAddressesById(data: DeleteApiCrmServiceAddressesByIdData): CancelablePromise<DeleteApiCrmServiceAddressesByIdResponse> {
|
|
208
|
+
return this.httpRequest.request({
|
|
209
|
+
method: 'DELETE',
|
|
210
|
+
url: '/api/crm-service/addresses/{id}',
|
|
211
|
+
path: {
|
|
212
|
+
id: data.id
|
|
213
|
+
},
|
|
214
|
+
errors: {
|
|
215
|
+
400: 'Bad Request',
|
|
216
|
+
401: 'Unauthorized',
|
|
217
|
+
403: 'Forbidden',
|
|
218
|
+
404: 'Not Found',
|
|
219
|
+
500: 'Server Error',
|
|
220
|
+
501: 'Server Error'
|
|
221
|
+
}
|
|
222
|
+
});
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export class CustomsService {
|
|
228
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
229
|
+
|
|
230
|
+
/**
|
|
231
|
+
* @param data The data for the request.
|
|
232
|
+
* @param data.sorting
|
|
233
|
+
* @param data.skipCount
|
|
234
|
+
* @param data.maxResultCount
|
|
235
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_Customss_CustomsProfileDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
236
|
+
* @throws ApiError
|
|
237
|
+
*/
|
|
238
|
+
public getApiCrmServiceCustoms(data: GetApiCrmServiceCustomsData = {}): CancelablePromise<GetApiCrmServiceCustomsResponse> {
|
|
239
|
+
return this.httpRequest.request({
|
|
240
|
+
method: 'GET',
|
|
241
|
+
url: '/api/crm-service/customs',
|
|
242
|
+
query: {
|
|
243
|
+
Sorting: data.sorting,
|
|
244
|
+
SkipCount: data.skipCount,
|
|
245
|
+
MaxResultCount: data.maxResultCount
|
|
246
|
+
},
|
|
247
|
+
errors: {
|
|
248
|
+
400: 'Bad Request',
|
|
249
|
+
401: 'Unauthorized',
|
|
250
|
+
403: 'Forbidden',
|
|
251
|
+
404: 'Not Found',
|
|
252
|
+
500: 'Server Error',
|
|
253
|
+
501: 'Server Error'
|
|
254
|
+
}
|
|
255
|
+
});
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @param data The data for the request.
|
|
260
|
+
* @param data.id
|
|
261
|
+
* @returns UniRefund_CRMService_Customss_CustomsDto Success
|
|
262
|
+
* @throws ApiError
|
|
263
|
+
*/
|
|
264
|
+
public getApiCrmServiceCustomsDetailById(data: GetApiCrmServiceCustomsDetailByIdData): CancelablePromise<GetApiCrmServiceCustomsDetailByIdResponse> {
|
|
265
|
+
return this.httpRequest.request({
|
|
266
|
+
method: 'GET',
|
|
267
|
+
url: '/api/crm-service/customs/detail/{id}',
|
|
268
|
+
path: {
|
|
269
|
+
id: data.id
|
|
270
|
+
},
|
|
271
|
+
errors: {
|
|
272
|
+
400: 'Bad Request',
|
|
273
|
+
401: 'Unauthorized',
|
|
274
|
+
403: 'Forbidden',
|
|
275
|
+
404: 'Not Found',
|
|
276
|
+
500: 'Server Error',
|
|
277
|
+
501: 'Server Error'
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @param data The data for the request.
|
|
284
|
+
* @param data.requestBody
|
|
285
|
+
* @returns unknown Success
|
|
286
|
+
* @throws ApiError
|
|
287
|
+
*/
|
|
288
|
+
public postApiCrmServiceCustomsWithComponents(data: PostApiCrmServiceCustomsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceCustomsWithComponentsResponse> {
|
|
289
|
+
return this.httpRequest.request({
|
|
290
|
+
method: 'POST',
|
|
291
|
+
url: '/api/crm-service/customs/with-components',
|
|
292
|
+
body: data.requestBody,
|
|
293
|
+
mediaType: 'application/json',
|
|
294
|
+
errors: {
|
|
295
|
+
400: 'Bad Request',
|
|
296
|
+
401: 'Unauthorized',
|
|
297
|
+
403: 'Forbidden',
|
|
298
|
+
404: 'Not Found',
|
|
299
|
+
500: 'Server Error',
|
|
300
|
+
501: 'Server Error'
|
|
301
|
+
}
|
|
302
|
+
});
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* @param data The data for the request.
|
|
307
|
+
* @param data.id
|
|
308
|
+
* @returns unknown Success
|
|
309
|
+
* @throws ApiError
|
|
310
|
+
*/
|
|
311
|
+
public deleteApiCrmServiceCustomsWithComponentsById(data: DeleteApiCrmServiceCustomsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceCustomsWithComponentsByIdResponse> {
|
|
312
|
+
return this.httpRequest.request({
|
|
313
|
+
method: 'DELETE',
|
|
314
|
+
url: '/api/crm-service/customs/with-components/{id}',
|
|
315
|
+
path: {
|
|
316
|
+
id: data.id
|
|
317
|
+
},
|
|
318
|
+
errors: {
|
|
319
|
+
400: 'Bad Request',
|
|
320
|
+
401: 'Unauthorized',
|
|
321
|
+
403: 'Forbidden',
|
|
322
|
+
404: 'Not Found',
|
|
323
|
+
500: 'Server Error',
|
|
324
|
+
501: 'Server Error'
|
|
325
|
+
}
|
|
326
|
+
});
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* @param data The data for the request.
|
|
331
|
+
* @param data.id
|
|
332
|
+
* @param data.requestBody
|
|
333
|
+
* @returns unknown Success
|
|
334
|
+
* @throws ApiError
|
|
335
|
+
*/
|
|
336
|
+
public postApiCrmServiceCustomsByIdAffiliations(data: PostApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<PostApiCrmServiceCustomsByIdAffiliationsResponse> {
|
|
337
|
+
return this.httpRequest.request({
|
|
338
|
+
method: 'POST',
|
|
339
|
+
url: '/api/crm-service/customs/{id}/affiliations',
|
|
340
|
+
path: {
|
|
341
|
+
id: data.id
|
|
342
|
+
},
|
|
343
|
+
body: data.requestBody,
|
|
344
|
+
mediaType: 'application/json',
|
|
345
|
+
errors: {
|
|
346
|
+
400: 'Bad Request',
|
|
347
|
+
401: 'Unauthorized',
|
|
348
|
+
403: 'Forbidden',
|
|
349
|
+
404: 'Not Found',
|
|
350
|
+
500: 'Server Error',
|
|
351
|
+
501: 'Server Error'
|
|
352
|
+
}
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @param data The data for the request.
|
|
358
|
+
* @param data.id
|
|
359
|
+
* @param data.sorting
|
|
360
|
+
* @param data.skipCount
|
|
361
|
+
* @param data.maxResultCount
|
|
362
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_CRMService_AffiliationTypes_AffiliationTypeDto__UniRefund_CRMService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
363
|
+
* @throws ApiError
|
|
364
|
+
*/
|
|
365
|
+
public getApiCrmServiceCustomsByIdAffiliations(data: GetApiCrmServiceCustomsByIdAffiliationsData): CancelablePromise<GetApiCrmServiceCustomsByIdAffiliationsResponse> {
|
|
366
|
+
return this.httpRequest.request({
|
|
367
|
+
method: 'GET',
|
|
368
|
+
url: '/api/crm-service/customs/{id}/affiliations',
|
|
369
|
+
path: {
|
|
370
|
+
id: data.id
|
|
371
|
+
},
|
|
372
|
+
query: {
|
|
373
|
+
Sorting: data.sorting,
|
|
374
|
+
SkipCount: data.skipCount,
|
|
375
|
+
MaxResultCount: data.maxResultCount
|
|
376
|
+
},
|
|
377
|
+
errors: {
|
|
378
|
+
400: 'Bad Request',
|
|
379
|
+
401: 'Unauthorized',
|
|
380
|
+
403: 'Forbidden',
|
|
381
|
+
404: 'Not Found',
|
|
382
|
+
500: 'Server Error',
|
|
383
|
+
501: 'Server Error'
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* @param data The data for the request.
|
|
390
|
+
* @param data.id
|
|
391
|
+
* @param data.organizationId
|
|
392
|
+
* @param data.requestBody
|
|
393
|
+
* @returns unknown Success
|
|
394
|
+
* @throws ApiError
|
|
395
|
+
*/
|
|
396
|
+
public putApiCrmServiceCustomsByIdOrganizationByOrganizationId(data: PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceCustomsByIdOrganizationByOrganizationIdResponse> {
|
|
397
|
+
return this.httpRequest.request({
|
|
398
|
+
method: 'PUT',
|
|
399
|
+
url: '/api/crm-service/customs/{id}/organization/{organizationId}',
|
|
400
|
+
path: {
|
|
401
|
+
id: data.id,
|
|
402
|
+
organizationId: data.organizationId
|
|
403
|
+
},
|
|
404
|
+
body: data.requestBody,
|
|
405
|
+
mediaType: 'application/json',
|
|
406
|
+
errors: {
|
|
407
|
+
400: 'Bad Request',
|
|
408
|
+
401: 'Unauthorized',
|
|
409
|
+
403: 'Forbidden',
|
|
410
|
+
404: 'Not Found',
|
|
411
|
+
500: 'Server Error',
|
|
412
|
+
501: 'Server Error'
|
|
413
|
+
}
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* @param data The data for the request.
|
|
419
|
+
* @param data.customsId
|
|
420
|
+
* @param data.id
|
|
421
|
+
* @param data.requestBody
|
|
422
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
423
|
+
* @throws ApiError
|
|
424
|
+
*/
|
|
425
|
+
public putApiCrmServiceCustomsByCustomsIdTelephoneById(data: PutApiCrmServiceCustomsByCustomsIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdTelephoneByIdResponse> {
|
|
426
|
+
return this.httpRequest.request({
|
|
427
|
+
method: 'PUT',
|
|
428
|
+
url: '/api/crm-service/customs/{customsId}/telephone/{id}',
|
|
429
|
+
path: {
|
|
430
|
+
customsId: data.customsId,
|
|
431
|
+
id: data.id
|
|
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.customsId
|
|
449
|
+
* @param data.id
|
|
450
|
+
* @param data.requestBody
|
|
451
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
452
|
+
* @throws ApiError
|
|
453
|
+
*/
|
|
454
|
+
public putApiCrmServiceCustomsByCustomsIdAddressById(data: PutApiCrmServiceCustomsByCustomsIdAddressByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdAddressByIdResponse> {
|
|
455
|
+
return this.httpRequest.request({
|
|
456
|
+
method: 'PUT',
|
|
457
|
+
url: '/api/crm-service/customs/{customsId}/address/{id}',
|
|
458
|
+
path: {
|
|
459
|
+
customsId: data.customsId,
|
|
460
|
+
id: data.id
|
|
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.customsId
|
|
478
|
+
* @param data.id
|
|
479
|
+
* @param data.requestBody
|
|
480
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
481
|
+
* @throws ApiError
|
|
482
|
+
*/
|
|
483
|
+
public putApiCrmServiceCustomsByCustomsIdEmailById(data: PutApiCrmServiceCustomsByCustomsIdEmailByIdData): CancelablePromise<PutApiCrmServiceCustomsByCustomsIdEmailByIdResponse> {
|
|
484
|
+
return this.httpRequest.request({
|
|
485
|
+
method: 'PUT',
|
|
486
|
+
url: '/api/crm-service/customs/{customsId}/email/{id}',
|
|
487
|
+
path: {
|
|
488
|
+
customsId: data.customsId,
|
|
489
|
+
id: data.id
|
|
490
|
+
},
|
|
491
|
+
body: data.requestBody,
|
|
492
|
+
mediaType: 'application/json',
|
|
493
|
+
errors: {
|
|
494
|
+
400: 'Bad Request',
|
|
495
|
+
401: 'Unauthorized',
|
|
496
|
+
403: 'Forbidden',
|
|
497
|
+
404: 'Not Found',
|
|
498
|
+
500: 'Server Error',
|
|
499
|
+
501: 'Server Error'
|
|
500
|
+
}
|
|
501
|
+
});
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
export class EmailCommonDataService {
|
|
507
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
508
|
+
|
|
509
|
+
/**
|
|
510
|
+
* @param data The data for the request.
|
|
511
|
+
* @param data.sorting
|
|
512
|
+
* @param data.skipCount
|
|
513
|
+
* @param data.maxResultCount
|
|
514
|
+
* @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
|
|
515
|
+
* @throws ApiError
|
|
516
|
+
*/
|
|
517
|
+
public getApiCrmServiceEmails(data: GetApiCrmServiceEmailsData = {}): CancelablePromise<GetApiCrmServiceEmailsResponse> {
|
|
518
|
+
return this.httpRequest.request({
|
|
519
|
+
method: 'GET',
|
|
520
|
+
url: '/api/crm-service/emails',
|
|
521
|
+
query: {
|
|
522
|
+
Sorting: data.sorting,
|
|
523
|
+
SkipCount: data.skipCount,
|
|
524
|
+
MaxResultCount: data.maxResultCount
|
|
525
|
+
},
|
|
526
|
+
errors: {
|
|
527
|
+
400: 'Bad Request',
|
|
528
|
+
401: 'Unauthorized',
|
|
529
|
+
403: 'Forbidden',
|
|
530
|
+
404: 'Not Found',
|
|
531
|
+
500: 'Server Error',
|
|
532
|
+
501: 'Server Error'
|
|
533
|
+
}
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* @param data The data for the request.
|
|
539
|
+
* @param data.requestBody
|
|
540
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
541
|
+
* @throws ApiError
|
|
542
|
+
*/
|
|
543
|
+
public postApiCrmServiceEmails(data: PostApiCrmServiceEmailsData = {}): CancelablePromise<PostApiCrmServiceEmailsResponse> {
|
|
544
|
+
return this.httpRequest.request({
|
|
545
|
+
method: 'POST',
|
|
546
|
+
url: '/api/crm-service/emails',
|
|
547
|
+
body: data.requestBody,
|
|
548
|
+
mediaType: 'application/json',
|
|
549
|
+
errors: {
|
|
550
|
+
400: 'Bad Request',
|
|
551
|
+
401: 'Unauthorized',
|
|
552
|
+
403: 'Forbidden',
|
|
553
|
+
404: 'Not Found',
|
|
554
|
+
500: 'Server Error',
|
|
555
|
+
501: 'Server Error'
|
|
556
|
+
}
|
|
557
|
+
});
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* @param data The data for the request.
|
|
562
|
+
* @param data.id
|
|
563
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
564
|
+
* @throws ApiError
|
|
565
|
+
*/
|
|
566
|
+
public getApiCrmServiceEmailsById(data: GetApiCrmServiceEmailsByIdData): CancelablePromise<GetApiCrmServiceEmailsByIdResponse> {
|
|
567
|
+
return this.httpRequest.request({
|
|
568
|
+
method: 'GET',
|
|
569
|
+
url: '/api/crm-service/emails/{id}',
|
|
570
|
+
path: {
|
|
571
|
+
id: data.id
|
|
572
|
+
},
|
|
573
|
+
errors: {
|
|
574
|
+
400: 'Bad Request',
|
|
575
|
+
401: 'Unauthorized',
|
|
576
|
+
403: 'Forbidden',
|
|
577
|
+
404: 'Not Found',
|
|
578
|
+
500: 'Server Error',
|
|
579
|
+
501: 'Server Error'
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* @param data The data for the request.
|
|
586
|
+
* @param data.id
|
|
587
|
+
* @param data.requestBody
|
|
588
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
589
|
+
* @throws ApiError
|
|
590
|
+
*/
|
|
591
|
+
public putApiCrmServiceEmailsById(data: PutApiCrmServiceEmailsByIdData): CancelablePromise<PutApiCrmServiceEmailsByIdResponse> {
|
|
592
|
+
return this.httpRequest.request({
|
|
593
|
+
method: 'PUT',
|
|
594
|
+
url: '/api/crm-service/emails/{id}',
|
|
595
|
+
path: {
|
|
596
|
+
id: data.id
|
|
597
|
+
},
|
|
598
|
+
body: data.requestBody,
|
|
599
|
+
mediaType: 'application/json',
|
|
600
|
+
errors: {
|
|
601
|
+
400: 'Bad Request',
|
|
602
|
+
401: 'Unauthorized',
|
|
603
|
+
403: 'Forbidden',
|
|
604
|
+
404: 'Not Found',
|
|
605
|
+
500: 'Server Error',
|
|
606
|
+
501: 'Server Error'
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
|
|
611
|
+
/**
|
|
612
|
+
* @param data The data for the request.
|
|
613
|
+
* @param data.id
|
|
614
|
+
* @returns unknown Success
|
|
615
|
+
* @throws ApiError
|
|
616
|
+
*/
|
|
617
|
+
public deleteApiCrmServiceEmailsById(data: DeleteApiCrmServiceEmailsByIdData): CancelablePromise<DeleteApiCrmServiceEmailsByIdResponse> {
|
|
618
|
+
return this.httpRequest.request({
|
|
619
|
+
method: 'DELETE',
|
|
620
|
+
url: '/api/crm-service/emails/{id}',
|
|
621
|
+
path: {
|
|
622
|
+
id: data.id
|
|
623
|
+
},
|
|
624
|
+
errors: {
|
|
625
|
+
400: 'Bad Request',
|
|
626
|
+
401: 'Unauthorized',
|
|
627
|
+
403: 'Forbidden',
|
|
628
|
+
404: 'Not Found',
|
|
629
|
+
500: 'Server Error',
|
|
630
|
+
501: 'Server Error'
|
|
631
|
+
}
|
|
632
|
+
});
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
export class IndividualService {
|
|
638
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
639
|
+
|
|
640
|
+
/**
|
|
641
|
+
* @param data The data for the request.
|
|
642
|
+
* @param data.requestBody
|
|
643
|
+
* @returns unknown Success
|
|
644
|
+
* @throws ApiError
|
|
645
|
+
*/
|
|
646
|
+
public postApiCrmServiceIndividualsWithComponents(data: PostApiCrmServiceIndividualsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceIndividualsWithComponentsResponse> {
|
|
647
|
+
return this.httpRequest.request({
|
|
648
|
+
method: 'POST',
|
|
649
|
+
url: '/api/crm-service/individuals/with-components',
|
|
650
|
+
body: data.requestBody,
|
|
651
|
+
mediaType: 'application/json',
|
|
652
|
+
errors: {
|
|
653
|
+
400: 'Bad Request',
|
|
654
|
+
401: 'Unauthorized',
|
|
655
|
+
403: 'Forbidden',
|
|
656
|
+
404: 'Not Found',
|
|
657
|
+
500: 'Server Error',
|
|
658
|
+
501: 'Server Error'
|
|
659
|
+
}
|
|
660
|
+
});
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* @param data The data for the request.
|
|
665
|
+
* @param data.entityPartyTypeCode
|
|
666
|
+
* @param data.parentId
|
|
667
|
+
* @param data.sorting
|
|
668
|
+
* @param data.skipCount
|
|
669
|
+
* @param data.maxResultCount
|
|
670
|
+
* @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
|
|
671
|
+
* @throws ApiError
|
|
672
|
+
*/
|
|
673
|
+
public getApiCrmServiceIndividuals(data: GetApiCrmServiceIndividualsData = {}): CancelablePromise<GetApiCrmServiceIndividualsResponse> {
|
|
674
|
+
return this.httpRequest.request({
|
|
675
|
+
method: 'GET',
|
|
676
|
+
url: '/api/crm-service/individuals',
|
|
677
|
+
query: {
|
|
678
|
+
EntityPartyTypeCode: data.entityPartyTypeCode,
|
|
679
|
+
ParentId: data.parentId,
|
|
680
|
+
Sorting: data.sorting,
|
|
681
|
+
SkipCount: data.skipCount,
|
|
682
|
+
MaxResultCount: data.maxResultCount
|
|
683
|
+
},
|
|
684
|
+
errors: {
|
|
685
|
+
400: 'Bad Request',
|
|
686
|
+
401: 'Unauthorized',
|
|
687
|
+
403: 'Forbidden',
|
|
688
|
+
404: 'Not Found',
|
|
689
|
+
500: 'Server Error',
|
|
690
|
+
501: 'Server Error'
|
|
691
|
+
}
|
|
692
|
+
});
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export class MerchantService {
|
|
698
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
699
|
+
|
|
700
|
+
/**
|
|
701
|
+
* @param data The data for the request.
|
|
702
|
+
* @param data.sorting
|
|
703
|
+
* @param data.skipCount
|
|
704
|
+
* @param data.maxResultCount
|
|
705
|
+
* @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
|
|
706
|
+
* @throws ApiError
|
|
707
|
+
*/
|
|
708
|
+
public getApiCrmServiceMerchants(data: GetApiCrmServiceMerchantsData = {}): CancelablePromise<GetApiCrmServiceMerchantsResponse> {
|
|
709
|
+
return this.httpRequest.request({
|
|
710
|
+
method: 'GET',
|
|
711
|
+
url: '/api/crm-service/merchants',
|
|
712
|
+
query: {
|
|
713
|
+
Sorting: data.sorting,
|
|
714
|
+
SkipCount: data.skipCount,
|
|
715
|
+
MaxResultCount: data.maxResultCount
|
|
716
|
+
},
|
|
717
|
+
errors: {
|
|
718
|
+
400: 'Bad Request',
|
|
719
|
+
401: 'Unauthorized',
|
|
720
|
+
403: 'Forbidden',
|
|
721
|
+
404: 'Not Found',
|
|
722
|
+
500: 'Server Error',
|
|
723
|
+
501: 'Server Error'
|
|
724
|
+
}
|
|
725
|
+
});
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
/**
|
|
729
|
+
* @param data The data for the request.
|
|
730
|
+
* @param data.vatNumber
|
|
731
|
+
* @param data.countryCode
|
|
732
|
+
* @param data.branchId
|
|
733
|
+
* @returns UniRefund_CRMService_Merchants_MerchantInfoDto Success
|
|
734
|
+
* @throws ApiError
|
|
735
|
+
*/
|
|
736
|
+
public getApiCrmServiceMerchantsInfo(data: GetApiCrmServiceMerchantsInfoData = {}): CancelablePromise<GetApiCrmServiceMerchantsInfoResponse> {
|
|
737
|
+
return this.httpRequest.request({
|
|
738
|
+
method: 'GET',
|
|
739
|
+
url: '/api/crm-service/merchants/info',
|
|
740
|
+
query: {
|
|
741
|
+
VatNumber: data.vatNumber,
|
|
742
|
+
CountryCode: data.countryCode,
|
|
743
|
+
BranchId: data.branchId
|
|
744
|
+
},
|
|
745
|
+
errors: {
|
|
746
|
+
400: 'Bad Request',
|
|
747
|
+
401: 'Unauthorized',
|
|
748
|
+
403: 'Forbidden',
|
|
749
|
+
404: 'Not Found',
|
|
750
|
+
500: 'Server Error',
|
|
751
|
+
501: 'Server Error'
|
|
752
|
+
}
|
|
753
|
+
});
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @param data The data for the request.
|
|
758
|
+
* @param data.id
|
|
759
|
+
* @returns UniRefund_CRMService_Merchants_MerchantDetailDto Success
|
|
760
|
+
* @throws ApiError
|
|
761
|
+
*/
|
|
762
|
+
public getApiCrmServiceMerchantsDetailById(data: GetApiCrmServiceMerchantsDetailByIdData): CancelablePromise<GetApiCrmServiceMerchantsDetailByIdResponse> {
|
|
763
|
+
return this.httpRequest.request({
|
|
764
|
+
method: 'GET',
|
|
765
|
+
url: '/api/crm-service/merchants/detail/{id}',
|
|
766
|
+
path: {
|
|
767
|
+
id: data.id
|
|
768
|
+
},
|
|
769
|
+
errors: {
|
|
770
|
+
400: 'Bad Request',
|
|
771
|
+
401: 'Unauthorized',
|
|
772
|
+
403: 'Forbidden',
|
|
773
|
+
404: 'Not Found',
|
|
774
|
+
500: 'Server Error',
|
|
775
|
+
501: 'Server Error'
|
|
776
|
+
}
|
|
777
|
+
});
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
/**
|
|
781
|
+
* @param data The data for the request.
|
|
782
|
+
* @param data.requestBody
|
|
783
|
+
* @returns unknown Success
|
|
784
|
+
* @throws ApiError
|
|
785
|
+
*/
|
|
786
|
+
public postApiCrmServiceMerchantsWithComponents(data: PostApiCrmServiceMerchantsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceMerchantsWithComponentsResponse> {
|
|
787
|
+
return this.httpRequest.request({
|
|
788
|
+
method: 'POST',
|
|
789
|
+
url: '/api/crm-service/merchants/with-components',
|
|
790
|
+
body: data.requestBody,
|
|
791
|
+
mediaType: 'application/json',
|
|
792
|
+
errors: {
|
|
793
|
+
400: 'Bad Request',
|
|
794
|
+
401: 'Unauthorized',
|
|
795
|
+
403: 'Forbidden',
|
|
796
|
+
404: 'Not Found',
|
|
797
|
+
500: 'Server Error',
|
|
798
|
+
501: 'Server Error'
|
|
799
|
+
}
|
|
800
|
+
});
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @param data The data for the request.
|
|
805
|
+
* @param data.id
|
|
806
|
+
* @returns unknown Success
|
|
807
|
+
* @throws ApiError
|
|
808
|
+
*/
|
|
809
|
+
public deleteApiCrmServiceMerchantsWithComponentsById(data: DeleteApiCrmServiceMerchantsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceMerchantsWithComponentsByIdResponse> {
|
|
810
|
+
return this.httpRequest.request({
|
|
811
|
+
method: 'DELETE',
|
|
812
|
+
url: '/api/crm-service/merchants/with-components/{id}',
|
|
813
|
+
path: {
|
|
814
|
+
id: data.id
|
|
815
|
+
},
|
|
816
|
+
errors: {
|
|
817
|
+
400: 'Bad Request',
|
|
818
|
+
401: 'Unauthorized',
|
|
819
|
+
403: 'Forbidden',
|
|
820
|
+
404: 'Not Found',
|
|
821
|
+
500: 'Server Error',
|
|
822
|
+
501: 'Server Error'
|
|
823
|
+
}
|
|
824
|
+
});
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* @param data The data for the request.
|
|
829
|
+
* @param data.merchantId
|
|
830
|
+
* @param data.requestBody
|
|
831
|
+
* @returns unknown Success
|
|
832
|
+
* @throws ApiError
|
|
833
|
+
*/
|
|
834
|
+
public postApiCrmServiceMerchantsByMerchantIdAffiliations(data: PostApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<PostApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
|
|
835
|
+
return this.httpRequest.request({
|
|
836
|
+
method: 'POST',
|
|
837
|
+
url: '/api/crm-service/merchants/{merchantId}/affiliations',
|
|
838
|
+
path: {
|
|
839
|
+
merchantId: data.merchantId
|
|
840
|
+
},
|
|
841
|
+
body: data.requestBody,
|
|
842
|
+
mediaType: 'application/json',
|
|
843
|
+
errors: {
|
|
844
|
+
400: 'Bad Request',
|
|
845
|
+
401: 'Unauthorized',
|
|
846
|
+
403: 'Forbidden',
|
|
847
|
+
404: 'Not Found',
|
|
848
|
+
500: 'Server Error',
|
|
849
|
+
501: 'Server Error'
|
|
850
|
+
}
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
/**
|
|
855
|
+
* @param data The data for the request.
|
|
856
|
+
* @param data.merchantId
|
|
857
|
+
* @param data.sorting
|
|
858
|
+
* @param data.skipCount
|
|
859
|
+
* @param data.maxResultCount
|
|
860
|
+
* @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
|
|
861
|
+
* @throws ApiError
|
|
862
|
+
*/
|
|
863
|
+
public getApiCrmServiceMerchantsByMerchantIdAffiliations(data: GetApiCrmServiceMerchantsByMerchantIdAffiliationsData): CancelablePromise<GetApiCrmServiceMerchantsByMerchantIdAffiliationsResponse> {
|
|
864
|
+
return this.httpRequest.request({
|
|
865
|
+
method: 'GET',
|
|
866
|
+
url: '/api/crm-service/merchants/{merchantId}/affiliations',
|
|
867
|
+
path: {
|
|
868
|
+
merchantId: data.merchantId
|
|
869
|
+
},
|
|
870
|
+
query: {
|
|
871
|
+
Sorting: data.sorting,
|
|
872
|
+
SkipCount: data.skipCount,
|
|
873
|
+
MaxResultCount: data.maxResultCount
|
|
874
|
+
},
|
|
875
|
+
errors: {
|
|
876
|
+
400: 'Bad Request',
|
|
877
|
+
401: 'Unauthorized',
|
|
878
|
+
403: 'Forbidden',
|
|
879
|
+
404: 'Not Found',
|
|
880
|
+
500: 'Server Error',
|
|
881
|
+
501: 'Server Error'
|
|
882
|
+
}
|
|
883
|
+
});
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* @param data The data for the request.
|
|
888
|
+
* @param data.id
|
|
889
|
+
* @param data.organizationId
|
|
890
|
+
* @param data.requestBody
|
|
891
|
+
* @returns unknown Success
|
|
892
|
+
* @throws ApiError
|
|
893
|
+
*/
|
|
894
|
+
public putApiCrmServiceMerchantsByIdOrganizationByOrganizationId(data: PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdOrganizationByOrganizationIdResponse> {
|
|
895
|
+
return this.httpRequest.request({
|
|
896
|
+
method: 'PUT',
|
|
897
|
+
url: '/api/crm-service/merchants/{id}/organization/{organizationId}',
|
|
898
|
+
path: {
|
|
899
|
+
id: data.id,
|
|
900
|
+
organizationId: data.organizationId
|
|
901
|
+
},
|
|
902
|
+
body: data.requestBody,
|
|
903
|
+
mediaType: 'application/json',
|
|
904
|
+
errors: {
|
|
905
|
+
400: 'Bad Request',
|
|
906
|
+
401: 'Unauthorized',
|
|
907
|
+
403: 'Forbidden',
|
|
908
|
+
404: 'Not Found',
|
|
909
|
+
500: 'Server Error',
|
|
910
|
+
501: 'Server Error'
|
|
911
|
+
}
|
|
912
|
+
});
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* @param data The data for the request.
|
|
917
|
+
* @param data.requestBody
|
|
918
|
+
* @returns unknown Success
|
|
919
|
+
* @throws ApiError
|
|
920
|
+
*/
|
|
921
|
+
public postApiCrmServiceMerchantsBulkProductGroupMerchant(data: PostApiCrmServiceMerchantsBulkProductGroupMerchantData = {}): CancelablePromise<PostApiCrmServiceMerchantsBulkProductGroupMerchantResponse> {
|
|
922
|
+
return this.httpRequest.request({
|
|
923
|
+
method: 'POST',
|
|
924
|
+
url: '/api/crm-service/merchants/bulk-product-group-merchant',
|
|
925
|
+
body: data.requestBody,
|
|
926
|
+
mediaType: 'application/json',
|
|
927
|
+
errors: {
|
|
928
|
+
400: 'Bad Request',
|
|
929
|
+
401: 'Unauthorized',
|
|
930
|
+
403: 'Forbidden',
|
|
931
|
+
404: 'Not Found',
|
|
932
|
+
500: 'Server Error',
|
|
933
|
+
501: 'Server Error'
|
|
934
|
+
}
|
|
935
|
+
});
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* @param data The data for the request.
|
|
940
|
+
* @param data.merchantId
|
|
941
|
+
* @param data.id
|
|
942
|
+
* @param data.requestBody
|
|
943
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
944
|
+
* @throws ApiError
|
|
945
|
+
*/
|
|
946
|
+
public putApiCrmServiceMerchantsByMerchantIdTelephoneById(data: PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdTelephoneByIdResponse> {
|
|
947
|
+
return this.httpRequest.request({
|
|
948
|
+
method: 'PUT',
|
|
949
|
+
url: '/api/crm-service/merchants/{merchantId}/telephone/{id}',
|
|
950
|
+
path: {
|
|
951
|
+
merchantId: data.merchantId,
|
|
952
|
+
id: data.id
|
|
953
|
+
},
|
|
954
|
+
body: data.requestBody,
|
|
955
|
+
mediaType: 'application/json',
|
|
956
|
+
errors: {
|
|
957
|
+
400: 'Bad Request',
|
|
958
|
+
401: 'Unauthorized',
|
|
959
|
+
403: 'Forbidden',
|
|
960
|
+
404: 'Not Found',
|
|
961
|
+
500: 'Server Error',
|
|
962
|
+
501: 'Server Error'
|
|
963
|
+
}
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* @param data The data for the request.
|
|
969
|
+
* @param data.merchantId
|
|
970
|
+
* @param data.id
|
|
971
|
+
* @param data.requestBody
|
|
972
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
973
|
+
* @throws ApiError
|
|
974
|
+
*/
|
|
975
|
+
public putApiCrmServiceMerchantsByMerchantIdAddressById(data: PutApiCrmServiceMerchantsByMerchantIdAddressByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdAddressByIdResponse> {
|
|
976
|
+
return this.httpRequest.request({
|
|
977
|
+
method: 'PUT',
|
|
978
|
+
url: '/api/crm-service/merchants/{merchantId}/address/{id}',
|
|
979
|
+
path: {
|
|
980
|
+
merchantId: data.merchantId,
|
|
981
|
+
id: data.id
|
|
982
|
+
},
|
|
983
|
+
body: data.requestBody,
|
|
984
|
+
mediaType: 'application/json',
|
|
985
|
+
errors: {
|
|
986
|
+
400: 'Bad Request',
|
|
987
|
+
401: 'Unauthorized',
|
|
988
|
+
403: 'Forbidden',
|
|
989
|
+
404: 'Not Found',
|
|
990
|
+
500: 'Server Error',
|
|
991
|
+
501: 'Server Error'
|
|
992
|
+
}
|
|
993
|
+
});
|
|
994
|
+
}
|
|
995
|
+
|
|
996
|
+
/**
|
|
997
|
+
* @param data The data for the request.
|
|
998
|
+
* @param data.merchantId
|
|
999
|
+
* @param data.id
|
|
1000
|
+
* @param data.requestBody
|
|
1001
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1002
|
+
* @throws ApiError
|
|
1003
|
+
*/
|
|
1004
|
+
public putApiCrmServiceMerchantsByMerchantIdEmailById(data: PutApiCrmServiceMerchantsByMerchantIdEmailByIdData): CancelablePromise<PutApiCrmServiceMerchantsByMerchantIdEmailByIdResponse> {
|
|
1005
|
+
return this.httpRequest.request({
|
|
1006
|
+
method: 'PUT',
|
|
1007
|
+
url: '/api/crm-service/merchants/{merchantId}/email/{id}',
|
|
1008
|
+
path: {
|
|
1009
|
+
merchantId: data.merchantId,
|
|
1010
|
+
id: data.id
|
|
1011
|
+
},
|
|
1012
|
+
body: data.requestBody,
|
|
1013
|
+
mediaType: 'application/json',
|
|
1014
|
+
errors: {
|
|
1015
|
+
400: 'Bad Request',
|
|
1016
|
+
401: 'Unauthorized',
|
|
1017
|
+
403: 'Forbidden',
|
|
1018
|
+
404: 'Not Found',
|
|
1019
|
+
500: 'Server Error',
|
|
1020
|
+
501: 'Server Error'
|
|
1021
|
+
}
|
|
1022
|
+
});
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
export class OrganizationService {
|
|
1028
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* @param data The data for the request.
|
|
1032
|
+
* @param data.requestBody
|
|
1033
|
+
* @returns unknown Success
|
|
1034
|
+
* @throws ApiError
|
|
1035
|
+
*/
|
|
1036
|
+
public postApiCrmServiceOrganizationsWithComponents(data: PostApiCrmServiceOrganizationsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceOrganizationsWithComponentsResponse> {
|
|
1037
|
+
return this.httpRequest.request({
|
|
1038
|
+
method: 'POST',
|
|
1039
|
+
url: '/api/crm-service/organizations/with-components',
|
|
1040
|
+
body: data.requestBody,
|
|
1041
|
+
mediaType: 'application/json',
|
|
1042
|
+
errors: {
|
|
1043
|
+
400: 'Bad Request',
|
|
1044
|
+
401: 'Unauthorized',
|
|
1045
|
+
403: 'Forbidden',
|
|
1046
|
+
404: 'Not Found',
|
|
1047
|
+
500: 'Server Error',
|
|
1048
|
+
501: 'Server Error'
|
|
1049
|
+
}
|
|
1050
|
+
});
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* @param data The data for the request.
|
|
1055
|
+
* @param data.entityPartyTypeCode
|
|
1056
|
+
* @param data.parentId
|
|
1057
|
+
* @param data.sorting
|
|
1058
|
+
* @param data.skipCount
|
|
1059
|
+
* @param data.maxResultCount
|
|
1060
|
+
* @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
|
|
1061
|
+
* @throws ApiError
|
|
1062
|
+
*/
|
|
1063
|
+
public getApiCrmServiceOrganizations(data: GetApiCrmServiceOrganizationsData = {}): CancelablePromise<GetApiCrmServiceOrganizationsResponse> {
|
|
1064
|
+
return this.httpRequest.request({
|
|
1065
|
+
method: 'GET',
|
|
1066
|
+
url: '/api/crm-service/organizations',
|
|
1067
|
+
query: {
|
|
1068
|
+
EntityPartyTypeCode: data.entityPartyTypeCode,
|
|
1069
|
+
ParentId: data.parentId,
|
|
1070
|
+
Sorting: data.sorting,
|
|
1071
|
+
SkipCount: data.skipCount,
|
|
1072
|
+
MaxResultCount: data.maxResultCount
|
|
1073
|
+
},
|
|
1074
|
+
errors: {
|
|
1075
|
+
400: 'Bad Request',
|
|
1076
|
+
401: 'Unauthorized',
|
|
1077
|
+
403: 'Forbidden',
|
|
1078
|
+
404: 'Not Found',
|
|
1079
|
+
500: 'Server Error',
|
|
1080
|
+
501: 'Server Error'
|
|
1081
|
+
}
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
export class RefundPointService {
|
|
1088
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* @param data The data for the request.
|
|
1092
|
+
* @param data.sorting
|
|
1093
|
+
* @param data.skipCount
|
|
1094
|
+
* @param data.maxResultCount
|
|
1095
|
+
* @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
|
|
1096
|
+
* @throws ApiError
|
|
1097
|
+
*/
|
|
1098
|
+
public getApiCrmServiceRefundPoints(data: GetApiCrmServiceRefundPointsData = {}): CancelablePromise<GetApiCrmServiceRefundPointsResponse> {
|
|
1099
|
+
return this.httpRequest.request({
|
|
1100
|
+
method: 'GET',
|
|
1101
|
+
url: '/api/crm-service/refund-points',
|
|
1102
|
+
query: {
|
|
1103
|
+
Sorting: data.sorting,
|
|
1104
|
+
SkipCount: data.skipCount,
|
|
1105
|
+
MaxResultCount: data.maxResultCount
|
|
1106
|
+
},
|
|
1107
|
+
errors: {
|
|
1108
|
+
400: 'Bad Request',
|
|
1109
|
+
401: 'Unauthorized',
|
|
1110
|
+
403: 'Forbidden',
|
|
1111
|
+
404: 'Not Found',
|
|
1112
|
+
500: 'Server Error',
|
|
1113
|
+
501: 'Server Error'
|
|
1114
|
+
}
|
|
1115
|
+
});
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/**
|
|
1119
|
+
* @param data The data for the request.
|
|
1120
|
+
* @param data.id
|
|
1121
|
+
* @returns UniRefund_CRMService_RefundPoints_RefundPointDto Success
|
|
1122
|
+
* @throws ApiError
|
|
1123
|
+
*/
|
|
1124
|
+
public getApiCrmServiceRefundPointsDetailById(data: GetApiCrmServiceRefundPointsDetailByIdData): CancelablePromise<GetApiCrmServiceRefundPointsDetailByIdResponse> {
|
|
1125
|
+
return this.httpRequest.request({
|
|
1126
|
+
method: 'GET',
|
|
1127
|
+
url: '/api/crm-service/refund-points/detail/{id}',
|
|
1128
|
+
path: {
|
|
1129
|
+
id: data.id
|
|
1130
|
+
},
|
|
1131
|
+
errors: {
|
|
1132
|
+
400: 'Bad Request',
|
|
1133
|
+
401: 'Unauthorized',
|
|
1134
|
+
403: 'Forbidden',
|
|
1135
|
+
404: 'Not Found',
|
|
1136
|
+
500: 'Server Error',
|
|
1137
|
+
501: 'Server Error'
|
|
1138
|
+
}
|
|
1139
|
+
});
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* @param data The data for the request.
|
|
1144
|
+
* @param data.requestBody
|
|
1145
|
+
* @returns unknown Success
|
|
1146
|
+
* @throws ApiError
|
|
1147
|
+
*/
|
|
1148
|
+
public postApiCrmServiceRefundPointsWithComponents(data: PostApiCrmServiceRefundPointsWithComponentsData = {}): CancelablePromise<PostApiCrmServiceRefundPointsWithComponentsResponse> {
|
|
1149
|
+
return this.httpRequest.request({
|
|
1150
|
+
method: 'POST',
|
|
1151
|
+
url: '/api/crm-service/refund-points/with-components',
|
|
1152
|
+
body: data.requestBody,
|
|
1153
|
+
mediaType: 'application/json',
|
|
1154
|
+
errors: {
|
|
1155
|
+
400: 'Bad Request',
|
|
1156
|
+
401: 'Unauthorized',
|
|
1157
|
+
403: 'Forbidden',
|
|
1158
|
+
404: 'Not Found',
|
|
1159
|
+
500: 'Server Error',
|
|
1160
|
+
501: 'Server Error'
|
|
1161
|
+
}
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @param data The data for the request.
|
|
1167
|
+
* @param data.id
|
|
1168
|
+
* @returns unknown Success
|
|
1169
|
+
* @throws ApiError
|
|
1170
|
+
*/
|
|
1171
|
+
public deleteApiCrmServiceRefundPointsWithComponentsById(data: DeleteApiCrmServiceRefundPointsWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceRefundPointsWithComponentsByIdResponse> {
|
|
1172
|
+
return this.httpRequest.request({
|
|
1173
|
+
method: 'DELETE',
|
|
1174
|
+
url: '/api/crm-service/refund-points/with-components/{id}',
|
|
1175
|
+
path: {
|
|
1176
|
+
id: data.id
|
|
1177
|
+
},
|
|
1178
|
+
errors: {
|
|
1179
|
+
400: 'Bad Request',
|
|
1180
|
+
401: 'Unauthorized',
|
|
1181
|
+
403: 'Forbidden',
|
|
1182
|
+
404: 'Not Found',
|
|
1183
|
+
500: 'Server Error',
|
|
1184
|
+
501: 'Server Error'
|
|
1185
|
+
}
|
|
1186
|
+
});
|
|
1187
|
+
}
|
|
1188
|
+
|
|
1189
|
+
/**
|
|
1190
|
+
* @param data The data for the request.
|
|
1191
|
+
* @param data.refundPointId
|
|
1192
|
+
* @param data.requestBody
|
|
1193
|
+
* @returns unknown Success
|
|
1194
|
+
* @throws ApiError
|
|
1195
|
+
*/
|
|
1196
|
+
public postApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<PostApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
|
|
1197
|
+
return this.httpRequest.request({
|
|
1198
|
+
method: 'POST',
|
|
1199
|
+
url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
|
|
1200
|
+
path: {
|
|
1201
|
+
refundPointId: data.refundPointId
|
|
1202
|
+
},
|
|
1203
|
+
body: data.requestBody,
|
|
1204
|
+
mediaType: 'application/json',
|
|
1205
|
+
errors: {
|
|
1206
|
+
400: 'Bad Request',
|
|
1207
|
+
401: 'Unauthorized',
|
|
1208
|
+
403: 'Forbidden',
|
|
1209
|
+
404: 'Not Found',
|
|
1210
|
+
500: 'Server Error',
|
|
1211
|
+
501: 'Server Error'
|
|
1212
|
+
}
|
|
1213
|
+
});
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* @param data The data for the request.
|
|
1218
|
+
* @param data.refundPointId
|
|
1219
|
+
* @param data.sorting
|
|
1220
|
+
* @param data.skipCount
|
|
1221
|
+
* @param data.maxResultCount
|
|
1222
|
+
* @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
|
|
1223
|
+
* @throws ApiError
|
|
1224
|
+
*/
|
|
1225
|
+
public getApiCrmServiceRefundPointsByRefundPointIdAffiliations(data: GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsData): CancelablePromise<GetApiCrmServiceRefundPointsByRefundPointIdAffiliationsResponse> {
|
|
1226
|
+
return this.httpRequest.request({
|
|
1227
|
+
method: 'GET',
|
|
1228
|
+
url: '/api/crm-service/refund-points/{refundPointId}/affiliations',
|
|
1229
|
+
path: {
|
|
1230
|
+
refundPointId: data.refundPointId
|
|
1231
|
+
},
|
|
1232
|
+
query: {
|
|
1233
|
+
Sorting: data.sorting,
|
|
1234
|
+
SkipCount: data.skipCount,
|
|
1235
|
+
MaxResultCount: data.maxResultCount
|
|
1236
|
+
},
|
|
1237
|
+
errors: {
|
|
1238
|
+
400: 'Bad Request',
|
|
1239
|
+
401: 'Unauthorized',
|
|
1240
|
+
403: 'Forbidden',
|
|
1241
|
+
404: 'Not Found',
|
|
1242
|
+
500: 'Server Error',
|
|
1243
|
+
501: 'Server Error'
|
|
1244
|
+
}
|
|
1245
|
+
});
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
/**
|
|
1249
|
+
* @param data The data for the request.
|
|
1250
|
+
* @param data.refundPointId
|
|
1251
|
+
* @param data.organizationId
|
|
1252
|
+
* @param data.requestBody
|
|
1253
|
+
* @returns unknown Success
|
|
1254
|
+
* @throws ApiError
|
|
1255
|
+
*/
|
|
1256
|
+
public putApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationId(data: PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdOrganizationByOrganizationIdResponse> {
|
|
1257
|
+
return this.httpRequest.request({
|
|
1258
|
+
method: 'PUT',
|
|
1259
|
+
url: '/api/crm-service/refund-points/{refundPointId}/organization/{organizationId}',
|
|
1260
|
+
path: {
|
|
1261
|
+
refundPointId: data.refundPointId,
|
|
1262
|
+
organizationId: data.organizationId
|
|
1263
|
+
},
|
|
1264
|
+
body: data.requestBody,
|
|
1265
|
+
mediaType: 'application/json',
|
|
1266
|
+
errors: {
|
|
1267
|
+
400: 'Bad Request',
|
|
1268
|
+
401: 'Unauthorized',
|
|
1269
|
+
403: 'Forbidden',
|
|
1270
|
+
404: 'Not Found',
|
|
1271
|
+
500: 'Server Error',
|
|
1272
|
+
501: 'Server Error'
|
|
1273
|
+
}
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* @param data The data for the request.
|
|
1279
|
+
* @param data.refundPointId
|
|
1280
|
+
* @param data.id
|
|
1281
|
+
* @param data.requestBody
|
|
1282
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1283
|
+
* @throws ApiError
|
|
1284
|
+
*/
|
|
1285
|
+
public putApiCrmServiceRefundPointsByRefundPointIdTelephoneById(data: PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdTelephoneByIdResponse> {
|
|
1286
|
+
return this.httpRequest.request({
|
|
1287
|
+
method: 'PUT',
|
|
1288
|
+
url: '/api/crm-service/refund-points/{refundPointId}/telephone/{id}',
|
|
1289
|
+
path: {
|
|
1290
|
+
refundPointId: data.refundPointId,
|
|
1291
|
+
id: data.id
|
|
1292
|
+
},
|
|
1293
|
+
body: data.requestBody,
|
|
1294
|
+
mediaType: 'application/json',
|
|
1295
|
+
errors: {
|
|
1296
|
+
400: 'Bad Request',
|
|
1297
|
+
401: 'Unauthorized',
|
|
1298
|
+
403: 'Forbidden',
|
|
1299
|
+
404: 'Not Found',
|
|
1300
|
+
500: 'Server Error',
|
|
1301
|
+
501: 'Server Error'
|
|
1302
|
+
}
|
|
1303
|
+
});
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
/**
|
|
1307
|
+
* @param data The data for the request.
|
|
1308
|
+
* @param data.refundPointId
|
|
1309
|
+
* @param data.id
|
|
1310
|
+
* @param data.requestBody
|
|
1311
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1312
|
+
* @throws ApiError
|
|
1313
|
+
*/
|
|
1314
|
+
public putApiCrmServiceRefundPointsByRefundPointIdAddressById(data: PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdAddressByIdResponse> {
|
|
1315
|
+
return this.httpRequest.request({
|
|
1316
|
+
method: 'PUT',
|
|
1317
|
+
url: '/api/crm-service/refund-points/{refundPointId}/address/{id}',
|
|
1318
|
+
path: {
|
|
1319
|
+
refundPointId: data.refundPointId,
|
|
1320
|
+
id: data.id
|
|
1321
|
+
},
|
|
1322
|
+
body: data.requestBody,
|
|
1323
|
+
mediaType: 'application/json',
|
|
1324
|
+
errors: {
|
|
1325
|
+
400: 'Bad Request',
|
|
1326
|
+
401: 'Unauthorized',
|
|
1327
|
+
403: 'Forbidden',
|
|
1328
|
+
404: 'Not Found',
|
|
1329
|
+
500: 'Server Error',
|
|
1330
|
+
501: 'Server Error'
|
|
1331
|
+
}
|
|
1332
|
+
});
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* @param data The data for the request.
|
|
1337
|
+
* @param data.refundPointId
|
|
1338
|
+
* @param data.id
|
|
1339
|
+
* @param data.requestBody
|
|
1340
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1341
|
+
* @throws ApiError
|
|
1342
|
+
*/
|
|
1343
|
+
public putApiCrmServiceRefundPointsByRefundPointIdEmailById(data: PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdData): CancelablePromise<PutApiCrmServiceRefundPointsByRefundPointIdEmailByIdResponse> {
|
|
1344
|
+
return this.httpRequest.request({
|
|
1345
|
+
method: 'PUT',
|
|
1346
|
+
url: '/api/crm-service/refund-points/{refundPointId}/email/{id}',
|
|
1347
|
+
path: {
|
|
1348
|
+
refundPointId: data.refundPointId,
|
|
1349
|
+
id: data.id
|
|
1350
|
+
},
|
|
1351
|
+
body: data.requestBody,
|
|
1352
|
+
mediaType: 'application/json',
|
|
1353
|
+
errors: {
|
|
1354
|
+
400: 'Bad Request',
|
|
1355
|
+
401: 'Unauthorized',
|
|
1356
|
+
403: 'Forbidden',
|
|
1357
|
+
404: 'Not Found',
|
|
1358
|
+
500: 'Server Error',
|
|
1359
|
+
501: 'Server Error'
|
|
1360
|
+
}
|
|
1361
|
+
});
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
}
|
|
1365
|
+
|
|
1366
|
+
export class TaxFreeService {
|
|
1367
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1368
|
+
|
|
1369
|
+
/**
|
|
1370
|
+
* @param data The data for the request.
|
|
1371
|
+
* @param data.sorting
|
|
1372
|
+
* @param data.skipCount
|
|
1373
|
+
* @param data.maxResultCount
|
|
1374
|
+
* @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
|
|
1375
|
+
* @throws ApiError
|
|
1376
|
+
*/
|
|
1377
|
+
public getApiCrmServiceTaxFrees(data: GetApiCrmServiceTaxFreesData = {}): CancelablePromise<GetApiCrmServiceTaxFreesResponse> {
|
|
1378
|
+
return this.httpRequest.request({
|
|
1379
|
+
method: 'GET',
|
|
1380
|
+
url: '/api/crm-service/tax-frees',
|
|
1381
|
+
query: {
|
|
1382
|
+
Sorting: data.sorting,
|
|
1383
|
+
SkipCount: data.skipCount,
|
|
1384
|
+
MaxResultCount: data.maxResultCount
|
|
1385
|
+
},
|
|
1386
|
+
errors: {
|
|
1387
|
+
400: 'Bad Request',
|
|
1388
|
+
401: 'Unauthorized',
|
|
1389
|
+
403: 'Forbidden',
|
|
1390
|
+
404: 'Not Found',
|
|
1391
|
+
500: 'Server Error',
|
|
1392
|
+
501: 'Server Error'
|
|
1393
|
+
}
|
|
1394
|
+
});
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
/**
|
|
1398
|
+
* @param data The data for the request.
|
|
1399
|
+
* @param data.id
|
|
1400
|
+
* @returns UniRefund_CRMService_TaxFrees_TaxFreeDto Success
|
|
1401
|
+
* @throws ApiError
|
|
1402
|
+
*/
|
|
1403
|
+
public getApiCrmServiceTaxFreesDetailById(data: GetApiCrmServiceTaxFreesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxFreesDetailByIdResponse> {
|
|
1404
|
+
return this.httpRequest.request({
|
|
1405
|
+
method: 'GET',
|
|
1406
|
+
url: '/api/crm-service/tax-frees/detail/{id}',
|
|
1407
|
+
path: {
|
|
1408
|
+
id: data.id
|
|
1409
|
+
},
|
|
1410
|
+
errors: {
|
|
1411
|
+
400: 'Bad Request',
|
|
1412
|
+
401: 'Unauthorized',
|
|
1413
|
+
403: 'Forbidden',
|
|
1414
|
+
404: 'Not Found',
|
|
1415
|
+
500: 'Server Error',
|
|
1416
|
+
501: 'Server Error'
|
|
1417
|
+
}
|
|
1418
|
+
});
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* @param data The data for the request.
|
|
1423
|
+
* @param data.requestBody
|
|
1424
|
+
* @returns unknown Success
|
|
1425
|
+
* @throws ApiError
|
|
1426
|
+
*/
|
|
1427
|
+
public postApiCrmServiceTaxFreesWithComponents(data: PostApiCrmServiceTaxFreesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxFreesWithComponentsResponse> {
|
|
1428
|
+
return this.httpRequest.request({
|
|
1429
|
+
method: 'POST',
|
|
1430
|
+
url: '/api/crm-service/tax-frees/with-components',
|
|
1431
|
+
body: data.requestBody,
|
|
1432
|
+
mediaType: 'application/json',
|
|
1433
|
+
errors: {
|
|
1434
|
+
400: 'Bad Request',
|
|
1435
|
+
401: 'Unauthorized',
|
|
1436
|
+
403: 'Forbidden',
|
|
1437
|
+
404: 'Not Found',
|
|
1438
|
+
500: 'Server Error',
|
|
1439
|
+
501: 'Server Error'
|
|
1440
|
+
}
|
|
1441
|
+
});
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* @param data The data for the request.
|
|
1446
|
+
* @param data.id
|
|
1447
|
+
* @returns unknown Success
|
|
1448
|
+
* @throws ApiError
|
|
1449
|
+
*/
|
|
1450
|
+
public deleteApiCrmServiceTaxFreesWithComponentsById(data: DeleteApiCrmServiceTaxFreesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxFreesWithComponentsByIdResponse> {
|
|
1451
|
+
return this.httpRequest.request({
|
|
1452
|
+
method: 'DELETE',
|
|
1453
|
+
url: '/api/crm-service/tax-frees/with-components/{id}',
|
|
1454
|
+
path: {
|
|
1455
|
+
id: data.id
|
|
1456
|
+
},
|
|
1457
|
+
errors: {
|
|
1458
|
+
400: 'Bad Request',
|
|
1459
|
+
401: 'Unauthorized',
|
|
1460
|
+
403: 'Forbidden',
|
|
1461
|
+
404: 'Not Found',
|
|
1462
|
+
500: 'Server Error',
|
|
1463
|
+
501: 'Server Error'
|
|
1464
|
+
}
|
|
1465
|
+
});
|
|
1466
|
+
}
|
|
1467
|
+
|
|
1468
|
+
/**
|
|
1469
|
+
* @param data The data for the request.
|
|
1470
|
+
* @param data.taxFreesId
|
|
1471
|
+
* @param data.requestBody
|
|
1472
|
+
* @returns unknown Success
|
|
1473
|
+
* @throws ApiError
|
|
1474
|
+
*/
|
|
1475
|
+
public postApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
|
|
1476
|
+
return this.httpRequest.request({
|
|
1477
|
+
method: 'POST',
|
|
1478
|
+
url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
|
|
1479
|
+
path: {
|
|
1480
|
+
taxFreesId: data.taxFreesId
|
|
1481
|
+
},
|
|
1482
|
+
body: data.requestBody,
|
|
1483
|
+
mediaType: 'application/json',
|
|
1484
|
+
errors: {
|
|
1485
|
+
400: 'Bad Request',
|
|
1486
|
+
401: 'Unauthorized',
|
|
1487
|
+
403: 'Forbidden',
|
|
1488
|
+
404: 'Not Found',
|
|
1489
|
+
500: 'Server Error',
|
|
1490
|
+
501: 'Server Error'
|
|
1491
|
+
}
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* @param data The data for the request.
|
|
1497
|
+
* @param data.taxFreesId
|
|
1498
|
+
* @param data.sorting
|
|
1499
|
+
* @param data.skipCount
|
|
1500
|
+
* @param data.maxResultCount
|
|
1501
|
+
* @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
|
|
1502
|
+
* @throws ApiError
|
|
1503
|
+
*/
|
|
1504
|
+
public getApiCrmServiceTaxFreesByTaxFreesIdAffiliations(data: GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxFreesByTaxFreesIdAffiliationsResponse> {
|
|
1505
|
+
return this.httpRequest.request({
|
|
1506
|
+
method: 'GET',
|
|
1507
|
+
url: '/api/crm-service/tax-frees/{taxFreesId}/affiliations',
|
|
1508
|
+
path: {
|
|
1509
|
+
taxFreesId: data.taxFreesId
|
|
1510
|
+
},
|
|
1511
|
+
query: {
|
|
1512
|
+
Sorting: data.sorting,
|
|
1513
|
+
SkipCount: data.skipCount,
|
|
1514
|
+
MaxResultCount: data.maxResultCount
|
|
1515
|
+
},
|
|
1516
|
+
errors: {
|
|
1517
|
+
400: 'Bad Request',
|
|
1518
|
+
401: 'Unauthorized',
|
|
1519
|
+
403: 'Forbidden',
|
|
1520
|
+
404: 'Not Found',
|
|
1521
|
+
500: 'Server Error',
|
|
1522
|
+
501: 'Server Error'
|
|
1523
|
+
}
|
|
1524
|
+
});
|
|
1525
|
+
}
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* @param data The data for the request.
|
|
1529
|
+
* @param data.id
|
|
1530
|
+
* @param data.organizationId
|
|
1531
|
+
* @param data.requestBody
|
|
1532
|
+
* @returns unknown Success
|
|
1533
|
+
* @throws ApiError
|
|
1534
|
+
*/
|
|
1535
|
+
public putApiCrmServiceTaxFreesByIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxFreesByIdOrganizationByOrganizationIdResponse> {
|
|
1536
|
+
return this.httpRequest.request({
|
|
1537
|
+
method: 'PUT',
|
|
1538
|
+
url: '/api/crm-service/tax-frees/{id}/organization/{organizationId}',
|
|
1539
|
+
path: {
|
|
1540
|
+
id: data.id,
|
|
1541
|
+
organizationId: data.organizationId
|
|
1542
|
+
},
|
|
1543
|
+
body: data.requestBody,
|
|
1544
|
+
mediaType: 'application/json',
|
|
1545
|
+
errors: {
|
|
1546
|
+
400: 'Bad Request',
|
|
1547
|
+
401: 'Unauthorized',
|
|
1548
|
+
403: 'Forbidden',
|
|
1549
|
+
404: 'Not Found',
|
|
1550
|
+
500: 'Server Error',
|
|
1551
|
+
501: 'Server Error'
|
|
1552
|
+
}
|
|
1553
|
+
});
|
|
1554
|
+
}
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* @param data The data for the request.
|
|
1558
|
+
* @param data.taxFreeId
|
|
1559
|
+
* @param data.id
|
|
1560
|
+
* @param data.requestBody
|
|
1561
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1562
|
+
* @throws ApiError
|
|
1563
|
+
*/
|
|
1564
|
+
public putApiCrmServiceTaxFreesByTaxFreeIdTelephoneById(data: PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdTelephoneByIdResponse> {
|
|
1565
|
+
return this.httpRequest.request({
|
|
1566
|
+
method: 'PUT',
|
|
1567
|
+
url: '/api/crm-service/tax-frees/{taxFreeId}/telephone/{id}',
|
|
1568
|
+
path: {
|
|
1569
|
+
taxFreeId: data.taxFreeId,
|
|
1570
|
+
id: data.id
|
|
1571
|
+
},
|
|
1572
|
+
body: data.requestBody,
|
|
1573
|
+
mediaType: 'application/json',
|
|
1574
|
+
errors: {
|
|
1575
|
+
400: 'Bad Request',
|
|
1576
|
+
401: 'Unauthorized',
|
|
1577
|
+
403: 'Forbidden',
|
|
1578
|
+
404: 'Not Found',
|
|
1579
|
+
500: 'Server Error',
|
|
1580
|
+
501: 'Server Error'
|
|
1581
|
+
}
|
|
1582
|
+
});
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* @param data The data for the request.
|
|
1587
|
+
* @param data.taxFreeId
|
|
1588
|
+
* @param data.id
|
|
1589
|
+
* @param data.requestBody
|
|
1590
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1591
|
+
* @throws ApiError
|
|
1592
|
+
*/
|
|
1593
|
+
public putApiCrmServiceTaxFreesByTaxFreeIdAddressById(data: PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdAddressByIdResponse> {
|
|
1594
|
+
return this.httpRequest.request({
|
|
1595
|
+
method: 'PUT',
|
|
1596
|
+
url: '/api/crm-service/tax-frees/{taxFreeId}/address/{id}',
|
|
1597
|
+
path: {
|
|
1598
|
+
taxFreeId: data.taxFreeId,
|
|
1599
|
+
id: data.id
|
|
1600
|
+
},
|
|
1601
|
+
body: data.requestBody,
|
|
1602
|
+
mediaType: 'application/json',
|
|
1603
|
+
errors: {
|
|
1604
|
+
400: 'Bad Request',
|
|
1605
|
+
401: 'Unauthorized',
|
|
1606
|
+
403: 'Forbidden',
|
|
1607
|
+
404: 'Not Found',
|
|
1608
|
+
500: 'Server Error',
|
|
1609
|
+
501: 'Server Error'
|
|
1610
|
+
}
|
|
1611
|
+
});
|
|
1612
|
+
}
|
|
1613
|
+
|
|
1614
|
+
/**
|
|
1615
|
+
* @param data The data for the request.
|
|
1616
|
+
* @param data.taxFreeId
|
|
1617
|
+
* @param data.id
|
|
1618
|
+
* @param data.requestBody
|
|
1619
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1620
|
+
* @throws ApiError
|
|
1621
|
+
*/
|
|
1622
|
+
public putApiCrmServiceTaxFreesByTaxFreeIdEmailById(data: PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdData): CancelablePromise<PutApiCrmServiceTaxFreesByTaxFreeIdEmailByIdResponse> {
|
|
1623
|
+
return this.httpRequest.request({
|
|
1624
|
+
method: 'PUT',
|
|
1625
|
+
url: '/api/crm-service/tax-frees/{taxFreeId}/email/{id}',
|
|
1626
|
+
path: {
|
|
1627
|
+
taxFreeId: data.taxFreeId,
|
|
1628
|
+
id: data.id
|
|
1629
|
+
},
|
|
1630
|
+
body: data.requestBody,
|
|
1631
|
+
mediaType: 'application/json',
|
|
1632
|
+
errors: {
|
|
1633
|
+
400: 'Bad Request',
|
|
1634
|
+
401: 'Unauthorized',
|
|
1635
|
+
403: 'Forbidden',
|
|
1636
|
+
404: 'Not Found',
|
|
1637
|
+
500: 'Server Error',
|
|
1638
|
+
501: 'Server Error'
|
|
1639
|
+
}
|
|
1640
|
+
});
|
|
1641
|
+
}
|
|
1642
|
+
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
export class TaxOfficeService {
|
|
1646
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1647
|
+
|
|
1648
|
+
/**
|
|
1649
|
+
* @param data The data for the request.
|
|
1650
|
+
* @param data.sorting
|
|
1651
|
+
* @param data.skipCount
|
|
1652
|
+
* @param data.maxResultCount
|
|
1653
|
+
* @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
|
|
1654
|
+
* @throws ApiError
|
|
1655
|
+
*/
|
|
1656
|
+
public getApiCrmServiceTaxOffices(data: GetApiCrmServiceTaxOfficesData = {}): CancelablePromise<GetApiCrmServiceTaxOfficesResponse> {
|
|
1657
|
+
return this.httpRequest.request({
|
|
1658
|
+
method: 'GET',
|
|
1659
|
+
url: '/api/crm-service/tax-offices',
|
|
1660
|
+
query: {
|
|
1661
|
+
Sorting: data.sorting,
|
|
1662
|
+
SkipCount: data.skipCount,
|
|
1663
|
+
MaxResultCount: data.maxResultCount
|
|
1664
|
+
},
|
|
1665
|
+
errors: {
|
|
1666
|
+
400: 'Bad Request',
|
|
1667
|
+
401: 'Unauthorized',
|
|
1668
|
+
403: 'Forbidden',
|
|
1669
|
+
404: 'Not Found',
|
|
1670
|
+
500: 'Server Error',
|
|
1671
|
+
501: 'Server Error'
|
|
1672
|
+
}
|
|
1673
|
+
});
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
/**
|
|
1677
|
+
* @param data The data for the request.
|
|
1678
|
+
* @param data.id
|
|
1679
|
+
* @returns UniRefund_CRMService_TaxOffices_TaxOfficeDto Success
|
|
1680
|
+
* @throws ApiError
|
|
1681
|
+
*/
|
|
1682
|
+
public getApiCrmServiceTaxOfficesDetailById(data: GetApiCrmServiceTaxOfficesDetailByIdData): CancelablePromise<GetApiCrmServiceTaxOfficesDetailByIdResponse> {
|
|
1683
|
+
return this.httpRequest.request({
|
|
1684
|
+
method: 'GET',
|
|
1685
|
+
url: '/api/crm-service/tax-offices/detail/{id}',
|
|
1686
|
+
path: {
|
|
1687
|
+
id: data.id
|
|
1688
|
+
},
|
|
1689
|
+
errors: {
|
|
1690
|
+
400: 'Bad Request',
|
|
1691
|
+
401: 'Unauthorized',
|
|
1692
|
+
403: 'Forbidden',
|
|
1693
|
+
404: 'Not Found',
|
|
1694
|
+
500: 'Server Error',
|
|
1695
|
+
501: 'Server Error'
|
|
1696
|
+
}
|
|
1697
|
+
});
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
/**
|
|
1701
|
+
* @param data The data for the request.
|
|
1702
|
+
* @param data.requestBody
|
|
1703
|
+
* @returns unknown Success
|
|
1704
|
+
* @throws ApiError
|
|
1705
|
+
*/
|
|
1706
|
+
public postApiCrmServiceTaxOfficesWithComponents(data: PostApiCrmServiceTaxOfficesWithComponentsData = {}): CancelablePromise<PostApiCrmServiceTaxOfficesWithComponentsResponse> {
|
|
1707
|
+
return this.httpRequest.request({
|
|
1708
|
+
method: 'POST',
|
|
1709
|
+
url: '/api/crm-service/tax-offices/with-components',
|
|
1710
|
+
body: data.requestBody,
|
|
1711
|
+
mediaType: 'application/json',
|
|
1712
|
+
errors: {
|
|
1713
|
+
400: 'Bad Request',
|
|
1714
|
+
401: 'Unauthorized',
|
|
1715
|
+
403: 'Forbidden',
|
|
1716
|
+
404: 'Not Found',
|
|
1717
|
+
500: 'Server Error',
|
|
1718
|
+
501: 'Server Error'
|
|
1719
|
+
}
|
|
1720
|
+
});
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
/**
|
|
1724
|
+
* @param data The data for the request.
|
|
1725
|
+
* @param data.id
|
|
1726
|
+
* @returns unknown Success
|
|
1727
|
+
* @throws ApiError
|
|
1728
|
+
*/
|
|
1729
|
+
public deleteApiCrmServiceTaxOfficesWithComponentsById(data: DeleteApiCrmServiceTaxOfficesWithComponentsByIdData): CancelablePromise<DeleteApiCrmServiceTaxOfficesWithComponentsByIdResponse> {
|
|
1730
|
+
return this.httpRequest.request({
|
|
1731
|
+
method: 'DELETE',
|
|
1732
|
+
url: '/api/crm-service/tax-offices/with-components/{id}',
|
|
1733
|
+
path: {
|
|
1734
|
+
id: data.id
|
|
1735
|
+
},
|
|
1736
|
+
errors: {
|
|
1737
|
+
400: 'Bad Request',
|
|
1738
|
+
401: 'Unauthorized',
|
|
1739
|
+
403: 'Forbidden',
|
|
1740
|
+
404: 'Not Found',
|
|
1741
|
+
500: 'Server Error',
|
|
1742
|
+
501: 'Server Error'
|
|
1743
|
+
}
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
/**
|
|
1748
|
+
* @param data The data for the request.
|
|
1749
|
+
* @param data.taxOfficesId
|
|
1750
|
+
* @param data.requestBody
|
|
1751
|
+
* @returns unknown Success
|
|
1752
|
+
* @throws ApiError
|
|
1753
|
+
*/
|
|
1754
|
+
public postApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<PostApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
|
|
1755
|
+
return this.httpRequest.request({
|
|
1756
|
+
method: 'POST',
|
|
1757
|
+
url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
|
|
1758
|
+
path: {
|
|
1759
|
+
taxOfficesId: data.taxOfficesId
|
|
1760
|
+
},
|
|
1761
|
+
body: data.requestBody,
|
|
1762
|
+
mediaType: 'application/json',
|
|
1763
|
+
errors: {
|
|
1764
|
+
400: 'Bad Request',
|
|
1765
|
+
401: 'Unauthorized',
|
|
1766
|
+
403: 'Forbidden',
|
|
1767
|
+
404: 'Not Found',
|
|
1768
|
+
500: 'Server Error',
|
|
1769
|
+
501: 'Server Error'
|
|
1770
|
+
}
|
|
1771
|
+
});
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* @param data The data for the request.
|
|
1776
|
+
* @param data.taxOfficesId
|
|
1777
|
+
* @param data.sorting
|
|
1778
|
+
* @param data.skipCount
|
|
1779
|
+
* @param data.maxResultCount
|
|
1780
|
+
* @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
|
|
1781
|
+
* @throws ApiError
|
|
1782
|
+
*/
|
|
1783
|
+
public getApiCrmServiceTaxOfficesByTaxOfficesIdAffiliations(data: GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsData): CancelablePromise<GetApiCrmServiceTaxOfficesByTaxOfficesIdAffiliationsResponse> {
|
|
1784
|
+
return this.httpRequest.request({
|
|
1785
|
+
method: 'GET',
|
|
1786
|
+
url: '/api/crm-service/tax-offices/{taxOfficesId}/affiliations',
|
|
1787
|
+
path: {
|
|
1788
|
+
taxOfficesId: data.taxOfficesId
|
|
1789
|
+
},
|
|
1790
|
+
query: {
|
|
1791
|
+
Sorting: data.sorting,
|
|
1792
|
+
SkipCount: data.skipCount,
|
|
1793
|
+
MaxResultCount: data.maxResultCount
|
|
1794
|
+
},
|
|
1795
|
+
errors: {
|
|
1796
|
+
400: 'Bad Request',
|
|
1797
|
+
401: 'Unauthorized',
|
|
1798
|
+
403: 'Forbidden',
|
|
1799
|
+
404: 'Not Found',
|
|
1800
|
+
500: 'Server Error',
|
|
1801
|
+
501: 'Server Error'
|
|
1802
|
+
}
|
|
1803
|
+
});
|
|
1804
|
+
}
|
|
1805
|
+
|
|
1806
|
+
/**
|
|
1807
|
+
* @param data The data for the request.
|
|
1808
|
+
* @param data.taxOfficeId
|
|
1809
|
+
* @param data.organizationId
|
|
1810
|
+
* @param data.requestBody
|
|
1811
|
+
* @returns unknown Success
|
|
1812
|
+
* @throws ApiError
|
|
1813
|
+
*/
|
|
1814
|
+
public putApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationId(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdOrganizationByOrganizationIdResponse> {
|
|
1815
|
+
return this.httpRequest.request({
|
|
1816
|
+
method: 'PUT',
|
|
1817
|
+
url: '/api/crm-service/tax-offices/{taxOfficeId}/organization/{organizationId}',
|
|
1818
|
+
path: {
|
|
1819
|
+
taxOfficeId: data.taxOfficeId,
|
|
1820
|
+
organizationId: data.organizationId
|
|
1821
|
+
},
|
|
1822
|
+
body: data.requestBody,
|
|
1823
|
+
mediaType: 'application/json',
|
|
1824
|
+
errors: {
|
|
1825
|
+
400: 'Bad Request',
|
|
1826
|
+
401: 'Unauthorized',
|
|
1827
|
+
403: 'Forbidden',
|
|
1828
|
+
404: 'Not Found',
|
|
1829
|
+
500: 'Server Error',
|
|
1830
|
+
501: 'Server Error'
|
|
1831
|
+
}
|
|
1832
|
+
});
|
|
1833
|
+
}
|
|
1834
|
+
|
|
1835
|
+
/**
|
|
1836
|
+
* @param data The data for the request.
|
|
1837
|
+
* @param data.taxOfficeId
|
|
1838
|
+
* @param data.id
|
|
1839
|
+
* @param data.requestBody
|
|
1840
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1841
|
+
* @throws ApiError
|
|
1842
|
+
*/
|
|
1843
|
+
public putApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdTelephoneByIdResponse> {
|
|
1844
|
+
return this.httpRequest.request({
|
|
1845
|
+
method: 'PUT',
|
|
1846
|
+
url: '/api/crm-service/tax-offices/{taxOfficeId}/telephone/{id}',
|
|
1847
|
+
path: {
|
|
1848
|
+
taxOfficeId: data.taxOfficeId,
|
|
1849
|
+
id: data.id
|
|
1850
|
+
},
|
|
1851
|
+
body: data.requestBody,
|
|
1852
|
+
mediaType: 'application/json',
|
|
1853
|
+
errors: {
|
|
1854
|
+
400: 'Bad Request',
|
|
1855
|
+
401: 'Unauthorized',
|
|
1856
|
+
403: 'Forbidden',
|
|
1857
|
+
404: 'Not Found',
|
|
1858
|
+
500: 'Server Error',
|
|
1859
|
+
501: 'Server Error'
|
|
1860
|
+
}
|
|
1861
|
+
});
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* @param data The data for the request.
|
|
1866
|
+
* @param data.taxOfficeId
|
|
1867
|
+
* @param data.id
|
|
1868
|
+
* @param data.requestBody
|
|
1869
|
+
* @returns UniRefund_CRMService_AddressTypes_AddressTypeDto Success
|
|
1870
|
+
* @throws ApiError
|
|
1871
|
+
*/
|
|
1872
|
+
public putApiCrmServiceTaxOfficesByTaxOfficeIdAddressById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdAddressByIdResponse> {
|
|
1873
|
+
return this.httpRequest.request({
|
|
1874
|
+
method: 'PUT',
|
|
1875
|
+
url: '/api/crm-service/tax-offices/{taxOfficeId}/address/{id}',
|
|
1876
|
+
path: {
|
|
1877
|
+
taxOfficeId: data.taxOfficeId,
|
|
1878
|
+
id: data.id
|
|
1879
|
+
},
|
|
1880
|
+
body: data.requestBody,
|
|
1881
|
+
mediaType: 'application/json',
|
|
1882
|
+
errors: {
|
|
1883
|
+
400: 'Bad Request',
|
|
1884
|
+
401: 'Unauthorized',
|
|
1885
|
+
403: 'Forbidden',
|
|
1886
|
+
404: 'Not Found',
|
|
1887
|
+
500: 'Server Error',
|
|
1888
|
+
501: 'Server Error'
|
|
1889
|
+
}
|
|
1890
|
+
});
|
|
1891
|
+
}
|
|
1892
|
+
|
|
1893
|
+
/**
|
|
1894
|
+
* @param data The data for the request.
|
|
1895
|
+
* @param data.taxOfficeId
|
|
1896
|
+
* @param data.id
|
|
1897
|
+
* @param data.requestBody
|
|
1898
|
+
* @returns UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto Success
|
|
1899
|
+
* @throws ApiError
|
|
1900
|
+
*/
|
|
1901
|
+
public putApiCrmServiceTaxOfficesByTaxOfficeIdEmailById(data: PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdData): CancelablePromise<PutApiCrmServiceTaxOfficesByTaxOfficeIdEmailByIdResponse> {
|
|
1902
|
+
return this.httpRequest.request({
|
|
1903
|
+
method: 'PUT',
|
|
1904
|
+
url: '/api/crm-service/tax-offices/{taxOfficeId}/email/{id}',
|
|
1905
|
+
path: {
|
|
1906
|
+
taxOfficeId: data.taxOfficeId,
|
|
1907
|
+
id: data.id
|
|
1908
|
+
},
|
|
1909
|
+
body: data.requestBody,
|
|
1910
|
+
mediaType: 'application/json',
|
|
1911
|
+
errors: {
|
|
1912
|
+
400: 'Bad Request',
|
|
1913
|
+
401: 'Unauthorized',
|
|
1914
|
+
403: 'Forbidden',
|
|
1915
|
+
404: 'Not Found',
|
|
1916
|
+
500: 'Server Error',
|
|
1917
|
+
501: 'Server Error'
|
|
1918
|
+
}
|
|
1919
|
+
});
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
export class TelephoneTypeService {
|
|
1925
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* @param data The data for the request.
|
|
1929
|
+
* @param data.sorting
|
|
1930
|
+
* @param data.skipCount
|
|
1931
|
+
* @param data.maxResultCount
|
|
1932
|
+
* @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
|
|
1933
|
+
* @throws ApiError
|
|
1934
|
+
*/
|
|
1935
|
+
public getApiCrmServiceTelephones(data: GetApiCrmServiceTelephonesData = {}): CancelablePromise<GetApiCrmServiceTelephonesResponse> {
|
|
1936
|
+
return this.httpRequest.request({
|
|
1937
|
+
method: 'GET',
|
|
1938
|
+
url: '/api/crm-service/telephones',
|
|
1939
|
+
query: {
|
|
1940
|
+
Sorting: data.sorting,
|
|
1941
|
+
SkipCount: data.skipCount,
|
|
1942
|
+
MaxResultCount: data.maxResultCount
|
|
1943
|
+
},
|
|
1944
|
+
errors: {
|
|
1945
|
+
400: 'Bad Request',
|
|
1946
|
+
401: 'Unauthorized',
|
|
1947
|
+
403: 'Forbidden',
|
|
1948
|
+
404: 'Not Found',
|
|
1949
|
+
500: 'Server Error',
|
|
1950
|
+
501: 'Server Error'
|
|
1951
|
+
}
|
|
1952
|
+
});
|
|
1953
|
+
}
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* @param data The data for the request.
|
|
1957
|
+
* @param data.requestBody
|
|
1958
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1959
|
+
* @throws ApiError
|
|
1960
|
+
*/
|
|
1961
|
+
public postApiCrmServiceTelephones(data: PostApiCrmServiceTelephonesData = {}): CancelablePromise<PostApiCrmServiceTelephonesResponse> {
|
|
1962
|
+
return this.httpRequest.request({
|
|
1963
|
+
method: 'POST',
|
|
1964
|
+
url: '/api/crm-service/telephones',
|
|
1965
|
+
body: data.requestBody,
|
|
1966
|
+
mediaType: 'application/json',
|
|
1967
|
+
errors: {
|
|
1968
|
+
400: 'Bad Request',
|
|
1969
|
+
401: 'Unauthorized',
|
|
1970
|
+
403: 'Forbidden',
|
|
1971
|
+
404: 'Not Found',
|
|
1972
|
+
500: 'Server Error',
|
|
1973
|
+
501: 'Server Error'
|
|
1974
|
+
}
|
|
1975
|
+
});
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* @param data The data for the request.
|
|
1980
|
+
* @param data.id
|
|
1981
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
1982
|
+
* @throws ApiError
|
|
1983
|
+
*/
|
|
1984
|
+
public getApiCrmServiceTelephonesById(data: GetApiCrmServiceTelephonesByIdData): CancelablePromise<GetApiCrmServiceTelephonesByIdResponse> {
|
|
1985
|
+
return this.httpRequest.request({
|
|
1986
|
+
method: 'GET',
|
|
1987
|
+
url: '/api/crm-service/telephones/{id}',
|
|
1988
|
+
path: {
|
|
1989
|
+
id: data.id
|
|
1990
|
+
},
|
|
1991
|
+
errors: {
|
|
1992
|
+
400: 'Bad Request',
|
|
1993
|
+
401: 'Unauthorized',
|
|
1994
|
+
403: 'Forbidden',
|
|
1995
|
+
404: 'Not Found',
|
|
1996
|
+
500: 'Server Error',
|
|
1997
|
+
501: 'Server Error'
|
|
1998
|
+
}
|
|
1999
|
+
});
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* @param data The data for the request.
|
|
2004
|
+
* @param data.id
|
|
2005
|
+
* @param data.requestBody
|
|
2006
|
+
* @returns UniRefund_CRMService_TelephoneTypes_TelephoneTypeDto Success
|
|
2007
|
+
* @throws ApiError
|
|
2008
|
+
*/
|
|
2009
|
+
public putApiCrmServiceTelephonesById(data: PutApiCrmServiceTelephonesByIdData): CancelablePromise<PutApiCrmServiceTelephonesByIdResponse> {
|
|
2010
|
+
return this.httpRequest.request({
|
|
2011
|
+
method: 'PUT',
|
|
2012
|
+
url: '/api/crm-service/telephones/{id}',
|
|
2013
|
+
path: {
|
|
2014
|
+
id: data.id
|
|
2015
|
+
},
|
|
2016
|
+
body: data.requestBody,
|
|
2017
|
+
mediaType: 'application/json',
|
|
2018
|
+
errors: {
|
|
2019
|
+
400: 'Bad Request',
|
|
2020
|
+
401: 'Unauthorized',
|
|
2021
|
+
403: 'Forbidden',
|
|
2022
|
+
404: 'Not Found',
|
|
2023
|
+
500: 'Server Error',
|
|
2024
|
+
501: 'Server Error'
|
|
2025
|
+
}
|
|
2026
|
+
});
|
|
2027
|
+
}
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* @param data The data for the request.
|
|
2031
|
+
* @param data.id
|
|
2032
|
+
* @returns unknown Success
|
|
2033
|
+
* @throws ApiError
|
|
2034
|
+
*/
|
|
2035
|
+
public deleteApiCrmServiceTelephonesById(data: DeleteApiCrmServiceTelephonesByIdData): CancelablePromise<DeleteApiCrmServiceTelephonesByIdResponse> {
|
|
2036
|
+
return this.httpRequest.request({
|
|
2037
|
+
method: 'DELETE',
|
|
2038
|
+
url: '/api/crm-service/telephones/{id}',
|
|
2039
|
+
path: {
|
|
2040
|
+
id: data.id
|
|
2041
|
+
},
|
|
2042
|
+
errors: {
|
|
2043
|
+
400: 'Bad Request',
|
|
2044
|
+
401: 'Unauthorized',
|
|
2045
|
+
403: 'Forbidden',
|
|
2046
|
+
404: 'Not Found',
|
|
2047
|
+
500: 'Server Error',
|
|
2048
|
+
501: 'Server Error'
|
|
2049
|
+
}
|
|
2050
|
+
});
|
|
2051
|
+
}
|
|
2052
|
+
|
|
2053
2053
|
}
|