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