@munchi_oy/core 1.9.45 → 1.9.46

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.
@@ -1568,61 +1568,7 @@ export interface CardPresentDetailsDto {
1568
1568
  */
1569
1569
  export interface CardPresentDetailsDtoWallet {
1570
1570
  /**
1571
- * The ID of the wallet
1572
- * @type {number}
1573
- * @memberof CardPresentDetailsDtoWallet
1574
- */
1575
- 'id': number;
1576
- /**
1577
- * Unique code for the wallet
1578
- * @type {string}
1579
- * @memberof CardPresentDetailsDtoWallet
1580
- */
1581
- 'code': string;
1582
- /**
1583
- * The ID of the user who owns this wallet
1584
- * @type {number}
1585
- * @memberof CardPresentDetailsDtoWallet
1586
- */
1587
- 'user_id': number;
1588
- /**
1589
- * Current balance in the wallet
1590
- * @type {number}
1591
- * @memberof CardPresentDetailsDtoWallet
1592
- */
1593
- 'balance': number;
1594
- /**
1595
- * Whether the wallet is locked
1596
- * @type {boolean}
1597
- * @memberof CardPresentDetailsDtoWallet
1598
- */
1599
- 'locked': boolean;
1600
- /**
1601
- * Reason for locking the wallet, if applicable
1602
- * @type {object}
1603
- * @memberof CardPresentDetailsDtoWallet
1604
- */
1605
- 'locked_reason': object | null;
1606
- /**
1607
- * Timestamp when the wallet was locked, if applicable
1608
- * @type {object}
1609
- * @memberof CardPresentDetailsDtoWallet
1610
- */
1611
- 'locked_at': object | null;
1612
- /**
1613
- * Timestamp when the wallet was created
1614
- * @type {string}
1615
- * @memberof CardPresentDetailsDtoWallet
1616
- */
1617
- 'created_at': string;
1618
- /**
1619
- * Timestamp when the wallet was last updated
1620
- * @type {string}
1621
- * @memberof CardPresentDetailsDtoWallet
1622
- */
1623
- 'updated_at': string;
1624
- /**
1625
- * Type of wallet (e.g., cash, credit_point)
1571
+ * Wallet type
1626
1572
  * @type {string}
1627
1573
  * @memberof CardPresentDetailsDtoWallet
1628
1574
  */
@@ -6172,6 +6118,176 @@ export interface InitiateNetsTerminalPaymentResponseDto {
6172
6118
  */
6173
6119
  'connectCloudRequestId': string;
6174
6120
  }
6121
+ /**
6122
+ *
6123
+ * @export
6124
+ * @interface InitiateVivaA2aSessionDto
6125
+ */
6126
+ export interface InitiateVivaA2aSessionDto {
6127
+ /**
6128
+ * The internal business ID.
6129
+ * @type {number}
6130
+ * @memberof InitiateVivaA2aSessionDto
6131
+ */
6132
+ 'businessId': number;
6133
+ /**
6134
+ * The unique reference for the order or cart.
6135
+ * @type {string}
6136
+ * @memberof InitiateVivaA2aSessionDto
6137
+ */
6138
+ 'referenceId': string;
6139
+ /**
6140
+ * The display reference for the order or cart.
6141
+ * @type {string}
6142
+ * @memberof InitiateVivaA2aSessionDto
6143
+ */
6144
+ 'displayId': string;
6145
+ /**
6146
+ * Amount in the smallest currency unit (e.g., cents).
6147
+ * @type {number}
6148
+ * @memberof InitiateVivaA2aSessionDto
6149
+ */
6150
+ 'amount': number;
6151
+ /**
6152
+ *
6153
+ * @type {CurrencyCode}
6154
+ * @memberof InitiateVivaA2aSessionDto
6155
+ */
6156
+ 'currency': CurrencyCode;
6157
+ /**
6158
+ *
6159
+ * @type {boolean}
6160
+ * @memberof InitiateVivaA2aSessionDto
6161
+ */
6162
+ 'showReceipt'?: boolean;
6163
+ /**
6164
+ *
6165
+ * @type {number}
6166
+ * @memberof InitiateVivaA2aSessionDto
6167
+ */
6168
+ 'tipAmount'?: number;
6169
+ /**
6170
+ *
6171
+ * @type {boolean}
6172
+ * @memberof InitiateVivaA2aSessionDto
6173
+ */
6174
+ 'showTransactionResult'?: boolean;
6175
+ /**
6176
+ *
6177
+ * @type {InitiateVivaSessionDtoSplitContext}
6178
+ * @memberof InitiateVivaA2aSessionDto
6179
+ */
6180
+ 'splitContext'?: InitiateVivaSessionDtoSplitContext;
6181
+ }
6182
+ /**
6183
+ *
6184
+ * @export
6185
+ * @interface InitiateVivaA2aSessionResponseDto
6186
+ */
6187
+ export interface InitiateVivaA2aSessionResponseDto {
6188
+ /**
6189
+ *
6190
+ * @type {string}
6191
+ * @memberof InitiateVivaA2aSessionResponseDto
6192
+ */
6193
+ 'clientTransactionId': string;
6194
+ /**
6195
+ *
6196
+ * @type {number}
6197
+ * @memberof InitiateVivaA2aSessionResponseDto
6198
+ */
6199
+ 'amount': number;
6200
+ /**
6201
+ *
6202
+ * @type {number}
6203
+ * @memberof InitiateVivaA2aSessionResponseDto
6204
+ */
6205
+ 'tipAmount': number;
6206
+ /**
6207
+ *
6208
+ * @type {VivaAppToAppPaymentMethod}
6209
+ * @memberof InitiateVivaA2aSessionResponseDto
6210
+ */
6211
+ 'paymentMethod': VivaAppToAppPaymentMethod;
6212
+ /**
6213
+ *
6214
+ * @type {number}
6215
+ * @memberof InitiateVivaA2aSessionResponseDto
6216
+ */
6217
+ 'sourceCode': number;
6218
+ /**
6219
+ *
6220
+ * @type {boolean}
6221
+ * @memberof InitiateVivaA2aSessionResponseDto
6222
+ */
6223
+ 'show_receipt': boolean;
6224
+ /**
6225
+ *
6226
+ * @type {boolean}
6227
+ * @memberof InitiateVivaA2aSessionResponseDto
6228
+ */
6229
+ 'show_transaction_result': boolean;
6230
+ /**
6231
+ *
6232
+ * @type {boolean}
6233
+ * @memberof InitiateVivaA2aSessionResponseDto
6234
+ */
6235
+ 'show_rating': boolean;
6236
+ /**
6237
+ * The ISV amount.
6238
+ * @type {number}
6239
+ * @memberof InitiateVivaA2aSessionResponseDto
6240
+ */
6241
+ 'ISV_amount'?: number;
6242
+ /**
6243
+ * The ISV client ID.
6244
+ * @type {string}
6245
+ * @memberof InitiateVivaA2aSessionResponseDto
6246
+ */
6247
+ 'ISV_clientId'?: string;
6248
+ /**
6249
+ * The ISV client secret. Only include this if the mobile app must send it for the POC.
6250
+ * @type {string}
6251
+ * @memberof InitiateVivaA2aSessionResponseDto
6252
+ */
6253
+ 'ISV_clientSecret'?: string;
6254
+ /**
6255
+ * The ISO numeric currency code required by Viva ISV mode.
6256
+ * @type {number}
6257
+ * @memberof InitiateVivaA2aSessionResponseDto
6258
+ */
6259
+ 'ISV_currencyCode'?: number;
6260
+ /**
6261
+ * The customer transaction description shown in Viva.
6262
+ * @type {string}
6263
+ * @memberof InitiateVivaA2aSessionResponseDto
6264
+ */
6265
+ 'ISV_customerTrns'?: string;
6266
+ /**
6267
+ * The ISV client transaction ID if used separately from the app transaction ID.
6268
+ * @type {string}
6269
+ * @memberof InitiateVivaA2aSessionResponseDto
6270
+ */
6271
+ 'ISV_clientTransactionId'?: string;
6272
+ /**
6273
+ * Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
6274
+ * @type {string}
6275
+ * @memberof InitiateVivaA2aSessionResponseDto
6276
+ */
6277
+ 'merchantReference'?: string;
6278
+ /**
6279
+ * Opaque client token used to poll/sync the session. Never sent to Viva.
6280
+ * @type {string}
6281
+ * @memberof InitiateVivaA2aSessionResponseDto
6282
+ */
6283
+ 'clientToken': string;
6284
+ /**
6285
+ * Internal session ID (equals the Viva app-to-app clientTransactionId).
6286
+ * @type {string}
6287
+ * @memberof InitiateVivaA2aSessionResponseDto
6288
+ */
6289
+ 'sessionId': string;
6290
+ }
6175
6291
  /**
6176
6292
  *
6177
6293
  * @export
@@ -8468,91 +8584,6 @@ export interface LoyaltyTierDto {
8468
8584
  */
8469
8585
  'threshold': number;
8470
8586
  }
8471
- /**
8472
- *
8473
- * @export
8474
- * @interface LoyaltyUserDto
8475
- */
8476
- export interface LoyaltyUserDto {
8477
- /**
8478
- * The ID of the user
8479
- * @type {number}
8480
- * @memberof LoyaltyUserDto
8481
- */
8482
- 'id': number;
8483
- /**
8484
- * The landline phone number of the user
8485
- * @type {object}
8486
- * @memberof LoyaltyUserDto
8487
- */
8488
- 'phone': object | null;
8489
- /**
8490
- * The mobile phone number of the user
8491
- * @type {string}
8492
- * @memberof LoyaltyUserDto
8493
- */
8494
- 'cellphone': string;
8495
- /**
8496
- * The first name of the user
8497
- * @type {string}
8498
- * @memberof LoyaltyUserDto
8499
- */
8500
- 'name': string;
8501
- /**
8502
- * The last name of the user
8503
- * @type {string}
8504
- * @memberof LoyaltyUserDto
8505
- */
8506
- 'lastname': string;
8507
- /**
8508
- * The level of the user
8509
- * @type {number}
8510
- * @memberof LoyaltyUserDto
8511
- */
8512
- 'level': number;
8513
- /**
8514
- * Whether the user account is enabled
8515
- * @type {boolean}
8516
- * @memberof LoyaltyUserDto
8517
- */
8518
- 'enabled': boolean;
8519
- /**
8520
- * The address of the user
8521
- * @type {object}
8522
- * @memberof LoyaltyUserDto
8523
- */
8524
- 'address': object | null;
8525
- /**
8526
- * Loyalty points accumulated by the user
8527
- * @type {number}
8528
- * @memberof LoyaltyUserDto
8529
- */
8530
- 'loyalty_level_points': number;
8531
- /**
8532
- * Country code of the user
8533
- * @type {string}
8534
- * @memberof LoyaltyUserDto
8535
- */
8536
- 'country_code': string;
8537
- /**
8538
- * Number of orders placed by the user
8539
- * @type {number}
8540
- * @memberof LoyaltyUserDto
8541
- */
8542
- 'orders_count': number;
8543
- /**
8544
- * URL to the user\'s profile photo
8545
- * @type {object}
8546
- * @memberof LoyaltyUserDto
8547
- */
8548
- 'photo': object | null;
8549
- /**
8550
- * List of wallets associated with the user
8551
- * @type {Array<WalletDto>}
8552
- * @memberof LoyaltyUserDto
8553
- */
8554
- 'wallets': Array<WalletDto>;
8555
- }
8556
8587
  /**
8557
8588
  *
8558
8589
  * @export
@@ -17077,25 +17108,6 @@ export interface ReverseSessionDto {
17077
17108
  */
17078
17109
  'amount'?: number;
17079
17110
  }
