@ayasofyazilim/saas 0.0.50 → 0.0.52
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 +104 -0
- package/CRMService/services.gen.ts +65 -4
- package/CRMService/types.gen.ts +116 -6
- package/ContractService/ContractServiceClient.ts +50 -50
- package/ContractService/schemas.gen.ts +9572 -10913
- package/ContractService/services.gen.ts +1637 -1661
- package/ContractService/types.gen.ts +3555 -3720
- package/TagService/schemas.gen.ts +168 -109
- package/TagService/services.gen.ts +27 -3
- package/TagService/types.gen.ts +37 -8
- package/TravellerService/schemas.gen.ts +190 -238
- package/TravellerService/services.gen.ts +12 -12
- package/TravellerService/types.gen.ts +50 -49
- package/package.json +1 -1
|
@@ -5127,6 +5127,30 @@ export const $UniRefund_CRMService_Merchants_CreateMerchantOrgnaizationDto = {
|
|
|
5127
5127
|
additionalProperties: false
|
|
5128
5128
|
} as const;
|
|
5129
5129
|
|
|
5130
|
+
export const $UniRefund_CRMService_Merchants_MerchantBaseDto = {
|
|
5131
|
+
type: 'object',
|
|
5132
|
+
properties: {
|
|
5133
|
+
id: {
|
|
5134
|
+
type: 'string',
|
|
5135
|
+
format: 'uuid'
|
|
5136
|
+
},
|
|
5137
|
+
typeCode: {
|
|
5138
|
+
enum: ['HEADQUARTER', 'STORE'],
|
|
5139
|
+
type: 'string'
|
|
5140
|
+
},
|
|
5141
|
+
taxOfficeId: {
|
|
5142
|
+
type: 'string',
|
|
5143
|
+
format: 'uuid'
|
|
5144
|
+
},
|
|
5145
|
+
parentId: {
|
|
5146
|
+
type: 'string',
|
|
5147
|
+
format: 'uuid',
|
|
5148
|
+
nullable: true
|
|
5149
|
+
}
|
|
5150
|
+
},
|
|
5151
|
+
additionalProperties: false
|
|
5152
|
+
} as const;
|
|
5153
|
+
|
|
5130
5154
|
export const $UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
|
|
5131
5155
|
type: 'object',
|
|
5132
5156
|
properties: {
|
|
@@ -7347,6 +7371,86 @@ export const $UniRefund_CRMService_Merchants_RefundPointProfileDto = {
|
|
|
7347
7371
|
additionalProperties: false
|
|
7348
7372
|
} as const;
|
|
7349
7373
|
|
|
7374
|
+
export const $UniRefund_CRMService_Merchants_StoreProfileDto = {
|
|
7375
|
+
type: 'object',
|
|
7376
|
+
properties: {
|
|
7377
|
+
id: {
|
|
7378
|
+
type: 'string',
|
|
7379
|
+
format: 'uuid'
|
|
7380
|
+
},
|
|
7381
|
+
name: {
|
|
7382
|
+
type: 'string',
|
|
7383
|
+
nullable: true
|
|
7384
|
+
},
|
|
7385
|
+
fullAddress: {
|
|
7386
|
+
type: 'string',
|
|
7387
|
+
nullable: true
|
|
7388
|
+
},
|
|
7389
|
+
manager: {
|
|
7390
|
+
type: 'string',
|
|
7391
|
+
nullable: true
|
|
7392
|
+
}
|
|
7393
|
+
},
|
|
7394
|
+
additionalProperties: false
|
|
7395
|
+
} as const;
|
|
7396
|
+
|
|
7397
|
+
export const $UniRefund_CRMService_Merchants_StoreProfilePagedResultDto = {
|
|
7398
|
+
type: 'object',
|
|
7399
|
+
properties: {
|
|
7400
|
+
items: {
|
|
7401
|
+
type: 'array',
|
|
7402
|
+
items: {
|
|
7403
|
+
type: 'object',
|
|
7404
|
+
properties: {
|
|
7405
|
+
id: {
|
|
7406
|
+
type: 'string',
|
|
7407
|
+
format: 'uuid'
|
|
7408
|
+
},
|
|
7409
|
+
name: {
|
|
7410
|
+
type: 'string',
|
|
7411
|
+
nullable: true
|
|
7412
|
+
},
|
|
7413
|
+
fullAddress: {
|
|
7414
|
+
type: 'string',
|
|
7415
|
+
nullable: true
|
|
7416
|
+
},
|
|
7417
|
+
manager: {
|
|
7418
|
+
type: 'string',
|
|
7419
|
+
nullable: true
|
|
7420
|
+
}
|
|
7421
|
+
},
|
|
7422
|
+
additionalProperties: false
|
|
7423
|
+
},
|
|
7424
|
+
nullable: true
|
|
7425
|
+
},
|
|
7426
|
+
totalCount: {
|
|
7427
|
+
type: 'integer',
|
|
7428
|
+
format: 'int64'
|
|
7429
|
+
}
|
|
7430
|
+
},
|
|
7431
|
+
additionalProperties: false
|
|
7432
|
+
} as const;
|
|
7433
|
+
|
|
7434
|
+
export const $UniRefund_CRMService_Merchants_UpdateMerchantDto = {
|
|
7435
|
+
type: 'object',
|
|
7436
|
+
properties: {
|
|
7437
|
+
typeCode: {
|
|
7438
|
+
enum: ['HEADQUARTER', 'STORE'],
|
|
7439
|
+
type: 'string'
|
|
7440
|
+
},
|
|
7441
|
+
taxOfficeId: {
|
|
7442
|
+
type: 'string',
|
|
7443
|
+
format: 'uuid'
|
|
7444
|
+
},
|
|
7445
|
+
parentId: {
|
|
7446
|
+
type: 'string',
|
|
7447
|
+
format: 'uuid',
|
|
7448
|
+
nullable: true
|
|
7449
|
+
}
|
|
7450
|
+
},
|
|
7451
|
+
additionalProperties: false
|
|
7452
|
+
} as const;
|
|
7453
|
+
|
|
7350
7454
|
export const $UniRefund_CRMService_NameCommonDatas_CreateNameCommonDataDto = {
|
|
7351
7455
|
required: ['mailingName', 'name', 'officialName', 'salutation', 'suffix'],
|
|
7352
7456
|
type: 'object',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
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, GetApiCrmServiceCustomsByIdSubCustomsData, GetApiCrmServiceCustomsByIdSubCustomsResponse, 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,
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiCrmServiceAddressesData, GetApiCrmServiceAddressesResponse, PostApiCrmServiceAddressesData, PostApiCrmServiceAddressesResponse, GetApiCrmServiceAddressesByIdData, GetApiCrmServiceAddressesByIdResponse, PutApiCrmServiceAddressesByIdData, PutApiCrmServiceAddressesByIdResponse, DeleteApiCrmServiceAddressesByIdData, DeleteApiCrmServiceAddressesByIdResponse, GetApiCrmServiceCustomsData, GetApiCrmServiceCustomsResponse, GetApiCrmServiceCustomsByIdDetailData, GetApiCrmServiceCustomsByIdDetailResponse, GetApiCrmServiceCustomsByIdSubCustomsData, GetApiCrmServiceCustomsByIdSubCustomsResponse, 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, GetApiCrmServiceIndividualsByIdData, GetApiCrmServiceIndividualsByIdResponse, GetApiCrmServiceMerchantsData, GetApiCrmServiceMerchantsResponse, GetApiCrmServiceMerchantsByIdBasicInformationData, GetApiCrmServiceMerchantsByIdBasicInformationResponse, GetApiCrmServiceMerchantsInfoData, GetApiCrmServiceMerchantsInfoResponse, GetApiCrmServiceMerchantsByIdData, GetApiCrmServiceMerchantsByIdResponse, PutApiCrmServiceMerchantsByIdData, PutApiCrmServiceMerchantsByIdResponse, GetApiCrmServiceMerchantsByIdExistData, GetApiCrmServiceMerchantsByIdExistResponse, 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, GetApiCrmServiceRefundPointsByIdSubRefundPointsData, GetApiCrmServiceRefundPointsByIdSubRefundPointsResponse, PostApiCrmServiceRefundPointsWithComponentsData, PostApiCrmServiceRefundPointsWithComponentsResponse, DeleteApiCrmServiceRefundPointsByIdWithComponentsData, DeleteApiCrmServiceRefundPointsByIdWithComponentsResponse, PostApiCrmServiceRefundPointsByIdAffiliationsData, PostApiCrmServiceRefundPointsByIdAffiliationsResponse, GetApiCrmServiceRefundPointsByIdAffiliationsData, GetApiCrmServiceRefundPointsByIdAffiliationsResponse, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdData, PutApiCrmServiceRefundPointsByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdData, PutApiCrmServiceRefundPointsByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdData, PutApiCrmServiceRefundPointsByIdAddressesByAddressIdResponse, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdData, PutApiCrmServiceRefundPointsByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxFreesData, GetApiCrmServiceTaxFreesResponse, GetApiCrmServiceTaxFreesByIdDetailData, GetApiCrmServiceTaxFreesByIdDetailResponse, GetApiCrmServiceTaxFreesByIdSubTaxFreeData, GetApiCrmServiceTaxFreesByIdSubTaxFreeResponse, PostApiCrmServiceTaxFreesWithComponentsData, PostApiCrmServiceTaxFreesWithComponentsResponse, DeleteApiCrmServiceTaxFreesByIdWithComponentsData, DeleteApiCrmServiceTaxFreesByIdWithComponentsResponse, PostApiCrmServiceTaxFreesByIdAffiliationsData, PostApiCrmServiceTaxFreesByIdAffiliationsResponse, GetApiCrmServiceTaxFreesByIdAffiliationsData, GetApiCrmServiceTaxFreesByIdAffiliationsResponse, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxFreesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxFreesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdData, PutApiCrmServiceTaxFreesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdData, PutApiCrmServiceTaxFreesByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxOfficesData, GetApiCrmServiceTaxOfficesResponse, GetApiCrmServiceTaxOfficesByIdData, GetApiCrmServiceTaxOfficesByIdResponse, GetApiCrmServiceTaxOfficesByIdDetailData, GetApiCrmServiceTaxOfficesByIdDetailResponse, GetApiCrmServiceTaxOfficesByIdSubTaxOfficesData, GetApiCrmServiceTaxOfficesByIdSubTaxOfficesResponse, PostApiCrmServiceTaxOfficesWithComponentsData, PostApiCrmServiceTaxOfficesWithComponentsResponse, DeleteApiCrmServiceTaxOfficesByIdWithComponentsData, DeleteApiCrmServiceTaxOfficesByIdWithComponentsResponse, PostApiCrmServiceTaxOfficesByIdAffiliationsData, PostApiCrmServiceTaxOfficesByIdAffiliationsResponse, GetApiCrmServiceTaxOfficesByIdAffiliationsData, GetApiCrmServiceTaxOfficesByIdAffiliationsResponse, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdData, PutApiCrmServiceTaxOfficesByIdOrganizationsByOrganizationIdResponse, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdData, PutApiCrmServiceTaxOfficesByIdTelephonesByTelephoneIdResponse, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdData, PutApiCrmServiceTaxOfficesByIdAddressesByAddressIdResponse, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData, PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse, GetApiCrmServiceTaxOfficesByIdAnyData, GetApiCrmServiceTaxOfficesByIdAnyResponse, GetApiCrmServiceTelephonesData, GetApiCrmServiceTelephonesResponse, PostApiCrmServiceTelephonesData, PostApiCrmServiceTelephonesResponse, GetApiCrmServiceTelephonesByIdData, GetApiCrmServiceTelephonesByIdResponse, PutApiCrmServiceTelephonesByIdData, PutApiCrmServiceTelephonesByIdResponse, DeleteApiCrmServiceTelephonesByIdData, DeleteApiCrmServiceTelephonesByIdResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -728,9 +728,9 @@ export class IndividualService {
|
|
|
728
728
|
* @returns UniRefund_CRMService_Individuals_IndividualProfileDto Success
|
|
729
729
|
* @throws ApiError
|
|
730
730
|
*/
|
|
731
|
-
public
|
|
731
|
+
public getApiCrmServiceIndividualsById(data: GetApiCrmServiceIndividualsByIdData): CancelablePromise<GetApiCrmServiceIndividualsByIdResponse> {
|
|
732
732
|
return this.httpRequest.request({
|
|
733
|
-
method: '
|
|
733
|
+
method: 'GET',
|
|
734
734
|
url: '/api/crm-service/individuals/{id}',
|
|
735
735
|
path: {
|
|
736
736
|
id: data.id
|
|
@@ -754,6 +754,7 @@ export class MerchantService {
|
|
|
754
754
|
/**
|
|
755
755
|
* @param data The data for the request.
|
|
756
756
|
* @param data.ids
|
|
757
|
+
* @param data.typeCodes
|
|
757
758
|
* @param data.sorting
|
|
758
759
|
* @param data.skipCount
|
|
759
760
|
* @param data.maxResultCount
|
|
@@ -766,6 +767,7 @@ export class MerchantService {
|
|
|
766
767
|
url: '/api/crm-service/merchants',
|
|
767
768
|
query: {
|
|
768
769
|
Ids: data.ids,
|
|
770
|
+
TypeCodes: data.typeCodes,
|
|
769
771
|
Sorting: data.sorting,
|
|
770
772
|
SkipCount: data.skipCount,
|
|
771
773
|
MaxResultCount: data.maxResultCount
|
|
@@ -857,6 +859,33 @@ export class MerchantService {
|
|
|
857
859
|
});
|
|
858
860
|
}
|
|
859
861
|
|
|
862
|
+
/**
|
|
863
|
+
* @param data The data for the request.
|
|
864
|
+
* @param data.id
|
|
865
|
+
* @param data.requestBody
|
|
866
|
+
* @returns UniRefund_CRMService_Merchants_MerchantBaseDto Success
|
|
867
|
+
* @throws ApiError
|
|
868
|
+
*/
|
|
869
|
+
public putApiCrmServiceMerchantsById(data: PutApiCrmServiceMerchantsByIdData): CancelablePromise<PutApiCrmServiceMerchantsByIdResponse> {
|
|
870
|
+
return this.httpRequest.request({
|
|
871
|
+
method: 'PUT',
|
|
872
|
+
url: '/api/crm-service/merchants/{id}',
|
|
873
|
+
path: {
|
|
874
|
+
id: data.id
|
|
875
|
+
},
|
|
876
|
+
body: data.requestBody,
|
|
877
|
+
mediaType: 'application/json',
|
|
878
|
+
errors: {
|
|
879
|
+
400: 'Bad Request',
|
|
880
|
+
401: 'Unauthorized',
|
|
881
|
+
403: 'Forbidden',
|
|
882
|
+
404: 'Not Found',
|
|
883
|
+
500: 'Server Error',
|
|
884
|
+
501: 'Server Error'
|
|
885
|
+
}
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
|
|
860
889
|
/**
|
|
861
890
|
* @param data The data for the request.
|
|
862
891
|
* @param data.id
|
|
@@ -908,7 +937,10 @@ export class MerchantService {
|
|
|
908
937
|
/**
|
|
909
938
|
* @param data The data for the request.
|
|
910
939
|
* @param data.id
|
|
911
|
-
* @
|
|
940
|
+
* @param data.sorting
|
|
941
|
+
* @param data.skipCount
|
|
942
|
+
* @param data.maxResultCount
|
|
943
|
+
* @returns UniRefund_CRMService_Merchants_StoreProfilePagedResultDto Success
|
|
912
944
|
* @throws ApiError
|
|
913
945
|
*/
|
|
914
946
|
public getApiCrmServiceMerchantsByIdSubMerchants(data: GetApiCrmServiceMerchantsByIdSubMerchantsData): CancelablePromise<GetApiCrmServiceMerchantsByIdSubMerchantsResponse> {
|
|
@@ -918,6 +950,11 @@ export class MerchantService {
|
|
|
918
950
|
path: {
|
|
919
951
|
id: data.id
|
|
920
952
|
},
|
|
953
|
+
query: {
|
|
954
|
+
Sorting: data.sorting,
|
|
955
|
+
SkipCount: data.skipCount,
|
|
956
|
+
MaxResultCount: data.maxResultCount
|
|
957
|
+
},
|
|
921
958
|
errors: {
|
|
922
959
|
400: 'Bad Request',
|
|
923
960
|
401: 'Unauthorized',
|
|
@@ -2261,6 +2298,30 @@ export class TaxOfficeService {
|
|
|
2261
2298
|
});
|
|
2262
2299
|
}
|
|
2263
2300
|
|
|
2301
|
+
/**
|
|
2302
|
+
* @param data The data for the request.
|
|
2303
|
+
* @param data.id
|
|
2304
|
+
* @returns boolean Success
|
|
2305
|
+
* @throws ApiError
|
|
2306
|
+
*/
|
|
2307
|
+
public getApiCrmServiceTaxOfficesByIdAny(data: GetApiCrmServiceTaxOfficesByIdAnyData): CancelablePromise<GetApiCrmServiceTaxOfficesByIdAnyResponse> {
|
|
2308
|
+
return this.httpRequest.request({
|
|
2309
|
+
method: 'GET',
|
|
2310
|
+
url: '/api/crm-service/tax-offices/{id}/any',
|
|
2311
|
+
path: {
|
|
2312
|
+
id: data.id
|
|
2313
|
+
},
|
|
2314
|
+
errors: {
|
|
2315
|
+
400: 'Bad Request',
|
|
2316
|
+
401: 'Unauthorized',
|
|
2317
|
+
403: 'Forbidden',
|
|
2318
|
+
404: 'Not Found',
|
|
2319
|
+
500: 'Server Error',
|
|
2320
|
+
501: 'Server Error'
|
|
2321
|
+
}
|
|
2322
|
+
});
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2264
2325
|
}
|
|
2265
2326
|
|
|
2266
2327
|
export class TelephoneTypeService {
|
package/CRMService/types.gen.ts
CHANGED
|
@@ -308,6 +308,13 @@ export type UniRefund_CRMService_Merchants_CreateMerchantOrgnaizationDto = {
|
|
|
308
308
|
contactInformations: Array<UniRefund_CRMService_ContactInformationTypes_CreateContactInformationTypeDto>;
|
|
309
309
|
};
|
|
310
310
|
|
|
311
|
+
export type UniRefund_CRMService_Merchants_MerchantBaseDto = {
|
|
312
|
+
id?: string;
|
|
313
|
+
typeCode?: UniRefund_CRMService_Merchants_MerchantTypeCode;
|
|
314
|
+
taxOfficeId?: string;
|
|
315
|
+
parentId?: string | null;
|
|
316
|
+
};
|
|
317
|
+
|
|
311
318
|
export type UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
|
|
312
319
|
id?: string;
|
|
313
320
|
name?: string | null;
|
|
@@ -362,6 +369,24 @@ export type UniRefund_CRMService_Merchants_RefundPointProfileDto = {
|
|
|
362
369
|
organizationId?: string;
|
|
363
370
|
};
|
|
364
371
|
|
|
372
|
+
export type UniRefund_CRMService_Merchants_StoreProfileDto = {
|
|
373
|
+
id?: string;
|
|
374
|
+
name?: string | null;
|
|
375
|
+
fullAddress?: string | null;
|
|
376
|
+
manager?: string | null;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
export type UniRefund_CRMService_Merchants_StoreProfilePagedResultDto = {
|
|
380
|
+
items?: Array<UniRefund_CRMService_Merchants_StoreProfileDto> | null;
|
|
381
|
+
totalCount?: number;
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
export type UniRefund_CRMService_Merchants_UpdateMerchantDto = {
|
|
385
|
+
typeCode?: UniRefund_CRMService_Merchants_MerchantTypeCode;
|
|
386
|
+
taxOfficeId?: string;
|
|
387
|
+
parentId?: string | null;
|
|
388
|
+
};
|
|
389
|
+
|
|
365
390
|
export type UniRefund_CRMService_NameCommonDatas_CreateNameCommonDataDto = {
|
|
366
391
|
salutation: string;
|
|
367
392
|
name: string;
|
|
@@ -1337,17 +1362,18 @@ export type GetApiCrmServiceIndividualsData = {
|
|
|
1337
1362
|
|
|
1338
1363
|
export type GetApiCrmServiceIndividualsResponse = Volo_Abp_Application_Dtos_PagedResultDto_1;
|
|
1339
1364
|
|
|
1340
|
-
export type
|
|
1365
|
+
export type GetApiCrmServiceIndividualsByIdData = {
|
|
1341
1366
|
id: string;
|
|
1342
1367
|
};
|
|
1343
1368
|
|
|
1344
|
-
export type
|
|
1369
|
+
export type GetApiCrmServiceIndividualsByIdResponse = UniRefund_CRMService_Individuals_IndividualProfileDto;
|
|
1345
1370
|
|
|
1346
1371
|
export type GetApiCrmServiceMerchantsData = {
|
|
1347
1372
|
ids?: Array<(string)>;
|
|
1348
1373
|
maxResultCount?: number;
|
|
1349
1374
|
skipCount?: number;
|
|
1350
1375
|
sorting?: string;
|
|
1376
|
+
typeCodes?: Array<UniRefund_CRMService_Merchants_MerchantTypeCode>;
|
|
1351
1377
|
};
|
|
1352
1378
|
|
|
1353
1379
|
export type GetApiCrmServiceMerchantsResponse = Volo_Abp_Application_Dtos_PagedResultDto_1;
|
|
@@ -1372,6 +1398,13 @@ export type GetApiCrmServiceMerchantsByIdData = {
|
|
|
1372
1398
|
|
|
1373
1399
|
export type GetApiCrmServiceMerchantsByIdResponse = UniRefund_CRMService_Merchants_MerchantProfileDto;
|
|
1374
1400
|
|
|
1401
|
+
export type PutApiCrmServiceMerchantsByIdData = {
|
|
1402
|
+
id: string;
|
|
1403
|
+
requestBody?: UniRefund_CRMService_Merchants_UpdateMerchantDto;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
export type PutApiCrmServiceMerchantsByIdResponse = UniRefund_CRMService_Merchants_MerchantBaseDto;
|
|
1407
|
+
|
|
1375
1408
|
export type GetApiCrmServiceMerchantsByIdExistData = {
|
|
1376
1409
|
id: string;
|
|
1377
1410
|
};
|
|
@@ -1386,9 +1419,12 @@ export type GetApiCrmServiceMerchantsByIdDetailResponse = UniRefund_CRMService_M
|
|
|
1386
1419
|
|
|
1387
1420
|
export type GetApiCrmServiceMerchantsByIdSubMerchantsData = {
|
|
1388
1421
|
id: string;
|
|
1422
|
+
maxResultCount?: number;
|
|
1423
|
+
skipCount?: number;
|
|
1424
|
+
sorting?: string;
|
|
1389
1425
|
};
|
|
1390
1426
|
|
|
1391
|
-
export type GetApiCrmServiceMerchantsByIdSubMerchantsResponse =
|
|
1427
|
+
export type GetApiCrmServiceMerchantsByIdSubMerchantsResponse = UniRefund_CRMService_Merchants_StoreProfilePagedResultDto;
|
|
1392
1428
|
|
|
1393
1429
|
export type PostApiCrmServiceMerchantsWithComponentsData = {
|
|
1394
1430
|
requestBody?: UniRefund_CRMService_Merchants_CreateMerchantDto;
|
|
@@ -1746,6 +1782,12 @@ export type PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdData = {
|
|
|
1746
1782
|
|
|
1747
1783
|
export type PutApiCrmServiceTaxOfficesByIdEmailsByEmailIdResponse = UniRefund_CRMService_EmailCommonDatas_EmailCommonDataDto;
|
|
1748
1784
|
|
|
1785
|
+
export type GetApiCrmServiceTaxOfficesByIdAnyData = {
|
|
1786
|
+
id: string;
|
|
1787
|
+
};
|
|
1788
|
+
|
|
1789
|
+
export type GetApiCrmServiceTaxOfficesByIdAnyResponse = boolean;
|
|
1790
|
+
|
|
1749
1791
|
export type GetApiCrmServiceTelephonesData = {
|
|
1750
1792
|
maxResultCount?: number;
|
|
1751
1793
|
skipCount?: number;
|
|
@@ -2677,8 +2719,8 @@ export type $OpenApiTs = {
|
|
|
2677
2719
|
};
|
|
2678
2720
|
};
|
|
2679
2721
|
'/api/crm-service/individuals/{id}': {
|
|
2680
|
-
|
|
2681
|
-
req:
|
|
2722
|
+
get: {
|
|
2723
|
+
req: GetApiCrmServiceIndividualsByIdData;
|
|
2682
2724
|
res: {
|
|
2683
2725
|
/**
|
|
2684
2726
|
* Success
|
|
@@ -2850,6 +2892,39 @@ export type $OpenApiTs = {
|
|
|
2850
2892
|
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2851
2893
|
};
|
|
2852
2894
|
};
|
|
2895
|
+
put: {
|
|
2896
|
+
req: PutApiCrmServiceMerchantsByIdData;
|
|
2897
|
+
res: {
|
|
2898
|
+
/**
|
|
2899
|
+
* Success
|
|
2900
|
+
*/
|
|
2901
|
+
200: UniRefund_CRMService_Merchants_MerchantBaseDto;
|
|
2902
|
+
/**
|
|
2903
|
+
* Bad Request
|
|
2904
|
+
*/
|
|
2905
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2906
|
+
/**
|
|
2907
|
+
* Unauthorized
|
|
2908
|
+
*/
|
|
2909
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2910
|
+
/**
|
|
2911
|
+
* Forbidden
|
|
2912
|
+
*/
|
|
2913
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2914
|
+
/**
|
|
2915
|
+
* Not Found
|
|
2916
|
+
*/
|
|
2917
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2918
|
+
/**
|
|
2919
|
+
* Server Error
|
|
2920
|
+
*/
|
|
2921
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2922
|
+
/**
|
|
2923
|
+
* Server Error
|
|
2924
|
+
*/
|
|
2925
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2926
|
+
};
|
|
2927
|
+
};
|
|
2853
2928
|
};
|
|
2854
2929
|
'/api/crm-service/merchants/{id}/exist': {
|
|
2855
2930
|
get: {
|
|
@@ -2928,7 +3003,7 @@ export type $OpenApiTs = {
|
|
|
2928
3003
|
/**
|
|
2929
3004
|
* Success
|
|
2930
3005
|
*/
|
|
2931
|
-
200:
|
|
3006
|
+
200: UniRefund_CRMService_Merchants_StoreProfilePagedResultDto;
|
|
2932
3007
|
/**
|
|
2933
3008
|
* Bad Request
|
|
2934
3009
|
*/
|
|
@@ -4628,6 +4703,41 @@ export type $OpenApiTs = {
|
|
|
4628
4703
|
};
|
|
4629
4704
|
};
|
|
4630
4705
|
};
|
|
4706
|
+
'/api/crm-service/tax-offices/{id}/any': {
|
|
4707
|
+
get: {
|
|
4708
|
+
req: GetApiCrmServiceTaxOfficesByIdAnyData;
|
|
4709
|
+
res: {
|
|
4710
|
+
/**
|
|
4711
|
+
* Success
|
|
4712
|
+
*/
|
|
4713
|
+
200: boolean;
|
|
4714
|
+
/**
|
|
4715
|
+
* Bad Request
|
|
4716
|
+
*/
|
|
4717
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4718
|
+
/**
|
|
4719
|
+
* Unauthorized
|
|
4720
|
+
*/
|
|
4721
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4722
|
+
/**
|
|
4723
|
+
* Forbidden
|
|
4724
|
+
*/
|
|
4725
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4726
|
+
/**
|
|
4727
|
+
* Not Found
|
|
4728
|
+
*/
|
|
4729
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4730
|
+
/**
|
|
4731
|
+
* Server Error
|
|
4732
|
+
*/
|
|
4733
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4734
|
+
/**
|
|
4735
|
+
* Server Error
|
|
4736
|
+
*/
|
|
4737
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
4738
|
+
};
|
|
4739
|
+
};
|
|
4740
|
+
};
|
|
4631
4741
|
'/api/crm-service/telephones': {
|
|
4632
4742
|
get: {
|
|
4633
4743
|
req: GetApiCrmServiceTelephonesData;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
2
|
-
import type { OpenAPIConfig } from './core/OpenAPI';
|
|
3
|
-
import { Interceptors } from './core/OpenAPI';
|
|
4
|
-
import { FetchHttpRequest } from './core/FetchHttpRequest';
|
|
5
|
-
|
|
6
|
-
import { AbpApiDefinitionService } from './services.gen';
|
|
7
|
-
import { AbpApplicationConfigurationService } from './services.gen';
|
|
8
|
-
import { AbpApplicationLocalizationService } from './services.gen';
|
|
9
|
-
import {
|
|
10
|
-
import { RebateTablesService } from './services.gen';
|
|
11
|
-
import { RefundTablesService } from './services.gen';
|
|
12
|
-
|
|
13
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
14
|
-
|
|
15
|
-
export class ContractServiceClient {
|
|
16
|
-
|
|
17
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
18
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
19
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
20
|
-
public readonly
|
|
21
|
-
public readonly rebateTables: RebateTablesService;
|
|
22
|
-
public readonly refundTables: RefundTablesService;
|
|
23
|
-
|
|
24
|
-
public readonly request: BaseHttpRequest;
|
|
25
|
-
|
|
26
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
27
|
-
this.request = new HttpRequest({
|
|
28
|
-
BASE: config?.BASE ?? '',
|
|
29
|
-
VERSION: config?.VERSION ?? '1',
|
|
30
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
31
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
32
|
-
TOKEN: config?.TOKEN,
|
|
33
|
-
USERNAME: config?.USERNAME,
|
|
34
|
-
PASSWORD: config?.PASSWORD,
|
|
35
|
-
HEADERS: config?.HEADERS,
|
|
36
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
37
|
-
interceptors: {
|
|
38
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
39
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
44
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
45
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
46
|
-
this.
|
|
47
|
-
this.rebateTables = new RebateTablesService(this.request);
|
|
48
|
-
this.refundTables = new RefundTablesService(this.request);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
2
|
+
import type { OpenAPIConfig } from './core/OpenAPI';
|
|
3
|
+
import { Interceptors } from './core/OpenAPI';
|
|
4
|
+
import { FetchHttpRequest } from './core/FetchHttpRequest';
|
|
5
|
+
|
|
6
|
+
import { AbpApiDefinitionService } from './services.gen';
|
|
7
|
+
import { AbpApplicationConfigurationService } from './services.gen';
|
|
8
|
+
import { AbpApplicationLocalizationService } from './services.gen';
|
|
9
|
+
import { ContractsService } from './services.gen';
|
|
10
|
+
import { RebateTablesService } from './services.gen';
|
|
11
|
+
import { RefundTablesService } from './services.gen';
|
|
12
|
+
|
|
13
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
14
|
+
|
|
15
|
+
export class ContractServiceClient {
|
|
16
|
+
|
|
17
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
18
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
19
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
20
|
+
public readonly contracts: ContractsService;
|
|
21
|
+
public readonly rebateTables: RebateTablesService;
|
|
22
|
+
public readonly refundTables: RefundTablesService;
|
|
23
|
+
|
|
24
|
+
public readonly request: BaseHttpRequest;
|
|
25
|
+
|
|
26
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
27
|
+
this.request = new HttpRequest({
|
|
28
|
+
BASE: config?.BASE ?? '',
|
|
29
|
+
VERSION: config?.VERSION ?? '1',
|
|
30
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
31
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
32
|
+
TOKEN: config?.TOKEN,
|
|
33
|
+
USERNAME: config?.USERNAME,
|
|
34
|
+
PASSWORD: config?.PASSWORD,
|
|
35
|
+
HEADERS: config?.HEADERS,
|
|
36
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
37
|
+
interceptors: {
|
|
38
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
39
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
44
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
45
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
46
|
+
this.contracts = new ContractsService(this.request);
|
|
47
|
+
this.rebateTables = new RebateTablesService(this.request);
|
|
48
|
+
this.refundTables = new RefundTablesService(this.request);
|
|
49
|
+
}
|
|
50
|
+
}
|