@ayasofyazilim/saas 0.0.77 → 0.0.78

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.
@@ -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, PostApiRefundServiceRefundsData, PostApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsData, GetApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsRefundPointNamesData, GetApiRefundServiceRefundsRefundPointNamesResponse, GetApiRefundServiceRefundsUserDevicesData, GetApiRefundServiceRefundsUserDevicesResponse, GetApiRefundServiceRefundsRefundStatisticsData, GetApiRefundServiceRefundsRefundStatisticsResponse } from './types.gen';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiRefundServiceRefundsData, PostApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsData, GetApiRefundServiceRefundsResponse, GetApiRefundServiceRefundsRefundPointNamesData, GetApiRefundServiceRefundsRefundPointNamesResponse, GetApiRefundServiceRefundsUserDevicesData, GetApiRefundServiceRefundsUserDevicesResponse, GetApiRefundServiceRefundsRefundStatisticsData, GetApiRefundServiceRefundsRefundStatisticsResponse, GetApiRefundServiceRefundsByIdDetailData, GetApiRefundServiceRefundsByIdDetailResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -297,4 +297,28 @@ export class RefundService {
297
297
  });
298
298
  }
299
299
 
300
+ /**
301
+ * @param data The data for the request.
302
+ * @param data.id
303
+ * @returns UniRefund_RefundService_Refunds_GetDetailAsync_RefundDetailDto Success
304
+ * @throws ApiError
305
+ */
306
+ public getApiRefundServiceRefundsByIdDetail(data: GetApiRefundServiceRefundsByIdDetailData): CancelablePromise<GetApiRefundServiceRefundsByIdDetailResponse> {
307
+ return this.httpRequest.request({
308
+ method: 'GET',
309
+ url: '/api/refund-service/refunds/{id}/detail',
310
+ path: {
311
+ id: data.id
312
+ },
313
+ errors: {
314
+ 400: 'Bad Request',
315
+ 401: 'Unauthorized',
316
+ 403: 'Forbidden',
317
+ 404: 'Not Found',
318
+ 500: 'Server Error',
319
+ 501: 'Server Error'
320
+ }
321
+ });
322
+ }
323
+
300
324
  }
@@ -15,6 +15,11 @@ export type PagedResultDto_UserDeviceNameDto = {
15
15
  totalCount?: number;
16
16
  };
17
17
 