17080
- /**
17081
- *
17082
- * @export
17083
- * @interface RewardPointPayload
17084
- */
17085
- export interface RewardPointPayload {
17086
- /**
17087
- * The amount of credit to add (positive value) or deduct (negative value). Examples: \"+20\" to add 20 points, \"-20\" to deduct 20 points, \"+100\" for large additions, \"-5\" for small deductions.
17088
- * @type {string}
17089
- * @memberof RewardPointPayload
17090
- */
17091
- 'amount': string;
17092
- /**
17093
- * The business ID associated with the reward points
17094
- * @type {number}
17095
- * @memberof RewardPointPayload
17096
- */
17097
- 'businessId': number;
17098
- }
17099
17111
  /**
17100
17112
  *
17101
17113
  * @export
@@ -21008,19 +21020,6 @@ export interface UserInfoResponseDto {
21008
21020
  */
21009
21021
  'orderingAccessToken': string;
21010
21022
  }
21011
- /**
21012
- *
21013
- * @export
21014
- * @interface UserValidation
21015
- */
21016
- export interface UserValidation {
21017
- /**
21018
- *
21019
- * @type {string}
21020
- * @memberof UserValidation
21021
- */
21022
- 'phone': string;
21023
- }
21024
21023
  /**
21025
21024
  *
21026
21025
  * @export
@@ -22583,61 +22582,7 @@ export interface WalletCatalogDto {
22583
22582
  */
