@ayasofyazilim/saas 0.0.92 → 0.0.94
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/IdentityService/IdentityServiceClient.ts +3 -0
- package/IdentityService/schemas.gen.ts +44 -0
- package/IdentityService/services.gen.ts +135 -7
- package/IdentityService/types.gen.ts +223 -9
- package/TravellerService/schemas.gen.ts +23 -40
- package/TravellerService/services.gen.ts +71 -27
- package/TravellerService/types.gen.ts +82 -36
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ import { AbpApplicationLocalizationService } from './services.gen';
|
|
|
9
9
|
import { AccountSettingsService } from './services.gen';
|
|
10
10
|
import { ApplicationsService } from './services.gen';
|
|
11
11
|
import { AssignableRoleService } from './services.gen';
|
|
12
|
+
import { AssignableRoleIntegrationService } from './services.gen';
|
|
12
13
|
import { ClaimTypeService } from './services.gen';
|
|
13
14
|
import { ExternalLoginService } from './services.gen';
|
|
14
15
|
import { OrganizationUnitService } from './services.gen';
|
|
@@ -31,6 +32,7 @@ export class IdentityServiceClient {
|
|
|
31
32
|
public readonly accountSettings: AccountSettingsService;
|
|
32
33
|
public readonly applications: ApplicationsService;
|
|
33
34
|
public readonly assignableRole: AssignableRoleService;
|
|
35
|
+
public readonly assignableRoleIntegration: AssignableRoleIntegrationService;
|
|
34
36
|
public readonly claimType: ClaimTypeService;
|
|
35
37
|
public readonly externalLogin: ExternalLoginService;
|
|
36
38
|
public readonly organizationUnit: OrganizationUnitService;
|
|
@@ -68,6 +70,7 @@ export class IdentityServiceClient {
|
|
|
68
70
|
this.accountSettings = new AccountSettingsService(this.request);
|
|
69
71
|
this.applications = new ApplicationsService(this.request);
|
|
70
72
|
this.assignableRole = new AssignableRoleService(this.request);
|
|
73
|
+
this.assignableRoleIntegration = new AssignableRoleIntegrationService(this.request);
|
|
71
74
|
this.claimType = new ClaimTypeService(this.request);
|
|
72
75
|
this.externalLogin = new ExternalLoginService(this.request);
|
|
73
76
|
this.organizationUnit = new OrganizationUnitService(this.request);
|
|
@@ -766,6 +766,35 @@ export const $PagedResultDto_IdentityUserDto = {
|
|
|
766
766
|
additionalProperties: false
|
|
767
767
|
} as const;
|
|
768
768
|
|
|
769
|
+
export const $PagedResultDto_NameAndIdDto = {
|
|
770
|
+
type: 'object',
|
|
771
|
+
properties: {
|
|
772
|
+
items: {
|
|
773
|
+
type: 'array',
|
|
774
|
+
items: {
|
|
775
|
+
type: 'object',
|
|
776
|
+
properties: {
|
|
777
|
+
id: {
|
|
778
|
+
type: 'string',
|
|
779
|
+
format: 'uuid'
|
|
780
|
+
},
|
|
781
|
+
fullName: {
|
|
782
|
+
type: 'string',
|
|
783
|
+
nullable: true
|
|
784
|
+
}
|
|
785
|
+
},
|
|
786
|
+
additionalProperties: false
|
|
787
|
+
},
|
|
788
|
+
nullable: true
|
|
789
|
+
},
|
|
790
|
+
totalCount: {
|
|
791
|
+
type: 'integer',
|
|
792
|
+
format: 'int64'
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
additionalProperties: false
|
|
796
|
+
} as const;
|
|
797
|
+
|
|
769
798
|
export const $PagedResultDto_OrganizationUnitWithDetailsDto = {
|
|
770
799
|
type: 'object',
|
|
771
800
|
properties: {
|
|
@@ -984,6 +1013,21 @@ export const $UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto
|
|
|
984
1013
|
additionalProperties: false
|
|
985
1014
|
} as const;
|
|
986
1015
|
|
|
1016
|
+
export const $UniRefund_IdentityService_Users_NameAndIdDto = {
|
|
1017
|
+
type: 'object',
|
|
1018
|
+
properties: {
|
|
1019
|
+
id: {
|
|
1020
|
+
type: 'string',
|
|
1021
|
+
format: 'uuid'
|
|
1022
|
+
},
|
|
1023
|
+
fullName: {
|
|
1024
|
+
type: 'string',
|
|
1025
|
+
nullable: true
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
1028
|
+
additionalProperties: false
|
|
1029
|
+
} as const;
|
|
1030
|
+
|
|
987
1031
|
export const $Volo_Abp_Account_AccountExternalProviderSettingsDto = {
|
|
988
1032
|
type: 'object',
|
|
989
1033
|
properties: {
|
|
@@ -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, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, GetApiOpeniddictApplicationsByIdData, GetApiOpeniddictApplicationsByIdResponse, PutApiOpeniddictApplicationsByIdData, PutApiOpeniddictApplicationsByIdResponse, GetApiOpeniddictApplicationsData, GetApiOpeniddictApplicationsResponse, PostApiOpeniddictApplicationsData, PostApiOpeniddictApplicationsResponse, DeleteApiOpeniddictApplicationsData, DeleteApiOpeniddictApplicationsResponse, GetApiOpeniddictApplicationsByIdTokenLifetimeData, GetApiOpeniddictApplicationsByIdTokenLifetimeResponse, PutApiOpeniddictApplicationsByIdTokenLifetimeData, PutApiOpeniddictApplicationsByIdTokenLifetimeResponse,
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiAccountAdminSettingsResponse, PutApiAccountAdminSettingsData, PutApiAccountAdminSettingsResponse, GetApiAccountAdminSettingsTwoFactorResponse, PutApiAccountAdminSettingsTwoFactorData, PutApiAccountAdminSettingsTwoFactorResponse, GetApiAccountAdminSettingsRecaptchaResponse, PutApiAccountAdminSettingsRecaptchaData, PutApiAccountAdminSettingsRecaptchaResponse, GetApiAccountAdminSettingsExternalProviderResponse, PutApiAccountAdminSettingsExternalProviderData, PutApiAccountAdminSettingsExternalProviderResponse, GetApiOpeniddictApplicationsByIdData, GetApiOpeniddictApplicationsByIdResponse, PutApiOpeniddictApplicationsByIdData, PutApiOpeniddictApplicationsByIdResponse, GetApiOpeniddictApplicationsData, GetApiOpeniddictApplicationsResponse, PostApiOpeniddictApplicationsData, PostApiOpeniddictApplicationsResponse, DeleteApiOpeniddictApplicationsData, DeleteApiOpeniddictApplicationsResponse, GetApiOpeniddictApplicationsByIdTokenLifetimeData, GetApiOpeniddictApplicationsByIdTokenLifetimeResponse, PutApiOpeniddictApplicationsByIdTokenLifetimeData, PutApiOpeniddictApplicationsByIdTokenLifetimeResponse, GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData, GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse, PutApiIdentityAssignableRolesData, PutApiIdentityAssignableRolesResponse, GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData, GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse, GetApiIdentityClaimTypesData, GetApiIdentityClaimTypesResponse, PostApiIdentityClaimTypesData, PostApiIdentityClaimTypesResponse, GetApiIdentityClaimTypesByIdData, GetApiIdentityClaimTypesByIdResponse, PutApiIdentityClaimTypesByIdData, PutApiIdentityClaimTypesByIdResponse, DeleteApiIdentityClaimTypesByIdData, DeleteApiIdentityClaimTypesByIdResponse, PostApiIdentityExternalLoginResponse, PutApiIdentityOrganizationUnitsByIdRolesData, PutApiIdentityOrganizationUnitsByIdRolesResponse, GetApiIdentityOrganizationUnitsByIdRolesData, GetApiIdentityOrganizationUnitsByIdRolesResponse, PutApiIdentityOrganizationUnitsByIdMembersData, PutApiIdentityOrganizationUnitsByIdMembersResponse, GetApiIdentityOrganizationUnitsByIdMembersData, GetApiIdentityOrganizationUnitsByIdMembersResponse, PostApiIdentityOrganizationUnitsData, PostApiIdentityOrganizationUnitsResponse, DeleteApiIdentityOrganizationUnitsData, DeleteApiIdentityOrganizationUnitsResponse, GetApiIdentityOrganizationUnitsData, GetApiIdentityOrganizationUnitsResponse, GetApiIdentityOrganizationUnitsByIdData, GetApiIdentityOrganizationUnitsByIdResponse, PutApiIdentityOrganizationUnitsByIdData, PutApiIdentityOrganizationUnitsByIdResponse, GetApiIdentityOrganizationUnitsAllResponse, PutApiIdentityOrganizationUnitsByIdMoveData, PutApiIdentityOrganizationUnitsByIdMoveResponse, GetApiIdentityOrganizationUnitsAvailableUsersData, GetApiIdentityOrganizationUnitsAvailableUsersResponse, GetApiIdentityOrganizationUnitsAvailableRolesData, GetApiIdentityOrganizationUnitsAvailableRolesResponse, PutApiIdentityOrganizationUnitsByIdMoveAllUsersData, PutApiIdentityOrganizationUnitsByIdMoveAllUsersResponse, DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdData, DeleteApiIdentityOrganizationUnitsByIdMembersByMemberIdResponse, DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdData, DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdResponse, GetApiIdentityRolesAssignableRolesByCurrentUserResponse, GetApiIdentityRolesByIdData, GetApiIdentityRolesByIdResponse, PutApiIdentityRolesByIdData, PutApiIdentityRolesByIdResponse, DeleteApiIdentityRolesByIdData, DeleteApiIdentityRolesByIdResponse, PostApiIdentityRolesData, PostApiIdentityRolesResponse, GetApiIdentityRolesData, GetApiIdentityRolesResponse, GetApiIdentityRolesAllResponse, PutApiIdentityRolesByIdClaimsData, PutApiIdentityRolesByIdClaimsResponse, GetApiIdentityRolesByIdClaimsData, GetApiIdentityRolesByIdClaimsResponse, PutApiIdentityRolesByIdMoveAllUsersData, PutApiIdentityRolesByIdMoveAllUsersResponse, GetApiIdentityRolesAllClaimTypesResponse, GetApiOpeniddictScopesByIdData, GetApiOpeniddictScopesByIdResponse, PutApiOpeniddictScopesByIdData, PutApiOpeniddictScopesByIdResponse, GetApiOpeniddictScopesData, GetApiOpeniddictScopesResponse, PostApiOpeniddictScopesData, PostApiOpeniddictScopesResponse, DeleteApiOpeniddictScopesData, DeleteApiOpeniddictScopesResponse, GetApiOpeniddictScopesAllResponse, GetApiIdentitySecurityLogsData, GetApiIdentitySecurityLogsResponse, GetApiIdentitySecurityLogsByIdData, GetApiIdentitySecurityLogsByIdResponse, GetApiIdentitySessionsData, GetApiIdentitySessionsResponse, GetApiIdentitySessionsByIdData, GetApiIdentitySessionsByIdResponse, DeleteApiIdentitySessionsByIdData, DeleteApiIdentitySessionsByIdResponse, GetApiIdentitySettingsResponse, PutApiIdentitySettingsData, PutApiIdentitySettingsResponse, GetApiIdentitySettingsLdapResponse, PutApiIdentitySettingsLdapData, PutApiIdentitySettingsLdapResponse, GetApiIdentitySettingsOauthResponse, PutApiIdentitySettingsOauthData, PutApiIdentitySettingsOauthResponse, GetApiIdentitySettingsSessionResponse, PutApiIdentitySettingsSessionData, PutApiIdentitySettingsSessionResponse, PutApiIdentityUsersByIdAssignRolesData, PutApiIdentityUsersByIdAssignRolesResponse, GetApiIdentityUsersByIdData, GetApiIdentityUsersByIdResponse, PutApiIdentityUsersByIdData, PutApiIdentityUsersByIdResponse, DeleteApiIdentityUsersByIdData, DeleteApiIdentityUsersByIdResponse, GetApiIdentityUsersData, GetApiIdentityUsersResponse, PostApiIdentityUsersData, PostApiIdentityUsersResponse, GetApiIdentityUsersByIdByIdData, GetApiIdentityUsersByIdByIdResponse, GetApiIdentityUsersByIdRolesData, GetApiIdentityUsersByIdRolesResponse, PutApiIdentityUsersByIdRolesData, PutApiIdentityUsersByIdRolesResponse, GetApiIdentityUsersAssignableRolesResponse, GetApiIdentityUsersAvailableOrganizationUnitsResponse, GetApiIdentityUsersAllClaimTypesResponse, GetApiIdentityUsersByIdClaimsData, GetApiIdentityUsersByIdClaimsResponse, PutApiIdentityUsersByIdClaimsData, PutApiIdentityUsersByIdClaimsResponse, GetApiIdentityUsersByIdOrganizationUnitsData, GetApiIdentityUsersByIdOrganizationUnitsResponse, PutApiIdentityUsersByIdLockByLockoutEndData, PutApiIdentityUsersByIdLockByLockoutEndResponse, PutApiIdentityUsersByIdUnlockData, PutApiIdentityUsersByIdUnlockResponse, GetApiIdentityUsersByUsernameByUsernameData, GetApiIdentityUsersByUsernameByUsernameResponse, GetApiIdentityUsersByEmailByEmailData, GetApiIdentityUsersByEmailByEmailResponse, GetApiIdentityUsersByIdTwoFactorEnabledData, GetApiIdentityUsersByIdTwoFactorEnabledResponse, PutApiIdentityUsersByIdTwoFactorByEnabledData, PutApiIdentityUsersByIdTwoFactorByEnabledResponse, PutApiIdentityUsersByIdChangePasswordData, PutApiIdentityUsersByIdChangePasswordResponse, GetApiIdentityUsersLookupRolesResponse, GetApiIdentityUsersLookupOrganizationUnitsResponse, GetApiIdentityUsersExternalLoginProvidersResponse, PostApiIdentityUsersImportExternalUserData, PostApiIdentityUsersImportExternalUserResponse, GetApiIdentityUsersExportAsExcelData, GetApiIdentityUsersExportAsExcelResponse, GetApiIdentityUsersExportAsCsvData, GetApiIdentityUsersExportAsCsvResponse, GetApiIdentityUsersDownloadTokenResponse, GetApiIdentityUsersImportUsersSampleFileData, GetApiIdentityUsersImportUsersSampleFileResponse, PostApiIdentityUsersImportUsersFromFileData, PostApiIdentityUsersImportUsersFromFileResponse, GetApiIdentityUsersDownloadImportInvalidUsersFileData, GetApiIdentityUsersDownloadImportInvalidUsersFileResponse, PostIntegrationApiUserData, PostIntegrationApiUserResponse, GetIntegrationApiUserNamesByIdsPagedData, GetIntegrationApiUserNamesByIdsPagedResponse, GetIntegrationApiUserNamesByIdsData, GetIntegrationApiUserNamesByIdsResponse, PostIntegrationApiUserByIdRoleByRoleIdData, PostIntegrationApiUserByIdRoleByRoleIdResponse, GetIntegrationApiIdentityUsersByIdRoleNamesData, GetIntegrationApiIdentityUsersByIdRoleNamesResponse, GetIntegrationApiIdentityUsersByIdData, GetIntegrationApiIdentityUsersByIdResponse, GetIntegrationApiIdentityUsersByUsernameByUserNameData, GetIntegrationApiIdentityUsersByUsernameByUserNameResponse, GetIntegrationApiIdentityUsersSearchData, GetIntegrationApiIdentityUsersSearchResponse, GetIntegrationApiIdentityUsersCountData, GetIntegrationApiIdentityUsersCountResponse, GetApiIdentityUsersLookupByIdData, GetApiIdentityUsersLookupByIdResponse, GetApiIdentityUsersLookupByUsernameByUserNameData, GetApiIdentityUsersLookupByUsernameByUserNameResponse, GetApiIdentityUsersLookupSearchData, GetApiIdentityUsersLookupSearchResponse, GetApiIdentityUsersLookupCountData, GetApiIdentityUsersLookupCountResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -455,16 +455,16 @@ export class AssignableRoleService {
|
|
|
455
455
|
|
|
456
456
|
/**
|
|
457
457
|
* @param data The data for the request.
|
|
458
|
-
* @param data.
|
|
458
|
+
* @param data.roleId
|
|
459
459
|
* @returns UniRefund_IdentityService_AssignableRoles_AssignableRoleDto Success
|
|
460
460
|
* @throws ApiError
|
|
461
461
|
*/
|
|
462
|
-
public
|
|
462
|
+
public getApiIdentityAssignableRolesAllRolesWithAssignableByRoleId(data: GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData): CancelablePromise<GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse> {
|
|
463
463
|
return this.httpRequest.request({
|
|
464
464
|
method: 'GET',
|
|
465
|
-
url: '/api/identity/assignable-roles/all-roles-with-assignable/{
|
|
465
|
+
url: '/api/identity/assignable-roles/all-roles-with-assignable/{roleId}',
|
|
466
466
|
path: {
|
|
467
|
-
|
|
467
|
+
roleId: data.roleId
|
|
468
468
|
},
|
|
469
469
|
errors: {
|
|
470
470
|
400: 'Bad Request',
|
|
@@ -502,6 +502,37 @@ export class AssignableRoleService {
|
|
|
502
502
|
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
+
export class AssignableRoleIntegrationService {
|
|
506
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* @param data The data for the request.
|
|
510
|
+
* @param data.userId
|
|
511
|
+
* @param data.roleId
|
|
512
|
+
* @returns unknown Success
|
|
513
|
+
* @throws ApiError
|
|
514
|
+
*/
|
|
515
|
+
public getIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleId(data: GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData): CancelablePromise<GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse> {
|
|
516
|
+
return this.httpRequest.request({
|
|
517
|
+
method: 'GET',
|
|
518
|
+
url: '/integration-api/assignable-roles/check-assignable-role-by-user/{userId}/{roleId}',
|
|
519
|
+
path: {
|
|
520
|
+
userId: data.userId,
|
|
521
|
+
roleId: data.roleId
|
|
522
|
+
},
|
|
523
|
+
errors: {
|
|
524
|
+
400: 'Bad Request',
|
|
525
|
+
401: 'Unauthorized',
|
|
526
|
+
403: 'Forbidden',
|
|
527
|
+
404: 'Not Found',
|
|
528
|
+
500: 'Server Error',
|
|
529
|
+
501: 'Server Error'
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
}
|
|
535
|
+
|
|
505
536
|
export class ClaimTypeService {
|
|
506
537
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
507
538
|
|
|
@@ -1145,6 +1176,25 @@ export class OrganizationUnitService {
|
|
|
1145
1176
|
export class RoleService {
|
|
1146
1177
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
1147
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* @returns UniRefund_IdentityService_AssignableRoles_AssignableRoleDto Success
|
|
1181
|
+
* @throws ApiError
|
|
1182
|
+
*/
|
|
1183
|
+
public getApiIdentityRolesAssignableRolesByCurrentUser(): CancelablePromise<GetApiIdentityRolesAssignableRolesByCurrentUserResponse> {
|
|
1184
|
+
return this.httpRequest.request({
|
|
1185
|
+
method: 'GET',
|
|
1186
|
+
url: '/api/identity/roles/assignable-roles-by-current-user',
|
|
1187
|
+
errors: {
|
|
1188
|
+
400: 'Bad Request',
|
|
1189
|
+
401: 'Unauthorized',
|
|
1190
|
+
403: 'Forbidden',
|
|
1191
|
+
404: 'Not Found',
|
|
1192
|
+
500: 'Server Error',
|
|
1193
|
+
501: 'Server Error'
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1148
1198
|
/**
|
|
1149
1199
|
* @param data The data for the request.
|
|
1150
1200
|
* @param data.id
|
|
@@ -1893,10 +1943,10 @@ export class UserService {
|
|
|
1893
1943
|
* @returns unknown Success
|
|
1894
1944
|
* @throws ApiError
|
|
1895
1945
|
*/
|
|
1896
|
-
public
|
|
1946
|
+
public putApiIdentityUsersByIdAssignRoles(data: PutApiIdentityUsersByIdAssignRolesData): CancelablePromise<PutApiIdentityUsersByIdAssignRolesResponse> {
|
|
1897
1947
|
return this.httpRequest.request({
|
|
1898
1948
|
method: 'PUT',
|
|
1899
|
-
url: '/api/identity/users/{id}/
|
|
1949
|
+
url: '/api/identity/users/{id}/assign-roles',
|
|
1900
1950
|
path: {
|
|
1901
1951
|
id: data.id
|
|
1902
1952
|
},
|
|
@@ -2787,6 +2837,84 @@ export class UserIntegrationService {
|
|
|
2787
2837
|
});
|
|
2788
2838
|
}
|
|
2789
2839
|
|
|
2840
|
+
/**
|
|
2841
|
+
* @param data The data for the request.
|
|
2842
|
+
* @param data.ids
|
|
2843
|
+
* @param data.skipCount
|
|
2844
|
+
* @param data.maxResultCount
|
|
2845
|
+
* @returns PagedResultDto_NameAndIdDto Success
|
|
2846
|
+
* @throws ApiError
|
|
2847
|
+
*/
|
|
2848
|
+
public getIntegrationApiUserNamesByIdsPaged(data: GetIntegrationApiUserNamesByIdsPagedData): CancelablePromise<GetIntegrationApiUserNamesByIdsPagedResponse> {
|
|
2849
|
+
return this.httpRequest.request({
|
|
2850
|
+
method: 'GET',
|
|
2851
|
+
url: '/integration-api/user/names-by-ids-paged',
|
|
2852
|
+
query: {
|
|
2853
|
+
Ids: data.ids,
|
|
2854
|
+
SkipCount: data.skipCount,
|
|
2855
|
+
MaxResultCount: data.maxResultCount
|
|
2856
|
+
},
|
|
2857
|
+
errors: {
|
|
2858
|
+
400: 'Bad Request',
|
|
2859
|
+
401: 'Unauthorized',
|
|
2860
|
+
403: 'Forbidden',
|
|
2861
|
+
404: 'Not Found',
|
|
2862
|
+
500: 'Server Error',
|
|
2863
|
+
501: 'Server Error'
|
|
2864
|
+
}
|
|
2865
|
+
});
|
|
2866
|
+
}
|
|
2867
|
+
|
|
2868
|
+
/**
|
|
2869
|
+
* @param data The data for the request.
|
|
2870
|
+
* @param data.ids
|
|
2871
|
+
* @returns UniRefund_IdentityService_Users_NameAndIdDto Success
|
|
2872
|
+
* @throws ApiError
|
|
2873
|
+
*/
|
|
2874
|
+
public getIntegrationApiUserNamesByIds(data: GetIntegrationApiUserNamesByIdsData): CancelablePromise<GetIntegrationApiUserNamesByIdsResponse> {
|
|
2875
|
+
return this.httpRequest.request({
|
|
2876
|
+
method: 'GET',
|
|
2877
|
+
url: '/integration-api/user/names-by-ids',
|
|
2878
|
+
query: {
|
|
2879
|
+
Ids: data.ids
|
|
2880
|
+
},
|
|
2881
|
+
errors: {
|
|
2882
|
+
400: 'Bad Request',
|
|
2883
|
+
401: 'Unauthorized',
|
|
2884
|
+
403: 'Forbidden',
|
|
2885
|
+
404: 'Not Found',
|
|
2886
|
+
500: 'Server Error',
|
|
2887
|
+
501: 'Server Error'
|
|
2888
|
+
}
|
|
2889
|
+
});
|
|
2890
|
+
}
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* @param data The data for the request.
|
|
2894
|
+
* @param data.id
|
|
2895
|
+
* @param data.roleId
|
|
2896
|
+
* @returns unknown Success
|
|
2897
|
+
* @throws ApiError
|
|
2898
|
+
*/
|
|
2899
|
+
public postIntegrationApiUserByIdRoleByRoleId(data: PostIntegrationApiUserByIdRoleByRoleIdData): CancelablePromise<PostIntegrationApiUserByIdRoleByRoleIdResponse> {
|
|
2900
|
+
return this.httpRequest.request({
|
|
2901
|
+
method: 'POST',
|
|
2902
|
+
url: '/integration-api/user/{id}/role/{roleId}',
|
|
2903
|
+
path: {
|
|
2904
|
+
id: data.id,
|
|
2905
|
+
roleId: data.roleId
|
|
2906
|
+
},
|
|
2907
|
+
errors: {
|
|
2908
|
+
400: 'Bad Request',
|
|
2909
|
+
401: 'Unauthorized',
|
|
2910
|
+
403: 'Forbidden',
|
|
2911
|
+
404: 'Not Found',
|
|
2912
|
+
500: 'Server Error',
|
|
2913
|
+
501: 'Server Error'
|
|
2914
|
+
}
|
|
2915
|
+
});
|
|
2916
|
+
}
|
|
2917
|
+
|
|
2790
2918
|
/**
|
|
2791
2919
|
* @param data The data for the request.
|
|
2792
2920
|
* @param data.id
|
|
@@ -42,6 +42,11 @@ export type PagedResultDto_IdentityUserDto = {
|
|
|
42
42
|
totalCount?: number;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
+
export type PagedResultDto_NameAndIdDto = {
|
|
46
|
+
items?: Array<UniRefund_IdentityService_Users_NameAndIdDto> | null;
|
|
47
|
+
totalCount?: number;
|
|
48
|
+
};
|
|
49
|
+
|
|
45
50
|
export type PagedResultDto_OrganizationUnitWithDetailsDto = {
|
|
46
51
|
items?: Array<Volo_Abp_Identity_OrganizationUnitWithDetailsDto> | null;
|
|
47
52
|
totalCount?: number;
|
|
@@ -63,6 +68,11 @@ export type UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto =
|
|
|
63
68
|
targetRoleIds?: Array<(string)> | null;
|
|
64
69
|
};
|
|
65
70
|
|
|
71
|
+
export type UniRefund_IdentityService_Users_NameAndIdDto = {
|
|
72
|
+
id?: string;
|
|
73
|
+
fullName?: string | null;
|
|
74
|
+
};
|
|
75
|
+
|
|
66
76
|
export type Volo_Abp_Account_AccountExternalProviderSettingsDto = {
|
|
67
77
|
settings?: Array<Volo_Abp_Account_ExternalProviders_ExternalProviderSettings> | null;
|
|
68
78
|
};
|
|
@@ -1101,11 +1111,11 @@ export type PutApiOpeniddictApplicationsByIdTokenLifetimeData = {
|
|
|
1101
1111
|
|
|
1102
1112
|
export type PutApiOpeniddictApplicationsByIdTokenLifetimeResponse = unknown;
|
|
1103
1113
|
|
|
1104
|
-
export type
|
|
1105
|
-
|
|
1114
|
+
export type GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData = {
|
|
1115
|
+
roleId: string;
|
|
1106
1116
|
};
|
|
1107
1117
|
|
|
1108
|
-
export type
|
|
1118
|
+
export type GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdResponse = Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
1109
1119
|
|
|
1110
1120
|
export type PutApiIdentityAssignableRolesData = {
|
|
1111
1121
|
requestBody?: UniRefund_IdentityService_AssignableRoles_UpsertAssignableRoleDto;
|
|
@@ -1113,6 +1123,13 @@ export type PutApiIdentityAssignableRolesData = {
|
|
|
1113
1123
|
|
|
1114
1124
|
export type PutApiIdentityAssignableRolesResponse = unknown;
|
|
1115
1125
|
|
|
1126
|
+
export type GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData = {
|
|
1127
|
+
roleId: string;
|
|
1128
|
+
userId: string;
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
export type GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdResponse = unknown;
|
|
1132
|
+
|
|
1116
1133
|
export type GetApiIdentityClaimTypesData = {
|
|
1117
1134
|
extraProperties?: {
|
|
1118
1135
|
[key: string]: unknown;
|
|
@@ -1296,6 +1313,8 @@ export type DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdData = {
|
|
|
1296
1313
|
|
|
1297
1314
|
export type DeleteApiIdentityOrganizationUnitsByIdRolesByRoleIdResponse = unknown;
|
|
1298
1315
|
|
|
1316
|
+
export type GetApiIdentityRolesAssignableRolesByCurrentUserResponse = Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
1317
|
+
|
|
1299
1318
|
export type GetApiIdentityRolesByIdData = {
|
|
1300
1319
|
id: string;
|
|
1301
1320
|
};
|
|
@@ -1476,12 +1495,12 @@ export type PutApiIdentitySettingsSessionData = {
|
|
|
1476
1495
|
|
|
1477
1496
|
export type PutApiIdentitySettingsSessionResponse = unknown;
|
|
1478
1497
|
|
|
1479
|
-
export type
|
|
1498
|
+
export type PutApiIdentityUsersByIdAssignRolesData = {
|
|
1480
1499
|
id: string;
|
|
1481
1500
|
requestBody?: Array<(string)>;
|
|
1482
1501
|
};
|
|
1483
1502
|
|
|
1484
|
-
export type
|
|
1503
|
+
export type PutApiIdentityUsersByIdAssignRolesResponse = unknown;
|
|
1485
1504
|
|
|
1486
1505
|
export type GetApiIdentityUsersByIdData = {
|
|
1487
1506
|
id: string;
|
|
@@ -1722,6 +1741,27 @@ export type PostIntegrationApiUserData = {
|
|
|
1722
1741
|
|
|
1723
1742
|
export type PostIntegrationApiUserResponse = Volo_Abp_Identity_IdentityUserDto;
|
|
1724
1743
|
|
|
1744
|
+
export type GetIntegrationApiUserNamesByIdsPagedData = {
|
|
1745
|
+
ids: Array<(string)>;
|
|
1746
|
+
maxResultCount?: number;
|
|
1747
|
+
skipCount?: number;
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1750
|
+
export type GetIntegrationApiUserNamesByIdsPagedResponse = PagedResultDto_NameAndIdDto;
|
|
1751
|
+
|
|
1752
|
+
export type GetIntegrationApiUserNamesByIdsData = {
|
|
1753
|
+
ids: Array<(string)>;
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
export type GetIntegrationApiUserNamesByIdsResponse = Array<UniRefund_IdentityService_Users_NameAndIdDto>;
|
|
1757
|
+
|
|
1758
|
+
export type PostIntegrationApiUserByIdRoleByRoleIdData = {
|
|
1759
|
+
id: string;
|
|
1760
|
+
roleId: string;
|
|
1761
|
+
};
|
|
1762
|
+
|
|
1763
|
+
export type PostIntegrationApiUserByIdRoleByRoleIdResponse = unknown;
|
|
1764
|
+
|
|
1725
1765
|
export type GetIntegrationApiIdentityUsersByIdRoleNamesData = {
|
|
1726
1766
|
id: string;
|
|
1727
1767
|
};
|
|
@@ -2399,9 +2439,9 @@ export type $OpenApiTs = {
|
|
|
2399
2439
|
};
|
|
2400
2440
|
};
|
|
2401
2441
|
};
|
|
2402
|
-
'/api/identity/assignable-roles/all-roles-with-assignable/{
|
|
2442
|
+
'/api/identity/assignable-roles/all-roles-with-assignable/{roleId}': {
|
|
2403
2443
|
get: {
|
|
2404
|
-
req:
|
|
2444
|
+
req: GetApiIdentityAssignableRolesAllRolesWithAssignableByRoleIdData;
|
|
2405
2445
|
res: {
|
|
2406
2446
|
/**
|
|
2407
2447
|
* Success
|
|
@@ -2469,6 +2509,41 @@ export type $OpenApiTs = {
|
|
|
2469
2509
|
};
|
|
2470
2510
|
};
|
|
2471
2511
|
};
|
|
2512
|
+
'/integration-api/assignable-roles/check-assignable-role-by-user/{userId}/{roleId}': {
|
|
2513
|
+
get: {
|
|
2514
|
+
req: GetIntegrationApiAssignableRolesCheckAssignableRoleByUserByUserIdByRoleIdData;
|
|
2515
|
+
res: {
|
|
2516
|
+
/**
|
|
2517
|
+
* Success
|
|
2518
|
+
*/
|
|
2519
|
+
200: unknown;
|
|
2520
|
+
/**
|
|
2521
|
+
* Bad Request
|
|
2522
|
+
*/
|
|
2523
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2524
|
+
/**
|
|
2525
|
+
* Unauthorized
|
|
2526
|
+
*/
|
|
2527
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2528
|
+
/**
|
|
2529
|
+
* Forbidden
|
|
2530
|
+
*/
|
|
2531
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2532
|
+
/**
|
|
2533
|
+
* Not Found
|
|
2534
|
+
*/
|
|
2535
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2536
|
+
/**
|
|
2537
|
+
* Server Error
|
|
2538
|
+
*/
|
|
2539
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2540
|
+
/**
|
|
2541
|
+
* Server Error
|
|
2542
|
+
*/
|
|
2543
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2544
|
+
};
|
|
2545
|
+
};
|
|
2546
|
+
};
|
|
2472
2547
|
'/api/identity/claim-types': {
|
|
2473
2548
|
get: {
|
|
2474
2549
|
req: GetApiIdentityClaimTypesData;
|
|
@@ -3221,6 +3296,40 @@ export type $OpenApiTs = {
|
|
|
3221
3296
|
};
|
|
3222
3297
|
};
|
|
3223
3298
|
};
|
|
3299
|
+
'/api/identity/roles/assignable-roles-by-current-user': {
|
|
3300
|
+
get: {
|
|
3301
|
+
res: {
|
|
3302
|
+
/**
|
|
3303
|
+
* Success
|
|
3304
|
+
*/
|
|
3305
|
+
200: Array<UniRefund_IdentityService_AssignableRoles_AssignableRoleDto>;
|
|
3306
|
+
/**
|
|
3307
|
+
* Bad Request
|
|
3308
|
+
*/
|
|
3309
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3310
|
+
/**
|
|
3311
|
+
* Unauthorized
|
|
3312
|
+
*/
|
|
3313
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3314
|
+
/**
|
|
3315
|
+
* Forbidden
|
|
3316
|
+
*/
|
|
3317
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3318
|
+
/**
|
|
3319
|
+
* Not Found
|
|
3320
|
+
*/
|
|
3321
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3322
|
+
/**
|
|
3323
|
+
* Server Error
|
|
3324
|
+
*/
|
|
3325
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3326
|
+
/**
|
|
3327
|
+
* Server Error
|
|
3328
|
+
*/
|
|
3329
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
3330
|
+
};
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3224
3333
|
'/api/identity/roles/{id}': {
|
|
3225
3334
|
get: {
|
|
3226
3335
|
req: GetApiIdentityRolesByIdData;
|
|
@@ -4205,9 +4314,9 @@ export type $OpenApiTs = {
|
|
|
4205
4314
|
};
|
|
4206
4315
|
};
|
|
4207
4316
|
};
|
|
4208
|
-
'/api/identity/users/{id}/
|
|
4317
|
+
'/api/identity/users/{id}/assign-roles': {
|
|
4209
4318
|
put: {
|
|
4210
|
-
req:
|
|
4319
|
+
req: PutApiIdentityUsersByIdAssignRolesData;
|
|
4211
4320
|
res: {
|
|
4212
4321
|
/**
|
|
4213
4322
|
* Success
|
|
@@ -5343,6 +5452,111 @@ export type $OpenApiTs = {
|
|
|
5343
5452
|
};
|
|
5344
5453
|
};
|
|
5345
5454
|
};
|
|
5455
|
+
'/integration-api/user/names-by-ids-paged': {
|
|
5456
|
+
get: {
|
|
5457
|
+
req: GetIntegrationApiUserNamesByIdsPagedData;
|
|
5458
|
+
res: {
|
|
5459
|
+
/**
|
|
5460
|
+
* Success
|
|
5461
|
+
*/
|
|
5462
|
+
200: PagedResultDto_NameAndIdDto;
|
|
5463
|
+
/**
|
|
5464
|
+
* Bad Request
|
|
5465
|
+
*/
|
|
5466
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5467
|
+
/**
|
|
5468
|
+
* Unauthorized
|
|
5469
|
+
*/
|
|
5470
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5471
|
+
/**
|
|
5472
|
+
* Forbidden
|
|
5473
|
+
*/
|
|
5474
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5475
|
+
/**
|
|
5476
|
+
* Not Found
|
|
5477
|
+
*/
|
|
5478
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5479
|
+
/**
|
|
5480
|
+
* Server Error
|
|
5481
|
+
*/
|
|
5482
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5483
|
+
/**
|
|
5484
|
+
* Server Error
|
|
5485
|
+
*/
|
|
5486
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5487
|
+
};
|
|
5488
|
+
};
|
|
5489
|
+
};
|
|
5490
|
+
'/integration-api/user/names-by-ids': {
|
|
5491
|
+
get: {
|
|
5492
|
+
req: GetIntegrationApiUserNamesByIdsData;
|
|
5493
|
+
res: {
|
|
5494
|
+
/**
|
|
5495
|
+
* Success
|
|
5496
|
+
*/
|
|
5497
|
+
200: Array<UniRefund_IdentityService_Users_NameAndIdDto>;
|
|
5498
|
+
/**
|
|
5499
|
+
* Bad Request
|
|
5500
|
+
*/
|
|
5501
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5502
|
+
/**
|
|
5503
|
+
* Unauthorized
|
|
5504
|
+
*/
|
|
5505
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5506
|
+
/**
|
|
5507
|
+
* Forbidden
|
|
5508
|
+
*/
|
|
5509
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5510
|
+
/**
|
|
5511
|
+
* Not Found
|
|
5512
|
+
*/
|
|
5513
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5514
|
+
/**
|
|
5515
|
+
* Server Error
|
|
5516
|
+
*/
|
|
5517
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5518
|
+
/**
|
|
5519
|
+
* Server Error
|
|
5520
|
+
*/
|
|
5521
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5522
|
+
};
|
|
5523
|
+
};
|
|
5524
|
+
};
|
|
5525
|
+
'/integration-api/user/{id}/role/{roleId}': {
|
|
5526
|
+
post: {
|
|
5527
|
+
req: PostIntegrationApiUserByIdRoleByRoleIdData;
|
|
5528
|
+
res: {
|
|
5529
|
+
/**
|
|
5530
|
+
* Success
|
|
5531
|
+
*/
|
|
5532
|
+
200: unknown;
|
|
5533
|
+
/**
|
|
5534
|
+
* Bad Request
|
|
5535
|
+
*/
|
|
5536
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5537
|
+
/**
|
|
5538
|
+
* Unauthorized
|
|
5539
|
+
*/
|
|
5540
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5541
|
+
/**
|
|
5542
|
+
* Forbidden
|
|
5543
|
+
*/
|
|
5544
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5545
|
+
/**
|
|
5546
|
+
* Not Found
|
|
5547
|
+
*/
|
|
5548
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5549
|
+
/**
|
|
5550
|
+
* Server Error
|
|
5551
|
+
*/
|
|
5552
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5553
|
+
/**
|
|
5554
|
+
* Server Error
|
|
5555
|
+
*/
|
|
5556
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
5557
|
+
};
|
|
5558
|
+
};
|
|
5559
|
+
};
|
|
5346
5560
|
'/integration-api/identity/users/{id}/role-names': {
|
|
5347
5561
|
get: {
|
|
5348
5562
|
req: GetIntegrationApiIdentityUsersByIdRoleNamesData;
|
|
@@ -1443,7 +1443,7 @@ export const $UniRefund_TravellerService_NameCommonDatas_CreateNameCommonDataDto
|
|
|
1443
1443
|
} as const;
|
|
1444
1444
|
|
|
1445
1445
|
export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationCommonDataDto = {
|
|
1446
|
-
required: ['
|
|
1446
|
+
required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
|
|
1447
1447
|
type: 'object',
|
|
1448
1448
|
properties: {
|
|
1449
1449
|
firstName: {
|
|
@@ -1474,7 +1474,8 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Creat
|
|
|
1474
1474
|
},
|
|
1475
1475
|
expirationDate: {
|
|
1476
1476
|
type: 'string',
|
|
1477
|
-
format: 'date-time'
|
|
1477
|
+
format: 'date-time',
|
|
1478
|
+
nullable: true
|
|
1478
1479
|
},
|
|
1479
1480
|
residenceCountryCode2: {
|
|
1480
1481
|
minLength: 1,
|
|
@@ -1997,7 +1998,7 @@ export const $UniRefund_TravellerService_Travellers_CreateTravellerDto = {
|
|
|
1997
1998
|
readOnly: true
|
|
1998
1999
|
},
|
|
1999
2000
|
personalIdentification: {
|
|
2000
|
-
required: ['
|
|
2001
|
+
required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
|
|
2001
2002
|
type: 'object',
|
|
2002
2003
|
properties: {
|
|
2003
2004
|
firstName: {
|
|
@@ -2028,7 +2029,8 @@ export const $UniRefund_TravellerService_Travellers_CreateTravellerDto = {
|
|
|
2028
2029
|
},
|
|
2029
2030
|
expirationDate: {
|
|
2030
2031
|
type: 'string',
|
|
2031
|
-
format: 'date-time'
|
|
2032
|
+
format: 'date-time',
|
|
2033
|
+
nullable: true
|
|
2032
2034
|
},
|
|
2033
2035
|
residenceCountryCode2: {
|
|
2034
2036
|
minLength: 1,
|
|
@@ -2312,7 +2314,7 @@ export const $UniRefund_TravellerService_Travellers_CreateWithComponentsTravelle
|
|
|
2312
2314
|
personalIdentificationCommonDatas: {
|
|
2313
2315
|
type: 'array',
|
|
2314
2316
|
items: {
|
|
2315
|
-
required: ['
|
|
2317
|
+
required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
|
|
2316
2318
|
type: 'object',
|
|
2317
2319
|
properties: {
|
|
2318
2320
|
firstName: {
|
|
@@ -2343,7 +2345,8 @@ export const $UniRefund_TravellerService_Travellers_CreateWithComponentsTravelle
|
|
|
2343
2345
|
},
|
|
2344
2346
|
expirationDate: {
|
|
2345
2347
|
type: 'string',
|
|
2346
|
-
format: 'date-time'
|
|
2348
|
+
format: 'date-time',
|
|
2349
|
+
nullable: true
|
|
2347
2350
|
},
|
|
2348
2351
|
residenceCountryCode2: {
|
|
2349
2352
|
minLength: 1,
|
|
@@ -2571,7 +2574,7 @@ export const $UniRefund_TravellerService_Travellers_TravellerListProfileDto = {
|
|
|
2571
2574
|
} as const;
|
|
2572
2575
|
|
|
2573
2576
|
export const $UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
2574
|
-
required: ['
|
|
2577
|
+
required: ['firstName', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
|
|
2575
2578
|
type: 'object',
|
|
2576
2579
|
properties: {
|
|
2577
2580
|
extraProperties: {
|
|
@@ -2589,52 +2592,32 @@ export const $UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
|
2589
2592
|
minLength: 1,
|
|
2590
2593
|
type: 'string'
|
|
2591
2594
|
},
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
nullable: true
|
|
2595
|
+
nationalityCountryCode2: {
|
|
2596
|
+
minLength: 1,
|
|
2597
|
+
type: 'string'
|
|
2596
2598
|
},
|
|
2597
2599
|
firstName: {
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
},
|
|
2601
|
-
middleName: {
|
|
2602
|
-
type: 'string',
|
|
2603
|
-
nullable: true
|
|
2600
|
+
minLength: 1,
|
|
2601
|
+
type: 'string'
|
|
2604
2602
|
},
|
|
2605
2603
|
lastName: {
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
},
|
|
2609
|
-
issueDate: {
|
|
2610
|
-
type: 'string',
|
|
2611
|
-
format: 'date-time',
|
|
2612
|
-
nullable: true
|
|
2613
|
-
},
|
|
2614
|
-
expirationDate: {
|
|
2615
|
-
type: 'string',
|
|
2616
|
-
format: 'date-time'
|
|
2604
|
+
minLength: 1,
|
|
2605
|
+
type: 'string'
|
|
2617
2606
|
},
|
|
2618
2607
|
residenceCountryCode2: {
|
|
2619
|
-
|
|
2620
|
-
|
|
2608
|
+
minLength: 1,
|
|
2609
|
+
type: 'string'
|
|
2621
2610
|
},
|
|
2622
|
-
|
|
2611
|
+
expirationDate: {
|
|
2623
2612
|
type: 'string',
|
|
2613
|
+
format: 'date-time',
|
|
2624
2614
|
nullable: true
|
|
2625
2615
|
},
|
|
2626
|
-
|
|
2627
|
-
enum: ['MALE', 'FEMALE'],
|
|
2628
|
-
type: 'string'
|
|
2629
|
-
},
|
|
2630
|
-
languagePreferenceCode: {
|
|
2616
|
+
birthDate: {
|
|
2631
2617
|
type: 'string',
|
|
2618
|
+
format: 'date-time',
|
|
2632
2619
|
nullable: true
|
|
2633
2620
|
},
|
|
2634
|
-
identificationType: {
|
|
2635
|
-
enum: ['Passport'],
|
|
2636
|
-
type: 'string'
|
|
2637
|
-
},
|
|
2638
2621
|
creatorId: {
|
|
2639
2622
|
type: 'string',
|
|
2640
2623
|
format: 'uuid',
|
|
@@ -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, GetApiTravellerServiceAddressesData, GetApiTravellerServiceAddressesResponse, PostApiTravellerServiceAddressesData, PostApiTravellerServiceAddressesResponse, GetApiTravellerServiceAddressesByIdData, GetApiTravellerServiceAddressesByIdResponse, PutApiTravellerServiceAddressesByIdData, PutApiTravellerServiceAddressesByIdResponse, DeleteApiTravellerServiceAddressesByIdData, DeleteApiTravellerServiceAddressesByIdResponse, GetApiTravellerServiceEmailsData, GetApiTravellerServiceEmailsResponse, PostApiTravellerServiceEmailsData, PostApiTravellerServiceEmailsResponse, GetApiTravellerServiceEmailsByIdData, GetApiTravellerServiceEmailsByIdResponse, PutApiTravellerServiceEmailsByIdData, PutApiTravellerServiceEmailsByIdResponse, DeleteApiTravellerServiceEmailsByIdData, DeleteApiTravellerServiceEmailsByIdResponse, PostApiTravellerServiceIndividualsWithComponentsData, PostApiTravellerServiceIndividualsWithComponentsResponse, GetApiTravellerServiceIndividualsData, GetApiTravellerServiceIndividualsResponse, GetApiTravellerServiceTelephonesData, GetApiTravellerServiceTelephonesResponse, PostApiTravellerServiceTelephonesData, PostApiTravellerServiceTelephonesResponse, GetApiTravellerServiceTelephonesByIdData, GetApiTravellerServiceTelephonesByIdResponse, PutApiTravellerServiceTelephonesByIdData, PutApiTravellerServiceTelephonesByIdResponse, DeleteApiTravellerServiceTelephonesByIdData, DeleteApiTravellerServiceTelephonesByIdResponse, PostApiTravellerServiceTravellersWithComponentsData, PostApiTravellerServiceTravellersWithComponentsResponse, PostApiTravellerServiceTravellersData, PostApiTravellerServiceTravellersResponse, GetApiTravellerServiceTravellersData, GetApiTravellerServiceTravellersResponse, PutApiTravellerServiceTravellersByIdUpsertPersonalPreferenceData, PutApiTravellerServiceTravellersByIdUpsertPersonalPreferenceResponse, PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryData, PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryResponse, PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationData, PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationResponse, PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationData, PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationResponse, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationData, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationResponse,
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiTravellerServiceAddressesData, GetApiTravellerServiceAddressesResponse, PostApiTravellerServiceAddressesData, PostApiTravellerServiceAddressesResponse, GetApiTravellerServiceAddressesByIdData, GetApiTravellerServiceAddressesByIdResponse, PutApiTravellerServiceAddressesByIdData, PutApiTravellerServiceAddressesByIdResponse, DeleteApiTravellerServiceAddressesByIdData, DeleteApiTravellerServiceAddressesByIdResponse, GetApiTravellerServiceEmailsData, GetApiTravellerServiceEmailsResponse, PostApiTravellerServiceEmailsData, PostApiTravellerServiceEmailsResponse, GetApiTravellerServiceEmailsByIdData, GetApiTravellerServiceEmailsByIdResponse, PutApiTravellerServiceEmailsByIdData, PutApiTravellerServiceEmailsByIdResponse, DeleteApiTravellerServiceEmailsByIdData, DeleteApiTravellerServiceEmailsByIdResponse, PostApiTravellerServiceIndividualsWithComponentsData, PostApiTravellerServiceIndividualsWithComponentsResponse, GetApiTravellerServiceIndividualsData, GetApiTravellerServiceIndividualsResponse, GetApiTravellerServiceTelephonesData, GetApiTravellerServiceTelephonesResponse, PostApiTravellerServiceTelephonesData, PostApiTravellerServiceTelephonesResponse, GetApiTravellerServiceTelephonesByIdData, GetApiTravellerServiceTelephonesByIdResponse, PutApiTravellerServiceTelephonesByIdData, PutApiTravellerServiceTelephonesByIdResponse, DeleteApiTravellerServiceTelephonesByIdData, DeleteApiTravellerServiceTelephonesByIdResponse, PostApiTravellerServiceTravellersWithComponentsData, PostApiTravellerServiceTravellersWithComponentsResponse, PostApiTravellerServiceTravellersData, PostApiTravellerServiceTravellersResponse, GetApiTravellerServiceTravellersData, GetApiTravellerServiceTravellersResponse, PutApiTravellerServiceTravellersByIdUpsertPersonalPreferenceData, PutApiTravellerServiceTravellersByIdUpsertPersonalPreferenceResponse, PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryData, PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryResponse, PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationData, PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationResponse, PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationData, PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationResponse, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationData, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationResponse, GetApiTravellerServiceTravellersByIdData, GetApiTravellerServiceTravellersByIdResponse, GetIntegrationApiTravellersByIdDetailsData, GetIntegrationApiTravellersByIdDetailsResponse, GetIntegrationApiTravellersByIdExistsData, GetIntegrationApiTravellersByIdExistsResponse, GetIntegrationApiTravellersDocumentNumbersData, GetIntegrationApiTravellersDocumentNumbersResponse, GetIntegrationApiTravellersData, GetIntegrationApiTravellersResponse, PostIntegrationApiTravellersUpsertData, PostIntegrationApiTravellersUpsertResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -773,16 +773,21 @@ export class TravellerService {
|
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
775
|
* @param data The data for the request.
|
|
776
|
-
* @param data.
|
|
777
|
-
* @
|
|
776
|
+
* @param data.id
|
|
777
|
+
* @param data.showExpired
|
|
778
|
+
* @returns UniRefund_TravellerService_Travellers_TravellerDetailProfileDto Success
|
|
778
779
|
* @throws ApiError
|
|
779
780
|
*/
|
|
780
|
-
public
|
|
781
|
+
public getApiTravellerServiceTravellersById(data: GetApiTravellerServiceTravellersByIdData): CancelablePromise<GetApiTravellerServiceTravellersByIdResponse> {
|
|
781
782
|
return this.httpRequest.request({
|
|
782
|
-
method: '
|
|
783
|
-
url: '/api/traveller-service/travellers/
|
|
784
|
-
|
|
785
|
-
|
|
783
|
+
method: 'GET',
|
|
784
|
+
url: '/api/traveller-service/travellers/{id}',
|
|
785
|
+
path: {
|
|
786
|
+
id: data.id
|
|
787
|
+
},
|
|
788
|
+
query: {
|
|
789
|
+
ShowExpired: data.showExpired
|
|
790
|
+
},
|
|
786
791
|
errors: {
|
|
787
792
|
400: 'Bad Request',
|
|
788
793
|
401: 'Unauthorized',
|
|
@@ -794,6 +799,11 @@ export class TravellerService {
|
|
|
794
799
|
});
|
|
795
800
|
}
|
|
796
801
|
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
export class TravellerIntegrationService {
|
|
805
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
806
|
+
|
|
797
807
|
/**
|
|
798
808
|
* @param data The data for the request.
|
|
799
809
|
* @param data.id
|
|
@@ -801,10 +811,10 @@ export class TravellerService {
|
|
|
801
811
|
* @returns UniRefund_TravellerService_Travellers_TravellerDetailProfileDto Success
|
|
802
812
|
* @throws ApiError
|
|
803
813
|
*/
|
|
804
|
-
public
|
|
814
|
+
public getIntegrationApiTravellersByIdDetails(data: GetIntegrationApiTravellersByIdDetailsData): CancelablePromise<GetIntegrationApiTravellersByIdDetailsResponse> {
|
|
805
815
|
return this.httpRequest.request({
|
|
806
816
|
method: 'GET',
|
|
807
|
-
url: '/api/
|
|
817
|
+
url: '/integration-api/travellers/{id}/details',
|
|
808
818
|
path: {
|
|
809
819
|
id: data.id
|
|
810
820
|
},
|
|
@@ -828,10 +838,10 @@ export class TravellerService {
|
|
|
828
838
|
* @returns boolean Success
|
|
829
839
|
* @throws ApiError
|
|
830
840
|
*/
|
|
831
|
-
public
|
|
841
|
+
public getIntegrationApiTravellersByIdExists(data: GetIntegrationApiTravellersByIdExistsData): CancelablePromise<GetIntegrationApiTravellersByIdExistsResponse> {
|
|
832
842
|
return this.httpRequest.request({
|
|
833
843
|
method: 'GET',
|
|
834
|
-
url: '/api/
|
|
844
|
+
url: '/integration-api/travellers/{id}/exists',
|
|
835
845
|
path: {
|
|
836
846
|
id: data.id
|
|
837
847
|
},
|
|
@@ -852,10 +862,10 @@ export class TravellerService {
|
|
|
852
862
|
* @returns UniRefund_TravellerService_Travellers_TravellerDocumentNumberDto Success
|
|
853
863
|
* @throws ApiError
|
|
854
864
|
*/
|
|
855
|
-
public
|
|
865
|
+
public getIntegrationApiTravellersDocumentNumbers(data: GetIntegrationApiTravellersDocumentNumbersData = {}): CancelablePromise<GetIntegrationApiTravellersDocumentNumbersResponse> {
|
|
856
866
|
return this.httpRequest.request({
|
|
857
867
|
method: 'GET',
|
|
858
|
-
url: '/api/
|
|
868
|
+
url: '/integration-api/travellers/document-numbers',
|
|
859
869
|
query: {
|
|
860
870
|
ids: data.ids
|
|
861
871
|
},
|
|
@@ -870,27 +880,38 @@ export class TravellerService {
|
|
|
870
880
|
});
|
|
871
881
|
}
|
|
872
882
|
|
|
873
|
-
}
|
|
874
|
-
|
|
875
|
-
export class TravellerIntegrationService {
|
|
876
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
877
|
-
|
|
878
883
|
/**
|
|
879
884
|
* @param data The data for the request.
|
|
880
|
-
* @param data.
|
|
885
|
+
* @param data.travelDocumentNumber
|
|
886
|
+
* @param data.fullName
|
|
887
|
+
* @param data.phoneNumber
|
|
888
|
+
* @param data.email
|
|
889
|
+
* @param data.username
|
|
890
|
+
* @param data.nationalities
|
|
891
|
+
* @param data.residences
|
|
881
892
|
* @param data.showExpired
|
|
882
|
-
* @
|
|
893
|
+
* @param data.sorting
|
|
894
|
+
* @param data.skipCount
|
|
895
|
+
* @param data.maxResultCount
|
|
896
|
+
* @returns PagedResultDto_TravellerListProfileDto Success
|
|
883
897
|
* @throws ApiError
|
|
884
898
|
*/
|
|
885
|
-
public
|
|
899
|
+
public getIntegrationApiTravellers(data: GetIntegrationApiTravellersData = {}): CancelablePromise<GetIntegrationApiTravellersResponse> {
|
|
886
900
|
return this.httpRequest.request({
|
|
887
901
|
method: 'GET',
|
|
888
|
-
url: '/integration-api/travellers
|
|
889
|
-
path: {
|
|
890
|
-
id: data.id
|
|
891
|
-
},
|
|
902
|
+
url: '/integration-api/travellers',
|
|
892
903
|
query: {
|
|
893
|
-
|
|
904
|
+
TravelDocumentNumber: data.travelDocumentNumber,
|
|
905
|
+
FullName: data.fullName,
|
|
906
|
+
PhoneNumber: data.phoneNumber,
|
|
907
|
+
Email: data.email,
|
|
908
|
+
Username: data.username,
|
|
909
|
+
Nationalities: data.nationalities,
|
|
910
|
+
Residences: data.residences,
|
|
911
|
+
ShowExpired: data.showExpired,
|
|
912
|
+
Sorting: data.sorting,
|
|
913
|
+
SkipCount: data.skipCount,
|
|
914
|
+
MaxResultCount: data.maxResultCount
|
|
894
915
|
},
|
|
895
916
|
errors: {
|
|
896
917
|
400: 'Bad Request',
|
|
@@ -903,4 +924,27 @@ export class TravellerIntegrationService {
|
|
|
903
924
|
});
|
|
904
925
|
}
|
|
905
926
|
|
|
927
|
+
/**
|
|
928
|
+
* @param data The data for the request.
|
|
929
|
+
* @param data.requestBody
|
|
930
|
+
* @returns UniRefund_TravellerService_Travellers_UpsertTravellerResponseDto Success
|
|
931
|
+
* @throws ApiError
|
|
932
|
+
*/
|
|
933
|
+
public postIntegrationApiTravellersUpsert(data: PostIntegrationApiTravellersUpsertData = {}): CancelablePromise<PostIntegrationApiTravellersUpsertResponse> {
|
|
934
|
+
return this.httpRequest.request({
|
|
935
|
+
method: 'POST',
|
|
936
|
+
url: '/integration-api/travellers/upsert',
|
|
937
|
+
body: data.requestBody,
|
|
938
|
+
mediaType: 'application/json',
|
|
939
|
+
errors: {
|
|
940
|
+
400: 'Bad Request',
|
|
941
|
+
401: 'Unauthorized',
|
|
942
|
+
403: 'Forbidden',
|
|
943
|
+
404: 'Not Found',
|
|
944
|
+
500: 'Server Error',
|
|
945
|
+
501: 'Server Error'
|
|
946
|
+
}
|
|
947
|
+
});
|
|
948
|
+
}
|
|
949
|
+
|
|
906
950
|
}
|
|
@@ -195,7 +195,7 @@ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreateP
|
|
|
195
195
|
travelDocumentNumber: string;
|
|
196
196
|
birthDate?: string | null;
|
|
197
197
|
issueDate?: string | null;
|
|
198
|
-
expirationDate
|
|
198
|
+
expirationDate?: string | null;
|
|
199
199
|
residenceCountryCode2: string;
|
|
200
200
|
nationalityCountryCode2: string;
|
|
201
201
|
identificationType?: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
@@ -403,17 +403,12 @@ export type UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
|
403
403
|
} | null;
|
|
404
404
|
id?: string | null;
|
|
405
405
|
travelDocumentNumber: string;
|
|
406
|
+
nationalityCountryCode2: string;
|
|
407
|
+
firstName: string;
|
|
408
|
+
lastName: string;
|
|
409
|
+
residenceCountryCode2: string;
|
|
410
|
+
expirationDate?: string | null;
|
|
406
411
|
birthDate?: string | null;
|
|
407
|
-
firstName?: string | null;
|
|
408
|
-
middleName?: string | null;
|
|
409
|
-
lastName?: string | null;
|
|
410
|
-
issueDate?: string | null;
|
|
411
|
-
expirationDate: string;
|
|
412
|
-
residenceCountryCode2?: string | null;
|
|
413
|
-
nationalityCountryCode2?: string | null;
|
|
414
|
-
gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
|
|
415
|
-
languagePreferenceCode?: string | null;
|
|
416
|
-
identificationType?: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
417
412
|
creatorId?: string | null;
|
|
418
413
|
};
|
|
419
414
|
|
|
@@ -1004,37 +999,53 @@ export type DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationD
|
|
|
1004
999
|
|
|
1005
1000
|
export type DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationResponse = boolean;
|
|
1006
1001
|
|
|
1007
|
-
export type
|
|
1008
|
-
|
|
1002
|
+
export type GetApiTravellerServiceTravellersByIdData = {
|
|
1003
|
+
id: string;
|
|
1004
|
+
showExpired?: boolean;
|
|
1009
1005
|
};
|
|
1010
1006
|
|
|
1011
|
-
export type
|
|
1007
|
+
export type GetApiTravellerServiceTravellersByIdResponse = UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
|
|
1012
1008
|
|
|
1013
|
-
export type
|
|
1009
|
+
export type GetIntegrationApiTravellersByIdDetailsData = {
|
|
1014
1010
|
id: string;
|
|
1015
1011
|
showExpired?: boolean;
|
|
1016
1012
|
};
|
|
1017
1013
|
|
|
1018
|
-
export type
|
|
1014
|
+
export type GetIntegrationApiTravellersByIdDetailsResponse = UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
|
|
1019
1015
|
|
|
1020
|
-
export type
|
|
1016
|
+
export type GetIntegrationApiTravellersByIdExistsData = {
|
|
1021
1017
|
id: string;
|
|
1022
1018
|
};
|
|
1023
1019
|
|
|
1024
|
-
export type
|
|
1020
|
+
export type GetIntegrationApiTravellersByIdExistsResponse = boolean;
|
|
1025
1021
|
|
|
1026
|
-
export type
|
|
1022
|
+
export type GetIntegrationApiTravellersDocumentNumbersData = {
|
|
1027
1023
|
ids?: Array<(string)>;
|
|
1028
1024
|
};
|
|
1029
1025
|
|
|
1030
|
-
export type
|
|
1026
|
+
export type GetIntegrationApiTravellersDocumentNumbersResponse = Array<UniRefund_TravellerService_Travellers_TravellerDocumentNumberDto>;
|
|
1031
1027
|
|
|
1032
|
-
export type
|
|
1033
|
-
|
|
1028
|
+
export type GetIntegrationApiTravellersData = {
|
|
1029
|
+
email?: string;
|
|
1030
|
+
fullName?: string;
|
|
1031
|
+
maxResultCount?: number;
|
|
1032
|
+
nationalities?: Array<(string)>;
|
|
1033
|
+
phoneNumber?: string;
|
|
1034
|
+
residences?: Array<(string)>;
|
|
1034
1035
|
showExpired?: boolean;
|
|
1036
|
+
skipCount?: number;
|
|
1037
|
+
sorting?: string;
|
|
1038
|
+
travelDocumentNumber?: string;
|
|
1039
|
+
username?: string;
|
|
1035
1040
|
};
|
|
1036
1041
|
|
|
1037
|
-
export type
|
|
1042
|
+
export type GetIntegrationApiTravellersResponse = PagedResultDto_TravellerListProfileDto;
|
|
1043
|
+
|
|
1044
|
+
export type PostIntegrationApiTravellersUpsertData = {
|
|
1045
|
+
requestBody?: UniRefund_TravellerService_Travellers_UpsertTravellerDto;
|
|
1046
|
+
};
|
|
1047
|
+
|
|
1048
|
+
export type PostIntegrationApiTravellersUpsertResponse = UniRefund_TravellerService_Travellers_UpsertTravellerResponseDto;
|
|
1038
1049
|
|
|
1039
1050
|
export type $OpenApiTs = {
|
|
1040
1051
|
'/api/abp/api-definition': {
|
|
@@ -1997,14 +2008,14 @@ export type $OpenApiTs = {
|
|
|
1997
2008
|
};
|
|
1998
2009
|
};
|
|
1999
2010
|
};
|
|
2000
|
-
'/api/traveller-service/travellers/
|
|
2001
|
-
|
|
2002
|
-
req:
|
|
2011
|
+
'/api/traveller-service/travellers/{id}': {
|
|
2012
|
+
get: {
|
|
2013
|
+
req: GetApiTravellerServiceTravellersByIdData;
|
|
2003
2014
|
res: {
|
|
2004
2015
|
/**
|
|
2005
2016
|
* Success
|
|
2006
2017
|
*/
|
|
2007
|
-
200:
|
|
2018
|
+
200: UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
|
|
2008
2019
|
/**
|
|
2009
2020
|
* Bad Request
|
|
2010
2021
|
*/
|
|
@@ -2032,9 +2043,9 @@ export type $OpenApiTs = {
|
|
|
2032
2043
|
};
|
|
2033
2044
|
};
|
|
2034
2045
|
};
|
|
2035
|
-
'/api/
|
|
2046
|
+
'/integration-api/travellers/{id}/details': {
|
|
2036
2047
|
get: {
|
|
2037
|
-
req:
|
|
2048
|
+
req: GetIntegrationApiTravellersByIdDetailsData;
|
|
2038
2049
|
res: {
|
|
2039
2050
|
/**
|
|
2040
2051
|
* Success
|
|
@@ -2067,9 +2078,9 @@ export type $OpenApiTs = {
|
|
|
2067
2078
|
};
|
|
2068
2079
|
};
|
|
2069
2080
|
};
|
|
2070
|
-
'/api/
|
|
2081
|
+
'/integration-api/travellers/{id}/exists': {
|
|
2071
2082
|
get: {
|
|
2072
|
-
req:
|
|
2083
|
+
req: GetIntegrationApiTravellersByIdExistsData;
|
|
2073
2084
|
res: {
|
|
2074
2085
|
/**
|
|
2075
2086
|
* Success
|
|
@@ -2102,9 +2113,9 @@ export type $OpenApiTs = {
|
|
|
2102
2113
|
};
|
|
2103
2114
|
};
|
|
2104
2115
|
};
|
|
2105
|
-
'/api/
|
|
2116
|
+
'/integration-api/travellers/document-numbers': {
|
|
2106
2117
|
get: {
|
|
2107
|
-
req:
|
|
2118
|
+
req: GetIntegrationApiTravellersDocumentNumbersData;
|
|
2108
2119
|
res: {
|
|
2109
2120
|
/**
|
|
2110
2121
|
* Success
|
|
@@ -2137,14 +2148,49 @@ export type $OpenApiTs = {
|
|
|
2137
2148
|
};
|
|
2138
2149
|
};
|
|
2139
2150
|
};
|
|
2140
|
-
'/integration-api/travellers
|
|
2151
|
+
'/integration-api/travellers': {
|
|
2141
2152
|
get: {
|
|
2142
|
-
req:
|
|
2153
|
+
req: GetIntegrationApiTravellersData;
|
|
2143
2154
|
res: {
|
|
2144
2155
|
/**
|
|
2145
2156
|
* Success
|
|
2146
2157
|
*/
|
|
2147
|
-
200:
|
|
2158
|
+
200: PagedResultDto_TravellerListProfileDto;
|
|
2159
|
+
/**
|
|
2160
|
+
* Bad Request
|
|
2161
|
+
*/
|
|
2162
|
+
400: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2163
|
+
/**
|
|
2164
|
+
* Unauthorized
|
|
2165
|
+
*/
|
|
2166
|
+
401: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2167
|
+
/**
|
|
2168
|
+
* Forbidden
|
|
2169
|
+
*/
|
|
2170
|
+
403: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2171
|
+
/**
|
|
2172
|
+
* Not Found
|
|
2173
|
+
*/
|
|
2174
|
+
404: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2175
|
+
/**
|
|
2176
|
+
* Server Error
|
|
2177
|
+
*/
|
|
2178
|
+
500: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2179
|
+
/**
|
|
2180
|
+
* Server Error
|
|
2181
|
+
*/
|
|
2182
|
+
501: Volo_Abp_Http_RemoteServiceErrorResponse;
|
|
2183
|
+
};
|
|
2184
|
+
};
|
|
2185
|
+
};
|
|
2186
|
+
'/integration-api/travellers/upsert': {
|
|
2187
|
+
post: {
|
|
2188
|
+
req: PostIntegrationApiTravellersUpsertData;
|
|
2189
|
+
res: {
|
|
2190
|
+
/**
|
|
2191
|
+
* Success
|
|
2192
|
+
*/
|
|
2193
|
+
200: UniRefund_TravellerService_Travellers_UpsertTravellerResponseDto;
|
|
2148
2194
|
/**
|
|
2149
2195
|
* Bad Request
|
|
2150
2196
|
*/
|