@ayasofyazilim/saas 0.0.79 → 0.0.81

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.
@@ -6,63 +6,20 @@ export const $PagedResultDto_BillingDto = {
6
6
  items: {
7
7
  type: 'array',
8
8
  items: {
9
- required: ['date', 'dueDate', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
9
+ required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
10
10
  type: 'object',
11
11
  properties: {
12
12
  id: {
13
13
  type: 'string',
14
14
  format: 'uuid'
15
15
  },
16
- merchantBasicInformation: {
17
- type: 'object',
18
- properties: {
19
- id: {
20
- type: 'string',
21
- format: 'uuid'
22
- },
23
- name: {
24
- type: 'string',
25
- nullable: true
26
- },
27
- taxOffice: {
28
- required: ['id', 'name'],
29
- type: 'object',
30
- properties: {
31
- id: {
32
- type: 'string',
33
- format: 'uuid'
34
- },
35
- name: {
36
- minLength: 1,
37
- type: 'string'
38
- }
39
- },
40
- additionalProperties: false
41
- },
42
- numberOfStores: {
43
- type: 'integer',
44
- format: 'int32'
45
- },
46
- accountManagers: {
47
- type: 'array',
48
- items: {
49
- type: 'object',
50
- properties: {
51
- id: {
52
- type: 'string',
53
- format: 'uuid'
54
- },
55
- name: {
56
- type: 'string',
57
- nullable: true
58
- }
59
- },
60
- additionalProperties: false
61
- },
62
- nullable: true
63
- }
64
- },
65
- additionalProperties: false
16
+ merchantId: {
17
+ type: 'string',
18
+ format: 'uuid'
19
+ },
20
+ merchantName: {
21
+ type: 'string',
22
+ nullable: true
66
23
  },
67
24
  date: {
68
25
  type: 'string',
@@ -89,11 +46,11 @@ export const $PagedResultDto_BillingDto = {
89
46
  type: 'string'
90
47
  },
91
48
  period: {
92
- enum: ['ONETIMEPERMONTH', 'TWOTIMEPERMONTH', 'ONETIMEPERWEEK'],
49
+ enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
93
50
  type: 'string'
94
51
  },
95
52
  paymentStatus: {
96
- enum: ['PAID', 'NOTPAID', 'PARTYLYPAID'],
53
+ enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
97
54
  type: 'string'
98
55
  }
99
56
  },
@@ -109,148 +66,22 @@ export const $PagedResultDto_BillingDto = {
109
66
  additionalProperties: false
110
67
  } as const;
111
68
 
112
- export const $UniRefund_CRMService_Individuals_IndividualIdNameDto = {
69
+ export const $UniRefund_FinanceService_Billings_BillingDto = {
70
+ required: ['date', 'dueDate', 'merchantId', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
113
71
  type: 'object',
114
72
  properties: {
115
73
  id: {
116
74
  type: 'string',
117
75
  format: 'uuid'
118
76
  },
119
- name: {
120
- type: 'string',
121
- nullable: true
122
- }
123
- },
124
- additionalProperties: false
125
- } as const;
126
-
127
- export const $UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
128
- type: 'object',
129
- properties: {
130
- id: {
77
+ merchantId: {
131
78
  type: 'string',
132
79
  format: 'uuid'
133
80
  },
134
- name: {
81
+ merchantName: {
135
82
  type: 'string',
136
83
  nullable: true
137
84
  },
138
- taxOffice: {
139
- required: ['id', 'name'],
140
- type: 'object',
141
- properties: {
142
- id: {
143
- type: 'string',
144
- format: 'uuid'
145
- },
146
- name: {
147
- minLength: 1,
148
- type: 'string'
149
- }
150
- },
151
- additionalProperties: false
152
- },
153
- numberOfStores: {
154
- type: 'integer',
155
- format: 'int32'
156
- },
157
- accountManagers: {
158
- type: 'array',
159
- items: {
160
- type: 'object',
161
- properties: {
162
- id: {
163
- type: 'string',
164
- format: 'uuid'
165
- },
166
- name: {
167
- type: 'string',
168
- nullable: true
169
- }
170
- },
171
- additionalProperties: false
172
- },
173
- nullable: true
174
- }
175
- },
176
- additionalProperties: false
177
- } as const;
178
-
179
- export const $UniRefund_CRMService_TaxOffices_TaxOfficeNameDto = {
180
- required: ['id', 'name'],
181
- type: 'object',
182
- properties: {
183
- id: {
184
- type: 'string',
185
- format: 'uuid'
186
- },
187
- name: {
188
- minLength: 1,
189
- type: 'string'
190
- }
191
- },
192
- additionalProperties: false
193
- } as const;
194
-
195
- export const $UniRefund_FinanceService_Billings_BillingDto = {
196
- required: ['date', 'dueDate', 'number', 'paymentStatus', 'period', 'status', 'total', 'unpaid'],
197
- type: 'object',
198
- properties: {
199
- id: {
200
- type: 'string',
201
- format: 'uuid'
202
- },
203
- merchantBasicInformation: {
204
- type: 'object',
205
- properties: {
206
- id: {
207
- type: 'string',
208
- format: 'uuid'
209
- },
210
- name: {
211
- type: 'string',
212
- nullable: true
213
- },
214
- taxOffice: {
215
- required: ['id', 'name'],
216
- type: 'object',
217
- properties: {
218
- id: {
219
- type: 'string',
220
- format: 'uuid'
221
- },
222
- name: {
223
- minLength: 1,
224
- type: 'string'
225
- }
226
- },
227
- additionalProperties: false
228
- },
229
- numberOfStores: {
230
- type: 'integer',
231
- format: 'int32'
232
- },
233
- accountManagers: {
234
- type: 'array',
235
- items: {
236
- type: 'object',
237
- properties: {
238
- id: {
239
- type: 'string',
240
- format: 'uuid'
241
- },
242
- name: {
243
- type: 'string',
244
- nullable: true
245
- }
246
- },
247
- additionalProperties: false
248
- },
249
- nullable: true
250
- }
251
- },
252
- additionalProperties: false
253
- },
254
85
  date: {
255
86
  type: 'string',
256
87
  format: 'date-time'
@@ -276,11 +107,11 @@ export const $UniRefund_FinanceService_Billings_BillingDto = {
276
107
  type: 'string'
277
108
  },
278
109
  period: {
279
- enum: ['ONETIMEPERMONTH', 'TWOTIMEPERMONTH', 'ONETIMEPERWEEK'],
110
+ enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
280
111
  type: 'string'
281
112
  },
282
113
  paymentStatus: {
283
- enum: ['PAID', 'NOTPAID', 'PARTYLYPAID'],
114
+ enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
284
115
  type: 'string'
285
116
  }
286
117
  },
@@ -320,11 +151,11 @@ export const $UniRefund_FinanceService_Billings_CreateBillingDto = {
320
151
  type: 'string'
321
152
  },
322
153
  period: {
323
- enum: ['ONETIMEPERMONTH', 'TWOTIMEPERMONTH', 'ONETIMEPERWEEK'],
154
+ enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
324
155
  type: 'string'
325
156
  },
326
157
  paymentStatus: {
327
- enum: ['PAID', 'NOTPAID', 'PARTYLYPAID'],
158
+ enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
328
159
  type: 'string'
329
160
  }
330
161
  },
@@ -364,11 +195,11 @@ export const $UniRefund_FinanceService_Billings_UpdateBillingDto = {
364
195
  type: 'string'
365
196
  },
366
197
  period: {
367
- enum: ['ONETIMEPERMONTH', 'TWOTIMEPERMONTH', 'ONETIMEPERWEEK'],
198
+ enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
368
199
  type: 'string'
369
200
  },
370
201
  paymentStatus: {
371
- enum: ['PAID', 'NOTPAID', 'PARTYLYPAID'],
202
+ enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
372
203
  type: 'string'
373
204
  }
374
205
  },
@@ -376,12 +207,12 @@ export const $UniRefund_FinanceService_Billings_UpdateBillingDto = {
376
207
  } as const;
377
208
 
378
209
  export const $UniRefund_FinanceService_Enums_BillingPaymentStatusCode = {
379
- enum: ['PAID', 'NOTPAID', 'PARTYLYPAID'],
210
+ enum: ['PAID', 'NOTPAID', 'PARTIALLYPAID'],
380
211
  type: 'string'
381
212
  } as const;
382
213
 
383
214
  export const $UniRefund_FinanceService_Enums_BillingPeriodCode = {
384
- enum: ['ONETIMEPERMONTH', 'TWOTIMEPERMONTH', 'ONETIMEPERWEEK'],
215
+ enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
385
216
  type: 'string'
386
217
  } as const;
387
218
 
@@ -5,27 +5,10 @@ export type PagedResultDto_BillingDto = {
5
5
  totalCount?: number;
6
6
  };
7
7
 
8
- export type UniRefund_CRMService_Individuals_IndividualIdNameDto = {
9
- id?: string;
10
- name?: string | null;
11
- };
12
-
13
- export type UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
14
- id?: string;
15
- name?: string | null;
16
- taxOffice?: UniRefund_CRMService_TaxOffices_TaxOfficeNameDto;
17
- numberOfStores?: number;
18
- accountManagers?: Array<UniRefund_CRMService_Individuals_IndividualIdNameDto> | null;
19
- };
20
-
21
- export type UniRefund_CRMService_TaxOffices_TaxOfficeNameDto = {
22
- id: string;
23
- name: string;
24
- };
25
-
26
8
  export type UniRefund_FinanceService_Billings_BillingDto = {
27
9
  id?: string;
28
- merchantBasicInformation?: UniRefund_CRMService_Merchants_MerchantBasicInformationDto;
10
+ merchantId: string;
11
+ merchantName?: string | null;
29
12
  date: string;
30
13
  number: number;
31
14
  dueDate: string;
@@ -60,9 +43,9 @@ export type UniRefund_FinanceService_Billings_UpdateBillingDto = {
60
43
  paymentStatus: UniRefund_FinanceService_Enums_BillingPaymentStatusCode;
61
44
  };
62
45
 
63
- export type UniRefund_FinanceService_Enums_BillingPaymentStatusCode = 'PAID' | 'NOTPAID' | 'PARTYLYPAID';
46
+ export type UniRefund_FinanceService_Enums_BillingPaymentStatusCode = 'PAID' | 'NOTPAID' | 'PARTIALLYPAID';
64
47
 
65
- export type UniRefund_FinanceService_Enums_BillingPeriodCode = 'ONETIMEPERMONTH' | 'TWOTIMEPERMONTH' | 'ONETIMEPERWEEK';
48
+ export type UniRefund_FinanceService_Enums_BillingPeriodCode = 'ONETIMEPERMONTH' | 'TWOTIMESPERMONTH' | 'ONETIMEPERWEEK';
66
49
 
67
50
  export type UniRefund_FinanceService_Enums_BillingStatusCode = 'PAID' | 'CREDITNOTE' | 'CANCELLED' | 'UNFINISHED' | 'SENT';
68
51
 
@@ -11,6 +11,7 @@ import { EmailCommonDataService } from './services.gen';
11
11
  import { IndividualService } from './services.gen';
12
12
  import { TelephoneTypeService } from './services.gen';
13
13
  import { TravellerService } from './services.gen';
14
+ import { TravellerIntegrationService } from './services.gen';
14
15
 
15
16
  type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
16
17
 
@@ -24,6 +25,7 @@ export class TravellerServiceClient {
24
25
  public readonly individual: IndividualService;
25
26
  public readonly telephoneType: TelephoneTypeService;
26
27
  public readonly traveller: TravellerService;
28
+ public readonly travellerIntegration: TravellerIntegrationService;
27
29
 
28
30
  public readonly request: BaseHttpRequest;
29
31
 
@@ -52,5 +54,6 @@ export class TravellerServiceClient {
52
54
  this.individual = new IndividualService(this.request);
53
55
  this.telephoneType = new TelephoneTypeService(this.request);
54
56
  this.traveller = new TravellerService(this.request);
57
+ this.travellerIntegration = new TravellerIntegrationService(this.request);
55
58
  }
56
59
  }
@@ -1492,6 +1492,72 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Creat
1492
1492
  additionalProperties: false
1493
1493
  } as const;
1494
1494
 
1495
+ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationDto = {
1496
+ required: ['expirationDate', 'firstName', 'identificationType', 'lastName', 'nationalityCountryCode2', 'residenceCountryCode2', 'travelDocumentNumber'],
1497
+ type: 'object',
1498
+ properties: {
1499
+ travelDocumentNumber: {
1500
+ minLength: 1,
1501
+ type: 'string'
1502
+ },
1503
+ birthDate: {
1504
+ type: 'string',
1505
+ format: 'date-time',
1506
+ nullable: true
1507
+ },
1508
+ firstName: {
1509
+ minLength: 1,
1510
+ type: 'string'
1511
+ },
1512
+ middleName: {
1513
+ type: 'string',
1514
+ nullable: true
1515
+ },
1516
+ lastName: {
1517
+ minLength: 1,
1518
+ type: 'string'
1519
+ },
1520
+ issueDate: {
1521
+ type: 'string',
1522
+ format: 'date-time',
1523
+ nullable: true
1524
+ },
1525
+ expirationDate: {
1526
+ type: 'string',
1527
+ format: 'date-time'
1528
+ },
1529
+ residenceCountryCode2: {
1530
+ minLength: 1,
1531
+ type: 'string'
1532
+ },
1533
+ nationalityCountryCode2: {
1534
+ minLength: 1,
1535
+ type: 'string'
1536
+ },
1537
+ identificationType: {
1538
+ enum: ['Passport'],
1539
+ type: 'string'
1540
+ }
1541
+ },
1542
+ additionalProperties: false
1543
+ } as const;
1544
+
1545
+ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationResponseDto = {
1546
+ required: ['id', 'travellerId'],
1547
+ type: 'object',
1548
+ properties: {
1549
+ id: {
1550
+ type: 'string',
1551
+ format: 'uuid'
1552
+ },
1553
+ travellerId: {
1554
+ type: 'string',
1555
+ format: 'uuid'
1556
+ }
1557
+ },
1558
+ additionalProperties: false
1559
+ } as const;
1560
+
1495
1561
  export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
1496
1562
  required: ['expirationDate', 'firstName', 'fullName', 'id', 'identificationType', 'lastName', 'nationalityCountryCode2', 'nationalityCountryName', 'residenceCountryCode2', 'residenceCountryName', 'travelDocumentNumber'],
1497
1563
  type: 'object',
@@ -1559,8 +1625,8 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Perso
1559
1625
  additionalProperties: false
1560
1626
  } as const;
1561
1627
 
1562
- export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationDto = {
1563
- required: ['expirationDate', 'travelDocumentNumber'],
1628
+ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationDto = {
1629
+ required: ['expirationDate'],
1564
1630
  type: 'object',
1565
1631
  properties: {
1566
1632
  id: {
@@ -1569,8 +1635,8 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Upser
1569
1635
  nullable: true
1570
1636
  },
1571
1637
  travelDocumentNumber: {
1572
- minLength: 1,
1573
- type: 'string'
1638
+ type: 'string',
1639
+ nullable: true
1574
1640
  },
1575
1641
  birthDate: {
1576
1642
  type: 'string',
@@ -1614,7 +1680,7 @@ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_Upser
1614
1680
  additionalProperties: false
1615
1681
  } as const;
1616
1682
 
1617
- export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationResponseDto = {
1683
+ export const $UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationResponseDto = {
1618
1684
  required: ['id', 'travellerId'],
1619
1685
  type: 'object',
1620
1686
  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, 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, PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationData, PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationResponse, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationData, DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationResponse, PostApiTravellerServiceTravellersUpsertData, PostApiTravellerServiceTravellersUpsertResponse, GetApiTravellerServiceTravellersByIdData, GetApiTravellerServiceTravellersByIdResponse, GetApiTravellerServiceTravellersByIdExistsData, GetApiTravellerServiceTravellersByIdExistsResponse, GetApiTravellerServiceTravellersDocumentNumbersData, GetApiTravellerServiceTravellersDocumentNumbersResponse } from './types.gen';
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, PostApiTravellerServiceTravellersUpsertData, PostApiTravellerServiceTravellersUpsertResponse, GetApiTravellerServiceTravellersByIdData, GetApiTravellerServiceTravellersByIdResponse, GetApiTravellerServiceTravellersByIdExistsData, GetApiTravellerServiceTravellersByIdExistsResponse, GetApiTravellerServiceTravellersDocumentNumbersData, GetApiTravellerServiceTravellersDocumentNumbersResponse, GetIntegrationApiTravellersByIdDetailsData, GetIntegrationApiTravellersByIdDetailsResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -697,13 +697,40 @@ export class TravellerService {
697
697
  * @param data The data for the request.
698
698
  * @param data.id
699
699
  * @param data.requestBody
700
- * @returns UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationResponseDto Success
700
+ * @returns UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationResponseDto Success
701
701
  * @throws ApiError
702
702
  */
703
- public putApiTravellerServiceTravellersByIdUpsertPersonalIdentification(data: PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationData): CancelablePromise<PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationResponse> {
703
+ public postApiTravellerServiceTravellersByIdCreatePersonalIdentification(data: PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationData): CancelablePromise<PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationResponse> {
704
+ return this.httpRequest.request({
705
+ method: 'POST',
706
+ url: '/api/traveller-service/travellers/{id}/create-personal-identification',
707
+ path: {
708
+ id: data.id
709
+ },
710
+ body: data.requestBody,
711
+ mediaType: 'application/json',
712
+ errors: {
713
+ 400: 'Bad Request',
714
+ 401: 'Unauthorized',
715
+ 403: 'Forbidden',
716
+ 404: 'Not Found',
717
+ 500: 'Server Error',
718
+ 501: 'Server Error'
719
+ }
720
+ });
721
+ }
722
+
723
+ /**
724
+ * @param data The data for the request.
725
+ * @param data.id
726
+ * @param data.requestBody
727
+ * @returns UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationResponseDto Success
728
+ * @throws ApiError
729
+ */
730
+ public putApiTravellerServiceTravellersByIdUpdatePersonalIdentification(data: PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationData): CancelablePromise<PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationResponse> {
704
731
  return this.httpRequest.request({
705
732
  method: 'PUT',
706
- url: '/api/traveller-service/travellers/{id}/upsert-personal-identification',
733
+ url: '/api/traveller-service/travellers/{id}/update-personal-identification',
707
734
  path: {
708
735
  id: data.id
709
736
  },
@@ -843,4 +870,37 @@ export class TravellerService {
843
870
  });
844
871
  }
845
872
 
873
+ }
874
+
875
+ export class TravellerIntegrationService {
876
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
877
+
878
+ /**
879
+ * @param data The data for the request.
880
+ * @param data.id
881
+ * @param data.showExpired
882
+ * @returns UniRefund_TravellerService_Travellers_TravellerDetailProfileDto Success
883
+ * @throws ApiError
884
+ */
885
+ public getIntegrationApiTravellersByIdDetails(data: GetIntegrationApiTravellersByIdDetailsData): CancelablePromise<GetIntegrationApiTravellersByIdDetailsResponse> {
886
+ return this.httpRequest.request({
887
+ method: 'GET',
888
+ url: '/integration-api/travellers/{id}/details',
889
+ path: {
890
+ id: data.id
891
+ },
892
+ query: {
893
+ ShowExpired: data.showExpired
894
+ },
895
+ errors: {
896
+ 400: 'Bad Request',
897
+ 401: 'Unauthorized',
898
+ 403: 'Forbidden',
899
+ 404: 'Not Found',
900
+ 500: 'Server Error',
901
+ 501: 'Server Error'
902
+ }
903
+ });
904
+ }
905
+
846
906
  }
@@ -201,6 +201,24 @@ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreateP
201
201
  identificationType?: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
202
202
  };
203
203
 
204
+ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationDto = {
205
+ travelDocumentNumber: string;
206
+ birthDate?: string | null;
207
+ firstName: string;
208
+ middleName?: string | null;
209
+ lastName: string;
210
+ issueDate?: string | null;
211
+ expirationDate: string;
212
+ residenceCountryCode2: string;
213
+ nationalityCountryCode2: string;
214
+ identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
215
+ };
216
+
217
+ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationResponseDto = {
218
+ id: string;
219
+ travellerId: string;
220
+ };
221
+
204
222
  export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
205
223
  id: string;
206
224
  travelDocumentNumber: string;
@@ -218,9 +236,9 @@ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_Persona
218
236
  identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
219
237
  };
220
238
 
221
- export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationDto = {
239
+ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationDto = {
222
240
  id?: string | null;
223
- travelDocumentNumber: string;
241
+ travelDocumentNumber?: string | null;
224
242
  birthDate?: string | null;
225
243
  firstName?: string | null;
226
244
  middleName?: string | null;
@@ -232,7 +250,7 @@ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertP
232
250
  identificationType?: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
233
251
  };
234
252
 
235
- export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationResponseDto = {
253
+ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationResponseDto = {
236
254
  id: string;
237
255
  travellerId: string;
238
256
  };
@@ -966,12 +984,19 @@ export type PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryData = {
966
984
 
967
985
  export type PutApiTravellerServiceTravellersByIdUpsertPersonalSummaryResponse = UniRefund_TravellerService_PersonalSummaries_UpsertPersonalSummaryResponseDto;
968
986
 
969
- export type PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationData = {
987
+ export type PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationData = {
970
988
  id: string;
971
- requestBody?: UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationDto;
989
+ requestBody?: UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationDto;
972
990
  };
973
991
 
974
- export type PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationResponse = UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationResponseDto;
992
+ export type PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationResponse = UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationResponseDto;
993
+
994
+ export type PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationData = {
995
+ id: string;
996
+ requestBody?: UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationDto;
997
+ };
998
+
999
+ export type PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationResponse = UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationResponseDto;
975
1000
 
976
1001
  export type DeleteApiTravellerServiceTravellersByIdDeletePersonalIdentificationData = {
977
1002
  id: string;
@@ -1004,6 +1029,13 @@ export type GetApiTravellerServiceTravellersDocumentNumbersData = {
1004
1029
 
1005
1030
  export type GetApiTravellerServiceTravellersDocumentNumbersResponse = Array<UniRefund_TravellerService_Travellers_TravellerDocumentNumberDto>;
1006
1031
 
1032
+ export type GetIntegrationApiTravellersByIdDetailsData = {
1033
+ id: string;
1034
+ showExpired?: boolean;
1035
+ };
1036
+
1037
+ export type GetIntegrationApiTravellersByIdDetailsResponse = UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
1038
+
1007
1039
  export type $OpenApiTs = {
1008
1040
  '/api/abp/api-definition': {
1009
1041
  get: {
@@ -1860,14 +1892,49 @@ export type $OpenApiTs = {
1860
1892
  };
1861
1893
  };
1862
1894
  };
1863
- '/api/traveller-service/travellers/{id}/upsert-personal-identification': {
1895
+ '/api/traveller-service/travellers/{id}/create-personal-identification': {
1896
+ post: {
1897
+ req: PostApiTravellerServiceTravellersByIdCreatePersonalIdentificationData;
1898
+ res: {
1899
+ /**
1900
+ * Success
1901
+ */
1902
+ 200: UniRefund_TravellerService_PersonalIdentificationCommonDatas_CreatePersonalIdentificationResponseDto;
1903
+ /**
1904
+ * Bad Request
1905
+ */
1906
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
1907
+ /**
1908
+ * Unauthorized
1909
+ */
1910
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
1911
+ /**
1912
+ * Forbidden
1913
+ */
1914
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
1915
+ /**
1916
+ * Not Found
1917
+ */
1918
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
1919
+ /**
1920
+ * Server Error
1921
+ */
1922
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
1923
+ /**
1924
+ * Server Error
1925
+ */
1926
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
1927
+ };
1928
+ };
1929
+ };
1930
+ '/api/traveller-service/travellers/{id}/update-personal-identification': {
1864
1931
  put: {
1865
- req: PutApiTravellerServiceTravellersByIdUpsertPersonalIdentificationData;
1932
+ req: PutApiTravellerServiceTravellersByIdUpdatePersonalIdentificationData;
1866
1933
  res: {
1867
1934
  /**
1868
1935
  * Success
1869
1936
  */
1870
- 200: UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpsertPersonalIdentificationResponseDto;
1937
+ 200: UniRefund_TravellerService_PersonalIdentificationCommonDatas_UpdatePersonalIdentificationResponseDto;
1871
1938
  /**
1872
1939
  * Bad Request
1873
1940
  */
@@ -2070,4 +2137,39 @@ export type $OpenApiTs = {
2070
2137
  };
2071
2138
  };
2072
2139
  };
2140
+ '/integration-api/travellers/{id}/details': {
2141
+ get: {
2142
+ req: GetIntegrationApiTravellersByIdDetailsData;
2143
+ res: {
2144
+ /**
2145
+ * Success
2146
+ */
2147
+ 200: UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
2148
+ /**
2149
+ * Bad Request
2150
+ */
2151
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
2152
+ /**
2153
+ * Unauthorized
2154
+ */
2155
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
2156
+ /**
2157
+ * Forbidden
2158
+ */
2159
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
2160
+ /**
2161
+ * Not Found
2162
+ */
2163
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
2164
+ /**
2165
+ * Server Error
2166
+ */
2167
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
2168
+ /**
2169
+ * Server Error
2170
+ */
2171
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
2172
+ };
2173
+ };
2174
+ };
2073
2175
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "main": "generator.mjs",
6
6
  "bin": {