22584
22583
  export interface WalletDto {
22585
22584
  /**
22586
- * The ID of the wallet
22587
- * @type {number}
22588
- * @memberof WalletDto
22589
- */
22590
- 'id': number;
22591
- /**
22592
- * Unique code for the wallet
22593
- * @type {string}
22594
- * @memberof WalletDto
22595
- */
22596
- 'code': string;
22597
- /**
22598
- * The ID of the user who owns this wallet
22599
- * @type {number}
22600
- * @memberof WalletDto
22601
- */
22602
- 'user_id': number;
22603
- /**
22604
- * Current balance in the wallet
22605
- * @type {number}
22606
- * @memberof WalletDto
22607
- */
22608
- 'balance': number;
22609
- /**
22610
- * Whether the wallet is locked
22611
- * @type {boolean}
22612
- * @memberof WalletDto
22613
- */
22614
- 'locked': boolean;
22615
- /**
22616
- * Reason for locking the wallet, if applicable
22617
- * @type {object}
22618
- * @memberof WalletDto
22619
- */
22620
- 'locked_reason': object | null;
22621
- /**
22622
- * Timestamp when the wallet was locked, if applicable
22623
- * @type {object}
22624
- * @memberof WalletDto
22625
- */
22626
- 'locked_at': object | null;
22627
- /**
22628
- * Timestamp when the wallet was created
22629
- * @type {string}
22630
- * @memberof WalletDto
22631
- */
22632
- 'created_at': string;
22633
- /**
22634
- * Timestamp when the wallet was last updated
22635
- * @type {string}
22636
- * @memberof WalletDto
22637
- */
22638
- 'updated_at': string;
22639
- /**
22640
- * Type of wallet (e.g., cash, credit_point)
22585
+ * Wallet type
22641
22586
  * @type {string}
22642
22587
  * @memberof WalletDto
22643
22588
  */
@@ -22663,980 +22608,145 @@ export interface WalletItemDto {
22663
22608
  'status': StatusEnum;
22664
22609
  /**
22665
22610
  *
22666
- * @type {object}
22667
- * @memberof WalletItemDto
22668
- */
22669
- 'expires_at': object | null;
22670
- /**
22671
- *
22672
- * @type {WalletCatalogDto}
22673
- * @memberof WalletItemDto
22674
- */
22675
- 'catalog': WalletCatalogDto;
22676
- }
22677
- export declare const StatusEnum: {
22678
- readonly Claimed: "Claimed";
22679
- readonly Redeemed: "Redeemed";
22680
- };
22681
- export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
22682
- /**
22683
- *
22684
- * @export
22685
- * @interface WechatPayDetailsDto
22686
- */
22687
- export interface WechatPayDetailsDto {
22688
- /**
22689
- * Payment location
22690
- * @type {string}
22691
- * @memberof WechatPayDetailsDto
22692
- */
22693
- 'location'?: string | null;
22694
- /**
22695
- * Reader identifier
22696
- * @type {string}
22697
- * @memberof WechatPayDetailsDto
22698
- */
22699
- 'reader'?: string | null;
22700
- /**
22701
- * WeChat Pay transaction ID
22702
- * @type {string}
22703
- * @memberof WechatPayDetailsDto
22704
- */
22705
- 'transactionId'?: string | null;
22706
- }
22707
- /**
22708
- *
22709
- * @export
22710
- * @interface WorldlineAmountsRequestDto
22711
- */
22712
- export interface WorldlineAmountsRequestDto {
22713
- /**
22714
- * ISO 4217 currency symbol
22715
- * @type {string}
22716
- * @memberof WorldlineAmountsRequestDto
22717
- */
22718
- 'currencySymbol': string;
22719
- /**
22720
- * Base amount in the lowest unit of the currency
22721
- * @type {number}
22722
- * @memberof WorldlineAmountsRequestDto
22723
- */
22724
- 'base': number;
22725
- /**
22726
- * Optional tip amount in the lowest unit of the currency
22727
- * @type {number}
22728
- * @memberof WorldlineAmountsRequestDto
22729
- */
22730
- 'tip'?: number;
22731
- }
22732
- /**
22733
- *
22734
- * @export
22735
- * @interface WorldlineAmountsResponseDto
22736
- */
22737
- export interface WorldlineAmountsResponseDto {
22738
- /**
22739
- *
22740
- * @type {WorldlineAmountsResponseDtoCurrency}
22741
- * @memberof WorldlineAmountsResponseDto
22742
- */
22743
- 'currency': WorldlineAmountsResponseDtoCurrency;
22744
- /**
22745
- * Base amount
22746
- * @type {number}
22747
- * @memberof WorldlineAmountsResponseDto
22748
- */
22749
- 'base': number;
22750
- /**
22751
- * Total amount
22752
- * @type {number}
22753
- * @memberof WorldlineAmountsResponseDto
22754
- */
22755
- 'total': number;
22756
- /**
22757
- * Tip amount
22758
- * @type {number}
22759
- * @memberof WorldlineAmountsResponseDto
22760
- */
22761
- 'tip'?: number;
22762
- }
22763
- /**
22764
- * Currency information
22765
- * @export
22766
- * @interface WorldlineAmountsResponseDtoCurrency
22767
- */
22768
- export interface WorldlineAmountsResponseDtoCurrency {
22769
- /**
22770
- * ISO 4217 numeric currency code
22771
- * @type {string}
22772
- * @memberof WorldlineAmountsResponseDtoCurrency
22773
- */
22774
- 'code': string;
22775
- /**
22776
- * ISO 4217 currency symbol
22777
- * @type {string}
22778
- * @memberof WorldlineAmountsResponseDtoCurrency
22779
- */
22780
- 'symbol': string;
22781
- /**
22782
- * Currency exponent
22783
- * @type {number}
22784
- * @memberof WorldlineAmountsResponseDtoCurrency
22785
- */
22786
- 'exponent': number;
22787
- }
22788
- /**
22789
- *
22790
- * @export
22791
- * @interface WorldlineAsyncResponseDto
22792
- */
22793
- export interface WorldlineAsyncResponseDto {
22794
- /**
22795
- * Business operation identifier generated by the POS
22796
- * @type {string}
22797
- * @memberof WorldlineAsyncResponseDto
22798
- */
22799
- 'operationId': string;
22800
- }
22801
- /**
22802
- *
22803
- * @export
22804
- * @enum {string}
22805
- */
22806
- export declare const WorldlineAuthorizationMethod: {
22807
- readonly Online: "Online";
22808
- readonly Offline: "Offline";
22809
- };
22810
- export type WorldlineAuthorizationMethod = typeof WorldlineAuthorizationMethod[keyof typeof WorldlineAuthorizationMethod];
22811
- /**
22812
- *
22813
- * @export
22814
- * @enum {string}
22815
- */
22816
- export declare const WorldlineAuthorizationResponder: {
22817
- readonly Manual: "Manual";
22818
- readonly Unknown: "Unknown";
22819
- readonly Local: "Local";
22820
- readonly Base24: "Base24";
22821
- readonly Issuer: "Issuer";
22822
- readonly Network: "Network";
22823
- readonly Acquirer: "Acquirer";
22824
- readonly Other: "Other";
22825
- };
22826
- export type WorldlineAuthorizationResponder = typeof WorldlineAuthorizationResponder[keyof typeof WorldlineAuthorizationResponder];
22827
- /**
22828
- *
22829
- * @export
22830
- * @interface WorldlineCurrencyDataDto
22831
- */
22832
- export interface WorldlineCurrencyDataDto {
22833
- /**
22834
- * ISO 4217 numeric currency code
22835
- * @type {string}
22836
- * @memberof WorldlineCurrencyDataDto
22837
- */
22838
- 'code': string;
22839
- /**
22840
- * ISO 4217 currency symbol
22841
- * @type {string}
22842
- * @memberof WorldlineCurrencyDataDto
22843
- */
22844
- 'symbol': string;
22845
- /**
22846
- * Currency exponent
22847
- * @type {number}
22848
- * @memberof WorldlineCurrencyDataDto
22849
- */
22850
- 'exponent': number;
22851
- }
22852
- /**
22853
- *
22854
- * @export
22855
- * @interface WorldlineDeviceInformationResponseDto
22856
- */
22857
- export interface WorldlineDeviceInformationResponseDto {
22858
- /**
22859
- *
22860
- * @type {WorldlineDeviceInformationResponseDtoEnabledFeatures}
22861
- * @memberof WorldlineDeviceInformationResponseDto
22862
- */
22863
- 'enabledFeatures'?: WorldlineDeviceInformationResponseDtoEnabledFeatures;
22864
- /**
22865
- *
22866
- * @type {WorldlinePaymentResponseDtoMerchant}
22867
- * @memberof WorldlineDeviceInformationResponseDto
22868
- */
22869
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
22870
- /**
22871
- *
22872
- * @type {WorldlineDeviceInformationResponseDtoOngoingOperation}
22873
- * @memberof WorldlineDeviceInformationResponseDto
22874
- */
22875
- 'ongoingOperation'?: WorldlineDeviceInformationResponseDtoOngoingOperation;
22876
- /**
22877
- *
22878
- * @type {WorldlinePaymentResponseDtoTerminal}
22879
- * @memberof WorldlineDeviceInformationResponseDto
22880
- */
22881
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
22882
- }
22883
- /**
22884
- * Enabled terminal features
22885
- * @export
22886
- * @interface WorldlineDeviceInformationResponseDtoEnabledFeatures
22887
- */
22888
- export interface WorldlineDeviceInformationResponseDtoEnabledFeatures {
22889
- /**
22890
- * Cashier support enabled
22891
- * @type {boolean}
22892
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22893
- */
22894
- 'cashier'?: boolean;
22895
- /**
22896
- * DCC enabled
22897
- * @type {boolean}
22898
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22899
- */
22900
- 'dcc'?: boolean;
22901
- /**
22902
- * Tip enabled
22903
- * @type {boolean}
22904
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
22905
- */
22906
- 'tip'?: boolean;
22907
- }
22908
- /**
22909
- * Ongoing terminal operation
22910
- * @export
22911
- * @interface WorldlineDeviceInformationResponseDtoOngoingOperation
22912
- */
22913
- export interface WorldlineDeviceInformationResponseDtoOngoingOperation {
22914
- /**
22915
- * Current operation identifier
22916
- * @type {string}
22917
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
22918
- */
22919
- 'operationId': string;
22920
- /**
22921
- * Current ongoing operation type
22922
- * @type {string}
22923
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
22924
- */
22925
- 'type': string;
22926
- }
22927
- /**
22928
- *
22929
- * @export
22930
- * @interface WorldlineDialogDto
22931
- */
22932
- export interface WorldlineDialogDto {
22933
- /**
22934
- * Dialog title
22935
- * @type {string}
22936
- * @memberof WorldlineDialogDto
22937
- */
22938
- 'title'?: string;
22939
- /**
22940
- * Dialog text
22941
- * @type {string}
22942
- * @memberof WorldlineDialogDto
22943
- */
22944
- 'text'?: string;
22945
- /**
22946
- * Dialog options
22947
- * @type {object}
22948
- * @memberof WorldlineDialogDto
22949
- */
22950
- 'options'?: object;
22951
- }
22952
- /**
22953
- *
22954
- * @export
22955
- * @interface WorldlineEmbeddedReceiptDto
22956
- */
22957
- export interface WorldlineEmbeddedReceiptDto {
22958
- /**
22959
- * Receipt header
22960
- * @type {string}
22961
- * @memberof WorldlineEmbeddedReceiptDto
22962
- */
22963
- 'header'?: string;
22964
- /**
22965
- * Receipt content
22966
- * @type {string}
22967
- * @memberof WorldlineEmbeddedReceiptDto
22968
- */
22969
- 'content'?: string;
22970
- /**
22971
- * Receipt footer
22972
- * @type {string}
22973
- * @memberof WorldlineEmbeddedReceiptDto
22974
- */
22975
- 'footer'?: string;
22976
- }
22977
- /**
22978
- *
22979
- * @export
22980
- * @interface WorldlineEnabledFeaturesDto
22981
- */
22982
- export interface WorldlineEnabledFeaturesDto {
22983
- /**
22984
- * Cashier support enabled
22985
- * @type {boolean}
22986
- * @memberof WorldlineEnabledFeaturesDto
22987
- */
22988
- 'cashier'?: boolean;
22989
- /**
22990
- * DCC enabled
22991
- * @type {boolean}
22992
- * @memberof WorldlineEnabledFeaturesDto
22993
- */
22994
- 'dcc'?: boolean;
22995
- /**
22996
- * Tip enabled
22997
- * @type {boolean}
22998
- * @memberof WorldlineEnabledFeaturesDto
22999
- */
23000
- 'tip'?: boolean;
23001
- }
23002
- /**
23003
- *
23004
- * @export
23005
- * @enum {string}
23006
- */
23007
- export declare const WorldlineEntryMode: {
23008
- readonly Keyed: "Keyed";
23009
- readonly Magstripe: "Magstripe";
23010
- readonly Chip: "Chip";
23011
- readonly Contactless: "Contactless";
23012
- };
23013
- export type WorldlineEntryMode = typeof WorldlineEntryMode[keyof typeof WorldlineEntryMode];
23014
- /**
23015
- *
23016
- * @export
23017
- * @interface WorldlineErrorResponseDto
23018
- */
23019
- export interface WorldlineErrorResponseDto {
23020
- /**
23021
- * Error description
23022
- * @type {string}
23023
- * @memberof WorldlineErrorResponseDto
23024
- */
23025
- 'description': string;
23026
- /**
23027
- * Validation or processing errors
23028
- * @type {Array<string>}
23029
- * @memberof WorldlineErrorResponseDto
23030
- */
23031
- 'errors'?: Array<string>;
23032
- }
23033
- /**
23034
- *
23035
- * @export
23036
- * @interface WorldlineEventEnvelopeDto
23037
- */
23038
- export interface WorldlineEventEnvelopeDto {
23039
- /**
23040
- * Unique event identifier
23041
- * @type {string}
23042
- * @memberof WorldlineEventEnvelopeDto
23043
- */
23044
- 'id': string;
23045
- /**
23046
- * Timestamp when the event was created
23047
- * @type {string}
23048
- * @memberof WorldlineEventEnvelopeDto
23049
- */
23050
- 'createdAt': string;
23051
- /**
23052
- *
23053
- * @type {WorldlineEventType}
23054
- * @memberof WorldlineEventEnvelopeDto
23055
- */
23056
- 'type': WorldlineEventType;
23057
- /**
23058
- * Business operation identifier
23059
- * @type {string}
23060
- * @memberof WorldlineEventEnvelopeDto
23061
- */
23062
- 'operationId'?: string;
23063
- /**
23064
- *
23065
- * @type {WorldlineEventEnvelopeDtoData}
23066
- * @memberof WorldlineEventEnvelopeDto
23067
- */
23068
- 'data'?: WorldlineEventEnvelopeDtoData;
23069
- }
23070
- /**
23071
- * @type WorldlineEventEnvelopeDtoData
23072
- * Event payload
23073
- * @export
23074
- */
23075
- export type WorldlineEventEnvelopeDtoData = WorldlineDialogDto | WorldlinePaymentResponseDto;
23076
- /**
23077
- *
23078
- * @export
23079
- * @enum {string}
23080
- */
23081
- export declare const WorldlineEventType: {
23082
- readonly PaymentCompleted: "PaymentCompleted";
23083
- readonly RefundCompleted: "RefundCompleted";
23084
- readonly CaptureCompleted: "CaptureCompleted";
23085
- readonly ReversalCompleted: "ReversalCompleted";
23086
- readonly ReadCardCompleted: "ReadCardCompleted";
23087
- readonly PrintCompleted: "PrintCompleted";
23088
- readonly DialogShown: "DialogShown";
23089
- };
23090
- export type WorldlineEventType = typeof WorldlineEventType[keyof typeof WorldlineEventType];
23091
- /**
23092
- *
23093
- * @export
23094
- * @interface WorldlineMerchantDto
23095
- */
23096
- export interface WorldlineMerchantDto {
23097
- /**
23098
- * Merchant identifier
23099
- * @type {string}
23100
- * @memberof WorldlineMerchantDto
23101
- */
23102
- 'id'?: string;
23103
- /**
23104
- * Merchant display name
23105
- * @type {string}
23106
- * @memberof WorldlineMerchantDto
23107
- */
23108
- 'name': string;
23109
- /**
23110
- * Merchant street address
23111
- * @type {string}
23112
- * @memberof WorldlineMerchantDto
23113
- */
23114
- 'address'?: string;
23115
- /**
23116
- * Postal code and city
23117
- * @type {string}
23118
- * @memberof WorldlineMerchantDto
23119
- */
23120
- 'city'?: string;
23121
- /**
23122
- * Organization number
23123
- * @type {string}
23124
- * @memberof WorldlineMerchantDto
23125
- */
23126
- 'organizationNumber'?: string;
23127
- /**
23128
- * Phone number
23129
- * @type {string}
23130
- * @memberof WorldlineMerchantDto
23131
- */
23132
- 'phoneNumber'?: string;
23133
- }
23134
- /**
23135
- *
23136
- * @export
23137
- * @interface WorldlineOngoingOperationDto
23138
- */
23139
- export interface WorldlineOngoingOperationDto {
23140
- /**
23141
- * Current operation identifier
23142
- * @type {string}
23143
- * @memberof WorldlineOngoingOperationDto
23144
- */
23145
- 'operationId': string;
23146
- /**
23147
- * Current ongoing operation type
23148
- * @type {string}
23149
- * @memberof WorldlineOngoingOperationDto
23150
- */
23151
- 'type': string;
23152
- }
23153
- /**
23154
- *
23155
- * @export
23156
- * @enum {string}
23157
- */
23158
- export declare const WorldlineOutcomeDescription: {
23159
- readonly None: "None";
23160
- readonly Aborted: "Aborted";
23161
- readonly UserCancel: "UserCancel";
23162
- readonly UserTimeout: "UserTimeout";
23163
- readonly CommunicationError: "CommunicationError";
23164
- readonly GenericError: "GenericError";
23165
- };
23166
- export type WorldlineOutcomeDescription = typeof WorldlineOutcomeDescription[keyof typeof WorldlineOutcomeDescription];
23167
- /**
23168
- *
23169
- * @export
23170
- * @interface WorldlinePaymentRequestDataDto
23171
- */
23172
- export interface WorldlinePaymentRequestDataDto {
23173
- /**
23174
- * Business operation identifier generated by the POS
23175
- * @type {string}
23176
- * @memberof WorldlinePaymentRequestDataDto
23177
- */
23178
- 'operationId': string;
23179
- /**
23180
- *
23181
- * @type {WorldlinePaymentRequestDataDtoAmounts}
23182
- * @memberof WorldlinePaymentRequestDataDto
23183
- */
23184
- 'amounts': WorldlinePaymentRequestDataDtoAmounts;
23185
- /**
23186
- * Cashier identifier
23187
- * @type {string}
23188
- * @memberof WorldlinePaymentRequestDataDto
23189
- */
23190
- 'cashierId'?: string;
23191
- /**
23192
- * POS custom data
23193
- * @type {object}
23194
- * @memberof WorldlinePaymentRequestDataDto
23195
- */
23196
- 'customData'?: object;
23197
- /**
23198
- * Whether the terminal should print a receipt
23199
- * @type {boolean}
23200
- * @memberof WorldlinePaymentRequestDataDto
23201
- */
23202
- 'printReceipt'?: boolean;
23203
- /**
23204
- * Whether manual PAN entry is allowed
23205
- * @type {boolean}
23206
- * @memberof WorldlinePaymentRequestDataDto
23207
- */
23208
- 'manualEntry'?: boolean;
23209
- /**
23210
- * Receipt width in characters
23211
- * @type {number}
23212
- * @memberof WorldlinePaymentRequestDataDto
23213
- */
23214
- 'receiptWidth'?: number;
23215
- }
23216
- /**
23217
- * Payment amounts
23218
- * @export
23219
- * @interface WorldlinePaymentRequestDataDtoAmounts
23220
- */
23221
- export interface WorldlinePaymentRequestDataDtoAmounts {
23222
- /**
23223
- * ISO 4217 currency symbol
23224
- * @type {string}
23225
- * @memberof WorldlinePaymentRequestDataDtoAmounts
23226
- */
23227
- 'currencySymbol': string;
23228
- /**
23229
- * Base amount in the lowest unit of the currency
23230
- * @type {number}
23231
- * @memberof WorldlinePaymentRequestDataDtoAmounts
23232
- */
23233
- 'base': number;
23234
- /**
23235
- * Optional tip amount in the lowest unit of the currency
23236
- * @type {number}
23237
- * @memberof WorldlinePaymentRequestDataDtoAmounts
23238
- */
23239
- 'tip'?: number;
23240
- }
23241
- /**
23242
- *
23243
- * @export
23244
- * @interface WorldlinePaymentResponseDto
23245
- */
23246
- export interface WorldlinePaymentResponseDto {
23247
- /**
23248
- *
23249
- * @type {WorldlinePaymentResponseDtoAmounts}
23250
- * @memberof WorldlinePaymentResponseDto
23251
- */
23252
- 'amounts'?: WorldlinePaymentResponseDtoAmounts;
23253
- /**
23254
- * Approval code
23255
- * @type {string}
23256
- * @memberof WorldlinePaymentResponseDto
23257
- */
23258
- 'approvalCode'?: string;
23259
- /**
23260
- *
23261
- * @type {WorldlineAuthorizationMethod}
23262
- * @memberof WorldlinePaymentResponseDto
23263
- */
23264
- 'authorizationMethod'?: WorldlineAuthorizationMethod;
23265
- /**
23266
- *
23267
- * @type {WorldlineAuthorizationResponder}
23268
- * @memberof WorldlinePaymentResponseDto
23269
- */
23270
- 'authorizationResponder'?: WorldlineAuthorizationResponder;
23271
- /**
23272
- * Batch number
23273
- * @type {string}
23274
- * @memberof WorldlinePaymentResponseDto
23275
- */
23276
- 'batchNumber'?: string;
23277
- /**
23278
- * Card product name
23279
- * @type {string}
23280
- * @memberof WorldlinePaymentResponseDto
23281
- */
23282
- 'cardProductName'?: string;
23283
- /**
23284
- * Cashier identifier
23285
- * @type {string}
23286
- * @memberof WorldlinePaymentResponseDto
23287
- */
23288
- 'cashierId'?: string;
23289
- /**
23290
- * POS custom data
23291
- * @type {object}
23292
- * @memberof WorldlinePaymentResponseDto
23293
- */
23294
- 'customData'?: object;
23295
- /**
23296
- *
23297
- * @type {WorldlineEntryMode}
23298
- * @memberof WorldlinePaymentResponseDto
23299
- */
23300
- 'entryMode'?: WorldlineEntryMode;
23301
- /**
23302
- * Financial institution
23303
- * @type {string}
23304
- * @memberof WorldlinePaymentResponseDto
23305
- */
23306
- 'financialInstitution'?: string;
23307
- /**
23308
- * Masked PAN
23309
- * @type {string}
23310
- * @memberof WorldlinePaymentResponseDto
23311
- */
23312
- 'maskedPan'?: string;
23313
- /**
23314
- *
23315
- * @type {WorldlinePaymentResponseDtoMerchant}
23316
- * @memberof WorldlinePaymentResponseDto
23317
- */
23318
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
23319
- /**
23320
- *
23321
- * @type {WorldlinePaymentResponseDtoReceipt}
23322
- * @memberof WorldlinePaymentResponseDto
23323
- */
23324
- 'receipt'?: WorldlinePaymentResponseDtoReceipt;
23325
- /**
23326
- * Receipt number
23327
- * @type {string}
23328
- * @memberof WorldlinePaymentResponseDto
23329
- */
23330
- 'receiptNumber'?: string;
23331
- /**
23332
- * Action code
23333
- * @type {string}
23334
- * @memberof WorldlinePaymentResponseDto
23335
- */
23336
- 'actionCode'?: string;
23337
- /**
23338
- *
23339
- * @type {WorldlinePaymentResponseDtoTerminal}
23340
- * @memberof WorldlinePaymentResponseDto
23341
- */
23342
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
23343
- /**
23344
- * Terminal reference number
23345
- * @type {string}
23346
- * @memberof WorldlinePaymentResponseDto
23347
- */
23348
- 'terminalRrn'?: string;
23349
- /**
23350
- * Transaction timestamp
23351
- * @type {string}
23352
- * @memberof WorldlinePaymentResponseDto
23353
- */
23354
- 'timestamp'?: string;
23355
- /**
23356
- * Worldline transaction identifier
23357
- * @type {string}
23358
- * @memberof WorldlinePaymentResponseDto
23359
- */
23360
- 'transactionId'?: string;
23361
- /**
23362
- *
23363
- * @type {WorldlineTransactionOutcome}
23364
- * @memberof WorldlinePaymentResponseDto
23365
- */
23366
- 'transactionOutcome'?: WorldlineTransactionOutcome;
23367
- /**
23368
- *
23369
- * @type {WorldlineOutcomeDescription}
23370
- * @memberof WorldlinePaymentResponseDto
23371
- */
23372
- 'outcomeDescription'?: WorldlineOutcomeDescription;
23373
- /**
23374
- *
23375
- * @type {WorldlineTransactionType}
23376
- * @memberof WorldlinePaymentResponseDto
23377
- */
23378
- 'transactionType'?: WorldlineTransactionType;
23379
- /**
23380
- *
23381
- * @type {WorldlineVerificationMethod}
23382
- * @memberof WorldlinePaymentResponseDto
23383
- */
23384
- 'verificationMethod'?: WorldlineVerificationMethod;
23385
- /**
23386
- * Cardholder language
23387
- * @type {string}
23388
- * @memberof WorldlinePaymentResponseDto
23389
- */
23390
- 'cardholderLanguage'?: string;
23391
- }
23392
- /**
23393
- * Transaction amounts
23394
- * @export
23395
- * @interface WorldlinePaymentResponseDtoAmounts
23396
- */
23397
- export interface WorldlinePaymentResponseDtoAmounts {
23398
- /**
23399
- *
23400
- * @type {WorldlineAmountsResponseDtoCurrency}
23401
- * @memberof WorldlinePaymentResponseDtoAmounts
23402
- */
23403
- 'currency': WorldlineAmountsResponseDtoCurrency;
23404
- /**
23405
- * Base amount
23406
- * @type {number}
23407
- * @memberof WorldlinePaymentResponseDtoAmounts
23408
- */
23409
- 'base': number;
23410
- /**
23411
- * Total amount
23412
- * @type {number}
23413
- * @memberof WorldlinePaymentResponseDtoAmounts
23414
- */
23415
- 'total': number;
23416
- /**
23417
- * Tip amount
23418
- * @type {number}
23419
- * @memberof WorldlinePaymentResponseDtoAmounts
23420
- */
23421
- 'tip'?: number;
23422
- }
23423
- /**
23424
- * Merchant information
23425
- * @export
23426
- * @interface WorldlinePaymentResponseDtoMerchant
23427
- */
23428
- export interface WorldlinePaymentResponseDtoMerchant {
23429
- /**
23430
- * Merchant identifier
23431
- * @type {string}
23432
- * @memberof WorldlinePaymentResponseDtoMerchant
23433
- */
23434
- 'id'?: string;
23435
- /**
23436
- * Merchant display name
23437
- * @type {string}
23438
- * @memberof WorldlinePaymentResponseDtoMerchant
23439
- */
23440
- 'name': string;
23441
- /**
23442
- * Merchant street address
23443
- * @type {string}
23444
- * @memberof WorldlinePaymentResponseDtoMerchant
23445
- */
23446
- 'address'?: string;
23447
- /**
23448
- * Postal code and city
23449
- * @type {string}
23450
- * @memberof WorldlinePaymentResponseDtoMerchant
23451
- */
23452
- 'city'?: string;
23453
- /**
23454
- * Organization number
23455
- * @type {string}
23456
- * @memberof WorldlinePaymentResponseDtoMerchant
23457
- */
23458
- 'organizationNumber'?: string;
23459
- /**
23460
- * Phone number
23461
- * @type {string}
23462
- * @memberof WorldlinePaymentResponseDtoMerchant
23463
- */
23464
- 'phoneNumber'?: string;
23465
- }
23466
- /**
23467
- * Receipt data
23468
- * @export
23469
- * @interface WorldlinePaymentResponseDtoReceipt
23470
- */
23471
- export interface WorldlinePaymentResponseDtoReceipt {
23472
- /**
23473
- *
23474
- * @type {WorldlineReceiptDtoCustomer}
23475
- * @memberof WorldlinePaymentResponseDtoReceipt
22611
+ * @type {object}
22612
+ * @memberof WalletItemDto
23476
22613
  */
23477
- 'customer'?: WorldlineReceiptDtoCustomer;
22614
+ 'expires_at': object | null;
23478
22615
  /**
23479
22616
  *
23480
- * @type {WorldlineReceiptDtoMerchant}
23481
- * @memberof WorldlinePaymentResponseDtoReceipt
22617
+ * @type {WalletCatalogDto}
22618
+ * @memberof WalletItemDto
23482
22619
  */
23483
- 'merchant'?: WorldlineReceiptDtoMerchant;
22620
+ 'catalog': WalletCatalogDto;
23484
22621
  }
22622
+ export declare const StatusEnum: {
22623
+ readonly Claimed: "Claimed";
22624
+ readonly Redeemed: "Redeemed";
22625
+ };
22626
+ export type StatusEnum = typeof StatusEnum[keyof typeof StatusEnum];
23485
22627
  /**
23486
- * Terminal information
22628
+ *
23487
22629
  * @export
23488
- * @interface WorldlinePaymentResponseDtoTerminal
22630
+ * @interface WechatPayDetailsDto
23489
22631
  */
23490
- export interface WorldlinePaymentResponseDtoTerminal {
22632
+ export interface WechatPayDetailsDto {
23491
22633
  /**
23492
- * Terminal identifier
22634
+ * Payment location
23493
22635
  * @type {string}
23494
- * @memberof WorldlinePaymentResponseDtoTerminal
22636
+ * @memberof WechatPayDetailsDto
23495
22637
  */
23496
- 'id': string;
22638
+ 'location'?: string | null;
23497
22639
  /**
23498
- * Current date and time in the terminal
22640
+ * Reader identifier
23499
22641
  * @type {string}
23500
- * @memberof WorldlinePaymentResponseDtoTerminal
23501
- */
23502
- 'dateTime': string;
23503
- /**
23504
- * Terminal uptime in seconds
23505
- * @type {number}
23506
- * @memberof WorldlinePaymentResponseDtoTerminal
23507
- */
23508
- 'uptimeSeconds'?: number;
23509
- /**
23510
- *
23511
- * @type {WorldlineTerminalInformationDtoSoftware}
23512
- * @memberof WorldlinePaymentResponseDtoTerminal
22642
+ * @memberof WechatPayDetailsDto
23513
22643
  */
23514
- 'software'?: WorldlineTerminalInformationDtoSoftware;
22644
+ 'reader'?: string | null;
23515
22645
  /**
23516
- * Configured reboot time
22646
+ * WeChat Pay transaction ID
23517
22647
  * @type {string}
23518
- * @memberof WorldlinePaymentResponseDtoTerminal
22648
+ * @memberof WechatPayDetailsDto
23519
22649
  */
23520
- 'rebootTime'?: string;
22650
+ 'transactionId'?: string | null;
23521
22651
  }
23522
22652
  /**
23523
22653
  *
23524
22654
  * @export
23525
- * @interface WorldlineReceiptContentDto
22655
+ * @interface WorldlineAmountsRequestDto
23526
22656
  */
23527
- export interface WorldlineReceiptContentDto {
22657
+ export interface WorldlineAmountsRequestDto {
23528
22658
  /**
23529
- * Recommendation whether the receipt should be printed
23530
- * @type {boolean}
23531
- * @memberof WorldlineReceiptContentDto
22659
+ * ISO 4217 currency symbol
22660
+ * @type {string}
22661
+ * @memberof WorldlineAmountsRequestDto
23532
22662
  */
23533
- 'shouldPrint'?: boolean;
22663
+ 'currencySymbol': string;
23534
22664
  /**
23535
- * Plain text receipt
23536
- * @type {string}
23537
- * @memberof WorldlineReceiptContentDto
22665
+ * Base amount in the lowest unit of the currency
22666
+ * @type {number}
22667
+ * @memberof WorldlineAmountsRequestDto
23538
22668
  */
23539
- 'plain'?: string;
22669
+ 'base': number;
23540
22670
  /**
23541
- *
23542
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
23543
- * @memberof WorldlineReceiptContentDto
22671
+ * Optional tip amount in the lowest unit of the currency
22672
+ * @type {number}
22673
+ * @memberof WorldlineAmountsRequestDto
23544
22674
  */
23545
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22675
+ 'tip'?: number;
23546
22676
  }
23547
22677
  /**
23548
- * Embedded receipt sections
22678
+ *
23549
22679
  * @export
23550
- * @interface WorldlineReceiptContentDtoEmbeddedPlain
22680
+ * @interface WorldlinePaymentRequestDataDto
23551
22681
  */
23552
- export interface WorldlineReceiptContentDtoEmbeddedPlain {
22682
+ export interface WorldlinePaymentRequestDataDto {
23553
22683
  /**
23554
- * Receipt header
22684
+ * Business operation identifier generated by the POS
23555
22685
  * @type {string}
23556
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
22686
+ * @memberof WorldlinePaymentRequestDataDto
23557
22687
  */
23558
- 'header'?: string;
22688
+ 'operationId': string;
23559
22689
  /**
23560
- * Receipt content
23561
- * @type {string}
23562
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
22690
+ *
22691
+ * @type {WorldlinePaymentRequestDataDtoAmounts}
22692
+ * @memberof WorldlinePaymentRequestDataDto
23563
22693
  */
23564
- 'content'?: string;
22694
+ 'amounts': WorldlinePaymentRequestDataDtoAmounts;
23565
22695
  /**
23566
- * Receipt footer
22696
+ * Cashier identifier
23567
22697
  * @type {string}
23568
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
23569
- */
23570
- 'footer'?: string;
23571
- }
23572
- /**
23573
- *
23574
- * @export
23575
- * @interface WorldlineReceiptDto
23576
- */
23577
- export interface WorldlineReceiptDto {
23578
- /**
23579
- *
23580
- * @type {WorldlineReceiptDtoCustomer}
23581
- * @memberof WorldlineReceiptDto
22698
+ * @memberof WorldlinePaymentRequestDataDto
23582
22699
  */
23583
- 'customer'?: WorldlineReceiptDtoCustomer;
22700
+ 'cashierId'?: string;
23584
22701
  /**
23585
- *
23586
- * @type {WorldlineReceiptDtoMerchant}
23587
- * @memberof WorldlineReceiptDto
22702
+ * POS custom data
22703
+ * @type {object}
22704
+ * @memberof WorldlinePaymentRequestDataDto
23588
22705
  */
23589
- 'merchant'?: WorldlineReceiptDtoMerchant;
23590
- }
23591
- /**
23592
- * Customer receipt
23593
- * @export
23594
- * @interface WorldlineReceiptDtoCustomer
23595
- */
23596
- export interface WorldlineReceiptDtoCustomer {
22706
+ 'customData'?: object;
23597
22707
  /**
23598
- * Recommendation whether the receipt should be printed
22708
+ * Whether the terminal should print a receipt
23599
22709
  * @type {boolean}
23600
- * @memberof WorldlineReceiptDtoCustomer
22710
+ * @memberof WorldlinePaymentRequestDataDto
23601
22711
  */
23602
- 'shouldPrint'?: boolean;
22712
+ 'printReceipt'?: boolean;
23603
22713
  /**
23604
- * Plain text receipt
23605
- * @type {string}
23606
- * @memberof WorldlineReceiptDtoCustomer
22714
+ * Whether manual PAN entry is allowed
22715
+ * @type {boolean}
22716
+ * @memberof WorldlinePaymentRequestDataDto
23607
22717
  */
23608
- 'plain'?: string;
22718
+ 'manualEntry'?: boolean;
23609
22719
  /**
23610
- *
23611
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
23612
- * @memberof WorldlineReceiptDtoCustomer
22720
+ * Receipt width in characters
22721
+ * @type {number}
22722
+ * @memberof WorldlinePaymentRequestDataDto
23613
22723
  */
23614
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22724
+ 'receiptWidth'?: number;
23615
22725
  }
23616
22726
  /**
23617
- * Merchant receipt
22727
+ * Payment amounts
23618
22728
  * @export
23619
- * @interface WorldlineReceiptDtoMerchant
22729
+ * @interface WorldlinePaymentRequestDataDtoAmounts
23620
22730
  */
23621
- export interface WorldlineReceiptDtoMerchant {
22731
+ export interface WorldlinePaymentRequestDataDtoAmounts {
23622
22732
  /**
23623
- * Recommendation whether the receipt should be printed
23624
- * @type {boolean}
23625
- * @memberof WorldlineReceiptDtoMerchant
22733
+ * ISO 4217 currency symbol
22734
+ * @type {string}
22735
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23626
22736
  */
23627
- 'shouldPrint'?: boolean;
22737
+ 'currencySymbol': string;
23628
22738
  /**
23629
- * Plain text receipt
23630
- * @type {string}
23631
- * @memberof WorldlineReceiptDtoMerchant
22739
+ * Base amount in the lowest unit of the currency
22740
+ * @type {number}
22741
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23632
22742
  */
23633
- 'plain'?: string;
22743
+ 'base': number;
23634
22744
  /**
23635
- *
23636
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
23637
- * @memberof WorldlineReceiptDtoMerchant
22745
+ * Optional tip amount in the lowest unit of the currency
22746
+ * @type {number}
22747
+ * @memberof WorldlinePaymentRequestDataDtoAmounts
23638
22748
  */
23639
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
22749
+ 'tip'?: number;
23640
22750
  }
23641
22751
  /**
23642
22752
  *
@@ -23712,161 +22822,6 @@ export interface WorldlineRefundRequestDataDtoAmounts {
23712
22822
  */
23713
22823
  'tip'?: number;
23714
22824
  }
23715
- /**
23716
- *
23717
- * @export
23718
- * @interface WorldlineResponseEnvelopeDto
23719
- */
23720
- export interface WorldlineResponseEnvelopeDto {
23721
- /**
23722
- * Identifier of the request this response belongs to
23723
- * @type {string}
23724
- * @memberof WorldlineResponseEnvelopeDto
23725
- */
23726
- 'id'?: string;
23727
- /**
23728
- * Timestamp when the response was created
23729
- * @type {string}
23730
- * @memberof WorldlineResponseEnvelopeDto
23731
- */
23732
- 'createdAt': string;
23733
- /**
23734
- *
23735
- * @type {WorldlineResponseStatus}
23736
- * @memberof WorldlineResponseEnvelopeDto
23737
- */
23738
- 'status': WorldlineResponseStatus;
23739
- /**
23740
- *
23741
- * @type {WorldlineResponseEnvelopeDtoData}
23742
- * @memberof WorldlineResponseEnvelopeDto
23743
- */
23744
- 'data': WorldlineResponseEnvelopeDtoData;
23745
- }
23746
- /**
23747
- * @type WorldlineResponseEnvelopeDtoData
23748
- * Response payload
23749
- * @export
23750
- */
23751
- export type WorldlineResponseEnvelopeDtoData = WorldlineAsyncResponseDto | WorldlineDeviceInformationResponseDto | WorldlineErrorResponseDto | WorldlinePaymentResponseDto;
23752
- /**
23753
- *
23754
- * @export
23755
- * @enum {string}
23756
- */
23757
- export declare const WorldlineResponseStatus: {
23758
- readonly Ok: "OK";
23759
- readonly NotFound: "NotFound";
23760
- readonly BadRequest: "BadRequest";
23761
- readonly Unauthorized: "Unauthorized";
23762
- readonly Forbidden: "Forbidden";
23763
- readonly TooManyRequests: "TooManyRequests";
23764
- readonly ServiceUnavailable: "ServiceUnavailable";
23765
- readonly InternalServerError: "InternalServerError";
23766
- };
23767
- export type WorldlineResponseStatus = typeof WorldlineResponseStatus[keyof typeof WorldlineResponseStatus];
23768
- /**
23769
- *
23770
- * @export
23771
- * @interface WorldlineTerminalInformationDto
23772
- */
23773
- export interface WorldlineTerminalInformationDto {
23774
- /**
23775
- * Terminal identifier
23776
- * @type {string}
23777
- * @memberof WorldlineTerminalInformationDto
23778
- */
23779
- 'id': string;
23780
- /**
23781
- * Current date and time in the terminal
23782
- * @type {string}
23783
- * @memberof WorldlineTerminalInformationDto
23784
- */
23785
- 'dateTime': string;
23786
- /**
23787
- * Terminal uptime in seconds
23788
- * @type {number}
23789
- * @memberof WorldlineTerminalInformationDto
23790
- */
23791
- 'uptimeSeconds'?: number;
23792
- /**
23793
- *
23794
- * @type {WorldlineTerminalInformationDtoSoftware}
23795
- * @memberof WorldlineTerminalInformationDto
23796
- */
23797
- 'software'?: WorldlineTerminalInformationDtoSoftware;
23798
- /**
23799
- * Configured reboot time
23800
- * @type {string}
23801
- * @memberof WorldlineTerminalInformationDto
23802
- */
23803
- 'rebootTime'?: string;
23804
- }
23805
- /**
23806
- * Terminal software information
23807
- * @export
23808
- * @interface WorldlineTerminalInformationDtoSoftware
23809
- */
23810
- export interface WorldlineTerminalInformationDtoSoftware {
23811
- /**
23812
- * Current terminal software version
23813
- * @type {string}
23814
- * @memberof WorldlineTerminalInformationDtoSoftware
23815
- */
23816
- 'current': string;
23817
- }
23818
- /**
23819
- *
23820
- * @export
23821
- * @interface WorldlineTerminalSoftwareDto
23822
- */
23823
- export interface WorldlineTerminalSoftwareDto {
23824
- /**
23825
- * Current terminal software version
23826
- * @type {string}
23827
- * @memberof WorldlineTerminalSoftwareDto
23828
- */
23829
- 'current': string;
23830
- }
23831
- /**
23832
- *
23833
- * @export
23834
- * @enum {string}
23835
- */
23836
- export declare const WorldlineTransactionOutcome: {
23837
- readonly Approved: "Approved";
23838
- readonly Declined: "Declined";
23839
- readonly Cancelled: "Cancelled";
23840
- };
23841
- export type WorldlineTransactionOutcome = typeof WorldlineTransactionOutcome[keyof typeof WorldlineTransactionOutcome];
23842
- /**
23843
- *
23844
- * @export
23845
- * @enum {string}
23846
- */
23847
- export declare const WorldlineTransactionType: {
23848
- readonly Payment: "Payment";
23849
- readonly Refund: "Refund";
23850
- readonly Capture: "Capture";
23851
- readonly Reversal: "Reversal";
23852
- readonly Print: "Print";
23853
- };
23854
- export type WorldlineTransactionType = typeof WorldlineTransactionType[keyof typeof WorldlineTransactionType];
23855
- /**
23856
- *
23857
- * @export
23858
- * @enum {string}
23859
- */
23860
- export declare const WorldlineVerificationMethod: {
23861
- readonly Failed: "Failed";
23862
- readonly OnlinePin: "OnlinePin";
23863
- readonly OfflinePin: "OfflinePin";
23864
- readonly Signature: "Signature";
23865
- readonly NoCvm: "NoCvm";
23866
- readonly ConsumerDevice: "ConsumerDevice";
23867
- readonly Skipped: "Skipped";
23868
- };
23869
- export type WorldlineVerificationMethod = typeof WorldlineVerificationMethod[keyof typeof WorldlineVerificationMethod];
23870
22825
  /**
23871
22826
  * AblyApi - axios parameter creator
23872
22827
  * @export
@@ -29817,123 +28772,48 @@ export declare const OrderInternalApiFp: (configuration?: Configuration) => {
29817
28772
  * OrderInternalApi - factory interface
29818
28773
  * @export
29819
28774
  */
29820
- export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
29821
- /**
29822
- *
29823
- * @summary Get order data by external ID for internal microservice communication
29824
- * @param {string} externalId
29825
- * @param {*} [options] Override http request option.
29826
- * @throws {RequiredError}
29827
- */
29828
- findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
29829
- };
29830
- /**
29831
- * OrderInternalApi - interface
29832
- * @export
29833
- * @interface OrderInternalApi
29834
- */
29835
- export interface OrderInternalApiInterface {
29836
- /**
29837
- *
29838
- * @summary Get order data by external ID for internal microservice communication
29839
- * @param {string} externalId
29840
- * @param {*} [options] Override http request option.
29841
- * @throws {RequiredError}
29842
- * @memberof OrderInternalApiInterface
29843
- */
29844
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
29845
- }
29846
- /**
29847
- * OrderInternalApi - object-oriented interface
29848
- * @export
29849
- * @class OrderInternalApi
29850
- * @extends {BaseAPI}
29851
- */
29852
- export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
29853
- /**
29854
- *
29855
- * @summary Get order data by external ID for internal microservice communication
29856
- * @param {string} externalId
29857
- * @param {*} [options] Override http request option.
29858
- * @throws {RequiredError}
29859
- * @memberof OrderInternalApi
29860
- */
29861
- findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
29862
- }
29863
- /**
29864
- * OrderingCoApi - axios parameter creator
29865
- * @export
29866
- */
29867
- export declare const OrderingCoApiAxiosParamCreator: (configuration?: Configuration) => {
29868
- /**
29869
- *
29870
- * @summary Update tax rate for businesses
29871
- * @param {object} body
29872
- * @param {*} [options] Override http request option.
29873
- * @throws {RequiredError}
29874
- */
29875
- updateTaxRate: (body: object, options?: AxiosRequestConfig) => Promise<RequestArgs>;
29876
- };
29877
- /**
29878
- * OrderingCoApi - functional programming interface
29879
- * @export
29880
- */
29881
- export declare const OrderingCoApiFp: (configuration?: Configuration) => {
29882
- /**
29883
- *
29884
- * @summary Update tax rate for businesses
29885
- * @param {object} body
29886
- * @param {*} [options] Override http request option.
29887
- * @throws {RequiredError}
29888
- */
29889
- updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
29890
- };
29891
- /**
29892
- * OrderingCoApi - factory interface
29893
- * @export
29894
- */
29895
- export declare const OrderingCoApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
28775
+ export declare const OrderInternalApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
29896
28776
  /**
29897
28777
  *
29898
- * @summary Update tax rate for businesses
29899
- * @param {object} body
28778
+ * @summary Get order data by external ID for internal microservice communication
28779
+ * @param {string} externalId
29900
28780
  * @param {*} [options] Override http request option.
29901
28781
  * @throws {RequiredError}
29902
28782
  */
29903
- updateTaxRate(body: object, options?: any): AxiosPromise<void>;
28783
+ findOneByExternalId(externalId: string, options?: any): AxiosPromise<void>;
29904
28784
  };
29905
28785
  /**
29906
- * OrderingCoApi - interface
28786
+ * OrderInternalApi - interface
29907
28787
  * @export
29908
- * @interface OrderingCoApi
28788
+ * @interface OrderInternalApi
29909
28789
  */
29910
- export interface OrderingCoApiInterface {
28790
+ export interface OrderInternalApiInterface {
29911
28791
  /**
29912
28792
  *
29913
- * @summary Update tax rate for businesses
29914
- * @param {object} body
28793
+ * @summary Get order data by external ID for internal microservice communication
28794
+ * @param {string} externalId
29915
28795
  * @param {*} [options] Override http request option.
29916
28796
  * @throws {RequiredError}
29917
- * @memberof OrderingCoApiInterface
28797
+ * @memberof OrderInternalApiInterface
29918
28798
  */
29919
- updateTaxRate(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
28799
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): AxiosPromise<void>;
29920
28800
  }
29921
28801
  /**
29922
- * OrderingCoApi - object-oriented interface
28802
+ * OrderInternalApi - object-oriented interface
29923
28803
  * @export
29924
- * @class OrderingCoApi
28804
+ * @class OrderInternalApi
29925
28805
  * @extends {BaseAPI}
29926
28806
  */
29927
- export declare class OrderingCoApi extends BaseAPI implements OrderingCoApiInterface {
28807
+ export declare class OrderInternalApi extends BaseAPI implements OrderInternalApiInterface {
29928
28808
  /**
29929
28809
  *
29930
- * @summary Update tax rate for businesses
29931
- * @param {object} body
28810
+ * @summary Get order data by external ID for internal microservice communication
28811
+ * @param {string} externalId
29932
28812
  * @param {*} [options] Override http request option.
29933
28813
  * @throws {RequiredError}
29934
- * @memberof OrderingCoApi
28814
+ * @memberof OrderInternalApi
29935
28815
  */
29936
- updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
28816
+ findOneByExternalId(externalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
29937
28817
  }
29938
28818
  /**
29939
28819
  * OrdersApi - axios parameter creator
@@ -31283,6 +30163,14 @@ export declare const PaymentSessionApiAxiosParamCreator: (configuration?: Config
31283
30163
  * @throws {RequiredError}
31284
30164
  */
31285
30165
  getPaymentSession: (clientToken: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
30166
+ /**
30167
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30168
+ * @summary Initiate a Viva app-to-app payment session
30169
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30170
+ * @param {*} [options] Override http request option.
30171
+ * @throws {RequiredError}
30172
+ */
30173
+ initiateVivaA2aSession: (initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31286
30174
  /**
31287
30175
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
31288
30176
  * @summary Initiate a Viva payment session
@@ -31346,6 +30234,14 @@ export declare const PaymentSessionApiFp: (configuration?: Configuration) => {
31346
30234
  * @throws {RequiredError}
31347
30235
  */
31348
30236
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentSessionViewDto>>;
30237
+ /**
30238
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30239
+ * @summary Initiate a Viva app-to-app payment session
30240
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30241
+ * @param {*} [options] Override http request option.
30242
+ * @throws {RequiredError}
30243
+ */
30244
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaA2aSessionResponseDto>>;
31349
30245
  /**
31350
30246
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
31351
30247
  * @summary Initiate a Viva payment session
@@ -31409,6 +30305,14 @@ export declare const PaymentSessionApiFactory: (configuration?: Configuration, b
31409
30305
  * @throws {RequiredError}
31410
30306
  */
31411
30307
  getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto>;
30308
+ /**
30309
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30310
+ * @summary Initiate a Viva app-to-app payment session
30311
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30312
+ * @param {*} [options] Override http request option.
30313
+ * @throws {RequiredError}
30314
+ */
30315
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: any): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
31412
30316
  /**
31413
30317
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
31414
30318
  * @summary Initiate a Viva payment session
@@ -31475,6 +30379,15 @@ export interface PaymentSessionApiInterface {
31475
30379
  * @memberof PaymentSessionApiInterface
31476
30380
  */
31477
30381
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
30382
+ /**
30383
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30384
+ * @summary Initiate a Viva app-to-app payment session
30385
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30386
+ * @param {*} [options] Override http request option.
30387
+ * @throws {RequiredError}
30388
+ * @memberof PaymentSessionApiInterface
30389
+ */
30390
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
31478
30391
  /**
31479
30392
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
31480
30393
  * @summary Initiate a Viva payment session
@@ -31547,6 +30460,15 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
31547
30460
  * @memberof PaymentSessionApi
31548
30461
  */
31549
30462
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentSessionViewDto, any, {}>>;
30463
+ /**
30464
+ * Builds the Viva app-to-app launch params (same as the legacy viva/a2a/create-payment) and persists a PaymentSession keyed by the Viva clientTransactionId, so the webhook + reconciliation own the order mutation. Returns the launch params plus a clientToken to poll the session.
30465
+ * @summary Initiate a Viva app-to-app payment session
30466
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
30467
+ * @param {*} [options] Override http request option.
30468
+ * @throws {RequiredError}
30469
+ * @memberof PaymentSessionApi
30470
+ */
30471
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateVivaA2aSessionResponseDto, any, {}>>;
31550
30472
  /**
31551
30473
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
31552
30474
  * @summary Initiate a Viva payment session
@@ -31594,103 +30516,6 @@ export declare class PaymentSessionApi extends BaseAPI implements PaymentSession
31594
30516
  */
31595
30517
  voidManualPayment(voidManualSessionDto: VoidManualSessionDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RecordManualPaymentResultDto, any, {}>>;
31596
30518
  }
31597
- /**
31598
- * PluginApi - axios parameter creator
31599
- * @export
31600
- */
31601
- export declare const PluginApiAxiosParamCreator: (configuration?: Configuration) => {
31602
- /**
31603
- *
31604
- * @param {*} [options] Override http request option.
31605
- * @throws {RequiredError}
31606
- */
31607
- loadConfigFile: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
31608
- /**
31609
- *
31610
- * @param {*} [options] Override http request option.
31611
- * @throws {RequiredError}
31612
- */
31613
- upsertBusiness: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
31614
- };
31615
- /**
31616
- * PluginApi - functional programming interface
31617
- * @export
31618
- */
31619
- export declare const PluginApiFp: (configuration?: Configuration) => {
31620
- /**
31621
- *
31622
- * @param {*} [options] Override http request option.
31623
- * @throws {RequiredError}
31624
- */
31625
- loadConfigFile(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31626
- /**
31627
- *
31628
- * @param {*} [options] Override http request option.
31629
- * @throws {RequiredError}
31630
- */
31631
- upsertBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
31632
- };
31633
- /**
31634
- * PluginApi - factory interface
31635
- * @export
31636
- */
31637
- export declare const PluginApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
31638
- /**
31639
- *
31640
- * @param {*} [options] Override http request option.
31641
- * @throws {RequiredError}
31642
- */
31643
- loadConfigFile(options?: any): AxiosPromise<void>;
31644
- /**
31645
- *
31646
- * @param {*} [options] Override http request option.
31647
- * @throws {RequiredError}
31648
- */
31649
- upsertBusiness(options?: any): AxiosPromise<void>;
31650
- };
31651
- /**
31652
- * PluginApi - interface
31653
- * @export
31654
- * @interface PluginApi
31655
- */
31656
- export interface PluginApiInterface {
31657
- /**
31658
- *
31659
- * @param {*} [options] Override http request option.
31660
- * @throws {RequiredError}
31661
- * @memberof PluginApiInterface
31662
- */
31663
- loadConfigFile(options?: AxiosRequestConfig): AxiosPromise<void>;
31664
- /**
31665
- *
31666
- * @param {*} [options] Override http request option.
31667
- * @throws {RequiredError}
31668
- * @memberof PluginApiInterface
31669
- */
31670
- upsertBusiness(options?: AxiosRequestConfig): AxiosPromise<void>;
31671
- }
31672
- /**
31673
- * PluginApi - object-oriented interface
31674
- * @export
31675
- * @class PluginApi
31676
- * @extends {BaseAPI}
31677
- */
31678
- export declare class PluginApi extends BaseAPI implements PluginApiInterface {
31679
- /**
31680
- *
31681
- * @param {*} [options] Override http request option.
31682
- * @throws {RequiredError}
31683
- * @memberof PluginApi
31684
- */
31685
- loadConfigFile(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31686
- /**
31687
- *
31688
- * @param {*} [options] Override http request option.
31689
- * @throws {RequiredError}
31690
- * @memberof PluginApi
31691
- */
31692
- upsertBusiness(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
31693
- }
31694
30519
  /**
31695
30520
  * PrintersApi - axios parameter creator
31696
30521
  * @export
@@ -33815,133 +32640,6 @@ export declare class UserApi extends BaseAPI implements UserApiInterface {
33815
32640
  */
33816
32641
  getUserInfoV1(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetUserInfoResponseDto, any, {}>>;
33817
32642
  }
33818
- /**
33819
- * UsersApi - axios parameter creator
33820
- * @export
33821
- */
33822
- export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
33823
- /**
33824
- *
33825
- * @summary Filter user information with phone number
33826
- * @param {UserValidation} userValidation User body data
33827
- * @param {*} [options] Override http request option.
33828
- * @throws {RequiredError}
33829
- */
33830
- getUser: (userValidation: UserValidation, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33831
- /**
33832
- *
33833
- * @summary Add credit points to user wallet
33834
- * @param {number} userId
33835
- * @param {number} walletId
33836
- * @param {RewardPointPayload} rewardPointPayload
33837
- * @param {*} [options] Override http request option.
33838
- * @throws {RequiredError}
33839
- */
33840
- updateUserRewardPoints: (userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33841
- };
33842
- /**
33843
- * UsersApi - functional programming interface
33844
- * @export
33845
- */
33846
- export declare const UsersApiFp: (configuration?: Configuration) => {
33847
- /**
33848
- *
33849
- * @summary Filter user information with phone number
33850
- * @param {UserValidation} userValidation User body data
33851
- * @param {*} [options] Override http request option.
33852
- * @throws {RequiredError}
33853
- */
33854
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LoyaltyUserDto>>>;
33855
- /**
33856
- *
33857
- * @summary Add credit points to user wallet
33858
- * @param {number} userId
33859
- * @param {number} walletId
33860
- * @param {RewardPointPayload} rewardPointPayload
33861
- * @param {*} [options] Override http request option.
33862
- * @throws {RequiredError}
33863
- */
33864
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
33865
- };
33866
- /**
33867
- * UsersApi - factory interface
33868
- * @export
33869
- */
33870
- export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
33871
- /**
33872
- *
33873
- * @summary Filter user information with phone number
33874
- * @param {UserValidation} userValidation User body data
33875
- * @param {*} [options] Override http request option.
33876
- * @throws {RequiredError}
33877
- */
33878
- getUser(userValidation: UserValidation, options?: any): AxiosPromise<Array<LoyaltyUserDto>>;
33879
- /**
33880
- *
33881
- * @summary Add credit points to user wallet
33882
- * @param {number} userId
33883
- * @param {number} walletId
33884
- * @param {RewardPointPayload} rewardPointPayload
33885
- * @param {*} [options] Override http request option.
33886
- * @throws {RequiredError}
33887
- */
33888
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: any): AxiosPromise<void>;
33889
- };
33890
- /**
33891
- * UsersApi - interface
33892
- * @export
33893
- * @interface UsersApi
33894
- */
33895
- export interface UsersApiInterface {
33896
- /**
33897
- *
33898
- * @summary Filter user information with phone number
33899
- * @param {UserValidation} userValidation User body data
33900
- * @param {*} [options] Override http request option.
33901
- * @throws {RequiredError}
33902
- * @memberof UsersApiInterface
33903
- */
33904
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): AxiosPromise<Array<LoyaltyUserDto>>;
33905
- /**
33906
- *
33907
- * @summary Add credit points to user wallet
33908
- * @param {number} userId
33909
- * @param {number} walletId
33910
- * @param {RewardPointPayload} rewardPointPayload
33911
- * @param {*} [options] Override http request option.
33912
- * @throws {RequiredError}
33913
- * @memberof UsersApiInterface
33914
- */
33915
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): AxiosPromise<void>;
33916
- }
33917
- /**
33918
- * UsersApi - object-oriented interface
33919
- * @export
33920
- * @class UsersApi
33921
- * @extends {BaseAPI}
33922
- */
33923
- export declare class UsersApi extends BaseAPI implements UsersApiInterface {
33924
- /**
33925
- *
33926
- * @summary Filter user information with phone number
33927
- * @param {UserValidation} userValidation User body data
33928
- * @param {*} [options] Override http request option.
33929
- * @throws {RequiredError}
33930
- * @memberof UsersApi
33931
- */
33932
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LoyaltyUserDto[], any, {}>>;
33933
- /**
33934
- *
33935
- * @summary Add credit points to user wallet
33936
- * @param {number} userId
33937
- * @param {number} walletId
33938
- * @param {RewardPointPayload} rewardPointPayload
33939
- * @param {*} [options] Override http request option.
33940
- * @throws {RequiredError}
33941
- * @memberof UsersApi
33942
- */
33943
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
33944
- }
33945
32643
  /**
33946
32644
  * VendureSellerApi - axios parameter creator
33947
32645
  * @export
@@ -34844,35 +33542,6 @@ export declare const WorldlineApiAxiosParamCreator: (configuration?: Configurati
34844
33542
  * @throws {RequiredError}
34845
33543
  */
34846
33544
  createRefund: (createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34847
- /**
34848
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34849
- * @summary Long-poll for the next unhandled Worldline WAN request
34850
- * @param {string} terminalId The unique identifier of the terminal
34851
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34852
- * @param {string} sessionID The terminal session UUID
34853
- * @param {string} protocolVersion The version of the API protocol being used
34854
- * @param {*} [options] Override http request option.
34855
- * @throws {RequiredError}
34856
- */
34857
- getNextRequest: (terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34858
- /**
34859
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34860
- * @summary Report a terminal event such as dialog shown or operation completion
34861
- * @param {string} terminalId The unique identifier of the terminal
34862
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34863
- * @param {*} [options] Override http request option.
34864
- * @throws {RequiredError}
34865
- */
34866
- submitEvent: (terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34867
- /**
34868
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34869
- * @summary Submit a response to a previously fetched request
34870
- * @param {string} terminalId The unique identifier of the terminal
34871
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34872
- * @param {*} [options] Override http request option.
34873
- * @throws {RequiredError}
34874
- */
34875
- submitResponse: (terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34876
33545
  };
34877
33546
  /**
34878
33547
  * WorldlineApi - functional programming interface
@@ -34903,35 +33572,6 @@ export declare const WorldlineApiFp: (configuration?: Configuration) => {
34903
33572
  * @throws {RequiredError}
34904
33573
  */
34905
33574
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34906
- /**
34907
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34908
- * @summary Long-poll for the next unhandled Worldline WAN request
34909
- * @param {string} terminalId The unique identifier of the terminal
34910
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34911
- * @param {string} sessionID The terminal session UUID
34912
- * @param {string} protocolVersion The version of the API protocol being used
34913
- * @param {*} [options] Override http request option.
34914
- * @throws {RequiredError}
34915
- */
34916
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34917
- /**
34918
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34919
- * @summary Report a terminal event such as dialog shown or operation completion
34920
- * @param {string} terminalId The unique identifier of the terminal
34921
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34922
- * @param {*} [options] Override http request option.
34923
- * @throws {RequiredError}
34924
- */
34925
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34926
- /**
34927
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34928
- * @summary Submit a response to a previously fetched request
34929
- * @param {string} terminalId The unique identifier of the terminal
34930
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34931
- * @param {*} [options] Override http request option.
34932
- * @throws {RequiredError}
34933
- */
34934
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
34935
33575
  };
34936
33576
  /**
34937
33577
  * WorldlineApi - factory interface
@@ -34962,35 +33602,6 @@ export declare const WorldlineApiFactory: (configuration?: Configuration, basePa
34962
33602
  * @throws {RequiredError}
34963
33603
  */
34964
33604
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: any): AxiosPromise<void>;
34965
- /**
34966
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
34967
- * @summary Long-poll for the next unhandled Worldline WAN request
34968
- * @param {string} terminalId The unique identifier of the terminal
34969
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
34970
- * @param {string} sessionID The terminal session UUID
34971
- * @param {string} protocolVersion The version of the API protocol being used
34972
- * @param {*} [options] Override http request option.
34973
- * @throws {RequiredError}
34974
- */
34975
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: any): AxiosPromise<void>;
34976
- /**
34977
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
34978
- * @summary Report a terminal event such as dialog shown or operation completion
34979
- * @param {string} terminalId The unique identifier of the terminal
34980
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
34981
- * @param {*} [options] Override http request option.
34982
- * @throws {RequiredError}
34983
- */
34984
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: any): AxiosPromise<void>;
34985
- /**
34986
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
34987
- * @summary Submit a response to a previously fetched request
34988
- * @param {string} terminalId The unique identifier of the terminal
34989
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
34990
- * @param {*} [options] Override http request option.
34991
- * @throws {RequiredError}
34992
- */
34993
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: any): AxiosPromise<void>;
34994
33605
  };
34995
33606
  /**
34996
33607
  * WorldlineApi - interface
@@ -35025,38 +33636,6 @@ export interface WorldlineApiInterface {
35025
33636
  * @memberof WorldlineApiInterface
35026
33637
  */
35027
33638
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): AxiosPromise<void>;
35028
- /**
35029
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
35030
- * @summary Long-poll for the next unhandled Worldline WAN request
35031
- * @param {string} terminalId The unique identifier of the terminal
35032
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
35033
- * @param {string} sessionID The terminal session UUID
35034
- * @param {string} protocolVersion The version of the API protocol being used
35035
- * @param {*} [options] Override http request option.
35036
- * @throws {RequiredError}
35037
- * @memberof WorldlineApiInterface
35038
- */
35039
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): AxiosPromise<void>;
35040
- /**
35041
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
35042
- * @summary Report a terminal event such as dialog shown or operation completion
35043
- * @param {string} terminalId The unique identifier of the terminal
35044
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
35045
- * @param {*} [options] Override http request option.
35046
- * @throws {RequiredError}
35047
- * @memberof WorldlineApiInterface
35048
- */
35049
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
35050
- /**
35051
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
35052
- * @summary Submit a response to a previously fetched request
35053
- * @param {string} terminalId The unique identifier of the terminal
35054
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
35055
- * @param {*} [options] Override http request option.
35056
- * @throws {RequiredError}
35057
- * @memberof WorldlineApiInterface
35058
- */
35059
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
35060
33639
  }
