@ayasofyazilim/saas 0.0.48 → 0.0.50

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.
Files changed (122) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -68
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +8 -8
  8. package/AccountService/schemas.gen.ts +5333 -5333
  9. package/AccountService/services.gen.ts +1539 -1539
  10. package/AccountService/types.gen.ts +3328 -3328
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -77
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +8 -8
  18. package/AdministrationService/schemas.gen.ts +5987 -5987
  19. package/AdministrationService/services.gen.ts +1404 -1404
  20. package/AdministrationService/types.gen.ts +2851 -2851
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +8 -8
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -2170
  29. package/CRMService/schemas.gen.ts +124 -113
  30. package/CRMService/services.gen.ts +133 -1
  31. package/CRMService/types.gen.ts +239 -12
  32. package/ContractService/ContractServiceClient.ts +3 -3
  33. package/ContractService/schemas.gen.ts +1836 -495
  34. package/ContractService/services.gen.ts +108 -84
  35. package/ContractService/types.gen.ts +295 -130
  36. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  37. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  38. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  39. package/FundraiserService/core/OpenAPI.ts +55 -55
  40. package/FundraiserService/core/request.ts +340 -340
  41. package/FundraiserService/index.ts +8 -8
  42. package/FundraiserService/services.gen.ts +627 -627
  43. package/FundraiserService/types.gen.ts +1793 -1793
  44. package/IdentityService/IdentityServiceClient.ts +80 -80
  45. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  46. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  47. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  48. package/IdentityService/core/OpenAPI.ts +55 -55
  49. package/IdentityService/core/request.ts +340 -340
  50. package/IdentityService/index.ts +8 -8
  51. package/IdentityService/schemas.gen.ts +6845 -6845
  52. package/IdentityService/services.gen.ts +2924 -2924
  53. package/IdentityService/types.gen.ts +5484 -5484
  54. package/LocationService/LocationServiceClient.ts +74 -74
  55. package/LocationService/core/ApiError.ts +20 -20
  56. package/LocationService/core/ApiRequestOptions.ts +12 -12
  57. package/LocationService/core/ApiResult.ts +6 -6
  58. package/LocationService/core/BaseHttpRequest.ts +9 -9
  59. package/LocationService/core/CancelablePromise.ts +125 -125
  60. package/LocationService/core/FetchHttpRequest.ts +21 -21
  61. package/LocationService/core/OpenAPI.ts +55 -55
  62. package/LocationService/core/request.ts +340 -340
  63. package/LocationService/index.ts +8 -8
  64. package/LocationService/schemas.gen.ts +6639 -6639
  65. package/LocationService/services.gen.ts +1726 -1726
  66. package/LocationService/types.gen.ts +3615 -3615
  67. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  68. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  69. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  70. package/MerchantService/core/OpenAPI.ts +55 -55
  71. package/MerchantService/core/request.ts +340 -340
  72. package/MerchantService/schemas.gen.ts +14764 -14764
  73. package/MerchantService/services.gen.ts +1602 -1602
  74. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  75. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  76. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  77. package/ProjectService/core/OpenAPI.ts +55 -55
  78. package/ProjectService/core/request.ts +340 -340
  79. package/ProjectService/index.ts +8 -8
  80. package/ProjectService/services.gen.ts +492 -492
  81. package/ProjectService/types.gen.ts +1303 -1303
  82. package/ProjectService.json +2937 -2937
  83. package/SaasService/core/ApiRequestOptions.ts +12 -12
  84. package/SaasService/core/BaseHttpRequest.ts +9 -9
  85. package/SaasService/core/FetchHttpRequest.ts +21 -21
  86. package/SaasService/core/OpenAPI.ts +55 -55
  87. package/SaasService/core/request.ts +340 -340
  88. package/SaasService/index.ts +8 -8
  89. package/SaasService/schemas.gen.ts +5345 -5345
  90. package/SaasService/services.gen.ts +1329 -1329
  91. package/SaasService/types.gen.ts +2737 -2737
  92. package/SettingService/schemas.gen.ts +5410 -5410
  93. package/SettingService/services.gen.ts +890 -890
  94. package/SettingService/types.gen.ts +2052 -2052
  95. package/TagService/TagServiceClient.ts +44 -44
  96. package/TagService/core/ApiError.ts +20 -20
  97. package/TagService/core/ApiRequestOptions.ts +12 -12
  98. package/TagService/core/ApiResult.ts +6 -6
  99. package/TagService/core/BaseHttpRequest.ts +9 -9
  100. package/TagService/core/CancelablePromise.ts +125 -125
  101. package/TagService/core/FetchHttpRequest.ts +21 -21
  102. package/TagService/core/OpenAPI.ts +55 -55
  103. package/TagService/core/request.ts +340 -340
  104. package/TagService/index.ts +8 -8
  105. package/TagService/schemas.gen.ts +4677 -4677
  106. package/TagService/services.gen.ts +175 -175
  107. package/TagService/types.gen.ts +771 -771
  108. package/TravellerService/TravellerServiceClient.ts +56 -56
  109. package/TravellerService/core/ApiError.ts +20 -20
  110. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  111. package/TravellerService/core/ApiResult.ts +6 -6
  112. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  113. package/TravellerService/core/CancelablePromise.ts +125 -125
  114. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  115. package/TravellerService/core/OpenAPI.ts +55 -55
  116. package/TravellerService/core/request.ts +340 -340
  117. package/TravellerService/index.ts +8 -8
  118. package/TravellerService/schemas.gen.ts +6322 -6322
  119. package/TravellerService/services.gen.ts +713 -713
  120. package/TravellerService/types.gen.ts +1834 -1834
  121. package/package.json +1 -1
  122. package/swagger.json +4794 -4794
