@munchi_oy/core 1.4.3 → 1.4.5

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.
@@ -4227,6 +4227,97 @@ export interface ExternalBusinessConfigResponseDto {
4227
4227
  */
4228
4228
  'config': ExternalBusinessConfigDto;
4229
4229
  }
4230
+ /**
4231
+ *
4232
+ * @export
4233
+ * @interface FeeAmountDto
4234
+ */
4235
+ export interface FeeAmountDto {
4236
+ /**
4237
+ * Amount in cents
4238
+ * @type {number}
4239
+ * @memberof FeeAmountDto
4240
+ */
4241
+ 'amount': number;
4242
+ /**
4243
+ *
4244
+ * @type {CurrencyCode}
4245
+ * @memberof FeeAmountDto
4246
+ */
4247
+ 'currency': CurrencyCode;
4248
+ }
4249
+ /**
4250
+ *
4251
+ * @export
4252
+ * @interface FeePartDto
4253
+ */
4254
+ export interface FeePartDto {
4255
+ /**
4256
+ *
4257
+ * @type {FeePartDtoTotal}
4258
+ * @memberof FeePartDto
4259
+ */
4260
+ 'total': FeePartDtoTotal;
4261
+ /**
4262
+ *
4263
+ * @type {FeeType}
4264
+ * @memberof FeePartDto
4265
+ */
4266
+ 'type': FeeType;
4267
+ /**
4268
+ * VAT percentage
4269
+ * @type {number}
4270
+ * @memberof FeePartDto
4271
+ */
4272
+ 'vatPercentage': number;
4273
+ /**
4274
+ * Tax amount in cents
4275
+ * @type {number}
4276
+ * @memberof FeePartDto
4277
+ */
4278
+ 'taxAmount': number;
4279
+ }
4280
+ /**
4281
+ * Total fee amount including tax
4282
+ * @export
4283
+ * @interface FeePartDtoTotal
4284
+ */
4285
+ export interface FeePartDtoTotal {
4286
+ /**
4287
+ * Amount in cents
4288
+ * @type {number}
4289
+ * @memberof FeePartDtoTotal
4290
+ */
4291
+ 'amount': number;
4292
+ /**
4293
+ *
4294
+ * @type {CurrencyCode}
4295
+ * @memberof FeePartDtoTotal
4296
+ */
4297
+ 'currency': CurrencyCode;
4298
+ }
4299
+ /**
4300
+ *
4301
+ * @export
4302
+ * @enum {string}
4303
+ */
4304
+ export declare const FeeType: {
4305
+ readonly TipAmount: "TIP_AMOUNT";
4306
+ };
4307
+ export type FeeType = typeof FeeType[keyof typeof FeeType];
4308
+ /**
4309
+ *
4310
+ * @export
4311
+ * @interface FeesDto
4312
+ */
4313
+ export interface FeesDto {
4314
+ /**
4315
+ * Fee breakdown parts
4316
+ * @type {Array<FeePartDto>}
4317
+ * @memberof FeesDto
4318
+ */
4319
+ 'parts': Array<FeePartDto>;
4320
+ }
4230
4321
  /**
4231
4322
  *
4232
4323
  * @export
@@ -9110,6 +9201,12 @@ export interface PaymentStatusDtoTransaction {
9110
9201
  * @memberof PaymentStatusDtoTransaction
9111
9202
  */
9112
9203
  'label': string | null;
9204
+ /**
9205
+ *
9206
+ * @type {TransactionDtoFees}
9207
+ * @memberof PaymentStatusDtoTransaction
9208
+ */
9209
+ 'fees'?: TransactionDtoFees | null;
9113
9210
  }
9114
9211
  /**
9115
9212
  *
@@ -10055,6 +10152,12 @@ export interface PosOrderDto {
10055
10152
  * @memberof PosOrderDto
10056
10153
  */
10057
10154
  'lastPaymentError'?: object;
10155
+ /**
10156
+ *
10157
+ * @type {PosOrderDtoFees}
10158
+ * @memberof PosOrderDto
10159
+ */
10160
+ 'fees'?: PosOrderDtoFees | null;
10058
10161
  }
10059
10162
  /**
10060
10163
  * Equal split state persisted for the order
@@ -10075,6 +10178,19 @@ export interface PosOrderDtoEqualSplitState {
10075
10178
  */
10076
10179
  'parts': Array<PosOrderEqualSplitPartDto>;
10077
10180
  }
10181
+ /**
10182
+ * Fees breakdown including tips
10183
+ * @export
10184
+ * @interface PosOrderDtoFees
10185
+ */
10186
+ export interface PosOrderDtoFees {
10187
+ /**
10188
+ * Fee breakdown parts
10189
+ * @type {Array<FeePartDto>}
10190
+ * @memberof PosOrderDtoFees
10191
+ */
10192
+ 'parts': Array<FeePartDto>;
10193
+ }
10078
10194
  /**
10079
10195
  * Invoice company information for this order
10080
10196
  * @export
@@ -10782,6 +10898,12 @@ export interface PosOrderPayloadDtoOrder {
10782
10898
  * @memberof PosOrderPayloadDtoOrder
10783
10899
  */
10784
10900
  'lastPaymentError'?: object;
10901
+ /**
10902
+ *
10903
+ * @type {PosOrderDtoFees}
10904
+ * @memberof PosOrderPayloadDtoOrder
10905
+ */
10906
+ 'fees'?: PosOrderDtoFees | null;
10785
10907
  }
10786
10908
  /**
10787
10909
  *
@@ -11500,6 +11622,12 @@ export interface ProcessOrderActionsResponseDtoOrder {
11500
11622
  * @memberof ProcessOrderActionsResponseDtoOrder
11501
11623
  */
11502
11624
  'lastPaymentError'?: object;
11625
+ /**
11626
+ *
11627
+ * @type {PosOrderDtoFees}
11628
+ * @memberof ProcessOrderActionsResponseDtoOrder
11629
+ */
11630
+ 'fees'?: PosOrderDtoFees | null;
11503
11631
  }
11504
11632
  /**
11505
11633
  *
@@ -14004,6 +14132,12 @@ export interface TransactionDto {
14004
14132
  * @memberof TransactionDto
14005
14133
  */
14006
14134
  'label': string | null;
14135
+ /**
14136
+ *
14137
+ * @type {TransactionDtoFees}
14138
+ * @memberof TransactionDto
14139
+ */
14140
+ 'fees'?: TransactionDtoFees | null;
14007
14141
  }
14008
14142
  /**
14009
14143
  * Details about the cart, optional
@@ -14060,6 +14194,19 @@ export interface TransactionDtoCardDetail {
14060
14194
  */
14061
14195
  'issuer': string | null;
14062
14196
  }
14197
+ /**
14198
+ * Fees for this payment
14199
+ * @export
14200
+ * @interface TransactionDtoFees
14201
+ */
14202
+ export interface TransactionDtoFees {
14203
+ /**
14204
+ * Fee breakdown parts
14205
+ * @type {Array<FeePartDto>}
14206
+ * @memberof TransactionDtoFees
14207
+ */
14208
+ 'parts': Array<FeePartDto>;
14209
+ }
14063
14210
  /**
14064
14211
  *
14065
14212
  * @export