35061
33640
  /**
35062
33641
  * WorldlineApi - object-oriented interface
@@ -35092,38 +33671,6 @@ export declare class WorldlineApi extends BaseAPI implements WorldlineApiInterfa
35092
33671
  * @memberof WorldlineApi
35093
33672
  */
35094
33673
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
35095
- /**
35096
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
35097
- * @summary Long-poll for the next unhandled Worldline WAN request
35098
- * @param {string} terminalId The unique identifier of the terminal
35099
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
35100
- * @param {string} sessionID The terminal session UUID
35101
- * @param {string} protocolVersion The version of the API protocol being used
35102
- * @param {*} [options] Override http request option.
35103
- * @throws {RequiredError}
35104
- * @memberof WorldlineApi
35105
- */
35106
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
35107
- /**
35108
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
35109
- * @summary Report a terminal event such as dialog shown or operation completion
35110
- * @param {string} terminalId The unique identifier of the terminal
35111
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
35112
- * @param {*} [options] Override http request option.
35113
- * @throws {RequiredError}
35114
- * @memberof WorldlineApi
35115
- */
35116
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
35117
- /**
35118
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
35119
- * @summary Submit a response to a previously fetched request
35120
- * @param {string} terminalId The unique identifier of the terminal
35121
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
35122
- * @param {*} [options] Override http request option.
35123
- * @throws {RequiredError}
35124
- * @memberof WorldlineApi
35125
- */
35126
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
35127
33674
  }
35128
33675
  /**
35129
33676
  * WorldlineInternalApi - axios parameter creator