@ayasofyazilim/saas 0.0.45 → 0.0.46
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 -17527
- package/CRMService/services.gen.ts +2166 -2166
- package/CRMService/types.gen.ts +4389 -4389
- package/ContractService/schemas.gen.ts +126 -66
- package/ContractService/services.gen.ts +29 -1
- package/ContractService/types.gen.ts +58 -7
- package/LocationService/LocationServiceClient.ts +3 -39
- package/LocationService/schemas.gen.ts +1436 -4933
- package/LocationService/services.gen.ts +195 -1861
- package/LocationService/types.gen.ts +449 -3341
- package/TagService/schemas.gen.ts +496 -266
- package/TagService/types.gen.ts +74 -43
- package/TravellerService/schemas.gen.ts +164 -26
- package/TravellerService/services.gen.ts +16 -2
- package/TravellerService/types.gen.ts +38 -9
- package/package.json +1 -1
package/TagService/types.gen.ts
CHANGED
|
@@ -1,14 +1,37 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
|
+
export type UniRefund_TagService_Invoices_InvoiceRequestDto = {
|
|
4
|
+
id?: string | null;
|
|
5
|
+
uuid?: string;
|
|
6
|
+
invoiceNumber?: string | null;
|
|
7
|
+
issueDate?: string;
|
|
8
|
+
amountPaid?: number;
|
|
9
|
+
vatAmount?: number;
|
|
10
|
+
taxTotals?: Array<UniRefund_TagService_Tags_TaxTotalDto> | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
export type UniRefund_TagService_Merchants_MerchantDetailDto = {
|
|
14
|
+
id?: string;
|
|
15
|
+
name?: string | null;
|
|
16
|
+
address?: UniRefund_TagService_Tags_AddressDto;
|
|
17
|
+
productGroups?: Array<UniRefund_TagService_Tags_ProductGroupDto> | null;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export type UniRefund_TagService_Merchants_MerchantRequestDto = {
|
|
21
|
+
vatNumber: string;
|
|
22
|
+
countryCode: string;
|
|
23
|
+
branchId: string;
|
|
24
|
+
};
|
|
25
|
+
|
|
3
26
|
export type UniRefund_TagService_Tags_AddressDto = {
|
|
4
27
|
id?: string;
|
|
5
28
|
fullText?: string | null;
|
|
6
29
|
};
|
|
7
30
|
|
|
8
31
|
export type UniRefund_TagService_Tags_CreateTagRequestDto = {
|
|
9
|
-
merchant?:
|
|
10
|
-
traveller?:
|
|
11
|
-
|
|
32
|
+
merchant?: UniRefund_TagService_Merchants_MerchantRequestDto;
|
|
33
|
+
traveller?: UniRefund_TagService_Travellers_TravellerRequestDto;
|
|
34
|
+
invoices?: Array<UniRefund_TagService_Invoices_InvoiceRequestDto> | null;
|
|
12
35
|
exportValidation?: UniRefund_TagService_Tags_ExportValidationRequestDto;
|
|
13
36
|
};
|
|
14
37
|
|
|
@@ -20,48 +43,29 @@ export type UniRefund_TagService_Tags_ExportValidationRequestDto = {
|
|
|
20
43
|
description?: string | null;
|
|
21
44
|
};
|
|
22
45
|
|
|
23
|
-
export type UniRefund_TagService_Tags_InvoiceRequestDto = {
|
|
24
|
-
id?: string | null;
|
|
25
|
-
uuid?: string | null;
|
|
26
|
-
invoiceNumber?: string | null;
|
|
27
|
-
issueDate?: string | null;
|
|
28
|
-
amountPaid?: number | null;
|
|
29
|
-
vatAmount?: number | null;
|
|
30
|
-
taxTotals?: Array<UniRefund_TagService_Tags_TaxTotalDto> | null;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
export type UniRefund_TagService_Tags_MerchantDetailDto = {
|
|
34
|
-
id?: string;
|
|
35
|
-
name?: string | null;
|
|
36
|
-
address?: UniRefund_TagService_Tags_AddressDto;
|
|
37
|
-
productGroups?: Array<UniRefund_TagService_Tags_ProductGroupDto> | null;
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export type UniRefund_TagService_Tags_MerchantRequestDto = {
|
|
41
|
-
vatNumber: string;
|
|
42
|
-
countryCode: string;
|
|
43
|
-
branchId: string;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
46
|
export type UniRefund_TagService_Tags_ProductGroupDto = {
|
|
47
47
|
id?: string;
|
|
48
48
|
description?: string | null;
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
+
export type UniRefund_TagService_Tags_RefundType = 'None' | 'Cash' | 'CreditorDebitCard';
|
|
52
|
+
|
|
51
53
|
export type UniRefund_TagService_Tags_TagDetailDto = {
|
|
52
54
|
id?: string;
|
|
53
55
|
tagNumber?: string | null;
|
|
54
|
-
status?:
|
|
56
|
+
status?: UniRefund_TagService_Tags_TagStatusType;
|
|
57
|
+
refundType?: UniRefund_TagService_Tags_RefundType;
|
|
55
58
|
issueDate?: string | null;
|
|
56
59
|
expireDate?: string | null;
|
|
57
|
-
merchant?:
|
|
58
|
-
traveller?:
|
|
60
|
+
merchant?: UniRefund_TagService_Merchants_MerchantDetailDto;
|
|
61
|
+
traveller?: UniRefund_TagService_Travellers_TravellerDetailDto;
|
|
59
62
|
};
|
|
60
63
|
|
|
61
64
|
export type UniRefund_TagService_Tags_TagDto = {
|
|
62
65
|
id?: string;
|
|
63
66
|
tagNumber?: string | null;
|
|
64
|
-
status?:
|
|
67
|
+
status?: UniRefund_TagService_Tags_TagStatusType;
|
|
68
|
+
refundType?: UniRefund_TagService_Tags_RefundType;
|
|
65
69
|
issueDate?: string | null;
|
|
66
70
|
expireDate?: string | null;
|
|
67
71
|
exportValidationId?: string | null;
|
|
@@ -72,35 +76,62 @@ export type UniRefund_TagService_Tags_TagDto = {
|
|
|
72
76
|
tripId?: string | null;
|
|
73
77
|
refundTableId?: string | null;
|
|
74
78
|
rebateTableId?: string | null;
|
|
79
|
+
tagTotals?: Array<UniRefund_TagService_Tags_TagTotalDto> | null;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
export type UniRefund_TagService_Tags_TagStatusType = 'None' | 'Open' | 'PreIssued' | 'Issued' | 'WaitingGoodsValidation' | 'WaitingStampValidation' | 'Declined' | 'ExportValidated' | 'PaymentBlocked' | 'PaymentInProgress' | 'PaymentProblem' | 'Paid' | 'Cancelled' | 'Expired' | 'Correction' | 'OptedOut';
|
|
83
|
+
|
|
84
|
+
export type UniRefund_TagService_Tags_TagTotalDto = {
|
|
85
|
+
totalType?: UniRefund_TagService_Tags_TotalType;
|
|
86
|
+
amount?: number;
|
|
87
|
+
description?: string | null;
|
|
75
88
|
};
|
|
76
89
|
|
|
77
90
|
export type UniRefund_TagService_Tags_TaxTotalDto = {
|
|
78
|
-
taxRate?: number
|
|
79
|
-
taxTotal?: number
|
|
80
|
-
taxableAmount?: number
|
|
91
|
+
taxRate?: number;
|
|
92
|
+
taxTotal?: number;
|
|
93
|
+
taxableAmount?: number;
|
|
81
94
|
};
|
|
82
95
|
|
|
83
|
-
export type
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
lastname?: string | null;
|
|
96
|
+
export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund';
|
|
97
|
+
|
|
98
|
+
export type UniRefund_TagService_Travellers_TravellerDetailDto = {
|
|
99
|
+
id: string;
|
|
100
|
+
language?: string | null;
|
|
101
|
+
userAccountId?: string | null;
|
|
102
|
+
gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
|
|
103
|
+
personalIdentificationProfiles: Array<UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto>;
|
|
92
104
|
};
|
|
93
105
|
|
|
94
|
-
export type
|
|
106
|
+
export type UniRefund_TagService_Travellers_TravellerRequestDto = {
|
|
95
107
|
id?: string | null;
|
|
96
108
|
documentNumber: string;
|
|
97
109
|
documentCountryCode: string;
|
|
98
110
|
firstName: string;
|
|
99
111
|
lastName: string;
|
|
100
112
|
countryOfResidenceCode: string;
|
|
113
|
+
expirationDate: string;
|
|
101
114
|
birthDate?: string | null;
|
|
102
115
|
};
|
|
103
116
|
|
|
117
|
+
export type UniRefund_TravellerService_Enums_GenderTypeCode = 'MALE' | 'FEMALE';
|
|
118
|
+
|
|
119
|
+
export type UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode = 'Passport';
|
|
120
|
+
|
|
121
|
+
export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
|
|
122
|
+
id: string;
|
|
123
|
+
travelDocumentNumber: string;
|
|
124
|
+
countryOfResidenceCode2: string;
|
|
125
|
+
countryOfResidence: string;
|
|
126
|
+
nationalityCode2: string;
|
|
127
|
+
nationality: string;
|
|
128
|
+
firstName: string;
|
|
129
|
+
lastName: string;
|
|
130
|
+
dateOfBirth?: string | null;
|
|
131
|
+
expirationDate: string;
|
|
132
|
+
identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
133
|
+
};
|
|
134
|
+
|
|
104
135
|
export type Volo_Abp_Application_Dtos_PagedResultDto_1 = {
|
|
105
136
|
items?: Array<UniRefund_TagService_Tags_TagDto> | null;
|
|
106
137
|
totalCount?: number;
|
|
@@ -1080,7 +1080,7 @@ export const $UniRefund_TravellerService_NameCommonDatas_CreateNameCommonDataDto
|
|
|
1080
1080
|
} as const;
|
|
1081
1081
|
|
|
1082
1082
|
export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationCommonDataDto = {
|
|
1083
|
-
required: ['firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1083
|
+
required: ['expirationDate', 'firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1084
1084
|
type: 'object',
|
|
1085
1085
|
properties: {
|
|
1086
1086
|
firstName: {
|
|
@@ -1107,8 +1107,7 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Creat
|
|
|
1107
1107
|
},
|
|
1108
1108
|
expirationDate: {
|
|
1109
1109
|
type: 'string',
|
|
1110
|
-
format: 'date-time'
|
|
1111
|
-
nullable: true
|
|
1110
|
+
format: 'date-time'
|
|
1112
1111
|
},
|
|
1113
1112
|
residenceCountry: {
|
|
1114
1113
|
minLength: 1,
|
|
@@ -1127,14 +1126,68 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Creat
|
|
|
1127
1126
|
additionalProperties: false
|
|
1128
1127
|
} as const;
|
|
1129
1128
|
|
|
1129
|
+
export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
|
|
1130
|
+
required: ['countryOfResidence', 'countryOfResidenceCode2', 'expirationDate', 'firstName', 'id', 'identificationType', 'lastName', 'nationality', 'nationalityCode2', 'travelDocumentNumber'],
|
|
1131
|
+
type: 'object',
|
|
1132
|
+
properties: {
|
|
1133
|
+
id: {
|
|
1134
|
+
type: 'string',
|
|
1135
|
+
format: 'uuid'
|
|
1136
|
+
},
|
|
1137
|
+
travelDocumentNumber: {
|
|
1138
|
+
minLength: 1,
|
|
1139
|
+
type: 'string'
|
|
1140
|
+
},
|
|
1141
|
+
countryOfResidenceCode2: {
|
|
1142
|
+
minLength: 1,
|
|
1143
|
+
type: 'string'
|
|
1144
|
+
},
|
|
1145
|
+
countryOfResidence: {
|
|
1146
|
+
minLength: 1,
|
|
1147
|
+
type: 'string'
|
|
1148
|
+
},
|
|
1149
|
+
nationalityCode2: {
|
|
1150
|
+
minLength: 1,
|
|
1151
|
+
type: 'string'
|
|
1152
|
+
},
|
|
1153
|
+
nationality: {
|
|
1154
|
+
minLength: 1,
|
|
1155
|
+
type: 'string'
|
|
1156
|
+
},
|
|
1157
|
+
firstName: {
|
|
1158
|
+
minLength: 1,
|
|
1159
|
+
type: 'string'
|
|
1160
|
+
},
|
|
1161
|
+
lastName: {
|
|
1162
|
+
minLength: 1,
|
|
1163
|
+
type: 'string'
|
|
1164
|
+
},
|
|
1165
|
+
dateOfBirth: {
|
|
1166
|
+
type: 'string',
|
|
1167
|
+
format: 'date-time',
|
|
1168
|
+
nullable: true
|
|
1169
|
+
},
|
|
1170
|
+
expirationDate: {
|
|
1171
|
+
type: 'string',
|
|
1172
|
+
format: 'date-time'
|
|
1173
|
+
},
|
|
1174
|
+
identificationType: {
|
|
1175
|
+
enum: [0],
|
|
1176
|
+
type: 'integer',
|
|
1177
|
+
format: 'int32'
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1180
|
+
additionalProperties: false
|
|
1181
|
+
} as const;
|
|
1182
|
+
|
|
1130
1183
|
export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationCommonDataDto = {
|
|
1131
|
-
required: ['firstName', 'identificationType', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'
|
|
1184
|
+
required: ['expirationDate', 'firstName', 'identificationType', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1132
1185
|
type: 'object',
|
|
1133
1186
|
properties: {
|
|
1134
|
-
|
|
1187
|
+
id: {
|
|
1135
1188
|
type: 'string',
|
|
1136
1189
|
format: 'uuid',
|
|
1137
|
-
|
|
1190
|
+
nullable: true
|
|
1138
1191
|
},
|
|
1139
1192
|
personalID: {
|
|
1140
1193
|
minLength: 1,
|
|
@@ -1160,8 +1213,7 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Updat
|
|
|
1160
1213
|
},
|
|
1161
1214
|
expirationDate: {
|
|
1162
1215
|
type: 'string',
|
|
1163
|
-
format: 'date-time'
|
|
1164
|
-
nullable: true
|
|
1216
|
+
format: 'date-time'
|
|
1165
1217
|
},
|
|
1166
1218
|
residenceCountry: {
|
|
1167
1219
|
minLength: 1,
|
|
@@ -1430,7 +1482,7 @@ export const $UniRefund_TravellerService_Travellers_CreateTravellerDto = {
|
|
|
1430
1482
|
readOnly: true
|
|
1431
1483
|
},
|
|
1432
1484
|
personalIdentification: {
|
|
1433
|
-
required: ['firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1485
|
+
required: ['expirationDate', 'firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1434
1486
|
type: 'object',
|
|
1435
1487
|
properties: {
|
|
1436
1488
|
firstName: {
|
|
@@ -1457,8 +1509,7 @@ export const $UniRefund_TravellerService_Travellers_CreateTravellerDto = {
|
|
|
1457
1509
|
},
|
|
1458
1510
|
expirationDate: {
|
|
1459
1511
|
type: 'string',
|
|
1460
|
-
format: 'date-time'
|
|
1461
|
-
nullable: true
|
|
1512
|
+
format: 'date-time'
|
|
1462
1513
|
},
|
|
1463
1514
|
residenceCountry: {
|
|
1464
1515
|
minLength: 1,
|
|
@@ -1748,7 +1799,7 @@ export const $UniRefund_TravellerService_Travellers_CreateWithComponentsTravelle
|
|
|
1748
1799
|
personalIdentificationCommonDatas: {
|
|
1749
1800
|
type: 'array',
|
|
1750
1801
|
items: {
|
|
1751
|
-
required: ['firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1802
|
+
required: ['expirationDate', 'firstName', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1752
1803
|
type: 'object',
|
|
1753
1804
|
properties: {
|
|
1754
1805
|
firstName: {
|
|
@@ -1775,8 +1826,7 @@ export const $UniRefund_TravellerService_Travellers_CreateWithComponentsTravelle
|
|
|
1775
1826
|
},
|
|
1776
1827
|
expirationDate: {
|
|
1777
1828
|
type: 'string',
|
|
1778
|
-
format: 'date-time'
|
|
1779
|
-
nullable: true
|
|
1829
|
+
format: 'date-time'
|
|
1780
1830
|
},
|
|
1781
1831
|
residenceCountry: {
|
|
1782
1832
|
minLength: 1,
|
|
@@ -1812,8 +1862,90 @@ export const $UniRefund_TravellerService_Travellers_CreateWithComponentsTravelle
|
|
|
1812
1862
|
additionalProperties: false
|
|
1813
1863
|
} as const;
|
|
1814
1864
|
|
|
1815
|
-
export const $
|
|
1816
|
-
required: ['
|
|
1865
|
+
export const $UniRefund_TravellerService_Travellers_TravellerDetailProfileDto = {
|
|
1866
|
+
required: ['id', 'personalIdentificationProfiles'],
|
|
1867
|
+
type: 'object',
|
|
1868
|
+
properties: {
|
|
1869
|
+
id: {
|
|
1870
|
+
type: 'string',
|
|
1871
|
+
format: 'uuid'
|
|
1872
|
+
},
|
|
1873
|
+
language: {
|
|
1874
|
+
type: 'string',
|
|
1875
|
+
nullable: true
|
|
1876
|
+
},
|
|
1877
|
+
userAccountId: {
|
|
1878
|
+
type: 'string',
|
|
1879
|
+
format: 'uuid',
|
|
1880
|
+
nullable: true
|
|
1881
|
+
},
|
|
1882
|
+
gender: {
|
|
1883
|
+
enum: [0, 1],
|
|
1884
|
+
type: 'integer',
|
|
1885
|
+
format: 'int32'
|
|
1886
|
+
},
|
|
1887
|
+
personalIdentificationProfiles: {
|
|
1888
|
+
type: 'array',
|
|
1889
|
+
items: {
|
|
1890
|
+
required: ['countryOfResidence', 'countryOfResidenceCode2', 'expirationDate', 'firstName', 'id', 'identificationType', 'lastName', 'nationality', 'nationalityCode2', 'travelDocumentNumber'],
|
|
1891
|
+
type: 'object',
|
|
1892
|
+
properties: {
|
|
1893
|
+
id: {
|
|
1894
|
+
type: 'string',
|
|
1895
|
+
format: 'uuid'
|
|
1896
|
+
},
|
|
1897
|
+
travelDocumentNumber: {
|
|
1898
|
+
minLength: 1,
|
|
1899
|
+
type: 'string'
|
|
1900
|
+
},
|
|
1901
|
+
countryOfResidenceCode2: {
|
|
1902
|
+
minLength: 1,
|
|
1903
|
+
type: 'string'
|
|
1904
|
+
},
|
|
1905
|
+
countryOfResidence: {
|
|
1906
|
+
minLength: 1,
|
|
1907
|
+
type: 'string'
|
|
1908
|
+
},
|
|
1909
|
+
nationalityCode2: {
|
|
1910
|
+
minLength: 1,
|
|
1911
|
+
type: 'string'
|
|
1912
|
+
},
|
|
1913
|
+
nationality: {
|
|
1914
|
+
minLength: 1,
|
|
1915
|
+
type: 'string'
|
|
1916
|
+
},
|
|
1917
|
+
firstName: {
|
|
1918
|
+
minLength: 1,
|
|
1919
|
+
type: 'string'
|
|
1920
|
+
},
|
|
1921
|
+
lastName: {
|
|
1922
|
+
minLength: 1,
|
|
1923
|
+
type: 'string'
|
|
1924
|
+
},
|
|
1925
|
+
dateOfBirth: {
|
|
1926
|
+
type: 'string',
|
|
1927
|
+
format: 'date-time',
|
|
1928
|
+
nullable: true
|
|
1929
|
+
},
|
|
1930
|
+
expirationDate: {
|
|
1931
|
+
type: 'string',
|
|
1932
|
+
format: 'date-time'
|
|
1933
|
+
},
|
|
1934
|
+
identificationType: {
|
|
1935
|
+
enum: [0],
|
|
1936
|
+
type: 'integer',
|
|
1937
|
+
format: 'int32'
|
|
1938
|
+
}
|
|
1939
|
+
},
|
|
1940
|
+
additionalProperties: false
|
|
1941
|
+
}
|
|
1942
|
+
}
|
|
1943
|
+
},
|
|
1944
|
+
additionalProperties: false
|
|
1945
|
+
} as const;
|
|
1946
|
+
|
|
1947
|
+
export const $UniRefund_TravellerService_Travellers_TravellerListProfileDto = {
|
|
1948
|
+
required: ['countryOfResidence', 'countryOfResidenceCode2', 'expirationDate', 'firstName', 'id', 'identificationType', 'lastName', 'nationality', 'nationalityCode2', 'travelDocumentNumber'],
|
|
1817
1949
|
type: 'object',
|
|
1818
1950
|
properties: {
|
|
1819
1951
|
id: {
|
|
@@ -1867,6 +1999,10 @@ export const $UniRefund_TravellerService_Travellers_TravellerProfileDto = {
|
|
|
1867
1999
|
format: 'date-time',
|
|
1868
2000
|
nullable: true
|
|
1869
2001
|
},
|
|
2002
|
+
expirationDate: {
|
|
2003
|
+
type: 'string',
|
|
2004
|
+
format: 'date-time'
|
|
2005
|
+
},
|
|
1870
2006
|
identificationType: {
|
|
1871
2007
|
enum: [0],
|
|
1872
2008
|
type: 'integer',
|
|
@@ -1889,13 +2025,13 @@ export const $UniRefund_TravellerService_Travellers_UpdateTravellerDto = {
|
|
|
1889
2025
|
personalIdentifications: {
|
|
1890
2026
|
type: 'array',
|
|
1891
2027
|
items: {
|
|
1892
|
-
required: ['firstName', 'identificationType', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'
|
|
2028
|
+
required: ['expirationDate', 'firstName', 'identificationType', 'lastName', 'nationalityCountry', 'personalID', 'residenceCountry'],
|
|
1893
2029
|
type: 'object',
|
|
1894
2030
|
properties: {
|
|
1895
|
-
|
|
2031
|
+
id: {
|
|
1896
2032
|
type: 'string',
|
|
1897
2033
|
format: 'uuid',
|
|
1898
|
-
|
|
2034
|
+
nullable: true
|
|
1899
2035
|
},
|
|
1900
2036
|
personalID: {
|
|
1901
2037
|
minLength: 1,
|
|
@@ -1921,8 +2057,7 @@ export const $UniRefund_TravellerService_Travellers_UpdateTravellerDto = {
|
|
|
1921
2057
|
},
|
|
1922
2058
|
expirationDate: {
|
|
1923
2059
|
type: 'string',
|
|
1924
|
-
format: 'date-time'
|
|
1925
|
-
nullable: true
|
|
2060
|
+
format: 'date-time'
|
|
1926
2061
|
},
|
|
1927
2062
|
residenceCountry: {
|
|
1928
2063
|
minLength: 1,
|
|
@@ -1967,7 +2102,7 @@ export const $UniRefund_TravellerService_Travellers_UpdateTravellerResDto = {
|
|
|
1967
2102
|
} as const;
|
|
1968
2103
|
|
|
1969
2104
|
export const $UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
1970
|
-
required: ['personalID'],
|
|
2105
|
+
required: ['expirationDate', 'personalID'],
|
|
1971
2106
|
type: 'object',
|
|
1972
2107
|
properties: {
|
|
1973
2108
|
extraProperties: {
|
|
@@ -2005,8 +2140,7 @@ export const $UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
|
2005
2140
|
},
|
|
2006
2141
|
expirationDate: {
|
|
2007
2142
|
type: 'string',
|
|
2008
|
-
format: 'date-time'
|
|
2009
|
-
nullable: true
|
|
2143
|
+
format: 'date-time'
|
|
2010
2144
|
},
|
|
2011
2145
|
residenceCountry: {
|
|
2012
2146
|
type: 'string',
|
|
@@ -2359,13 +2493,13 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_TravellerSer
|
|
|
2359
2493
|
additionalProperties: false
|
|
2360
2494
|
} as const;
|
|
2361
2495
|
|
|
2362
|
-
export const $
|
|
2496
|
+
export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_TravellerService_Travellers_TravellerListProfileDto__UniRefund_TravellerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
|
|
2363
2497
|
type: 'object',
|
|
2364
2498
|
properties: {
|
|
2365
2499
|
items: {
|
|
2366
2500
|
type: 'array',
|
|
2367
2501
|
items: {
|
|
2368
|
-
required: ['countryOfResidence', 'countryOfResidenceCode2', 'firstName', 'identificationType', 'lastName', 'nationality', 'nationalityCode2', 'travelDocumentNumber'],
|
|
2502
|
+
required: ['countryOfResidence', 'countryOfResidenceCode2', 'expirationDate', 'firstName', 'id', 'identificationType', 'lastName', 'nationality', 'nationalityCode2', 'travelDocumentNumber'],
|
|
2369
2503
|
type: 'object',
|
|
2370
2504
|
properties: {
|
|
2371
2505
|
id: {
|
|
@@ -2419,6 +2553,10 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_TravellerSer
|
|
|
2419
2553
|
format: 'date-time',
|
|
2420
2554
|
nullable: true
|
|
2421
2555
|
},
|
|
2556
|
+
expirationDate: {
|
|
2557
|
+
type: 'string',
|
|
2558
|
+
format: 'date-time'
|
|
2559
|
+
},
|
|
2422
2560
|
identificationType: {
|
|
2423
2561
|
enum: [0],
|
|
2424
2562
|
type: 'integer',
|
|
@@ -597,10 +597,15 @@ export class TravellerService {
|
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* @param data The data for the request.
|
|
600
|
+
* @param data.documentNumberFilter
|
|
601
|
+
* @param data.travellerNameFilter
|
|
602
|
+
* @param data.phoneFilter
|
|
603
|
+
* @param data.usernameFilter
|
|
604
|
+
* @param data.showExpired
|
|
600
605
|
* @param data.sorting
|
|
601
606
|
* @param data.skipCount
|
|
602
607
|
* @param data.maxResultCount
|
|
603
|
-
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<
|
|
608
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_TravellerService_Travellers_TravellerListProfileDto__UniRefund_TravellerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
604
609
|
* @throws ApiError
|
|
605
610
|
*/
|
|
606
611
|
public getApiTravellerServiceTravellers(data: GetApiTravellerServiceTravellersData = {}): CancelablePromise<GetApiTravellerServiceTravellersResponse> {
|
|
@@ -608,6 +613,11 @@ export class TravellerService {
|
|
|
608
613
|
method: 'GET',
|
|
609
614
|
url: '/api/traveller-service/travellers',
|
|
610
615
|
query: {
|
|
616
|
+
DocumentNumberFilter: data.documentNumberFilter,
|
|
617
|
+
TravellerNameFilter: data.travellerNameFilter,
|
|
618
|
+
PhoneFilter: data.phoneFilter,
|
|
619
|
+
UsernameFilter: data.usernameFilter,
|
|
620
|
+
ShowExpired: data.showExpired,
|
|
611
621
|
Sorting: data.sorting,
|
|
612
622
|
SkipCount: data.skipCount,
|
|
613
623
|
MaxResultCount: data.maxResultCount
|
|
@@ -653,7 +663,8 @@ export class TravellerService {
|
|
|
653
663
|
/**
|
|
654
664
|
* @param data The data for the request.
|
|
655
665
|
* @param data.id
|
|
656
|
-
* @
|
|
666
|
+
* @param data.showExpired
|
|
667
|
+
* @returns UniRefund_TravellerService_Travellers_TravellerDetailProfileDto Success
|
|
657
668
|
* @throws ApiError
|
|
658
669
|
*/
|
|
659
670
|
public getApiTravellerServiceTravellersById(data: GetApiTravellerServiceTravellersByIdData): CancelablePromise<GetApiTravellerServiceTravellersByIdResponse> {
|
|
@@ -663,6 +674,9 @@ export class TravellerService {
|
|
|
663
674
|
path: {
|
|
664
675
|
id: data.id
|
|
665
676
|
},
|
|
677
|
+
query: {
|
|
678
|
+
ShowExpired: data.showExpired
|
|
679
|
+
},
|
|
666
680
|
errors: {
|
|
667
681
|
400: 'Bad Request',
|
|
668
682
|
401: 'Unauthorized',
|
|
@@ -169,20 +169,34 @@ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreateP
|
|
|
169
169
|
personalID: string;
|
|
170
170
|
birthDate?: string | null;
|
|
171
171
|
issueDate?: string | null;
|
|
172
|
-
expirationDate
|
|
172
|
+
expirationDate: string;
|
|
173
173
|
residenceCountry: string;
|
|
174
174
|
nationalityCountry: string;
|
|
175
175
|
identificationType?: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
176
176
|
};
|
|
177
177
|
|
|
178
|
+
export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
|
|
179
|
+
id: string;
|
|
180
|
+
travelDocumentNumber: string;
|
|
181
|
+
countryOfResidenceCode2: string;
|
|
182
|
+
countryOfResidence: string;
|
|
183
|
+
nationalityCode2: string;
|
|
184
|
+
nationality: string;
|
|
185
|
+
firstName: string;
|
|
186
|
+
lastName: string;
|
|
187
|
+
dateOfBirth?: string | null;
|
|
188
|
+
expirationDate: string;
|
|
189
|
+
identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
190
|
+
};
|
|
191
|
+
|
|
178
192
|
export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationCommonDataDto = {
|
|
179
|
-
|
|
193
|
+
id?: string | null;
|
|
180
194
|
personalID: string;
|
|
181
195
|
birthDate?: string | null;
|
|
182
196
|
firstName: string;
|
|
183
197
|
lastName: string;
|
|
184
198
|
issueDate?: string | null;
|
|
185
|
-
expirationDate
|
|
199
|
+
expirationDate: string;
|
|
186
200
|
residenceCountry: string;
|
|
187
201
|
nationalityCountry: string;
|
|
188
202
|
identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
@@ -278,8 +292,16 @@ export type UniRefund_TravellerService_Travellers_CreateWithComponentsTravellerD
|
|
|
278
292
|
personalPreferencesTypes: Array<UniRefund_TravellerService_PersonalPreferencesTypes_CreatePersonalPreferencesTypeDto>;
|
|
279
293
|
};
|
|
280
294
|
|
|
281
|
-
export type
|
|
282
|
-
id
|
|
295
|
+
export type UniRefund_TravellerService_Travellers_TravellerDetailProfileDto = {
|
|
296
|
+
id: string;
|
|
297
|
+
language?: string | null;
|
|
298
|
+
userAccountId?: string | null;
|
|
299
|
+
gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
|
|
300
|
+
personalIdentificationProfiles: Array<UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto>;
|
|
301
|
+
};
|
|
302
|
+
|
|
303
|
+
export type UniRefund_TravellerService_Travellers_TravellerListProfileDto = {
|
|
304
|
+
id: string;
|
|
283
305
|
language?: string | null;
|
|
284
306
|
userAccountId?: string | null;
|
|
285
307
|
gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
|
|
@@ -291,6 +313,7 @@ export type UniRefund_TravellerService_Travellers_TravellerProfileDto = {
|
|
|
291
313
|
firstName: string;
|
|
292
314
|
lastName: string;
|
|
293
315
|
dateOfBirth?: string | null;
|
|
316
|
+
expirationDate: string;
|
|
294
317
|
identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
|
|
295
318
|
};
|
|
296
319
|
|
|
@@ -317,7 +340,7 @@ export type UniRefund_TravellerService_Travellers_UpsertTravellerDto = {
|
|
|
317
340
|
firstName?: string | null;
|
|
318
341
|
lastName?: string | null;
|
|
319
342
|
issueDate?: string | null;
|
|
320
|
-
expirationDate
|
|
343
|
+
expirationDate: string;
|
|
321
344
|
residenceCountry?: string | null;
|
|
322
345
|
nationalityCountry?: string | null;
|
|
323
346
|
gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
|
|
@@ -354,7 +377,7 @@ export type Volo_Abp_Application_Dtos_PagedResultDto_14 = {
|
|
|
354
377
|
};
|
|
355
378
|
|
|
356
379
|
export type Volo_Abp_Application_Dtos_PagedResultDto_15 = {
|
|
357
|
-
items?: Array<
|
|
380
|
+
items?: Array<UniRefund_TravellerService_Travellers_TravellerListProfileDto> | null;
|
|
358
381
|
totalCount?: number;
|
|
359
382
|
};
|
|
360
383
|
|
|
@@ -888,9 +911,14 @@ export type PostApiTravellerServiceTravellersData = {
|
|
|
888
911
|
export type PostApiTravellerServiceTravellersResponse = UniRefund_TravellerService_Travellers_CreateTravellerResDto;
|
|
889
912
|
|
|
890
913
|
export type GetApiTravellerServiceTravellersData = {
|
|
914
|
+
documentNumberFilter?: string;
|
|
891
915
|
maxResultCount?: number;
|
|
916
|
+
phoneFilter?: string;
|
|
917
|
+
showExpired?: boolean;
|
|
892
918
|
skipCount?: number;
|
|
893
919
|
sorting?: string;
|
|
920
|
+
travellerNameFilter?: string;
|
|
921
|
+
usernameFilter?: string;
|
|
894
922
|
};
|
|
895
923
|
|
|
896
924
|
export type GetApiTravellerServiceTravellersResponse = Volo_Abp_Application_Dtos_PagedResultDto_1;
|
|
@@ -904,9 +932,10 @@ export type PutApiTravellerServiceTravellersByIdResponse = UniRefund_TravellerSe
|
|
|
904
932
|
|
|
905
933
|
export type GetApiTravellerServiceTravellersByIdData = {
|
|
906
934
|
id: string;
|
|
935
|
+
showExpired?: boolean;
|
|
907
936
|
};
|
|
908
937
|
|
|
909
|
-
export type GetApiTravellerServiceTravellersByIdResponse =
|
|
938
|
+
export type GetApiTravellerServiceTravellersByIdResponse = UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
|
|
910
939
|
|
|
911
940
|
export type PostApiTravellerServiceTravellersUpsertData = {
|
|
912
941
|
requestBody?: UniRefund_TravellerService_Travellers_UpsertTravellerDto;
|
|
@@ -1740,7 +1769,7 @@ export type $OpenApiTs = {
|
|
|
1740
1769
|
/**
|
|
1741
1770
|
* Success
|
|
1742
1771
|
*/
|
|
1743
|
-
200:
|
|
1772
|
+
200: UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
|
|
1744
1773
|
/**
|
|
1745
1774
|
* Bad Request
|
|
1746
1775
|
*/
|