@ayasofyazilim/saas 0.0.58 → 0.0.60
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/ContractService/schemas.gen.ts +293 -95
- package/ContractService/services.gen.ts +49 -93
- package/ContractService/types.gen.ts +106 -172
- package/ExportValidationService/schemas.gen.ts +149 -49
- package/ExportValidationService/services.gen.ts +1 -1
- package/ExportValidationService/types.gen.ts +40 -16
- package/generator.mjs +1 -1
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ export const $PagedResultDto_ContractHeaderDetailForMerchantDto = {
|
|
|
6
6
|
items: {
|
|
7
7
|
type: 'array',
|
|
8
8
|
items: {
|
|
9
|
-
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name'],
|
|
9
|
+
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name', 'validFrom', 'validTo'],
|
|
10
10
|
type: 'object',
|
|
11
11
|
properties: {
|
|
12
12
|
id: {
|
|
@@ -120,6 +120,14 @@ export const $PagedResultDto_ContractHeaderDetailForMerchantDto = {
|
|
|
120
120
|
isDraft: {
|
|
121
121
|
type: 'boolean'
|
|
122
122
|
},
|
|
123
|
+
validFrom: {
|
|
124
|
+
type: 'string',
|
|
125
|
+
format: 'date-time'
|
|
126
|
+
},
|
|
127
|
+
validTo: {
|
|
128
|
+
type: 'string',
|
|
129
|
+
format: 'date-time'
|
|
130
|
+
},
|
|
123
131
|
contractType: {
|
|
124
132
|
enum: ['Merchant', 'RefundPoint'],
|
|
125
133
|
type: 'string'
|
|
@@ -413,7 +421,7 @@ export const $PagedResultDto_ContractHeaderForMerchantDto = {
|
|
|
413
421
|
items: {
|
|
414
422
|
type: 'array',
|
|
415
423
|
items: {
|
|
416
|
-
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'name'],
|
|
424
|
+
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'validFrom', 'validTo'],
|
|
417
425
|
type: 'object',
|
|
418
426
|
properties: {
|
|
419
427
|
id: {
|
|
@@ -471,6 +479,14 @@ export const $PagedResultDto_ContractHeaderForMerchantDto = {
|
|
|
471
479
|
enum: ['Merchant', 'RefundPoint'],
|
|
472
480
|
type: 'string'
|
|
473
481
|
},
|
|
482
|
+
validFrom: {
|
|
483
|
+
type: 'string',
|
|
484
|
+
format: 'date-time'
|
|
485
|
+
},
|
|
486
|
+
validTo: {
|
|
487
|
+
type: 'string',
|
|
488
|
+
format: 'date-time'
|
|
489
|
+
},
|
|
474
490
|
addressCommonData: {
|
|
475
491
|
required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
|
|
476
492
|
type: 'object',
|
|
@@ -920,7 +936,7 @@ export const $PagedResultDto_ContractSettingDto = {
|
|
|
920
936
|
type: 'boolean'
|
|
921
937
|
},
|
|
922
938
|
receiptType: {
|
|
923
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
939
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
924
940
|
type: 'string'
|
|
925
941
|
},
|
|
926
942
|
crossTaxFreeForm: {
|
|
@@ -955,57 +971,52 @@ export const $PagedResultDto_ContractSettingDto = {
|
|
|
955
971
|
additionalProperties: false
|
|
956
972
|
} as const;
|
|
957
973
|
|
|
958
|
-
export const $
|
|
974
|
+
export const $PagedResultDto_ContractStoreDetailedDto = {
|
|
959
975
|
type: 'object',
|
|
960
976
|
properties: {
|
|
961
977
|
items: {
|
|
962
978
|
type: 'array',
|
|
963
979
|
items: {
|
|
964
|
-
required: ['contractTypeIdentifiersSubId', '
|
|
980
|
+
required: ['contractTypeIdentifiersSubId', 'receiptType'],
|
|
965
981
|
type: 'object',
|
|
966
982
|
properties: {
|
|
967
|
-
|
|
983
|
+
contractTypeIdentifiersSubId: {
|
|
968
984
|
type: 'string',
|
|
969
985
|
format: 'uuid'
|
|
970
986
|
},
|
|
971
|
-
|
|
972
|
-
type: 'string',
|
|
973
|
-
format: 'date-time'
|
|
974
|
-
},
|
|
975
|
-
creatorId: {
|
|
976
|
-
type: 'string',
|
|
977
|
-
format: 'uuid',
|
|
978
|
-
nullable: true
|
|
979
|
-
},
|
|
980
|
-
lastModificationTime: {
|
|
981
|
-
type: 'string',
|
|
982
|
-
format: 'date-time',
|
|
983
|
-
nullable: true
|
|
984
|
-
},
|
|
985
|
-
lastModifierId: {
|
|
987
|
+
name: {
|
|
986
988
|
type: 'string',
|
|
987
|
-
format: 'uuid',
|
|
988
989
|
nullable: true
|
|
989
990
|
},
|
|
990
|
-
|
|
991
|
-
type: 'boolean'
|
|
992
|
-
},
|
|
993
|
-
deleterId: {
|
|
991
|
+
fullAddress: {
|
|
994
992
|
type: 'string',
|
|
995
|
-
format: 'uuid',
|
|
996
993
|
nullable: true
|
|
997
994
|
},
|
|
998
|
-
|
|
995
|
+
manager: {
|
|
999
996
|
type: 'string',
|
|
1000
|
-
format: 'date-time',
|
|
1001
997
|
nullable: true
|
|
1002
998
|
},
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
999
|
+
contractSetting: {
|
|
1000
|
+
required: ['id', 'name'],
|
|
1001
|
+
type: 'object',
|
|
1002
|
+
properties: {
|
|
1003
|
+
id: {
|
|
1004
|
+
type: 'string',
|
|
1005
|
+
format: 'uuid'
|
|
1006
|
+
},
|
|
1007
|
+
name: {
|
|
1008
|
+
maxLength: 255,
|
|
1009
|
+
minLength: 0,
|
|
1010
|
+
type: 'string'
|
|
1011
|
+
},
|
|
1012
|
+
isDefault: {
|
|
1013
|
+
type: 'boolean'
|
|
1014
|
+
}
|
|
1015
|
+
},
|
|
1016
|
+
additionalProperties: false
|
|
1006
1017
|
},
|
|
1007
1018
|
receiptType: {
|
|
1008
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
1019
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
1009
1020
|
type: 'string'
|
|
1010
1021
|
}
|
|
1011
1022
|
},
|
|
@@ -1850,7 +1861,7 @@ export const $UniRefund_CRMService_TaxOffices_TaxOfficeIdNameDto = {
|
|
|
1850
1861
|
additionalProperties: false
|
|
1851
1862
|
} as const;
|
|
1852
1863
|
|
|
1853
|
-
export const $
|
|
1864
|
+
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderCreateAndUpdateDto = {
|
|
1854
1865
|
required: ['refundTableHeaderId'],
|
|
1855
1866
|
type: 'object',
|
|
1856
1867
|
properties: {
|
|
@@ -2052,28 +2063,8 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefun
|
|
|
2052
2063
|
additionalProperties: false
|
|
2053
2064
|
} as const;
|
|
2054
2065
|
|
|
2055
|
-
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaderRefundTableHeaders_ContractHeaderRefundTableHeaderForMerchantUpdateDto = {
|
|
2056
|
-
type: 'object',
|
|
2057
|
-
properties: {
|
|
2058
|
-
extraProperties: {
|
|
2059
|
-
type: 'object',
|
|
2060
|
-
additionalProperties: {},
|
|
2061
|
-
nullable: true,
|
|
2062
|
-
readOnly: true
|
|
2063
|
-
},
|
|
2064
|
-
id: {
|
|
2065
|
-
type: 'string',
|
|
2066
|
-
format: 'uuid'
|
|
2067
|
-
},
|
|
2068
|
-
isDefault: {
|
|
2069
|
-
type: 'boolean'
|
|
2070
|
-
}
|
|
2071
|
-
},
|
|
2072
|
-
additionalProperties: false
|
|
2073
|
-
} as const;
|
|
2074
|
-
|
|
2075
2066
|
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto = {
|
|
2076
|
-
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name'],
|
|
2067
|
+
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'merchantClassification', 'name', 'validFrom', 'validTo'],
|
|
2077
2068
|
type: 'object',
|
|
2078
2069
|
properties: {
|
|
2079
2070
|
id: {
|
|
@@ -2187,6 +2178,14 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2187
2178
|
isDraft: {
|
|
2188
2179
|
type: 'boolean'
|
|
2189
2180
|
},
|
|
2181
|
+
validFrom: {
|
|
2182
|
+
type: 'string',
|
|
2183
|
+
format: 'date-time'
|
|
2184
|
+
},
|
|
2185
|
+
validTo: {
|
|
2186
|
+
type: 'string',
|
|
2187
|
+
format: 'date-time'
|
|
2188
|
+
},
|
|
2190
2189
|
contractType: {
|
|
2191
2190
|
enum: ['Merchant', 'RefundPoint'],
|
|
2192
2191
|
type: 'string'
|
|
@@ -2466,7 +2465,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2466
2465
|
} as const;
|
|
2467
2466
|
|
|
2468
2467
|
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantCreateDto = {
|
|
2469
|
-
required: ['addressCommonDataId', 'merchantClassification'],
|
|
2468
|
+
required: ['addressCommonDataId', 'merchantClassification', 'validFrom', 'validTo'],
|
|
2470
2469
|
type: 'object',
|
|
2471
2470
|
properties: {
|
|
2472
2471
|
extraProperties: {
|
|
@@ -2485,6 +2484,14 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2485
2484
|
enum: ['Excellent', 'Good', 'Satisfactory', 'Low'],
|
|
2486
2485
|
type: 'string'
|
|
2487
2486
|
},
|
|
2487
|
+
validFrom: {
|
|
2488
|
+
type: 'string',
|
|
2489
|
+
format: 'date-time'
|
|
2490
|
+
},
|
|
2491
|
+
validTo: {
|
|
2492
|
+
type: 'string',
|
|
2493
|
+
format: 'date-time'
|
|
2494
|
+
},
|
|
2488
2495
|
addressCommonDataId: {
|
|
2489
2496
|
type: 'string',
|
|
2490
2497
|
format: 'uuid'
|
|
@@ -2518,7 +2525,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2518
2525
|
} as const;
|
|
2519
2526
|
|
|
2520
2527
|
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto = {
|
|
2521
|
-
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'name'],
|
|
2528
|
+
required: ['addressCommonData', 'contractHeaderRefundTableHeaders', 'contractType', 'contractTypeIdentifier', 'id', 'name', 'validFrom', 'validTo'],
|
|
2522
2529
|
type: 'object',
|
|
2523
2530
|
properties: {
|
|
2524
2531
|
id: {
|
|
@@ -2576,6 +2583,14 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2576
2583
|
enum: ['Merchant', 'RefundPoint'],
|
|
2577
2584
|
type: 'string'
|
|
2578
2585
|
},
|
|
2586
|
+
validFrom: {
|
|
2587
|
+
type: 'string',
|
|
2588
|
+
format: 'date-time'
|
|
2589
|
+
},
|
|
2590
|
+
validTo: {
|
|
2591
|
+
type: 'string',
|
|
2592
|
+
format: 'date-time'
|
|
2593
|
+
},
|
|
2579
2594
|
addressCommonData: {
|
|
2580
2595
|
required: ['addressLine', 'cityId', 'countryId', 'districtId', 'fullAddress', 'id', 'postalCode', 'type'],
|
|
2581
2596
|
type: 'object',
|
|
@@ -2851,7 +2866,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2851
2866
|
} as const;
|
|
2852
2867
|
|
|
2853
2868
|
export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantUpdateDto = {
|
|
2854
|
-
required: ['addressCommonDataId', 'merchantClassification', 'status'],
|
|
2869
|
+
required: ['addressCommonDataId', 'merchantClassification', 'status', 'validFrom', 'validTo'],
|
|
2855
2870
|
type: 'object',
|
|
2856
2871
|
properties: {
|
|
2857
2872
|
extraProperties: {
|
|
@@ -2874,13 +2889,22 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2874
2889
|
enum: ['None', 'Registered', 'DeRegistrationRequestedByUniRefund', 'DeRegistrationDataRequestedByAuthorities', 'SuspendedInternallyAfterDeRegistrationDecline', 'DeRegisteredAtAuthorities', 'SuspendedInternallyOnly', 'SuspensionRequestedByUniRefund', 'SuspensionRequestedByAuthorities', 'UnSuspensionRequestedByUniRefund', 'UnSuspensionRequestedByAuthorities', 'SuspendedAtAuthorities', 'UnSuspensionForFurtherDeRegistrationInvitedByAuthorities', 'UnSuspensionForFurtherDeRegistrationRequestedByUniRefund', 'Terminated'],
|
|
2875
2890
|
type: 'string'
|
|
2876
2891
|
},
|
|
2892
|
+
validFrom: {
|
|
2893
|
+
type: 'string',
|
|
2894
|
+
format: 'date-time'
|
|
2895
|
+
},
|
|
2896
|
+
validTo: {
|
|
2897
|
+
type: 'string',
|
|
2898
|
+
format: 'date-time'
|
|
2899
|
+
},
|
|
2877
2900
|
addressCommonDataId: {
|
|
2878
2901
|
type: 'string',
|
|
2879
2902
|
format: 'uuid'
|
|
2880
2903
|
},
|
|
2881
|
-
|
|
2904
|
+
refundTableHeaders: {
|
|
2882
2905
|
type: 'array',
|
|
2883
2906
|
items: {
|
|
2907
|
+
required: ['refundTableHeaderId'],
|
|
2884
2908
|
type: 'object',
|
|
2885
2909
|
properties: {
|
|
2886
2910
|
extraProperties: {
|
|
@@ -2889,7 +2913,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractHeaders_Con
|
|
|
2889
2913
|
nullable: true,
|
|
2890
2914
|
readOnly: true
|
|
2891
2915
|
},
|
|
2892
|
-
|
|
2916
|
+
refundTableHeaderId: {
|
|
2893
2917
|
type: 'string',
|
|
2894
2918
|
format: 'uuid'
|
|
2895
2919
|
},
|
|
@@ -2953,7 +2977,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_Co
|
|
|
2953
2977
|
type: 'boolean'
|
|
2954
2978
|
},
|
|
2955
2979
|
receiptType: {
|
|
2956
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
2980
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
2957
2981
|
type: 'string'
|
|
2958
2982
|
},
|
|
2959
2983
|
crossTaxFreeForm: {
|
|
@@ -3136,7 +3160,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_Co
|
|
|
3136
3160
|
type: 'boolean'
|
|
3137
3161
|
},
|
|
3138
3162
|
receiptType: {
|
|
3139
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3163
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3140
3164
|
type: 'string'
|
|
3141
3165
|
},
|
|
3142
3166
|
crossTaxFreeForm: {
|
|
@@ -3162,6 +3186,26 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_Co
|
|
|
3162
3186
|
additionalProperties: false
|
|
3163
3187
|
} as const;
|
|
3164
3188
|
|
|
3189
|
+
export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingRestrictedDto = {
|
|
3190
|
+
required: ['id', 'name'],
|
|
3191
|
+
type: 'object',
|
|
3192
|
+
properties: {
|
|
3193
|
+
id: {
|
|
3194
|
+
type: 'string',
|
|
3195
|
+
format: 'uuid'
|
|
3196
|
+
},
|
|
3197
|
+
name: {
|
|
3198
|
+
maxLength: 255,
|
|
3199
|
+
minLength: 0,
|
|
3200
|
+
type: 'string'
|
|
3201
|
+
},
|
|
3202
|
+
isDefault: {
|
|
3203
|
+
type: 'boolean'
|
|
3204
|
+
}
|
|
3205
|
+
},
|
|
3206
|
+
additionalProperties: false
|
|
3207
|
+
} as const;
|
|
3208
|
+
|
|
3165
3209
|
export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingUpdateDto = {
|
|
3166
3210
|
required: ['invoiceChannel', 'invoicingAddressCommonDataId', 'invoicingFrequency', 'name', 'receiptType', 'referenceNumber', 'termOfPayment'],
|
|
3167
3211
|
type: 'object',
|
|
@@ -3210,7 +3254,7 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_Co
|
|
|
3210
3254
|
type: 'boolean'
|
|
3211
3255
|
},
|
|
3212
3256
|
receiptType: {
|
|
3213
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3257
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3214
3258
|
type: 'string'
|
|
3215
3259
|
},
|
|
3216
3260
|
crossTaxFreeForm: {
|
|
@@ -3232,8 +3276,8 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractSettings_Co
|
|
|
3232
3276
|
additionalProperties: false
|
|
3233
3277
|
} as const;
|
|
3234
3278
|
|
|
3235
|
-
export const $
|
|
3236
|
-
required: ['contractTypeIdentifiersSubId', 'receiptType'],
|
|
3279
|
+
export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreCreateAndUpdateDto = {
|
|
3280
|
+
required: ['contractSettingId', 'contractTypeIdentifiersSubId', 'receiptType'],
|
|
3237
3281
|
type: 'object',
|
|
3238
3282
|
properties: {
|
|
3239
3283
|
extraProperties: {
|
|
@@ -3247,7 +3291,58 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_Cont
|
|
|
3247
3291
|
format: 'uuid'
|
|
3248
3292
|
},
|
|
3249
3293
|
receiptType: {
|
|
3250
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3294
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3295
|
+
type: 'string'
|
|
3296
|
+
},
|
|
3297
|
+
contractSettingId: {
|
|
3298
|
+
type: 'string',
|
|
3299
|
+
format: 'uuid'
|
|
3300
|
+
}
|
|
3301
|
+
},
|
|
3302
|
+
additionalProperties: false
|
|
3303
|
+
} as const;
|
|
3304
|
+
|
|
3305
|
+
export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDetailedDto = {
|
|
3306
|
+
required: ['contractTypeIdentifiersSubId', 'receiptType'],
|
|
3307
|
+
type: 'object',
|
|
3308
|
+
properties: {
|
|
3309
|
+
contractTypeIdentifiersSubId: {
|
|
3310
|
+
type: 'string',
|
|
3311
|
+
format: 'uuid'
|
|
3312
|
+
},
|
|
3313
|
+
name: {
|
|
3314
|
+
type: 'string',
|
|
3315
|
+
nullable: true
|
|
3316
|
+
},
|
|
3317
|
+
fullAddress: {
|
|
3318
|
+
type: 'string',
|
|
3319
|
+
nullable: true
|
|
3320
|
+
},
|
|
3321
|
+
manager: {
|
|
3322
|
+
type: 'string',
|
|
3323
|
+
nullable: true
|
|
3324
|
+
},
|
|
3325
|
+
contractSetting: {
|
|
3326
|
+
required: ['id', 'name'],
|
|
3327
|
+
type: 'object',
|
|
3328
|
+
properties: {
|
|
3329
|
+
id: {
|
|
3330
|
+
type: 'string',
|
|
3331
|
+
format: 'uuid'
|
|
3332
|
+
},
|
|
3333
|
+
name: {
|
|
3334
|
+
maxLength: 255,
|
|
3335
|
+
minLength: 0,
|
|
3336
|
+
type: 'string'
|
|
3337
|
+
},
|
|
3338
|
+
isDefault: {
|
|
3339
|
+
type: 'boolean'
|
|
3340
|
+
}
|
|
3341
|
+
},
|
|
3342
|
+
additionalProperties: false
|
|
3343
|
+
},
|
|
3344
|
+
receiptType: {
|
|
3345
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3251
3346
|
type: 'string'
|
|
3252
3347
|
}
|
|
3253
3348
|
},
|
|
@@ -3298,34 +3393,27 @@ export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_Cont
|
|
|
3298
3393
|
type: 'string',
|
|
3299
3394
|
format: 'uuid'
|
|
3300
3395
|
},
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
type: 'string'
|
|
3304
|
-
}
|
|
3305
|
-
},
|
|
3306
|
-
additionalProperties: false
|
|
3307
|
-
} as const;
|
|
3308
|
-
|
|
3309
|
-
export const $UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreUpdateDto = {
|
|
3310
|
-
required: ['contractSettingId', 'contractTypeIdentifiersSubId', 'receiptType'],
|
|
3311
|
-
type: 'object',
|
|
3312
|
-
properties: {
|
|
3313
|
-
extraProperties: {
|
|
3396
|
+
contractSetting: {
|
|
3397
|
+
required: ['id', 'name'],
|
|
3314
3398
|
type: 'object',
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3399
|
+
properties: {
|
|
3400
|
+
id: {
|
|
3401
|
+
type: 'string',
|
|
3402
|
+
format: 'uuid'
|
|
3403
|
+
},
|
|
3404
|
+
name: {
|
|
3405
|
+
maxLength: 255,
|
|
3406
|
+
minLength: 0,
|
|
3407
|
+
type: 'string'
|
|
3408
|
+
},
|
|
3409
|
+
isDefault: {
|
|
3410
|
+
type: 'boolean'
|
|
3411
|
+
}
|
|
3412
|
+
},
|
|
3413
|
+
additionalProperties: false
|
|
3326
3414
|
},
|
|
3327
3415
|
receiptType: {
|
|
3328
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3416
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3329
3417
|
type: 'string'
|
|
3330
3418
|
}
|
|
3331
3419
|
},
|
|
@@ -3373,7 +3461,7 @@ export const $UniRefund_ContractService_Enums_RebateStatementPeriod = {
|
|
|
3373
3461
|
} as const;
|
|
3374
3462
|
|
|
3375
3463
|
export const $UniRefund_ContractService_Enums_ReceiptType = {
|
|
3376
|
-
enum: ['NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3464
|
+
enum: ['None', 'NoBarcodeNumber', 'NoBarcodeText', 'Barcode', 'QRCodeIntegration', 'UniRefundVoucherIntegration'],
|
|
3377
3465
|
type: 'string'
|
|
3378
3466
|
} as const;
|
|
3379
3467
|
|
|
@@ -4612,9 +4700,6 @@ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHe
|
|
|
4612
4700
|
type: 'string',
|
|
4613
4701
|
format: 'date-time'
|
|
4614
4702
|
},
|
|
4615
|
-
isTemplate: {
|
|
4616
|
-
type: 'boolean'
|
|
4617
|
-
},
|
|
4618
4703
|
rebateTableDetails: {
|
|
4619
4704
|
type: 'array',
|
|
4620
4705
|
items: {
|
|
@@ -5049,6 +5134,119 @@ export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHe
|
|
|
5049
5134
|
additionalProperties: false
|
|
5050
5135
|
} as const;
|
|
5051
5136
|
|
|
5137
|
+
export const $UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeadersToContractHeaderCreateDto = {
|
|
5138
|
+
type: 'object',
|
|
5139
|
+
properties: {
|
|
5140
|
+
extraProperties: {
|
|
5141
|
+
type: 'object',
|
|
5142
|
+
additionalProperties: {},
|
|
5143
|
+
nullable: true,
|
|
5144
|
+
readOnly: true
|
|
5145
|
+
},
|
|
5146
|
+
rebateTableHeaders: {
|
|
5147
|
+
type: 'array',
|
|
5148
|
+
items: {
|
|
5149
|
+
required: ['name', 'validFrom', 'validTo'],
|
|
5150
|
+
type: 'object',
|
|
5151
|
+
properties: {
|
|
5152
|
+
extraProperties: {
|
|
5153
|
+
type: 'object',
|
|
5154
|
+
additionalProperties: {},
|
|
5155
|
+
nullable: true,
|
|
5156
|
+
readOnly: true
|
|
5157
|
+
},
|
|
5158
|
+
name: {
|
|
5159
|
+
maxLength: 255,
|
|
5160
|
+
minLength: 0,
|
|
5161
|
+
type: 'string'
|
|
5162
|
+
},
|
|
5163
|
+
calculateNetCommissionInsteadOfRefund: {
|
|
5164
|
+
type: 'boolean'
|
|
5165
|
+
},
|
|
5166
|
+
validFrom: {
|
|
5167
|
+
type: 'string',
|
|
5168
|
+
format: 'date-time'
|
|
5169
|
+
},
|
|
5170
|
+
validTo: {
|
|
5171
|
+
type: 'string',
|
|
5172
|
+
format: 'date-time'
|
|
5173
|
+
},
|
|
5174
|
+
rebateTableDetails: {
|
|
5175
|
+
type: 'array',
|
|
5176
|
+
items: {
|
|
5177
|
+
required: ['fixedFeeValue', 'percentFeeValue', 'refundMethod', 'variableFee'],
|
|
5178
|
+
type: 'object',
|
|
5179
|
+
properties: {
|
|
5180
|
+
extraProperties: {
|
|
5181
|
+
type: 'object',
|
|
5182
|
+
additionalProperties: {},
|
|
5183
|
+
nullable: true,
|
|
5184
|
+
readOnly: true
|
|
5185
|
+
},
|
|
5186
|
+
fixedFeeValue: {
|
|
5187
|
+
type: 'number',
|
|
5188
|
+
format: 'double'
|
|
5189
|
+
},
|
|
5190
|
+
percentFeeValue: {
|
|
5191
|
+
type: 'number',
|
|
5192
|
+
format: 'double'
|
|
5193
|
+
},
|
|
5194
|
+
refundMethod: {
|
|
5195
|
+
enum: ['All', 'Cash', 'CreditCard', 'Alipay', 'WeChat', 'CashViaPartner', 'RefundLater'],
|
|
5196
|
+
type: 'string'
|
|
5197
|
+
},
|
|
5198
|
+
variableFee: {
|
|
5199
|
+
enum: ['PercentOfGC', 'PercentOfGcWithoutVAT', 'PercentOfVAT', 'PercentOfSIS'],
|
|
5200
|
+
type: 'string'
|
|
5201
|
+
}
|
|
5202
|
+
},
|
|
5203
|
+
additionalProperties: false
|
|
5204
|
+
},
|
|
5205
|
+
nullable: true
|
|
5206
|
+
},
|
|
5207
|
+
processingFeeDetails: {
|
|
5208
|
+
type: 'array',
|
|
5209
|
+
items: {
|
|
5210
|
+
required: ['amount', 'name'],
|
|
5211
|
+
type: 'object',
|
|
5212
|
+
properties: {
|
|
5213
|
+
extraProperties: {
|
|
5214
|
+
type: 'object',
|
|
5215
|
+
additionalProperties: {},
|
|
5216
|
+
nullable: true,
|
|
5217
|
+
readOnly: true
|
|
5218
|
+
},
|
|
5219
|
+
name: {
|
|
5220
|
+
maxLength: 255,
|
|
5221
|
+
minLength: 0,
|
|
5222
|
+
type: 'string'
|
|
5223
|
+
},
|
|
5224
|
+
amount: {
|
|
5225
|
+
type: 'number',
|
|
5226
|
+
format: 'double'
|
|
5227
|
+
}
|
|
5228
|
+
},
|
|
5229
|
+
additionalProperties: false
|
|
5230
|
+
},
|
|
5231
|
+
nullable: true
|
|
5232
|
+
}
|
|
5233
|
+
},
|
|
5234
|
+
additionalProperties: false
|
|
5235
|
+
},
|
|
5236
|
+
nullable: true
|
|
5237
|
+
},
|
|
5238
|
+
rebateTableHeaderIds: {
|
|
5239
|
+
type: 'array',
|
|
5240
|
+
items: {
|
|
5241
|
+
type: 'string',
|
|
5242
|
+
format: 'uuid'
|
|
5243
|
+
},
|
|
5244
|
+
nullable: true
|
|
5245
|
+
}
|
|
5246
|
+
},
|
|
5247
|
+
additionalProperties: false
|
|
5248
|
+
} as const;
|
|
5249
|
+
|
|
5052
5250
|
export const $UniRefund_ContractService_Refunds_RefundFeeDetails_RefundFeeDetailCreateDto = {
|
|
5053
5251
|
required: ['amountFrom', 'amountTo', 'feeType', 'fixedFeeValue', 'maxFee', 'minFee', 'percentFeeValue', 'refundMethod'],
|
|
5054
5252
|
type: 'object',
|