18
+ export type UniRefund_CRMService_RefundPoints_RefundPointDetailForRefund = {
19
+ name?: string | null;
20
+ fullAddress?: string | null;
21
+ };
22
+
18
23
  export type UniRefund_CRMService_RefundPoints_RefundPointNameDto = {
19
24
  id: string;
20
25
  name: string;
@@ -25,13 +30,16 @@ export type UniRefund_CRMService_RefundPoints_UserDeviceNameDto = {
25
30
  name: string;
26
31
  };
27
32
 
33
+ export type UniRefund_ExportValidationService_ExportValidations_ExportValidationStatusCode = 'None' | 'Waiting' | 'Approved' | 'Rejected' | 'Expired';
34
+
35
+ export type UniRefund_ExportValidationService_ExportValidations_StampTypeCode = 'None' | 'Integration' | 'DigitalStamp';
36
+
28
37
  export type UniRefund_RefundService_Enums_RefundReconciliationStatus = 'Approved' | 'NotApproved' | 'Error' | 'InProgress';
29
38
 
30
39
  export type UniRefund_RefundService_Enums_RefundStatus = 'NotPaid' | 'PendingDeparture' | 'Blocked' | 'Processing' | 'PartlyPaid' | 'Paid' | 'Overpaid' | 'Rejected' | 'Cancelled' | 'Error';
31
40
 
32
41
  export type UniRefund_RefundService_Refunds_CreateRefundDto = {
33
42
  tagIds: Array<(string)>;
34
- travellerId: string;
35
43
  refundType: UniRefund_TagService_Tags_RefundType;
36
44
  cardNumber?: string | null;
37
45
  cardExpiryMonth?: number | null;
@@ -43,22 +51,40 @@ export type UniRefund_RefundService_Refunds_CreateRefundResponseDto = {
43
51
  id: string;
44
52
  };
45
53
 
54
+ export type UniRefund_RefundService_Refunds_GetDetailAsync_RefundDetailDto = {
55
+ refundPoint: UniRefund_CRMService_RefundPoints_RefundPointDetailForRefund;
56
+ traveller: UniRefund_TravellerService_Travellers_TravellerDetailProfileDto;
57
+ readonly userDeviceName: string;
58
+ refundType: UniRefund_TagService_Tags_RefundType;
59
+ readonly travellerDocumentNumber: string;
60
+ readonly refundAmount: number;
61
+ readonly refundCurrency: string;
62
+ readonly refundAmountInCurrency: number;
63
+ readonly travellerFeeAmount: number;
64
+ readonly referenceNumber: string;
65
+ status: UniRefund_RefundService_Enums_RefundStatus;
66
+ reconciliationStatus: UniRefund_RefundService_Enums_RefundReconciliationStatus;
67
+ readonly processedDate: string;
68
+ readonly paidDate?: string | null;
69
+ readonly tags: Array<UniRefund_TagService_Tags_TagDetailForRefundDto>;
70
+ };
71
+
46
72
  export type UniRefund_RefundService_Refunds_GetListAsync_RefundListInputTimeFilter = 'AllTime' | 'Today' | 'Yesterday' | 'Days30' | 'ThisWeek' | 'ThisMonth' | 'ThisQuarter' | 'ThisYear' | 'LastWeek' | 'LastMonth' | 'LastQuarter' | 'LastYear' | 'DateRange';
47
73
 
48
74
  export type UniRefund_RefundService_Refunds_GetListAsync_RefundListItem = {
49
75
  id?: string;
50
- userDeviceName: string;
76
+ readonly userDeviceName: string;
51
77
  refundType: UniRefund_TagService_Tags_RefundType;
52
- travelDocumentNumber: string;
53
- refundAmount: number;
54
- refundCurrency: string;
55
- refundAmountInCurrency: number;
56
- travellerFeeAmount: number;
57
- referenceNumber: string;
78
+ readonly travellerDocumentNumber: string;
79
+ readonly refundAmount: number;
80
+ readonly refundCurrency: string;
81
+ readonly refundAmountInCurrency: number;
82
+ readonly travellerFeeAmount: number;
83
+ readonly referenceNumber: string;
58
84
  status: UniRefund_RefundService_Enums_RefundStatus;
59
85
  reconciliationStatus: UniRefund_RefundService_Enums_RefundReconciliationStatus;
60
- processedDate: string;
61
- paidDate?: string | null;
86
+ readonly processedDate: string;
87
+ readonly paidDate?: string | null;
62
88
  };
63
89
 
64
90
  export type UniRefund_RefundService_Refunds_GetListAsync_RefundTextFilterType = 'TravellerDocumentNumber' | 'CardNumber' | 'ReferenceNumber' | 'InvoiceNumber';
@@ -69,8 +95,116 @@ export type UniRefund_RefundService_Refunds_GetRefundStatistics_RefundStatistics
69
95
  refundsCashBalance?: number;
70
96
  };
71
97
 
98
+ export type UniRefund_TagService_Billings_BillingDto = {
99
+ id?: string;
100
+ billingDate?: string | null;
101
+ billingNumber?: string | null;
102
+ status?: number | null;
103
+ };
104
+
105
+ export type UniRefund_TagService_ExportValidations_ExportValidationDto = {
106
+ id?: string;
107
+ endpointId?: string | null;
108
+ referenceId?: string | null;
109
+ date?: string | null;
110
+ status?: UniRefund_ExportValidationService_ExportValidations_ExportValidationStatusCode;
111
+ stampType?: UniRefund_ExportValidationService_ExportValidations_StampTypeCode;
112
+ };
113
+
114
+ export type UniRefund_TagService_Invoices_InvoiceDto = {
115
+ id?: string;
116
+ number?: string | null;
117
+ issueDate?: string;
118
+ totalAmount?: number;
119
+ vatAmount?: number;
120
+ currency?: string | null;
121
+ invoiceLines?: Array<UniRefund_TagService_Invoices_InvoiceLineDto> | null;
122
+ };
123
+
124
+ export type UniRefund_TagService_Invoices_InvoiceLineDto = {
125
+ id?: string;
126
+ productGroup?: string | null;
127
+ description?: string | null;
128
+ amount?: number;
129
+ taxRate?: number;
130
+ taxAmount?: number;
131
+ taxBase?: number;
132
+ currency?: string | null;
133
+ };
134
+
135
+ export type UniRefund_TagService_Merchants_MerchantDetailDto = {
136
+ id?: string;
137
+ name?: string | null;
138
+ address?: UniRefund_TagService_Tags_AddressDto;
139
+ productGroups?: Array<UniRefund_TagService_Tags_ProductGroupDto> | null;
140
+ };
141
+
142
+ export type UniRefund_TagService_Tags_AddressDto = {
143
+ id?: string;
144
+ fullText?: string | null;
145
+ };
146
+
147
+ export type UniRefund_TagService_Tags_ProductGroupDto = {
148
+ id?: string;
149
+ description?: string | null;
150
+ };
151
+
72
152
  export type UniRefund_TagService_Tags_RefundType = 'Cash' | 'CreditCard' | 'BankTransfer' | 'Wallet' | 'CashViaPartner';
73
153
 
154
+ export type UniRefund_TagService_Tags_TagDetailForRefundDto = {
155
+ id?: string;
156
+ tagNumber: string;
157
+ status: UniRefund_TagService_Tags_TagStatusType;
158
+ issueDate: string;
159
+ expireDate: string;
160
+ merchant: UniRefund_TagService_Merchants_MerchantDetailDto;
161
+ exportValidation: UniRefund_TagService_ExportValidations_ExportValidationDto;
162
+ billing: UniRefund_TagService_Billings_BillingDto;
163
+ invoices: Array<UniRefund_TagService_Invoices_InvoiceDto>;
164
+ totals: Array<UniRefund_TagService_Tags_TagTotalDto>;
165
+ };
166
+
167
+ export type UniRefund_TagService_Tags_TagStatusType = 'None' | 'Open' | 'PreIssued' | 'Issued' | 'WaitingGoodsValidation' | 'WaitingStampValidation' | 'Declined' | 'ExportValidated' | 'PaymentBlocked' | 'PaymentInProgress' | 'PaymentProblem' | 'Paid' | 'Cancelled' | 'Expired' | 'Correction' | 'OptedOut';
168
+
169
+ export type UniRefund_TagService_Tags_TagTotalDto = {
170
+ totalType?: UniRefund_TagService_Tags_TotalType;
171
+ amount?: number;
172
+ description?: string | null;
173
+ currency?: string | null;
174
+ };
175
+
176
+ export type UniRefund_TagService_Tags_TotalType = 'None' | 'SalesAmount' | 'VatAmount' | 'GrossRefund' | 'RefundFee' | 'AgentRefundFee' | 'Refund';
177
+
178
+ export type UniRefund_TravellerService_Enums_GenderTypeCode = 'MALE' | 'FEMALE';
179
+
180
+ export type UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode = 'Passport';
181
+
182
+ export type UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto = {
183
+ id: string;
184
+ travelDocumentNumber: string;
185
+ residenceCountryCode2: string;
186
+ residenceCountryName: string;
187
+ nationalityCountryCode2: string;
188
+ nationalityCountryName: string;
189
+ firstName: string;
190
+ middleName?: string | null;
191
+ lastName: string;
192
+ readonly fullName: string;
193
+ birthDate?: string | null;
194
+ issueDate?: string | null;
195
+ expirationDate: string;
196
+ identificationType: UniRefund_TravellerService_Enums_PersonalIdentificationTypeCode;
197
+ };
198
+
199
+ export type UniRefund_TravellerService_Travellers_TravellerDetailProfileDto = {
200
+ id: string;
201
+ languagePreferenceCode?: string | null;
202
+ userAccountId?: string | null;
203
+ readonly hasUserAccount: boolean;
204
+ gender?: UniRefund_TravellerService_Enums_GenderTypeCode;
205
+ personalIdentifications: Array<UniRefund_TravellerService_PersonalIdentificationCommonDatas_PersonalIdentificationProfileDto>;
206
+ };
207
+
74
208
  export type Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto = {
75
209
  grantedPolicies?: {
76
210
  [key: string]: (boolean);
@@ -544,6 +678,12 @@ export type GetApiRefundServiceRefundsRefundStatisticsData = {
544
678
 
545
679
  export type GetApiRefundServiceRefundsRefundStatisticsResponse = UniRefund_RefundService_Refunds_GetRefundStatistics_RefundStatistics;
546
680
 
681
+ export type GetApiRefundServiceRefundsByIdDetailData = {
682
+ id: string;
683
+ };
684
+
685
+ export type GetApiRefundServiceRefundsByIdDetailResponse = UniRefund_RefundService_Refunds_GetDetailAsync_RefundDetailDto;
686
+
547
687
  export type $OpenApiTs = {
548
688
  '/api/abp/api-definition': {
549
689
  get: {
@@ -823,4 +963,39 @@ export type $OpenApiTs = {
823
963
  };
824
964
  };
825
965
  };
966
+ '/api/refund-service/refunds/{id}/detail': {
967
+ get: {
968
+ req: GetApiRefundServiceRefundsByIdDetailData;
969
+ res: {
970
+ /**
971
+ * Success
972
+ */
973
+ 200: UniRefund_RefundService_Refunds_GetDetailAsync_RefundDetailDto;
974
+ /**
975
+ * Bad Request
976
+ */
977
+ 400: Volo_Abp_Http_RemoteServiceErrorResponse;
978
+ /**
979
+ * Unauthorized
980
+ */
981
+ 401: Volo_Abp_Http_RemoteServiceErrorResponse;
982
+ /**
983
+ * Forbidden
984
+ */
985
+ 403: Volo_Abp_Http_RemoteServiceErrorResponse;
986
+ /**
987
+ * Not Found
988
+ */
989
+ 404: Volo_Abp_Http_RemoteServiceErrorResponse;
990
+ /**
991
+ * Server Error
992
+ */
993
+ 500: Volo_Abp_Http_RemoteServiceErrorResponse;
994
+ /**
995
+ * Server Error
996
+ */
997
+ 501: Volo_Abp_Http_RemoteServiceErrorResponse;
998
+ };
999
+ };
1000
+ };
826
1001
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ayasofyazilim/saas",
3
- "version": "0.0.77",
3
+ "version": "0.0.78",
4
4
  "description": "Ayasofyazılım SAAS",
5
5
  "main": "generator.mjs",
6
6
  "bin": {