@@ -1,6 +1,87 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
- export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderCreateDto = {
3
+ export const $UniRefund_CRMService_Individuals_IndividualIdNameDto = {
4
+ type: 'object',
5
+ properties: {
6
+ id: {
7
+ type: 'string',
8
+ format: 'uuid'
9
+ },
10
+ name: {
11
+ type: 'string',
12
+ nullable: true
13
+ }
14
+ },
15
+ additionalProperties: false
16
+ } as const;
17
+
18
+ export const $UniRefund_CRMService_Merchants_MerchantBasicInformationDto = {
19
+ type: 'object',
20
+ properties: {
21
+ id: {
22
+ type: 'string',
23
+ format: 'uuid'
24
+ },
25
+ name: {
26
+ type: 'string',
27
+ nullable: true
28
+ },
29
+ taxOffice: {
30
+ type: 'object',
31
+ properties: {
32
+ id: {
33
+ type: 'string',
34
+ format: 'uuid'
35
+ },
36
+ name: {
37
+ type: 'string',
38
+ nullable: true
39
+ }
40
+ },
41
+ additionalProperties: false
42
+ },
43
+ numberOfStores: {
44
+ type: 'integer',
45
+ format: 'int32'
46
+ },
47
+ accountManagers: {
48
+ type: 'array',
49
+ items: {
50
+ type: 'object',
51
+ properties: {
52
+ id: {
53
+ type: 'string',
54
+ format: 'uuid'
55
+ },
56
+ name: {
57
+ type: 'string',
58
+ nullable: true
59
+ }
60
+ },
61
+ additionalProperties: false
62
+ },
63
+ nullable: true
64
+ }
65
+ },
66
+ additionalProperties: false
67
+ } as const;
68
+
69
+ export const $UniRefund_CRMService_TaxOffices_TaxOfficeIdNameDto = {
70
+ type: 'object',
71
+ properties: {
72
+ id: {
73
+ type: 'string',
74
+ format: 'uuid'
75
+ },
76
+ name: {
77
+ type: 'string',
78
+ nullable: true
79
+ }
80
+ },
81
+ additionalProperties: false
82
+ } as const;
83
+
84
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderCreateDto = {
4
85
  required: ['refundTableHeaderId'],
5
86
  type: 'object',
6
87
  properties: {
@@ -21,7 +102,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeade
21
102
  additionalProperties: false
22
103
  } as const;
23
104
 
24
- export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderDto = {
105
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderDto = {
25
106
  required: ['id', 'refundTableHeader'],
26
107
  type: 'object',
27
108
  properties: {
@@ -202,146 +283,589 @@ export const $UniRefund_ContractService_Contracts_ContractHeaderRefundTableHeade
202
283
  additionalProperties: false
203
284
  } as const;
204
285
 
205
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderCreateDto = {
206
- required: ['addressId', 'contractSettings', 'merchantId', 'rebateSetting'],
286
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto = {
287
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name'],
207
288
  type: 'object',
208
289
  properties: {
209
- extraProperties: {
210
- type: 'object',
211
- additionalProperties: {},
212
- nullable: true,
213
- readOnly: true
214
- },
215
- merchantId: {
290
+ id: {
216
291
  type: 'string',
217
292
  format: 'uuid'
218
293
  },
219
- addressId: {
294
+ creationTime: {
295
+ type: 'string',
296
+ format: 'date-time'
297
+ },
298
+ creatorId: {
299
+ type: 'string',
300
+ format: 'uuid',
301
+ nullable: true
302
+ },
303
+ lastModificationTime: {
304
+ type: 'string',
305
+ format: 'date-time',
306
+ nullable: true
307
+ },
308
+ lastModifierId: {
309
+ type: 'string',
310
+ format: 'uuid',
311
+ nullable: true
312
+ },
313
+ isDeleted: {
314
+ type: 'boolean'
315
+ },
316
+ deleterId: {
317
+ type: 'string',
318
+ format: 'uuid',
319
+ nullable: true
320
+ },
321
+ deletionTime: {
322
+ type: 'string',
323
+ format: 'date-time',
324
+ nullable: true
325
+ },
326
+ name: {
327
+ minLength: 1,
328
+ type: 'string'
329
+ },
330
+ contractTypeIdentifier: {
220
331
  type: 'string',
221
332
  format: 'uuid'
222
333
  },
223
- rebateSetting: {
224
- required: ['contactInformationTypeId', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
334
+ webSite: {
335
+ maxLength: 1024,
336
+ minLength: 0,
337
+ type: 'string',
338
+ nullable: true
339
+ },
340
+ merchantClassification: {
341
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
342
+ type: 'string'
343
+ },
344
+ merchantBasicInformationDto: {
225
345
  type: 'object',
226
346
  properties: {
227
- extraProperties: {
228
- type: 'object',
229
- additionalProperties: {},
230
- nullable: true,
231
- readOnly: true
347
+ id: {
348
+ type: 'string',
349
+ format: 'uuid'
232
350
  },
233
- referenceNumber: {
234
- type: 'number',
235
- format: 'double'
351
+ name: {
352
+ type: 'string',
353
+ nullable: true
236
354
  },
237
- isTrustedMerchant: {
238
- type: 'boolean'
355
+ taxOffice: {
356
+ type: 'object',
357
+ properties: {
358
+ id: {
359
+ type: 'string',
360
+ format: 'uuid'
361
+ },
362
+ name: {
363
+ type: 'string',
364
+ nullable: true
365
+ }
366
+ },
367
+ additionalProperties: false
239
368
  },
240
- rebateStatementPeriod: {
241
- enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
242
- type: 'string'
369
+ numberOfStores: {
370
+ type: 'integer',
371
+ format: 'int32'
243
372
  },
244
- rebateTableHeaders: {
373
+ accountManagers: {
245
374
  type: 'array',
246
375
  items: {
247
- required: ['name', 'validFrom', 'validTo'],
248
376
  type: 'object',
249
377
  properties: {
250
- extraProperties: {
251
- type: 'object',
252
- additionalProperties: {},
253
- nullable: true,
254
- readOnly: true
255
- },
256
- name: {
257
- maxLength: 255,
258
- minLength: 0,
259
- type: 'string'
260
- },
261
- calculateNetCommissionInsteadOfRefund: {
262
- type: 'boolean'
263
- },
264
- validFrom: {
378
+ id: {
265
379
  type: 'string',
266
- format: 'date-time'
380
+ format: 'uuid'
267
381
  },
268
- validTo: {
382
+ name: {
269
383
  type: 'string',
270
- format: 'date-time'
271
- },
272
- isTemplate: {
273
- type: 'boolean'
274
- },
275
- rebateTableDetails: {
276
- type: 'array',
277
- items: {
278
- required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
279
- type: 'object',
280
- properties: {
281
- extraProperties: {
282
- type: 'object',
283
- additionalProperties: {},
284
- nullable: true,
285
- readOnly: true
286
- },
287
- fixedFeeValue: {
288
- type: 'number',
289
- format: 'double'
290
- },
291
- percentFeeValue: {
292
- type: 'number',
293
- format: 'double'
294
- },
295
- refundMethod: {
296
- enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
297
- type: 'string'
298
- },
299
- variableFee: {
300
- enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
301
- type: 'string'
302
- }
303
- },
304
- additionalProperties: false
305
- },
306
- nullable: true
307
- },
308
- processingFeeDetails: {
309
- type: 'array',
310
- items: {
311
- required: ['amount', 'name'],
312
- type: 'object',
313
- properties: {
314
- extraProperties: {
315
- type: 'object',
316
- additionalProperties: {},
317
- nullable: true,
318
- readOnly: true
319
- },
320
- name: {
321
- maxLength: 255,
322
- minLength: 0,
323
- type: 'string'
324
- },
325
- amount: {
326
- type: 'number',
327
- format: 'double'
328
- }
329
- },
330
- additionalProperties: false
331
- },
332
384
  nullable: true
333
385
  }
334
386
  },
335
387
  additionalProperties: false
336
388
  },
337
389
  nullable: true
390
+ }
391
+ },
392
+ additionalProperties: false
393
+ },
394
+ contractType: {
395
+ enum: ['Merchant', 'RefundPoint'],
396
+ type: 'string'
397
+ },
398
+ addressCommonData: {
399
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
400
+ type: 'object',
401
+ properties: {
402
+ id: {
403
+ type: 'string',
404
+ format: 'uuid'
338
405
  },
339
- rebateTableHeaderIds: {
340
- type: 'array',
341
- items: {
342
- type: 'string',
343
- format: 'uuid'
344
- },
406
+ creationTime: {
407
+ type: 'string',
408
+ format: 'date-time'
409
+ },
410
+ creatorId: {
411
+ type: 'string',
412
+ format: 'uuid',
413
+ nullable: true
414
+ },
415
+ lastModificationTime: {
416
+ type: 'string',
417
+ format: 'date-time',
418
+ nullable: true
419
+ },
420
+ lastModifierId: {
421
+ type: 'string',
422
+ format: 'uuid',
423
+ nullable: true
424
+ },
425
+ isDeleted: {
426
+ type: 'boolean'
427
+ },
428
+ deleterId: {
429
+ type: 'string',
430
+ format: 'uuid',
431
+ nullable: true
432
+ },
433
+ deletionTime: {
434
+ type: 'string',
435
+ format: 'date-time',
436
+ nullable: true
437
+ },
438
+ type: {
439
+ enum: ['Home', 'Office'],
440
+ type: 'string'
441
+ },
442
+ addressLine: {
443
+ maxLength: 255,
444
+ minLength: 0,
445
+ type: 'string'
446
+ },
447
+ postalCode: {
448
+ maxLength: 255,
449
+ minLength: 0,
450
+ type: 'string'
451
+ },
452
+ fullAddress: {
453
+ maxLength: 255,
454
+ minLength: 0,
455
+ type: 'string'
456
+ },
457
+ primaryFlag: {
458
+ type: 'boolean'
459
+ },
460
+ countryId: {
461
+ type: 'string',
462
+ format: 'uuid'
463
+ },
464
+ regionId: {
465
+ type: 'string',
466
+ format: 'uuid',
467
+ nullable: true
468
+ },
469
+ cityId: {
470
+ type: 'string',
471
+ format: 'uuid'
472
+ },
473
+ districtId: {
474
+ type: 'string',
475
+ format: 'uuid'
476
+ },
477
+ neighborhoodId: {
478
+ type: 'string',
479
+ format: 'uuid',
480
+ nullable: true
481
+ }
482
+ },
483
+ additionalProperties: false
484
+ },
485
+ contractHeaderRefundTableHeaders: {
486
+ type: 'array',
487
+ items: {
488
+ required: ['id', 'refundTableHeader'],
489
+ type: 'object',
490
+ properties: {
491
+ id: {
492
+ type: 'string',
493
+ format: 'uuid'
494
+ },
495
+ creationTime: {
496
+ type: 'string',
497
+ format: 'date-time'
498
+ },
499
+ creatorId: {
500
+ type: 'string',
501
+ format: 'uuid',
502
+ nullable: true
503
+ },
504
+ lastModificationTime: {
505
+ type: 'string',
506
+ format: 'date-time',
507
+ nullable: true
508
+ },
509
+ lastModifierId: {
510
+ type: 'string',
511
+ format: 'uuid',
512
+ nullable: true
513
+ },
514
+ isDeleted: {
515
+ type: 'boolean'
516
+ },
517
+ deleterId: {
518
+ type: 'string',
519
+ format: 'uuid',
520
+ nullable: true
521
+ },
522
+ deletionTime: {
523
+ type: 'string',
524
+ format: 'date-time',
525
+ nullable: true
526
+ },
527
+ refundTableHeader: {
528
+ required: ['id', 'name'],
529
+ type: 'object',
530
+ properties: {
531
+ id: {
532
+ type: 'string',
533
+ format: 'uuid'
534
+ },
535
+ creationTime: {
536
+ type: 'string',
537
+ format: 'date-time'
538
+ },
539
+ creatorId: {
540
+ type: 'string',
541
+ format: 'uuid',
542
+ nullable: true
543
+ },
544
+ lastModificationTime: {
545
+ type: 'string',
546
+ format: 'date-time',
547
+ nullable: true
548
+ },
549
+ lastModifierId: {
550
+ type: 'string',
551
+ format: 'uuid',
552
+ nullable: true
553
+ },
554
+ isDeleted: {
555
+ type: 'boolean'
556
+ },
557
+ deleterId: {
558
+ type: 'string',
559
+ format: 'uuid',
560
+ nullable: true
561
+ },
562
+ deletionTime: {
563
+ type: 'string',
564
+ format: 'date-time',
565
+ nullable: true
566
+ },
567
+ name: {
568
+ maxLength: 255,
569
+ minLength: 0,
570
+ type: 'string'
571
+ },
572
+ isDefault: {
573
+ type: 'boolean'
574
+ },
575
+ isBundling: {
576
+ type: 'boolean'
577
+ },
578
+ validFrom: {
579
+ type: 'string',
580
+ format: 'date-time',
581
+ nullable: true
582
+ },
583
+ validTo: {
584
+ type: 'string',
585
+ format: 'date-time',
586
+ nullable: true
587
+ },
588
+ refundTableDetails: {
589
+ type: 'array',
590
+ items: {
591
+ required: ['id', 'vatRate'],
592
+ type: 'object',
593
+ properties: {
594
+ id: {
595
+ type: 'string',
596
+ format: 'uuid'
597
+ },
598
+ creationTime: {
599
+ type: 'string',
600
+ format: 'date-time'
601
+ },
602
+ creatorId: {
603
+ type: 'string',
604
+ format: 'uuid',
605
+ nullable: true
606
+ },
607
+ lastModificationTime: {
608
+ type: 'string',
609
+ format: 'date-time',
610
+ nullable: true
611
+ },
612
+ lastModifierId: {
613
+ type: 'string',
614
+ format: 'uuid',
615
+ nullable: true
616
+ },
617
+ isDeleted: {
618
+ type: 'boolean'
619
+ },
620
+ deleterId: {
621
+ type: 'string',
622
+ format: 'uuid',
623
+ nullable: true
624
+ },
625
+ deletionTime: {
626
+ type: 'string',
627
+ format: 'date-time',
628
+ nullable: true
629
+ },
630
+ vatRate: {
631
+ type: 'number',
632
+ format: 'double'
633
+ },
634
+ minValue: {
635
+ type: 'number',
636
+ format: 'double'
637
+ },
638
+ maxValue: {
639
+ type: 'number',
640
+ format: 'double'
641
+ },
642
+ refundAmount: {
643
+ type: 'number',
644
+ format: 'double'
645
+ },
646
+ refundPercent: {
647
+ type: 'number',
648
+ format: 'double'
649
+ },
650
+ isLoyalty: {
651
+ type: 'boolean'
652
+ }
653
+ },
654
+ additionalProperties: false
655
+ },
656
+ nullable: true
657
+ }
658
+ },
659
+ additionalProperties: false
660
+ },
661
+ isDefault: {
662
+ type: 'boolean'
663
+ }
664
+ },
665
+ additionalProperties: false
666
+ }
667
+ }
668
+ },
669
+ additionalProperties: false
670
+ } as const;
671
+
672
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantCreateDto = {
673
+ required: ['addressCommonData', 'contractSettings', 'contractTypeIdentifier', 'merchantClassification', 'rebateSetting'],
674
+ type: 'object',
675
+ properties: {
676
+ extraProperties: {
677
+ type: 'object',
678
+ additionalProperties: {},
679
+ nullable: true,
680
+ readOnly: true
681
+ },
682
+ contractTypeIdentifier: {
683
+ type: 'string',
684
+ format: 'uuid'
685
+ },
686
+ webSite: {
687
+ maxLength: 1024,
688
+ minLength: 0,
689
+ type: 'string',
690
+ nullable: true
691
+ },
692
+ merchantClassification: {
693
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
694
+ type: 'string'
695
+ },
696
+ addressCommonData: {
697
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
698
+ type: 'object',
699
+ properties: {
700
+ extraProperties: {
701
+ type: 'object',
702
+ additionalProperties: {},
703
+ nullable: true,
704
+ readOnly: true
705
+ },
706
+ type: {
707
+ enum: ['Home', 'Office'],
708
+ type: 'string'
709
+ },
710
+ addressLine: {
711
+ maxLength: 255,
712
+ minLength: 0,
713
+ type: 'string'
714
+ },
715
+ postalCode: {
716
+ maxLength: 255,
717
+ minLength: 0,
718
+ type: 'string'
719
+ },
720
+ primaryFlag: {
721
+ type: 'boolean'
722
+ },
723
+ countryId: {
724
+ type: 'string',
725
+ format: 'uuid'
726
+ },
727
+ regionId: {
728
+ type: 'string',
729
+ format: 'uuid',
730
+ nullable: true
731
+ },
732
+ cityId: {
733
+ type: 'string',
734
+ format: 'uuid',
735
+ nullable: true
736
+ },
737
+ districtId: {
738
+ type: 'string',
739
+ format: 'uuid',
740
+ nullable: true
741
+ },
742
+ neighborhoodId: {
743
+ type: 'string',
744
+ format: 'uuid',
745
+ nullable: true
746
+ }
747
+ },
748
+ additionalProperties: false
749
+ },
750
+ rebateSetting: {
751
+ required: ['contactInformationTypeId', 'isTrustedMerchant', 'rebateStatementPeriod', 'referenceNumber'],
752
+ type: 'object',
753
+ properties: {
754
+ extraProperties: {
755
+ type: 'object',
756
+ additionalProperties: {},
757
+ nullable: true,
758
+ readOnly: true
759
+ },
760
+ referenceNumber: {
761
+ type: 'number',
762
+ format: 'double'
763
+ },
764
+ isTrustedMerchant: {
765
+ type: 'boolean'
766
+ },
767
+ rebateStatementPeriod: {
768
+ enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
769
+ type: 'string'
770
+ },
771
+ rebateTableHeaders: {
772
+ type: 'array',
773
+ items: {
774
+ required: ['name', 'validFrom', 'validTo'],
775
+ type: 'object',
776
+ properties: {
777
+ extraProperties: {
778
+ type: 'object',
779
+ additionalProperties: {},
780
+ nullable: true,
781
+ readOnly: true
782
+ },
783
+ name: {
784
+ maxLength: 255,
785
+ minLength: 0,
786
+ type: 'string'
787
+ },
788
+ calculateNetCommissionInsteadOfRefund: {
789
+ type: 'boolean'
790
+ },
791
+ validFrom: {
792
+ type: 'string',
793
+ format: 'date-time'
794
+ },
795
+ validTo: {
796
+ type: 'string',
797
+ format: 'date-time'
798
+ },
799
+ rebateTableDetails: {
800
+ type: 'array',
801
+ items: {
802
+ required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
803
+ type: 'object',
804
+ properties: {
805
+ extraProperties: {
806
+ type: 'object',
807
+ additionalProperties: {},
808
+ nullable: true,
809
+ readOnly: true
810
+ },
811
+ fixedFeeValue: {
812
+ type: 'number',
813
+ format: 'double'
814
+ },
815
+ percentFeeValue: {
816
+ type: 'number',
817
+ format: 'double'
818
+ },
819
+ refundMethod: {
820
+ enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
821
+ type: 'string'
822
+ },
823
+ variableFee: {
824
+ enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
825
+ type: 'string'
826
+ }
827
+ },
828
+ additionalProperties: false
829
+ },
830
+ nullable: true
831
+ },
832
+ processingFeeDetails: {
833
+ type: 'array',
834
+ items: {
835
+ required: ['amount', 'name'],
836
+ type: 'object',
837
+ properties: {
838
+ extraProperties: {
839
+ type: 'object',
840
+ additionalProperties: {},
841
+ nullable: true,
842
+ readOnly: true
843
+ },
844
+ name: {
845
+ maxLength: 255,
846
+ minLength: 0,
847
+ type: 'string'
848
+ },
849
+ amount: {
850
+ type: 'number',
851
+ format: 'double'
852
+ }
853
+ },
854
+ additionalProperties: false
855
+ },
856
+ nullable: true
857
+ }
858
+ },
859
+ additionalProperties: false
860
+ },
861
+ nullable: true
862
+ },
863
+ rebateTableHeaderIds: {
864
+ type: 'array',
865
+ items: {
866
+ type: 'string',
867
+ format: 'uuid'
868
+ },
345
869
  nullable: true
346
870
  },
347
871
  contactInformationTypeId: {
@@ -388,7 +912,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
388
912
  contractSettings: {
389
913
  type: 'array',
390
914
  items: {
391
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
915
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
392
916
  type: 'object',
393
917
  properties: {
394
918
  extraProperties: {
@@ -423,9 +947,59 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
423
947
  factoring: {
424
948
  type: 'boolean'
425
949
  },
426
- invoicingAddressId: {
427
- type: 'string',
428
- format: 'uuid'
950
+ invoicingAddressCommonData: {
951
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
952
+ type: 'object',
953
+ properties: {
954
+ extraProperties: {
955
+ type: 'object',
956
+ additionalProperties: {},
957
+ nullable: true,
958
+ readOnly: true
959
+ },
960
+ type: {
961
+ enum: ['Home', 'Office'],
962
+ type: 'string'
963
+ },
964
+ addressLine: {
965
+ maxLength: 255,
966
+ minLength: 0,
967
+ type: 'string'
968
+ },
969
+ postalCode: {
970
+ maxLength: 255,
971
+ minLength: 0,
972
+ type: 'string'
973
+ },
974
+ primaryFlag: {
975
+ type: 'boolean'
976
+ },
977
+ countryId: {
978
+ type: 'string',
979
+ format: 'uuid'
980
+ },
981
+ regionId: {
982
+ type: 'string',
983
+ format: 'uuid',
984
+ nullable: true
985
+ },
986
+ cityId: {
987
+ type: 'string',
988
+ format: 'uuid',
989
+ nullable: true
990
+ },
991
+ districtId: {
992
+ type: 'string',
993
+ format: 'uuid',
994
+ nullable: true
995
+ },
996
+ neighborhoodId: {
997
+ type: 'string',
998
+ format: 'uuid',
999
+ nullable: true
1000
+ }
1001
+ },
1002
+ additionalProperties: false
429
1003
  },
430
1004
  invoiceChannel: {
431
1005
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -452,31 +1026,6 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
452
1026
  },
453
1027
  deskoScanner: {
454
1028
  type: 'boolean'
455
- },
456
- contractStores: {
457
- type: 'array',
458
- items: {
459
- required: ['merchantId', 'receiptType'],
460
- type: 'object',
461
- properties: {
462
- extraProperties: {
463
- type: 'object',
464
- additionalProperties: {},
465
- nullable: true,
466
- readOnly: true
467
- },
468
- merchantId: {
469
- type: 'string',
470
- format: 'uuid'
471
- },
472
- receiptType: {
473
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
474
- type: 'string'
475
- }
476
- },
477
- additionalProperties: false
478
- },
479
- nullable: true
480
1029
  }
481
1030
  },
482
1031
  additionalProperties: false
@@ -510,8 +1059,8 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
510
1059
  additionalProperties: false
511
1060
  } as const;
512
1061
 
513
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderDto = {
514
- required: ['addressId', 'contractHeaderRefundTableHeaders', 'contractSettings', 'id', 'merchantId', 'rebateSetting'],
1062
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto = {
1063
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractSettings', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'rebateSetting'],
515
1064
  type: 'object',
516
1065
  properties: {
517
1066
  id: {
@@ -550,14 +1099,105 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
550
1099
  format: 'date-time',
551
1100
  nullable: true
552
1101
  },
553
- merchantId: {
554
- type: 'string',
555
- format: 'uuid'
1102
+ name: {
1103
+ minLength: 1,
1104
+ type: 'string'
556
1105
  },
557
- addressId: {
1106
+ contractTypeIdentifier: {
558
1107
  type: 'string',
559
1108
  format: 'uuid'
560
1109
  },
1110
+ contractType: {
1111
+ enum: ['Merchant', 'RefundPoint'],
1112
+ type: 'string'
1113
+ },
1114
+ addressCommonData: {
1115
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
1116
+ type: 'object',
1117
+ properties: {
1118
+ id: {
1119
+ type: 'string',
1120
+ format: 'uuid'
1121
+ },
1122
+ creationTime: {
1123
+ type: 'string',
1124
+ format: 'date-time'
1125
+ },
1126
+ creatorId: {
1127
+ type: 'string',
1128
+ format: 'uuid',
1129
+ nullable: true
1130
+ },
1131
+ lastModificationTime: {
1132
+ type: 'string',
1133
+ format: 'date-time',
1134
+ nullable: true
1135
+ },
1136
+ lastModifierId: {
1137
+ type: 'string',
1138
+ format: 'uuid',
1139
+ nullable: true
1140
+ },
1141
+ isDeleted: {
1142
+ type: 'boolean'
1143
+ },
1144
+ deleterId: {
1145
+ type: 'string',
1146
+ format: 'uuid',
1147
+ nullable: true
1148
+ },
1149
+ deletionTime: {
1150
+ type: 'string',
1151
+ format: 'date-time',
1152
+ nullable: true
1153
+ },
1154
+ type: {
1155
+ enum: ['Home', 'Office'],
1156
+ type: 'string'
1157
+ },
1158
+ addressLine: {
1159
+ maxLength: 255,
1160
+ minLength: 0,
1161
+ type: 'string'
1162
+ },
1163
+ postalCode: {
1164
+ maxLength: 255,
1165
+ minLength: 0,
1166
+ type: 'string'
1167
+ },
1168
+ fullAddress: {
1169
+ maxLength: 255,
1170
+ minLength: 0,
1171
+ type: 'string'
1172
+ },
1173
+ primaryFlag: {
1174
+ type: 'boolean'
1175
+ },
1176
+ countryId: {
1177
+ type: 'string',
1178
+ format: 'uuid'
1179
+ },
1180
+ regionId: {
1181
+ type: 'string',
1182
+ format: 'uuid',
1183
+ nullable: true
1184
+ },
1185
+ cityId: {
1186
+ type: 'string',
1187
+ format: 'uuid'
1188
+ },
1189
+ districtId: {
1190
+ type: 'string',
1191
+ format: 'uuid'
1192
+ },
1193
+ neighborhoodId: {
1194
+ type: 'string',
1195
+ format: 'uuid',
1196
+ nullable: true
1197
+ }
1198
+ },
1199
+ additionalProperties: false
1200
+ },
561
1201
  rebateSetting: {
562
1202
  required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
563
1203
  type: 'object',
@@ -1114,7 +1754,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1114
1754
  contractSettings: {
1115
1755
  type: 'array',
1116
1756
  items: {
1117
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1757
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1118
1758
  type: 'object',
1119
1759
  properties: {
1120
1760
  id: {
@@ -1179,9 +1819,92 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1179
1819
  factoring: {
1180
1820
  type: 'boolean'
1181
1821
  },
1182
- invoicingAddressId: {
1183
- type: 'string',
1184
- format: 'uuid'
1822
+ invoicingAddressCommonData: {
1823
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
1824
+ type: 'object',
1825
+ properties: {
1826
+ id: {
1827
+ type: 'string',
1828
+ format: 'uuid'
1829
+ },
1830
+ creationTime: {
1831
+ type: 'string',
1832
+ format: 'date-time'
1833
+ },
1834
+ creatorId: {
1835
+ type: 'string',
1836
+ format: 'uuid',
1837
+ nullable: true
1838
+ },
1839
+ lastModificationTime: {
1840
+ type: 'string',
1841
+ format: 'date-time',
1842
+ nullable: true
1843
+ },
1844
+ lastModifierId: {
1845
+ type: 'string',
1846
+ format: 'uuid',
1847
+ nullable: true
1848
+ },
1849
+ isDeleted: {
1850
+ type: 'boolean'
1851
+ },
1852
+ deleterId: {
1853
+ type: 'string',
1854
+ format: 'uuid',
1855
+ nullable: true
1856
+ },
1857
+ deletionTime: {
1858
+ type: 'string',
1859
+ format: 'date-time',
1860
+ nullable: true
1861
+ },
1862
+ type: {
1863
+ enum: ['Home', 'Office'],
1864
+ type: 'string'
1865
+ },
1866
+ addressLine: {
1867
+ maxLength: 255,
1868
+ minLength: 0,
1869
+ type: 'string'
1870
+ },
1871
+ postalCode: {
1872
+ maxLength: 255,
1873
+ minLength: 0,
1874
+ type: 'string'
1875
+ },
1876
+ fullAddress: {
1877
+ maxLength: 255,
1878
+ minLength: 0,
1879
+ type: 'string'
1880
+ },
1881
+ primaryFlag: {
1882
+ type: 'boolean'
1883
+ },
1884
+ countryId: {
1885
+ type: 'string',
1886
+ format: 'uuid'
1887
+ },
1888
+ regionId: {
1889
+ type: 'string',
1890
+ format: 'uuid',
1891
+ nullable: true
1892
+ },
1893
+ cityId: {
1894
+ type: 'string',
1895
+ format: 'uuid'
1896
+ },
1897
+ districtId: {
1898
+ type: 'string',
1899
+ format: 'uuid'
1900
+ },
1901
+ neighborhoodId: {
1902
+ type: 'string',
1903
+ format: 'uuid',
1904
+ nullable: true
1905
+ }
1906
+ },
1907
+ additionalProperties: false
1185
1908
  },
1186
1909
  invoiceChannel: {
1187
1910
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1211,62 +1934,7 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1211
1934
  },
1212
1935
  contractHeaderId: {
1213
1936
  type: 'string',
1214
- format: 'uuid'
1215
- },
1216
- contractStores: {
1217
- type: 'array',
1218
- items: {
1219
- required: ['id', 'merchantId', 'receiptType'],
1220
- type: 'object',
1221
- properties: {
1222
- id: {
1223
- type: 'string',
1224
- format: 'uuid'
1225
- },
1226
- creationTime: {
1227
- type: 'string',
1228
- format: 'date-time'
1229
- },
1230
- creatorId: {
1231
- type: 'string',
1232
- format: 'uuid',
1233
- nullable: true
1234
- },
1235
- lastModificationTime: {
1236
- type: 'string',
1237
- format: 'date-time',
1238
- nullable: true
1239
- },
1240
- lastModifierId: {
1241
- type: 'string',
1242
- format: 'uuid',
1243
- nullable: true
1244
- },
1245
- isDeleted: {
1246
- type: 'boolean'
1247
- },
1248
- deleterId: {
1249
- type: 'string',
1250
- format: 'uuid',
1251
- nullable: true
1252
- },
1253
- deletionTime: {
1254
- type: 'string',
1255
- format: 'date-time',
1256
- nullable: true
1257
- },
1258
- merchantId: {
1259
- type: 'string',
1260
- format: 'uuid'
1261
- },
1262
- receiptType: {
1263
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1264
- type: 'string'
1265
- }
1266
- },
1267
- additionalProperties: false
1268
- },
1269
- nullable: true
1937
+ format: 'uuid'
1270
1938
  }
1271
1939
  },
1272
1940
  additionalProperties: false
@@ -1276,8 +1944,8 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1276
1944
  additionalProperties: false
1277
1945
  } as const;
1278
1946
 
1279
- export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderUpdateDto = {
1280
- required: ['addressId', 'merchantId'],
1947
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantUpdateDto = {
1948
+ required: ['addressCommonData', 'contractType', 'contractTypeIdentifier', 'merchantClassification'],
1281
1949
  type: 'object',
1282
1950
  properties: {
1283
1951
  extraProperties: {
@@ -1286,20 +1954,84 @@ export const $UniRefund_ContractService_Contracts_ContractHeaders_ContractHeader
1286
1954
  nullable: true,
1287
1955
  readOnly: true
1288
1956
  },
1289
- merchantId: {
1957
+ contractType: {
1958
+ enum: ['Merchant', 'RefundPoint'],
1959
+ type: 'string'
1960
+ },
1961
+ contractTypeIdentifier: {
1290
1962
  type: 'string',
1291
1963
  format: 'uuid'
1292
1964
  },
1293
- addressId: {
1965
+ webSite: {
1966
+ maxLength: 1024,
1967
+ minLength: 0,
1294
1968
  type: 'string',
1295
- format: 'uuid'
1969
+ nullable: true
1970
+ },
1971
+ merchantClassification: {
1972
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
1973
+ type: 'string'
1974
+ },
1975
+ addressCommonData: {
1976
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
1977
+ type: 'object',
1978
+ properties: {
1979
+ extraProperties: {
1980
+ type: 'object',
1981
+ additionalProperties: {},
1982
+ nullable: true,
1983
+ readOnly: true
1984
+ },
1985
+ type: {
1986
+ enum: ['Home', 'Office'],
1987
+ type: 'string'
1988
+ },
1989
+ addressLine: {
1990
+ maxLength: 255,
1991
+ minLength: 0,
1992
+ type: 'string'
1993
+ },
1994
+ postalCode: {
1995
+ maxLength: 255,
1996
+ minLength: 0,
1997
+ type: 'string'
1998
+ },
1999
+ primaryFlag: {
2000
+ type: 'boolean'
2001
+ },
2002
+ countryId: {
2003
+ type: 'string',
2004
+ format: 'uuid'
2005
+ },
2006
+ regionId: {
2007
+ type: 'string',
2008
+ format: 'uuid',
2009
+ nullable: true
2010
+ },
2011
+ cityId: {
2012
+ type: 'string',
2013
+ format: 'uuid',
2014
+ nullable: true
2015
+ },
2016
+ districtId: {
2017
+ type: 'string',
2018
+ format: 'uuid',
2019
+ nullable: true
2020
+ },
2021
+ neighborhoodId: {
2022
+ type: 'string',
2023
+ format: 'uuid',
2024
+ nullable: true
2025
+ }
2026
+ },
2027
+ additionalProperties: false
1296
2028
  }
1297
2029
  },
1298
2030
  additionalProperties: false
1299
2031
  } as const;
1300
2032
 
1301
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingCreateDto = {
1302
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2033
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingCreateDto = {
2034
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1303
2035
  type: 'object',
1304
2036
  properties: {
1305
2037
  extraProperties: {
@@ -1334,10 +2066,243 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1334
2066
  factoring: {
1335
2067
  type: 'boolean'
1336
2068
  },
1337
- invoicingAddressId: {
2069
+ invoicingAddressCommonData: {
2070
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
2071
+ type: 'object',
2072
+ properties: {
2073
+ extraProperties: {
2074
+ type: 'object',
2075
+ additionalProperties: {},
2076
+ nullable: true,
2077
+ readOnly: true
2078
+ },
2079
+ type: {
2080
+ enum: ['Home', 'Office'],
2081
+ type: 'string'
2082
+ },
2083
+ addressLine: {
2084
+ maxLength: 255,
2085
+ minLength: 0,
2086
+ type: 'string'
2087
+ },
2088
+ postalCode: {
2089
+ maxLength: 255,
2090
+ minLength: 0,
2091
+ type: 'string'
2092
+ },
2093
+ primaryFlag: {
2094
+ type: 'boolean'
2095
+ },
2096
+ countryId: {
2097
+ type: 'string',
2098
+ format: 'uuid'
2099
+ },
2100
+ regionId: {
2101
+ type: 'string',
2102
+ format: 'uuid',
2103
+ nullable: true
2104
+ },
2105
+ cityId: {
2106
+ type: 'string',
2107
+ format: 'uuid',
2108
+ nullable: true
2109
+ },
2110
+ districtId: {
2111
+ type: 'string',
2112
+ format: 'uuid',
2113
+ nullable: true
2114
+ },
2115
+ neighborhoodId: {
2116
+ type: 'string',
2117
+ format: 'uuid',
2118
+ nullable: true
2119
+ }
2120
+ },
2121
+ additionalProperties: false
2122
+ },
2123
+ invoiceChannel: {
2124
+ enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
2125
+ type: 'string'
2126
+ },
2127
+ eTaxFree: {
2128
+ type: 'boolean'
2129
+ },
2130
+ receiptType: {
2131
+ enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
2132
+ type: 'string'
2133
+ },
2134
+ crossTaxFreeForm: {
2135
+ type: 'boolean'
2136
+ },
2137
+ facturaNumberIsUnique: {
2138
+ type: 'boolean'
2139
+ },
2140
+ goodsHaveSerialNumbers: {
2141
+ type: 'boolean'
2142
+ },
2143
+ excludeFromCashLimit: {
2144
+ type: 'boolean'
2145
+ },
2146
+ deskoScanner: {
2147
+ type: 'boolean'
2148
+ }
2149
+ },
2150
+ additionalProperties: false
2151
+ } as const;
2152
+
2153
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto = {
2154
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2155
+ type: 'object',
2156
+ properties: {
2157
+ id: {
1338
2158
  type: 'string',
1339
2159
  format: 'uuid'
1340
2160
  },
2161
+ creationTime: {
2162
+ type: 'string',
2163
+ format: 'date-time'
2164
+ },
2165
+ creatorId: {
2166
+ type: 'string',
2167
+ format: 'uuid',
2168
+ nullable: true
2169
+ },
2170
+ lastModificationTime: {
2171
+ type: 'string',
2172
+ format: 'date-time',
2173
+ nullable: true
2174
+ },
2175
+ lastModifierId: {
2176
+ type: 'string',
2177
+ format: 'uuid',
2178
+ nullable: true
2179
+ },
2180
+ isDeleted: {
2181
+ type: 'boolean'
2182
+ },
2183
+ deleterId: {
2184
+ type: 'string',
2185
+ format: 'uuid',
2186
+ nullable: true
2187
+ },
2188
+ deletionTime: {
2189
+ type: 'string',
2190
+ format: 'date-time',
2191
+ nullable: true
2192
+ },
2193
+ name: {
2194
+ maxLength: 255,
2195
+ minLength: 0,
2196
+ type: 'string'
2197
+ },
2198
+ isDefault: {
2199
+ type: 'boolean'
2200
+ },
2201
+ referenceNumber: {
2202
+ type: 'integer',
2203
+ format: 'int32'
2204
+ },
2205
+ invoicingFrequency: {
2206
+ enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
2207
+ type: 'string'
2208
+ },
2209
+ termOfPayment: {
2210
+ type: 'integer',
2211
+ format: 'int32'
2212
+ },
2213
+ deliveryFee: {
2214
+ type: 'boolean'
2215
+ },
2216
+ factoring: {
2217
+ type: 'boolean'
2218
+ },
2219
+ invoicingAddressCommonData: {
2220
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
2221
+ type: 'object',
2222
+ properties: {
2223
+ id: {
2224
+ type: 'string',
2225
+ format: 'uuid'
2226
+ },
2227
+ creationTime: {
2228
+ type: 'string',
2229
+ format: 'date-time'
2230
+ },
2231
+ creatorId: {
2232
+ type: 'string',
2233
+ format: 'uuid',
2234
+ nullable: true
2235
+ },
2236
+ lastModificationTime: {
2237
+ type: 'string',
2238
+ format: 'date-time',
2239
+ nullable: true
2240
+ },
2241
+ lastModifierId: {
2242
+ type: 'string',
2243
+ format: 'uuid',
2244
+ nullable: true
2245
+ },
2246
+ isDeleted: {
2247
+ type: 'boolean'
2248
+ },
2249
+ deleterId: {
2250
+ type: 'string',
2251
+ format: 'uuid',
2252
+ nullable: true
2253
+ },
2254
+ deletionTime: {
2255
+ type: 'string',
2256
+ format: 'date-time',
2257
+ nullable: true
2258
+ },
2259
+ type: {
2260
+ enum: ['Home', 'Office'],
2261
+ type: 'string'
2262
+ },
2263
+ addressLine: {
2264
+ maxLength: 255,
2265
+ minLength: 0,
2266
+ type: 'string'
2267
+ },
2268
+ postalCode: {
2269
+ maxLength: 255,
2270
+ minLength: 0,
2271
+ type: 'string'
2272
+ },
2273
+ fullAddress: {
2274
+ maxLength: 255,
2275
+ minLength: 0,
2276
+ type: 'string'
2277
+ },
2278
+ primaryFlag: {
2279
+ type: 'boolean'
2280
+ },
2281
+ countryId: {
2282
+ type: 'string',
2283
+ format: 'uuid'
2284
+ },
2285
+ regionId: {
2286
+ type: 'string',
2287
+ format: 'uuid',
2288
+ nullable: true
2289
+ },
2290
+ cityId: {
2291
+ type: 'string',
2292
+ format: 'uuid'
2293
+ },
2294
+ districtId: {
2295
+ type: 'string',
2296
+ format: 'uuid'
2297
+ },
2298
+ neighborhoodId: {
2299
+ type: 'string',
2300
+ format: 'uuid',
2301
+ nullable: true
2302
+ }
2303
+ },
2304
+ additionalProperties: false
2305
+ },
1341
2306
  invoiceChannel: {
1342
2307
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
1343
2308
  type: 'string'
@@ -1364,37 +2329,16 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1364
2329
  deskoScanner: {
1365
2330
  type: 'boolean'
1366
2331
  },
1367
- contractStores: {
1368
- type: 'array',
1369
- items: {
1370
- required: ['merchantId', 'receiptType'],
1371
- type: 'object',
1372
- properties: {
1373
- extraProperties: {
1374
- type: 'object',
1375
- additionalProperties: {},
1376
- nullable: true,
1377
- readOnly: true
1378
- },
1379
- merchantId: {
1380
- type: 'string',
1381
- format: 'uuid'
1382
- },
1383
- receiptType: {
1384
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1385
- type: 'string'
1386
- }
1387
- },
1388
- additionalProperties: false
1389
- },
1390
- nullable: true
2332
+ contractHeaderId: {
2333
+ type: 'string',
2334
+ format: 'uuid'
1391
2335
  }
1392
2336
  },
1393
2337
  additionalProperties: false
1394
2338
  } as const;
1395
2339
 
1396
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingDto = {
1397
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2340
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingRestrictedDto = {
2341
+ required: ['id', 'name', 'receiptType'],
1398
2342
  type: 'object',
1399
2343
  properties: {
1400
2344
  id: {
@@ -1441,119 +2385,16 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1441
2385
  isDefault: {
1442
2386
  type: 'boolean'
1443
2387
  },
1444
- referenceNumber: {
1445
- type: 'integer',
1446
- format: 'int32'
1447
- },
1448
- invoicingFrequency: {
1449
- enum: ['OneTimePerMonth', 'TwoTimesPerMonth'],
1450
- type: 'string'
1451
- },
1452
- termOfPayment: {
1453
- type: 'integer',
1454
- format: 'int32'
1455
- },
1456
- deliveryFee: {
1457
- type: 'boolean'
1458
- },
1459
- factoring: {
1460
- type: 'boolean'
1461
- },
1462
- invoicingAddressId: {
1463
- type: 'string',
1464
- format: 'uuid'
1465
- },
1466
- invoiceChannel: {
1467
- enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
1468
- type: 'string'
1469
- },
1470
- eTaxFree: {
1471
- type: 'boolean'
1472
- },
1473
2388
  receiptType: {
1474
2389
  enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1475
2390
  type: 'string'
1476
- },
1477
- crossTaxFreeForm: {
1478
- type: 'boolean'
1479
- },
1480
- facturaNumberIsUnique: {
1481
- type: 'boolean'
1482
- },
1483
- goodsHaveSerialNumbers: {
1484
- type: 'boolean'
1485
- },
1486
- excludeFromCashLimit: {
1487
- type: 'boolean'
1488
- },
1489
- deskoScanner: {
1490
- type: 'boolean'
1491
- },
1492
- contractHeaderId: {
1493
- type: 'string',
1494
- format: 'uuid'
1495
- },
1496
- contractStores: {
1497
- type: 'array',
1498
- items: {
1499
- required: ['id', 'merchantId', 'receiptType'],
1500
- type: 'object',
1501
- properties: {
1502
- id: {
1503
- type: 'string',
1504
- format: 'uuid'
1505
- },
1506
- creationTime: {
1507
- type: 'string',
1508
- format: 'date-time'
1509
- },
1510
- creatorId: {
1511
- type: 'string',
1512
- format: 'uuid',
1513
- nullable: true
1514
- },
1515
- lastModificationTime: {
1516
- type: 'string',
1517
- format: 'date-time',
1518
- nullable: true
1519
- },
1520
- lastModifierId: {
1521
- type: 'string',
1522
- format: 'uuid',
1523
- nullable: true
1524
- },
1525
- isDeleted: {
1526
- type: 'boolean'
1527
- },
1528
- deleterId: {
1529
- type: 'string',
1530
- format: 'uuid',
1531
- nullable: true
1532
- },
1533
- deletionTime: {
1534
- type: 'string',
1535
- format: 'date-time',
1536
- nullable: true
1537
- },
1538
- merchantId: {
1539
- type: 'string',
1540
- format: 'uuid'
1541
- },
1542
- receiptType: {
1543
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
1544
- type: 'string'
1545
- }
1546
- },
1547
- additionalProperties: false
1548
- },
1549
- nullable: true
1550
2391
  }
1551
2392
  },
1552
2393
  additionalProperties: false
1553
2394
  } as const;
1554
2395
 
1555
- export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSettingUpdateDto = {
1556
- required: ['invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
2396
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingUpdateDto = {
2397
+ required: ['invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
1557
2398
  type: 'object',
1558
2399
  properties: {
1559
2400
  extraProperties: {
@@ -1588,9 +2429,59 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1588
2429
  factoring: {
1589
2430
  type: 'boolean'
1590
2431
  },
1591
- invoicingAddressId: {
1592
- type: 'string',
1593
- format: 'uuid'
2432
+ invoicingAddressCommonData: {
2433
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
2434
+ type: 'object',
2435
+ properties: {
2436
+ extraProperties: {
2437
+ type: 'object',
2438
+ additionalProperties: {},
2439
+ nullable: true,
2440
+ readOnly: true
2441
+ },
2442
+ type: {
2443
+ enum: ['Home', 'Office'],
2444
+ type: 'string'
2445
+ },
2446
+ addressLine: {
2447
+ maxLength: 255,
2448
+ minLength: 0,
2449
+ type: 'string'
2450
+ },
2451
+ postalCode: {
2452
+ maxLength: 255,
2453
+ minLength: 0,
2454
+ type: 'string'
2455
+ },
2456
+ primaryFlag: {
2457
+ type: 'boolean'
2458
+ },
2459
+ countryId: {
2460
+ type: 'string',
2461
+ format: 'uuid'
2462
+ },
2463
+ regionId: {
2464
+ type: 'string',
2465
+ format: 'uuid',
2466
+ nullable: true
2467
+ },
2468
+ cityId: {
2469
+ type: 'string',
2470
+ format: 'uuid',
2471
+ nullable: true
2472
+ },
2473
+ districtId: {
2474
+ type: 'string',
2475
+ format: 'uuid',
2476
+ nullable: true
2477
+ },
2478
+ neighborhoodId: {
2479
+ type: 'string',
2480
+ format: 'uuid',
2481
+ nullable: true
2482
+ }
2483
+ },
2484
+ additionalProperties: false
1594
2485
  },
1595
2486
  invoiceChannel: {
1596
2487
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -1622,8 +2513,8 @@ export const $UniRefund_ContractService_Contracts_ContractSettings_ContractSetti
1622
2513
  additionalProperties: false
1623
2514
  } as const;
1624
2515
 
1625
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCreateDto = {
1626
- required: ['merchantId', 'receiptType'],
2516
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreCreateDto = {
2517
+ required: ['contractTypeIdentifiersSubId', 'receiptType'],
1627
2518
  type: 'object',
1628
2519
  properties: {
1629
2520
  extraProperties: {
@@ -1632,7 +2523,7 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCr
1632
2523
  nullable: true,
1633
2524
  readOnly: true
1634
2525
  },
1635
- merchantId: {
2526
+ contractTypeIdentifiersSubId: {
1636
2527
  type: 'string',
1637
2528
  format: 'uuid'
1638
2529
  },
@@ -1644,8 +2535,8 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreCr
1644
2535
  additionalProperties: false
1645
2536
  } as const;
1646
2537
 
1647
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDto = {
1648
- required: ['id', 'merchantId', 'receiptType'],
2538
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDto = {
2539
+ required: ['contractTypeIdentifiersSubId', 'id', 'receiptType'],
1649
2540
  type: 'object',
1650
2541
  properties: {
1651
2542
  id: {
@@ -1684,7 +2575,7 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDt
1684
2575
  format: 'date-time',
1685
2576
  nullable: true
1686
2577
  },
1687
- merchantId: {
2578
+ contractTypeIdentifiersSubId: {
1688
2579
  type: 'string',
1689
2580
  format: 'uuid'
1690
2581
  },
@@ -1696,8 +2587,8 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreDt
1696
2587
  additionalProperties: false
1697
2588
  } as const;
1698
2589
 
1699
- export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUpdateDto = {
1700
- required: ['merchantId', 'receiptType'],
2590
+ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreUpdateDto = {
2591
+ required: ['contractSettingId', 'contractTypeIdentifiersSubId', 'receiptType'],
1701
2592
  type: 'object',
1702
2593
  properties: {
1703
2594
  extraProperties: {
@@ -1706,7 +2597,11 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUp
1706
2597
  nullable: true,
1707
2598
  readOnly: true
1708
2599
  },
1709
- merchantId: {
2600
+ contractTypeIdentifiersSubId: {
2601
+ type: 'string',
2602
+ format: 'uuid'
2603
+ },
2604
+ contractSettingId: {
1710
2605
  type: 'string',
1711
2606
  format: 'uuid'
1712
2607
  },
@@ -1718,6 +2613,11 @@ export const $UniRefund_ContractService_Contracts_ContractStores_ContractStoreUp
1718
2613
  additionalProperties: false
1719
2614
  } as const;
1720
2615
 
2616
+ export const $UniRefund_ContractService_Enums_ContractType = {
2617
+ enum: ['Merchant', 'RefundPoint'],
2618
+ type: 'string'
2619
+ } as const;
2620
+
1721
2621
  export const $UniRefund_ContractService_Enums_FeeType = {
1722
2622
  enum: ['TouristFee', 'TouristBonusFee', 'AgentFee', 'AirportFee'],
1723
2623
  type: 'string'
@@ -1733,6 +2633,11 @@ export const $UniRefund_ContractService_Enums_InvoicingFrequency = {
1733
2633
  type: 'string'
1734
2634
  } as const;
1735
2635
 
2636
+ export const $UniRefund_ContractService_Enums_MerchantClassification = {
2637
+ enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
2638
+ type: 'string'
2639
+ } as const;
2640
+
1736
2641
  export const $UniRefund_ContractService_Enums_RebateStatementPeriod = {
1737
2642
  enum: ['None', 'Monthly', 'Quarterly', 'BiAnnually', 'Annually'],
1738
2643
  type: 'string'
@@ -2288,9 +3193,6 @@ export const $UniRefund_ContractService_Rebates_RebateSettings_RebateSettingCrea
2288
3193
  type: 'string',
2289
3194
  format: 'date-time'
2290
3195
  },
2291
- isTemplate: {
2292
- type: 'boolean'
2293
- },
2294
3196
  rebateTableDetails: {
2295
3197
  type: 'array',
2296
3198
  items: {
@@ -3231,10 +4133,99 @@ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHe
3231
4133
  amount: {
3232
4134
  type: 'number',
3233
4135
  format: 'double'
3234
- },
3235
- rebateTableHeaderId: {
3236
- type: 'string',
3237
- format: 'uuid'
4136
+ },
4137
+ rebateTableHeaderId: {
4138
+ type: 'string',
4139
+ format: 'uuid'
4140
+ }
4141
+ },
4142
+ additionalProperties: false
4143
+ },
4144
+ nullable: true
4145
+ }
4146
+ },
4147
+ additionalProperties: false
4148
+ } as const;
4149
+
4150
+ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeaderNotTemplateCreateDto = {
4151
+ required: ['name', 'validFrom', 'validTo'],
4152
+ type: 'object',
4153
+ properties: {
4154
+ extraProperties: {
4155
+ type: 'object',
4156
+ additionalProperties: {},
4157
+ nullable: true,
4158
+ readOnly: true
4159
+ },
4160
+ name: {
4161
+ maxLength: 255,
4162
+ minLength: 0,
4163
+ type: 'string'
4164
+ },
4165
+ calculateNetCommissionInsteadOfRefund: {
4166
+ type: 'boolean'
4167
+ },
4168
+ validFrom: {
4169
+ type: 'string',
4170
+ format: 'date-time'
4171
+ },
4172
+ validTo: {
4173
+ type: 'string',
4174
+ format: 'date-time'
4175
+ },
4176
+ rebateTableDetails: {
4177
+ type: 'array',
4178
+ items: {
4179
+ required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
4180
+ type: 'object',
4181
+ properties: {
4182
+ extraProperties: {
4183
+ type: 'object',
4184
+ additionalProperties: {},
4185
+ nullable: true,
4186
+ readOnly: true
4187
+ },
4188
+ fixedFeeValue: {
4189
+ type: 'number',
4190
+ format: 'double'
4191
+ },
4192
+ percentFeeValue: {
4193
+ type: 'number',
4194
+ format: 'double'
4195
+ },
4196
+ refundMethod: {
4197
+ enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
4198
+ type: 'string'
4199
+ },
4200
+ variableFee: {
4201
+ enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
4202
+ type: 'string'
4203
+ }
4204
+ },
4205
+ additionalProperties: false
4206
+ },
4207
+ nullable: true
4208
+ },
4209
+ processingFeeDetails: {
4210
+ type: 'array',
4211
+ items: {
4212
+ required: ['amount', 'name'],
4213
+ type: 'object',
4214
+ properties: {
4215
+ extraProperties: {
4216
+ type: 'object',
4217
+ additionalProperties: {},
4218
+ nullable: true,
4219
+ readOnly: true
4220
+ },
4221
+ name: {
4222
+ maxLength: 255,
4223
+ minLength: 0,
4224
+ type: 'string'
4225
+ },
4226
+ amount: {
4227
+ type: 'number',
4228
+ format: 'double'
3238
4229
  }
3239
4230
  },
3240
4231
  additionalProperties: false
@@ -4058,13 +5049,216 @@ export const $UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHe
4058
5049
  additionalProperties: false
4059
5050
  } as const;
4060
5051
 
4061
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractHeaders_ContractHeaderDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
5052
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataCreateDto = {
5053
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
5054
+ type: 'object',
5055
+ properties: {
5056
+ extraProperties: {
5057
+ type: 'object',
5058
+ additionalProperties: {},
5059
+ nullable: true,
5060
+ readOnly: true
5061
+ },
5062
+ type: {
5063
+ enum: ['Home', 'Office'],
5064
+ type: 'string'
5065
+ },
5066
+ addressLine: {
5067
+ maxLength: 255,
5068
+ minLength: 0,
5069
+ type: 'string'
5070
+ },
5071
+ postalCode: {
5072
+ maxLength: 255,
5073
+ minLength: 0,
5074
+ type: 'string'
5075
+ },
5076
+ primaryFlag: {
5077
+ type: 'boolean'
5078
+ },
5079
+ countryId: {
5080
+ type: 'string',
5081
+ format: 'uuid'
5082
+ },
5083
+ regionId: {
5084
+ type: 'string',
5085
+ format: 'uuid',
5086
+ nullable: true
5087
+ },
5088
+ cityId: {
5089
+ type: 'string',
5090
+ format: 'uuid',
5091
+ nullable: true
5092
+ },
5093
+ districtId: {
5094
+ type: 'string',
5095
+ format: 'uuid',
5096
+ nullable: true
5097
+ },
5098
+ neighborhoodId: {
5099
+ type: 'string',
5100
+ format: 'uuid',
5101
+ nullable: true
5102
+ }
5103
+ },
5104
+ additionalProperties: false
5105
+ } as const;
5106
+
5107
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto = {
5108
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
5109
+ type: 'object',
5110
+ properties: {
5111
+ id: {
5112
+ type: 'string',
5113
+ format: 'uuid'
5114
+ },
5115
+ creationTime: {
5116
+ type: 'string',
5117
+ format: 'date-time'
5118
+ },
5119
+ creatorId: {
5120
+ type: 'string',
5121
+ format: 'uuid',
5122
+ nullable: true
5123
+ },
5124
+ lastModificationTime: {
5125
+ type: 'string',
5126
+ format: 'date-time',
5127
+ nullable: true
5128
+ },
5129
+ lastModifierId: {
5130
+ type: 'string',
5131
+ format: 'uuid',
5132
+ nullable: true
5133
+ },
5134
+ isDeleted: {
5135
+ type: 'boolean'
5136
+ },
5137
+ deleterId: {
5138
+ type: 'string',
5139
+ format: 'uuid',
5140
+ nullable: true
5141
+ },
5142
+ deletionTime: {
5143
+ type: 'string',
5144
+ format: 'date-time',
5145
+ nullable: true
5146
+ },
5147
+ type: {
5148
+ enum: ['Home', 'Office'],
5149
+ type: 'string'
5150
+ },
5151
+ addressLine: {
5152
+ maxLength: 255,
5153
+ minLength: 0,
5154
+ type: 'string'
5155
+ },
5156
+ postalCode: {
5157
+ maxLength: 255,
5158
+ minLength: 0,
5159
+ type: 'string'
5160
+ },
5161
+ fullAddress: {
5162
+ maxLength: 255,
5163
+ minLength: 0,
5164
+ type: 'string'
5165
+ },
5166
+ primaryFlag: {
5167
+ type: 'boolean'
5168
+ },
5169
+ countryId: {
5170
+ type: 'string',
5171
+ format: 'uuid'
5172
+ },
5173
+ regionId: {
5174
+ type: 'string',
5175
+ format: 'uuid',
5176
+ nullable: true
5177
+ },
5178
+ cityId: {
5179
+ type: 'string',
5180
+ format: 'uuid'
5181
+ },
5182
+ districtId: {
5183
+ type: 'string',
5184
+ format: 'uuid'
5185
+ },
5186
+ neighborhoodId: {
5187
+ type: 'string',
5188
+ format: 'uuid',
5189
+ nullable: true
5190
+ }
5191
+ },
5192
+ additionalProperties: false
5193
+ } as const;
5194
+
5195
+ export const $UniRefund_LocationService_AddressCommonDatas_AddressCommonDataUpdateDto = {
5196
+ required: ['addressLine', 'countryId', 'postalCode', 'type'],
5197
+ type: 'object',
5198
+ properties: {
5199
+ extraProperties: {
5200
+ type: 'object',
5201
+ additionalProperties: {},
5202
+ nullable: true,
5203
+ readOnly: true
5204
+ },
5205
+ type: {
5206
+ enum: ['Home', 'Office'],
5207
+ type: 'string'
5208
+ },
5209
+ addressLine: {
5210
+ maxLength: 255,
5211
+ minLength: 0,
5212
+ type: 'string'
5213
+ },
5214
+ postalCode: {
5215
+ maxLength: 255,
5216
+ minLength: 0,
5217
+ type: 'string'
5218
+ },
5219
+ primaryFlag: {
5220
+ type: 'boolean'
5221
+ },
5222
+ countryId: {
5223
+ type: 'string',
5224
+ format: 'uuid'
5225
+ },
5226
+ regionId: {
5227
+ type: 'string',
5228
+ format: 'uuid',
5229
+ nullable: true
5230
+ },
5231
+ cityId: {
5232
+ type: 'string',
5233
+ format: 'uuid',
5234
+ nullable: true
5235
+ },
5236
+ districtId: {
5237
+ type: 'string',
5238
+ format: 'uuid',
5239
+ nullable: true
5240
+ },
5241
+ neighborhoodId: {
5242
+ type: 'string',
5243
+ format: 'uuid',
5244
+ nullable: true
5245
+ }
5246
+ },
5247
+ additionalProperties: false
5248
+ } as const;
5249
+
5250
+ export const $UniRefund_LocationService_Enums_AddressType = {
5251
+ enum: ['Home', 'Office'],
5252
+ type: 'string'
5253
+ } as const;
5254
+
5255
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
4062
5256
  type: 'object',
4063
5257
  properties: {
4064
5258
  items: {
4065
5259
  type: 'array',
4066
5260
  items: {
4067
- required: ['addressId', 'contractHeaderRefundTableHeaders', 'contractSettings', 'id', 'merchantId', 'rebateSetting'],
5261
+ required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractSettings', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'rebateSetting'],
4068
5262
  type: 'object',
4069
5263
  properties: {
4070
5264
  id: {
@@ -4103,14 +5297,105 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4103
5297
  format: 'date-time',
4104
5298
  nullable: true
4105
5299
  },
4106
- merchantId: {
4107
- type: 'string',
4108
- format: 'uuid'
5300
+ name: {
5301
+ minLength: 1,
5302
+ type: 'string'
4109
5303
  },
4110
- addressId: {
5304
+ contractTypeIdentifier: {
4111
5305
  type: 'string',
4112
5306
  format: 'uuid'
4113
5307
  },
5308
+ contractType: {
5309
+ enum: ['Merchant', 'RefundPoint'],
5310
+ type: 'string'
5311
+ },
5312
+ addressCommonData: {
5313
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
5314
+ type: 'object',
5315
+ properties: {
5316
+ id: {
5317
+ type: 'string',
5318
+ format: 'uuid'
5319
+ },
5320
+ creationTime: {
5321
+ type: 'string',
5322
+ format: 'date-time'
5323
+ },
5324
+ creatorId: {
5325
+ type: 'string',
5326
+ format: 'uuid',
5327
+ nullable: true
5328
+ },
5329
+ lastModificationTime: {
5330
+ type: 'string',
5331
+ format: 'date-time',
5332
+ nullable: true
5333
+ },
5334
+ lastModifierId: {
5335
+ type: 'string',
5336
+ format: 'uuid',
5337
+ nullable: true
5338
+ },
5339
+ isDeleted: {
5340
+ type: 'boolean'
5341
+ },
5342
+ deleterId: {
5343
+ type: 'string',
5344
+ format: 'uuid',
5345
+ nullable: true
5346
+ },
5347
+ deletionTime: {
5348
+ type: 'string',
5349
+ format: 'date-time',
5350
+ nullable: true
5351
+ },
5352
+ type: {
5353
+ enum: ['Home', 'Office'],
5354
+ type: 'string'
5355
+ },
5356
+ addressLine: {
5357
+ maxLength: 255,
5358
+ minLength: 0,
5359
+ type: 'string'
5360
+ },
5361
+ postalCode: {
5362
+ maxLength: 255,
5363
+ minLength: 0,
5364
+ type: 'string'
5365
+ },
5366
+ fullAddress: {
5367
+ maxLength: 255,
5368
+ minLength: 0,
5369
+ type: 'string'
5370
+ },
5371
+ primaryFlag: {
5372
+ type: 'boolean'
5373
+ },
5374
+ countryId: {
5375
+ type: 'string',
5376
+ format: 'uuid'
5377
+ },
5378
+ regionId: {
5379
+ type: 'string',
5380
+ format: 'uuid',
5381
+ nullable: true
5382
+ },
5383
+ cityId: {
5384
+ type: 'string',
5385
+ format: 'uuid'
5386
+ },
5387
+ districtId: {
5388
+ type: 'string',
5389
+ format: 'uuid'
5390
+ },
5391
+ neighborhoodId: {
5392
+ type: 'string',
5393
+ format: 'uuid',
5394
+ nullable: true
5395
+ }
5396
+ },
5397
+ additionalProperties: false
5398
+ },
4114
5399
  rebateSetting: {
4115
5400
  required: ['contactInformationTypeId', 'contractHeaderId', 'id', 'isTrustedMerchant', 'merchantId', 'rebateStatementPeriod', 'referenceNumber'],
4116
5401
  type: 'object',
@@ -4667,7 +5952,7 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4667
5952
  contractSettings: {
4668
5953
  type: 'array',
4669
5954
  items: {
4670
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
5955
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
4671
5956
  type: 'object',
4672
5957
  properties: {
4673
5958
  id: {
@@ -4732,9 +6017,92 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4732
6017
  factoring: {
4733
6018
  type: 'boolean'
4734
6019
  },
4735
- invoicingAddressId: {
4736
- type: 'string',
4737
- format: 'uuid'
6020
+ invoicingAddressCommonData: {
6021
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
6022
+ type: 'object',
6023
+ properties: {
6024
+ id: {
6025
+ type: 'string',
6026
+ format: 'uuid'
6027
+ },
6028
+ creationTime: {
6029
+ type: 'string',
6030
+ format: 'date-time'
6031
+ },
6032
+ creatorId: {
6033
+ type: 'string',
6034
+ format: 'uuid',
6035
+ nullable: true
6036
+ },
6037
+ lastModificationTime: {
6038
+ type: 'string',
6039
+ format: 'date-time',
6040
+ nullable: true
6041
+ },
6042
+ lastModifierId: {
6043
+ type: 'string',
6044
+ format: 'uuid',
6045
+ nullable: true
6046
+ },
6047
+ isDeleted: {
6048
+ type: 'boolean'
6049
+ },
6050
+ deleterId: {
6051
+ type: 'string',
6052
+ format: 'uuid',
6053
+ nullable: true
6054
+ },
6055
+ deletionTime: {
6056
+ type: 'string',
6057
+ format: 'date-time',
6058
+ nullable: true
6059
+ },
6060
+ type: {
6061
+ enum: ['Home', 'Office'],
6062
+ type: 'string'
6063
+ },
6064
+ addressLine: {
6065
+ maxLength: 255,
6066
+ minLength: 0,
6067
+ type: 'string'
6068
+ },
6069
+ postalCode: {
6070
+ maxLength: 255,
6071
+ minLength: 0,
6072
+ type: 'string'
6073
+ },
6074
+ fullAddress: {
6075
+ maxLength: 255,
6076
+ minLength: 0,
6077
+ type: 'string'
6078
+ },
6079
+ primaryFlag: {
6080
+ type: 'boolean'
6081
+ },
6082
+ countryId: {
6083
+ type: 'string',
6084
+ format: 'uuid'
6085
+ },
6086
+ regionId: {
6087
+ type: 'string',
6088
+ format: 'uuid',
6089
+ nullable: true
6090
+ },
6091
+ cityId: {
6092
+ type: 'string',
6093
+ format: 'uuid'
6094
+ },
6095
+ districtId: {
6096
+ type: 'string',
6097
+ format: 'uuid'
6098
+ },
6099
+ neighborhoodId: {
6100
+ type: 'string',
6101
+ format: 'uuid',
6102
+ nullable: true
6103
+ }
6104
+ },
6105
+ additionalProperties: false
4738
6106
  },
4739
6107
  invoiceChannel: {
4740
6108
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -4765,61 +6133,6 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4765
6133
  contractHeaderId: {
4766
6134
  type: 'string',
4767
6135
  format: 'uuid'
4768
- },
4769
- contractStores: {
4770
- type: 'array',
4771
- items: {
4772
- required: ['id', 'merchantId', 'receiptType'],
4773
- type: 'object',
4774
- properties: {
4775
- id: {
4776
- type: 'string',
4777
- format: 'uuid'
4778
- },
4779
- creationTime: {
4780
- type: 'string',
4781
- format: 'date-time'
4782
- },
4783
- creatorId: {
4784
- type: 'string',
4785
- format: 'uuid',
4786
- nullable: true
4787
- },
4788
- lastModificationTime: {
4789
- type: 'string',
4790
- format: 'date-time',
4791
- nullable: true
4792
- },
4793
- lastModifierId: {
4794
- type: 'string',
4795
- format: 'uuid',
4796
- nullable: true
4797
- },
4798
- isDeleted: {
4799
- type: 'boolean'
4800
- },
4801
- deleterId: {
4802
- type: 'string',
4803
- format: 'uuid',
4804
- nullable: true
4805
- },
4806
- deletionTime: {
4807
- type: 'string',
4808
- format: 'date-time',
4809
- nullable: true
4810
- },
4811
- merchantId: {
4812
- type: 'string',
4813
- format: 'uuid'
4814
- },
4815
- receiptType: {
4816
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
4817
- type: 'string'
4818
- }
4819
- },
4820
- additionalProperties: false
4821
- },
4822
- nullable: true
4823
6136
  }
4824
6137
  },
4825
6138
  additionalProperties: false
@@ -4838,13 +6151,13 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4838
6151
  additionalProperties: false
4839
6152
  } as const;
4840
6153
 
4841
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractSettings_ContractSettingDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
6154
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
4842
6155
  type: 'object',
4843
6156
  properties: {
4844
6157
  items: {
4845
6158
  type: 'array',
4846
6159
  items: {
4847
- required: ['id', 'invoiceChannel', 'invoicingAddressId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
6160
+ required: ['id', 'invoiceChannel', 'invoicingAddressCommonData', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
4848
6161
  type: 'object',
4849
6162
  properties: {
4850
6163
  id: {
@@ -4909,9 +6222,92 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4909
6222
  factoring: {
4910
6223
  type: 'boolean'
4911
6224
  },
4912
- invoicingAddressId: {
4913
- type: 'string',
4914
- format: 'uuid'
6225
+ invoicingAddressCommonData: {
6226
+ required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
6227
+ type: 'object',
6228
+ properties: {
6229
+ id: {
6230
+ type: 'string',
6231
+ format: 'uuid'
6232
+ },
6233
+ creationTime: {
6234
+ type: 'string',
6235
+ format: 'date-time'
6236
+ },
6237
+ creatorId: {
6238
+ type: 'string',
6239
+ format: 'uuid',
6240
+ nullable: true
6241
+ },
6242
+ lastModificationTime: {
6243
+ type: 'string',
6244
+ format: 'date-time',
6245
+ nullable: true
6246
+ },
6247
+ lastModifierId: {
6248
+ type: 'string',
6249
+ format: 'uuid',
6250
+ nullable: true
6251
+ },
6252
+ isDeleted: {
6253
+ type: 'boolean'
6254
+ },
6255
+ deleterId: {
6256
+ type: 'string',
6257
+ format: 'uuid',
6258
+ nullable: true
6259
+ },
6260
+ deletionTime: {
6261
+ type: 'string',
6262
+ format: 'date-time',
6263
+ nullable: true
6264
+ },
6265
+ type: {
6266
+ enum: ['Home', 'Office'],
6267
+ type: 'string'
6268
+ },
6269
+ addressLine: {
6270
+ maxLength: 255,
6271
+ minLength: 0,
6272
+ type: 'string'
6273
+ },
6274
+ postalCode: {
6275
+ maxLength: 255,
6276
+ minLength: 0,
6277
+ type: 'string'
6278
+ },
6279
+ fullAddress: {
6280
+ maxLength: 255,
6281
+ minLength: 0,
6282
+ type: 'string'
6283
+ },
6284
+ primaryFlag: {
6285
+ type: 'boolean'
6286
+ },
6287
+ countryId: {
6288
+ type: 'string',
6289
+ format: 'uuid'
6290
+ },
6291
+ regionId: {
6292
+ type: 'string',
6293
+ format: 'uuid',
6294
+ nullable: true
6295
+ },
6296
+ cityId: {
6297
+ type: 'string',
6298
+ format: 'uuid'
6299
+ },
6300
+ districtId: {
6301
+ type: 'string',
6302
+ format: 'uuid'
6303
+ },
6304
+ neighborhoodId: {
6305
+ type: 'string',
6306
+ format: 'uuid',
6307
+ nullable: true
6308
+ }
6309
+ },
6310
+ additionalProperties: false
4915
6311
  },
4916
6312
  invoiceChannel: {
4917
6313
  enum: ['ElectronicInvoice', 'Email', 'PaperInvoice'],
@@ -4942,61 +6338,6 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
4942
6338
  contractHeaderId: {
4943
6339
  type: 'string',
4944
6340
  format: 'uuid'
4945
- },
4946
- contractStores: {
4947
- type: 'array',
4948
- items: {
4949
- required: ['id', 'merchantId', 'receiptType'],
4950
- type: 'object',
4951
- properties: {
4952
- id: {
4953
- type: 'string',
4954
- format: 'uuid'
4955
- },
4956
- creationTime: {
4957
- type: 'string',
4958
- format: 'date-time'
4959
- },
4960
- creatorId: {
4961
- type: 'string',
4962
- format: 'uuid',
4963
- nullable: true
4964
- },
4965
- lastModificationTime: {
4966
- type: 'string',
4967
- format: 'date-time',
4968
- nullable: true
4969
- },
4970
- lastModifierId: {
4971
- type: 'string',
4972
- format: 'uuid',
4973
- nullable: true
4974
- },
4975
- isDeleted: {
4976
- type: 'boolean'
4977
- },
4978
- deleterId: {
4979
- type: 'string',
4980
- format: 'uuid',
4981
- nullable: true
4982
- },
4983
- deletionTime: {
4984
- type: 'string',
4985
- format: 'date-time',
4986
- nullable: true
4987
- },
4988
- merchantId: {
4989
- type: 'string',
4990
- format: 'uuid'
4991
- },
4992
- receiptType: {
4993
- enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
4994
- type: 'string'
4995
- }
4996
- },
4997
- additionalProperties: false
4998
- },
4999
- nullable: true
5000
6341
  }
5001
6342
  },
5002
6343
  additionalProperties: false
@@ -5011,13 +6352,13 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
5011
6352
  additionalProperties: false
5012
6353
  } as const;
5013
6354
 
5014
- export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_Contracts_ContractStores_ContractStoreDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
6355
+ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDto__UniRefund_ContractService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null__ = {
5015
6356
  type: 'object',
5016
6357
  properties: {
5017
6358
  items: {
5018
6359
  type: 'array',
5019
6360
  items: {
5020
- required: ['id', 'merchantId', 'receiptType'],
6361
+ required: ['contractTypeIdentifiersSubId', 'id', 'receiptType'],
5021
6362
  type: 'object',
5022
6363
  properties: {
5023
6364
  id: {
@@ -5056,7 +6397,7 @@ export const $Volo_Abp_Application_Dtos_PagedResultDto_1__UniRefund_ContractServ
5056
6397
  format: 'date-time',
5057
6398
  nullable: true
5058
6399
  },
5059
- merchantId: {
6400
+ contractTypeIdentifiersSubId: {
5060
6401
  type: 'string',
5061
6402
  format: 'uuid'
5062
6403
  },