@ayasofyazilim/saas 0.0.78 → 0.0.80
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/FinanceService/schemas.gen.ts +22 -191
- package/FinanceService/types.gen.ts +4 -21
- package/package.json +1 -1
|
@@ -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
|
-
|
|
17
|
-
type: '
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
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', '
|
|
49
|
+
enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
|
|
93
50
|
type: 'string'
|
|
94
51
|
},
|
|
95
52
|
paymentStatus: {
|
|
96
|
-
enum: ['PAID', 'NOTPAID', '
|
|
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 $
|
|
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
|
-
|
|
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
|
-
|
|
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', '
|
|
110
|
+
enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
|
|
280
111
|
type: 'string'
|
|
281
112
|
},
|
|
282
113
|
paymentStatus: {
|
|
283
|
-
enum: ['PAID', 'NOTPAID', '
|
|
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', '
|
|
154
|
+
enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
|
|
324
155
|
type: 'string'
|
|
325
156
|
},
|
|
326
157
|
paymentStatus: {
|
|
327
|
-
enum: ['PAID', 'NOTPAID', '
|
|
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', '
|
|
198
|
+
enum: ['ONETIMEPERMONTH', 'TWOTIMESPERMONTH', 'ONETIMEPERWEEK'],
|
|
368
199
|
type: 'string'
|
|
369
200
|
},
|
|
370
201
|
paymentStatus: {
|
|
371
|
-
enum: ['PAID', 'NOTPAID', '
|
|
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', '
|
|
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', '
|
|
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
|
-
|
|
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' | '
|
|
46
|
+
export type UniRefund_FinanceService_Enums_BillingPaymentStatusCode = 'PAID' | 'NOTPAID' | 'PARTIALLYPAID';
|
|
64
47
|
|
|
65
|
-
export type UniRefund_FinanceService_Enums_BillingPeriodCode = 'ONETIMEPERMONTH' | '
|
|
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
|
|