@munchi_oy/core 1.9.45 → 1.9.47

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/generated/api.ts CHANGED
@@ -1624,61 +1624,7 @@ export interface CardPresentDetailsDto {
1624
1624
  */
1625
1625
  export interface CardPresentDetailsDtoWallet {
1626
1626
  /**
1627
- * The ID of the wallet
1628
- * @type {number}
1629
- * @memberof CardPresentDetailsDtoWallet
1630
- */
1631
- 'id': number;
1632
- /**
1633
- * Unique code for the wallet
1634
- * @type {string}
1635
- * @memberof CardPresentDetailsDtoWallet
1636
- */
1637
- 'code': string;
1638
- /**
1639
- * The ID of the user who owns this wallet
1640
- * @type {number}
1641
- * @memberof CardPresentDetailsDtoWallet
1642
- */
1643
- 'user_id': number;
1644
- /**
1645
- * Current balance in the wallet
1646
- * @type {number}
1647
- * @memberof CardPresentDetailsDtoWallet
1648
- */
1649
- 'balance': number;
1650
- /**
1651
- * Whether the wallet is locked
1652
- * @type {boolean}
1653
- * @memberof CardPresentDetailsDtoWallet
1654
- */
1655
- 'locked': boolean;
1656
- /**
1657
- * Reason for locking the wallet, if applicable
1658
- * @type {object}
1659
- * @memberof CardPresentDetailsDtoWallet
1660
- */
1661
- 'locked_reason': object | null;
1662
- /**
1663
- * Timestamp when the wallet was locked, if applicable
1664
- * @type {object}
1665
- * @memberof CardPresentDetailsDtoWallet
1666
- */
1667
- 'locked_at': object | null;
1668
- /**
1669
- * Timestamp when the wallet was created
1670
- * @type {string}
1671
- * @memberof CardPresentDetailsDtoWallet
1672
- */
1673
- 'created_at': string;
1674
- /**
1675
- * Timestamp when the wallet was last updated
1676
- * @type {string}
1677
- * @memberof CardPresentDetailsDtoWallet
1678
- */
1679
- 'updated_at': string;
1680
- /**
1681
- * Type of wallet (e.g., cash, credit_point)
1627
+ * Wallet type
1682
1628
  * @type {string}
1683
1629
  * @memberof CardPresentDetailsDtoWallet
1684
1630
  */
@@ -3162,6 +3108,19 @@ export interface CoordinateDto {
3162
3108
  */
3163
3109
  'lon': number;
3164
3110
  }
3111
+ /**
3112
+ *
3113
+ * @export
3114
+ * @interface CourseConfigDto
3115
+ */
3116
+ export interface CourseConfigDto {
3117
+ /**
3118
+ * Rank assigned to uncoursed items
3119
+ * @type {number}
3120
+ * @memberof CourseConfigDto
3121
+ */
3122
+ 'uncoursedRank': number;
3123
+ }
3165
3124
  /**
3166
3125
  *
3167
3126
  * @export
@@ -3180,6 +3139,12 @@ export interface CourseDto {
3180
3139
  * @memberof CourseDto
3181
3140
  */
3182
3141
  'name': string;
3142
+ /**
3143
+ * Course rank used for ordering
3144
+ * @type {number}
3145
+ * @memberof CourseDto
3146
+ */
3147
+ 'rank': number;
3183
3148
  /**
3184
3149
  * Whether the course fires automatically to the kitchen
3185
3150
  * @type {boolean}
@@ -6378,6 +6343,180 @@ export interface InitiateNetsTerminalPaymentResponseDto {
6378
6343
  */
6379
6344
  'connectCloudRequestId': string;
6380
6345
  }
6346
+ /**
6347
+ *
6348
+ * @export
6349
+ * @interface InitiateVivaA2aSessionDto
6350
+ */
6351
+ export interface InitiateVivaA2aSessionDto {
6352
+ /**
6353
+ * The internal business ID.
6354
+ * @type {number}
6355
+ * @memberof InitiateVivaA2aSessionDto
6356
+ */
6357
+ 'businessId': number;
6358
+ /**
6359
+ * The unique reference for the order or cart.
6360
+ * @type {string}
6361
+ * @memberof InitiateVivaA2aSessionDto
6362
+ */
6363
+ 'referenceId': string;
6364
+ /**
6365
+ * The display reference for the order or cart.
6366
+ * @type {string}
6367
+ * @memberof InitiateVivaA2aSessionDto
6368
+ */
6369
+ 'displayId': string;
6370
+ /**
6371
+ * Amount in the smallest currency unit (e.g., cents).
6372
+ * @type {number}
6373
+ * @memberof InitiateVivaA2aSessionDto
6374
+ */
6375
+ 'amount': number;
6376
+ /**
6377
+ *
6378
+ * @type {CurrencyCode}
6379
+ * @memberof InitiateVivaA2aSessionDto
6380
+ */
6381
+ 'currency': CurrencyCode;
6382
+ /**
6383
+ *
6384
+ * @type {boolean}
6385
+ * @memberof InitiateVivaA2aSessionDto
6386
+ */
6387
+ 'showReceipt'?: boolean;
6388
+ /**
6389
+ *
6390
+ * @type {number}
6391
+ * @memberof InitiateVivaA2aSessionDto
6392
+ */
6393
+ 'tipAmount'?: number;
6394
+ /**
6395
+ *
6396
+ * @type {boolean}
6397
+ * @memberof InitiateVivaA2aSessionDto
6398
+ */
6399
+ 'showTransactionResult'?: boolean;
6400
+ /**
6401
+ *
6402
+ * @type {InitiateVivaSessionDtoSplitContext}
6403
+ * @memberof InitiateVivaA2aSessionDto
6404
+ */
6405
+ 'splitContext'?: InitiateVivaSessionDtoSplitContext;
6406
+ }
6407
+
6408
+
6409
+ /**
6410
+ *
6411
+ * @export
6412
+ * @interface InitiateVivaA2aSessionResponseDto
6413
+ */
6414
+ export interface InitiateVivaA2aSessionResponseDto {
6415
+ /**
6416
+ *
6417
+ * @type {string}
6418
+ * @memberof InitiateVivaA2aSessionResponseDto
6419
+ */
6420
+ 'clientTransactionId': string;
6421
+ /**
6422
+ *
6423
+ * @type {number}
6424
+ * @memberof InitiateVivaA2aSessionResponseDto
6425
+ */
6426
+ 'amount': number;
6427
+ /**
6428
+ *
6429
+ * @type {number}
6430
+ * @memberof InitiateVivaA2aSessionResponseDto
6431
+ */
6432
+ 'tipAmount': number;
6433
+ /**
6434
+ *
6435
+ * @type {VivaAppToAppPaymentMethod}
6436
+ * @memberof InitiateVivaA2aSessionResponseDto
6437
+ */
6438
+ 'paymentMethod': VivaAppToAppPaymentMethod;
6439
+ /**
6440
+ *
6441
+ * @type {number}
6442
+ * @memberof InitiateVivaA2aSessionResponseDto
6443
+ */
6444
+ 'sourceCode': number;
6445
+ /**
6446
+ *
6447
+ * @type {boolean}
6448
+ * @memberof InitiateVivaA2aSessionResponseDto
6449
+ */
6450
+ 'show_receipt': boolean;
6451
+ /**
6452
+ *
6453
+ * @type {boolean}
6454
+ * @memberof InitiateVivaA2aSessionResponseDto
6455
+ */
6456
+ 'show_transaction_result': boolean;
6457
+ /**
6458
+ *
6459
+ * @type {boolean}
6460
+ * @memberof InitiateVivaA2aSessionResponseDto
6461
+ */
6462
+ 'show_rating': boolean;
6463
+ /**
6464
+ * The ISV amount.
6465
+ * @type {number}
6466
+ * @memberof InitiateVivaA2aSessionResponseDto
6467
+ */
6468
+ 'ISV_amount'?: number;
6469
+ /**
6470
+ * The ISV client ID.
6471
+ * @type {string}
6472
+ * @memberof InitiateVivaA2aSessionResponseDto
6473
+ */
6474
+ 'ISV_clientId'?: string;
6475
+ /**
6476
+ * The ISV client secret. Only include this if the mobile app must send it for the POC.
6477
+ * @type {string}
6478
+ * @memberof InitiateVivaA2aSessionResponseDto
6479
+ */
6480
+ 'ISV_clientSecret'?: string;
6481
+ /**
6482
+ * The ISO numeric currency code required by Viva ISV mode.
6483
+ * @type {number}
6484
+ * @memberof InitiateVivaA2aSessionResponseDto
6485
+ */
6486
+ 'ISV_currencyCode'?: number;
6487
+ /**
6488
+ * The customer transaction description shown in Viva.
6489
+ * @type {string}
6490
+ * @memberof InitiateVivaA2aSessionResponseDto
6491
+ */
6492
+ 'ISV_customerTrns'?: string;
6493
+ /**
6494
+ * The ISV client transaction ID if used separately from the app transaction ID.
6495
+ * @type {string}
6496
+ * @memberof InitiateVivaA2aSessionResponseDto
6497
+ */
6498
+ 'ISV_clientTransactionId'?: string;
6499
+ /**
6500
+ * Merchant-facing reference shown on the Viva receipt (e.g. KIOSK-1234).
6501
+ * @type {string}
6502
+ * @memberof InitiateVivaA2aSessionResponseDto
6503
+ */
6504
+ 'merchantReference'?: string;
6505
+ /**
6506
+ * Opaque client token used to poll/sync the session. Never sent to Viva.
6507
+ * @type {string}
6508
+ * @memberof InitiateVivaA2aSessionResponseDto
6509
+ */
6510
+ 'clientToken': string;
6511
+ /**
6512
+ * Internal session ID (equals the Viva app-to-app clientTransactionId).
6513
+ * @type {string}
6514
+ * @memberof InitiateVivaA2aSessionResponseDto
6515
+ */
6516
+ 'sessionId': string;
6517
+ }
6518
+
6519
+
6381
6520
  /**
6382
6521
  *
6383
6522
  * @export
@@ -8732,91 +8871,6 @@ export interface LoyaltyTierDto {
8732
8871
  */
8733
8872
  'threshold': number;
8734
8873
  }
8735
- /**
8736
- *
8737
- * @export
8738
- * @interface LoyaltyUserDto
8739
- */
8740
- export interface LoyaltyUserDto {
8741
- /**
8742
- * The ID of the user
8743
- * @type {number}
8744
- * @memberof LoyaltyUserDto
8745
- */
8746
- 'id': number;
8747
- /**
8748
- * The landline phone number of the user
8749
- * @type {object}
8750
- * @memberof LoyaltyUserDto
8751
- */
8752
- 'phone': object | null;
8753
- /**
8754
- * The mobile phone number of the user
8755
- * @type {string}
8756
- * @memberof LoyaltyUserDto
8757
- */
8758
- 'cellphone': string;
8759
- /**
8760
- * The first name of the user
8761
- * @type {string}
8762
- * @memberof LoyaltyUserDto
8763
- */
8764
- 'name': string;
8765
- /**
8766
- * The last name of the user
8767
- * @type {string}
8768
- * @memberof LoyaltyUserDto
8769
- */
8770
- 'lastname': string;
8771
- /**
8772
- * The level of the user
8773
- * @type {number}
8774
- * @memberof LoyaltyUserDto
8775
- */
8776
- 'level': number;
8777
- /**
8778
- * Whether the user account is enabled
8779
- * @type {boolean}
8780
- * @memberof LoyaltyUserDto
8781
- */
8782
- 'enabled': boolean;
8783
- /**
8784
- * The address of the user
8785
- * @type {object}
8786
- * @memberof LoyaltyUserDto
8787
- */
8788
- 'address': object | null;
8789
- /**
8790
- * Loyalty points accumulated by the user
8791
- * @type {number}
8792
- * @memberof LoyaltyUserDto
8793
- */
8794
- 'loyalty_level_points': number;
8795
- /**
8796
- * Country code of the user
8797
- * @type {string}
8798
- * @memberof LoyaltyUserDto
8799
- */
8800
- 'country_code': string;
8801
- /**
8802
- * Number of orders placed by the user
8803
- * @type {number}
8804
- * @memberof LoyaltyUserDto
8805
- */
8806
- 'orders_count': number;
8807
- /**
8808
- * URL to the user\'s profile photo
8809
- * @type {object}
8810
- * @memberof LoyaltyUserDto
8811
- */
8812
- 'photo': object | null;
8813
- /**
8814
- * List of wallets associated with the user
8815
- * @type {Array<WalletDto>}
8816
- * @memberof LoyaltyUserDto
8817
- */
8818
- 'wallets': Array<WalletDto>;
8819
- }
8820
8874
  /**
8821
8875
  *
8822
8876
  * @export
@@ -12668,6 +12722,7 @@ export interface PaymentRefundLineAllocationDto {
12668
12722
 
12669
12723
  export const PaymentSessionStatus = {
12670
12724
  Initiated: 'INITIATED',
12725
+ Dispatched: 'DISPATCHED',
12671
12726
  Processing: 'PROCESSING',
12672
12727
  Success: 'SUCCESS',
12673
12728
  Failed: 'FAILED',
@@ -17587,25 +17642,6 @@ export interface ReverseSessionDto {
17587
17642
  */
17588
17643
  'amount'?: number;
17589
17644
  }
17590
- /**
17591
- *
17592
- * @export
17593
- * @interface RewardPointPayload
17594
- */
17595
- export interface RewardPointPayload {
17596
- /**
17597
- * 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.
17598
- * @type {string}
17599
- * @memberof RewardPointPayload
17600
- */
17601
- 'amount': string;
17602
- /**
17603
- * The business ID associated with the reward points
17604
- * @type {number}
17605
- * @memberof RewardPointPayload
17606
- */
17607
- 'businessId': number;
17608
- }
17609
17645
  /**
17610
17646
  *
17611
17647
  * @export
@@ -21642,19 +21678,6 @@ export interface UserInfoResponseDto {
21642
21678
  */
21643
21679
  'orderingAccessToken': string;
21644
21680
  }
21645
- /**
21646
- *
21647
- * @export
21648
- * @interface UserValidation
21649
- */
21650
- export interface UserValidation {
21651
- /**
21652
- *
21653
- * @type {string}
21654
- * @memberof UserValidation
21655
- */
21656
- 'phone': string;
21657
- }
21658
21681
  /**
21659
21682
  *
21660
21683
  * @export
@@ -23248,61 +23271,7 @@ export interface WalletCatalogDto {
23248
23271
  */
23249
23272
  export interface WalletDto {
23250
23273
  /**
23251
- * The ID of the wallet
23252
- * @type {number}
23253
- * @memberof WalletDto
23254
- */
23255
- 'id': number;
23256
- /**
23257
- * Unique code for the wallet
23258
- * @type {string}
23259
- * @memberof WalletDto
23260
- */
23261
- 'code': string;
23262
- /**
23263
- * The ID of the user who owns this wallet
23264
- * @type {number}
23265
- * @memberof WalletDto
23266
- */
23267
- 'user_id': number;
23268
- /**
23269
- * Current balance in the wallet
23270
- * @type {number}
23271
- * @memberof WalletDto
23272
- */
23273
- 'balance': number;
23274
- /**
23275
- * Whether the wallet is locked
23276
- * @type {boolean}
23277
- * @memberof WalletDto
23278
- */
23279
- 'locked': boolean;
23280
- /**
23281
- * Reason for locking the wallet, if applicable
23282
- * @type {object}
23283
- * @memberof WalletDto
23284
- */
23285
- 'locked_reason': object | null;
23286
- /**
23287
- * Timestamp when the wallet was locked, if applicable
23288
- * @type {object}
23289
- * @memberof WalletDto
23290
- */
23291
- 'locked_at': object | null;
23292
- /**
23293
- * Timestamp when the wallet was created
23294
- * @type {string}
23295
- * @memberof WalletDto
23296
- */
23297
- 'created_at': string;
23298
- /**
23299
- * Timestamp when the wallet was last updated
23300
- * @type {string}
23301
- * @memberof WalletDto
23302
- */
23303
- 'updated_at': string;
23304
- /**
23305
- * Type of wallet (e.g., cash, credit_point)
23274
+ * Wallet type
23306
23275
  * @type {string}
23307
23276
  * @memberof WalletDto
23308
23277
  */
@@ -23397,464 +23366,6 @@ export interface WorldlineAmountsRequestDto {
23397
23366
  */
23398
23367
  'tip'?: number;
23399
23368
  }
23400
- /**
23401
- *
23402
- * @export
23403
- * @interface WorldlineAmountsResponseDto
23404
- */
23405
- export interface WorldlineAmountsResponseDto {
23406
- /**
23407
- *
23408
- * @type {WorldlineAmountsResponseDtoCurrency}
23409
- * @memberof WorldlineAmountsResponseDto
23410
- */
23411
- 'currency': WorldlineAmountsResponseDtoCurrency;
23412
- /**
23413
- * Base amount
23414
- * @type {number}
23415
- * @memberof WorldlineAmountsResponseDto
23416
- */
23417
- 'base': number;
23418
- /**
23419
- * Total amount
23420
- * @type {number}
23421
- * @memberof WorldlineAmountsResponseDto
23422
- */
23423
- 'total': number;
23424
- /**
23425
- * Tip amount
23426
- * @type {number}
23427
- * @memberof WorldlineAmountsResponseDto
23428
- */
23429
- 'tip'?: number;
23430
- }
23431
- /**
23432
- * Currency information
23433
- * @export
23434
- * @interface WorldlineAmountsResponseDtoCurrency
23435
- */
23436
- export interface WorldlineAmountsResponseDtoCurrency {
23437
- /**
23438
- * ISO 4217 numeric currency code
23439
- * @type {string}
23440
- * @memberof WorldlineAmountsResponseDtoCurrency
23441
- */
23442
- 'code': string;
23443
- /**
23444
- * ISO 4217 currency symbol
23445
- * @type {string}
23446
- * @memberof WorldlineAmountsResponseDtoCurrency
23447
- */
23448
- 'symbol': string;
23449
- /**
23450
- * Currency exponent
23451
- * @type {number}
23452
- * @memberof WorldlineAmountsResponseDtoCurrency
23453
- */
23454
- 'exponent': number;
23455
- }
23456
- /**
23457
- *
23458
- * @export
23459
- * @interface WorldlineAsyncResponseDto
23460
- */
23461
- export interface WorldlineAsyncResponseDto {
23462
- /**
23463
- * Business operation identifier generated by the POS
23464
- * @type {string}
23465
- * @memberof WorldlineAsyncResponseDto
23466
- */
23467
- 'operationId': string;
23468
- }
23469
- /**
23470
- *
23471
- * @export
23472
- * @enum {string}
23473
- */
23474
-
23475
- export const WorldlineAuthorizationMethod = {
23476
- Online: 'Online',
23477
- Offline: 'Offline'
23478
- } as const;
23479
-
23480
- export type WorldlineAuthorizationMethod = typeof WorldlineAuthorizationMethod[keyof typeof WorldlineAuthorizationMethod];
23481
-
23482
-
23483
- /**
23484
- *
23485
- * @export
23486
- * @enum {string}
23487
- */
23488
-
23489
- export const WorldlineAuthorizationResponder = {
23490
- Manual: 'Manual',
23491
- Unknown: 'Unknown',
23492
- Local: 'Local',
23493
- Base24: 'Base24',
23494
- Issuer: 'Issuer',
23495
- Network: 'Network',
23496
- Acquirer: 'Acquirer',
23497
- Other: 'Other'
23498
- } as const;
23499
-
23500
- export type WorldlineAuthorizationResponder = typeof WorldlineAuthorizationResponder[keyof typeof WorldlineAuthorizationResponder];
23501
-
23502
-
23503
- /**
23504
- *
23505
- * @export
23506
- * @interface WorldlineCurrencyDataDto
23507
- */
23508
- export interface WorldlineCurrencyDataDto {
23509
- /**
23510
- * ISO 4217 numeric currency code
23511
- * @type {string}
23512
- * @memberof WorldlineCurrencyDataDto
23513
- */
23514
- 'code': string;
23515
- /**
23516
- * ISO 4217 currency symbol
23517
- * @type {string}
23518
- * @memberof WorldlineCurrencyDataDto
23519
- */
23520
- 'symbol': string;
23521
- /**
23522
- * Currency exponent
23523
- * @type {number}
23524
- * @memberof WorldlineCurrencyDataDto
23525
- */
23526
- 'exponent': number;
23527
- }
23528
- /**
23529
- *
23530
- * @export
23531
- * @interface WorldlineDeviceInformationResponseDto
23532
- */
23533
- export interface WorldlineDeviceInformationResponseDto {
23534
- /**
23535
- *
23536
- * @type {WorldlineDeviceInformationResponseDtoEnabledFeatures}
23537
- * @memberof WorldlineDeviceInformationResponseDto
23538
- */
23539
- 'enabledFeatures'?: WorldlineDeviceInformationResponseDtoEnabledFeatures;
23540
- /**
23541
- *
23542
- * @type {WorldlinePaymentResponseDtoMerchant}
23543
- * @memberof WorldlineDeviceInformationResponseDto
23544
- */
23545
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
23546
- /**
23547
- *
23548
- * @type {WorldlineDeviceInformationResponseDtoOngoingOperation}
23549
- * @memberof WorldlineDeviceInformationResponseDto
23550
- */
23551
- 'ongoingOperation'?: WorldlineDeviceInformationResponseDtoOngoingOperation;
23552
- /**
23553
- *
23554
- * @type {WorldlinePaymentResponseDtoTerminal}
23555
- * @memberof WorldlineDeviceInformationResponseDto
23556
- */
23557
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
23558
- }
23559
- /**
23560
- * Enabled terminal features
23561
- * @export
23562
- * @interface WorldlineDeviceInformationResponseDtoEnabledFeatures
23563
- */
23564
- export interface WorldlineDeviceInformationResponseDtoEnabledFeatures {
23565
- /**
23566
- * Cashier support enabled
23567
- * @type {boolean}
23568
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
23569
- */
23570
- 'cashier'?: boolean;
23571
- /**
23572
- * DCC enabled
23573
- * @type {boolean}
23574
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
23575
- */
23576
- 'dcc'?: boolean;
23577
- /**
23578
- * Tip enabled
23579
- * @type {boolean}
23580
- * @memberof WorldlineDeviceInformationResponseDtoEnabledFeatures
23581
- */
23582
- 'tip'?: boolean;
23583
- }
23584
- /**
23585
- * Ongoing terminal operation
23586
- * @export
23587
- * @interface WorldlineDeviceInformationResponseDtoOngoingOperation
23588
- */
23589
- export interface WorldlineDeviceInformationResponseDtoOngoingOperation {
23590
- /**
23591
- * Current operation identifier
23592
- * @type {string}
23593
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
23594
- */
23595
- 'operationId': string;
23596
- /**
23597
- * Current ongoing operation type
23598
- * @type {string}
23599
- * @memberof WorldlineDeviceInformationResponseDtoOngoingOperation
23600
- */
23601
- 'type': string;
23602
- }
23603
- /**
23604
- *
23605
- * @export
23606
- * @interface WorldlineDialogDto
23607
- */
23608
- export interface WorldlineDialogDto {
23609
- /**
23610
- * Dialog title
23611
- * @type {string}
23612
- * @memberof WorldlineDialogDto
23613
- */
23614
- 'title'?: string;
23615
- /**
23616
- * Dialog text
23617
- * @type {string}
23618
- * @memberof WorldlineDialogDto
23619
- */
23620
- 'text'?: string;
23621
- /**
23622
- * Dialog options
23623
- * @type {object}
23624
- * @memberof WorldlineDialogDto
23625
- */
23626
- 'options'?: object;
23627
- }
23628
- /**
23629
- *
23630
- * @export
23631
- * @interface WorldlineEmbeddedReceiptDto
23632
- */
23633
- export interface WorldlineEmbeddedReceiptDto {
23634
- /**
23635
- * Receipt header
23636
- * @type {string}
23637
- * @memberof WorldlineEmbeddedReceiptDto
23638
- */
23639
- 'header'?: string;
23640
- /**
23641
- * Receipt content
23642
- * @type {string}
23643
- * @memberof WorldlineEmbeddedReceiptDto
23644
- */
23645
- 'content'?: string;
23646
- /**
23647
- * Receipt footer
23648
- * @type {string}
23649
- * @memberof WorldlineEmbeddedReceiptDto
23650
- */
23651
- 'footer'?: string;
23652
- }
23653
- /**
23654
- *
23655
- * @export
23656
- * @interface WorldlineEnabledFeaturesDto
23657
- */
23658
- export interface WorldlineEnabledFeaturesDto {
23659
- /**
23660
- * Cashier support enabled
23661
- * @type {boolean}
23662
- * @memberof WorldlineEnabledFeaturesDto
23663
- */
23664
- 'cashier'?: boolean;
23665
- /**
23666
- * DCC enabled
23667
- * @type {boolean}
23668
- * @memberof WorldlineEnabledFeaturesDto
23669
- */
23670
- 'dcc'?: boolean;
23671
- /**
23672
- * Tip enabled
23673
- * @type {boolean}
23674
- * @memberof WorldlineEnabledFeaturesDto
23675
- */
23676
- 'tip'?: boolean;
23677
- }
23678
- /**
23679
- *
23680
- * @export
23681
- * @enum {string}
23682
- */
23683
-
23684
- export const WorldlineEntryMode = {
23685
- Keyed: 'Keyed',
23686
- Magstripe: 'Magstripe',
23687
- Chip: 'Chip',
23688
- Contactless: 'Contactless'
23689
- } as const;
23690
-
23691
- export type WorldlineEntryMode = typeof WorldlineEntryMode[keyof typeof WorldlineEntryMode];
23692
-
23693
-
23694
- /**
23695
- *
23696
- * @export
23697
- * @interface WorldlineErrorResponseDto
23698
- */
23699
- export interface WorldlineErrorResponseDto {
23700
- /**
23701
- * Error description
23702
- * @type {string}
23703
- * @memberof WorldlineErrorResponseDto
23704
- */
23705
- 'description': string;
23706
- /**
23707
- * Validation or processing errors
23708
- * @type {Array<string>}
23709
- * @memberof WorldlineErrorResponseDto
23710
- */
23711
- 'errors'?: Array<string>;
23712
- }
23713
- /**
23714
- *
23715
- * @export
23716
- * @interface WorldlineEventEnvelopeDto
23717
- */
23718
- export interface WorldlineEventEnvelopeDto {
23719
- /**
23720
- * Unique event identifier
23721
- * @type {string}
23722
- * @memberof WorldlineEventEnvelopeDto
23723
- */
23724
- 'id': string;
23725
- /**
23726
- * Timestamp when the event was created
23727
- * @type {string}
23728
- * @memberof WorldlineEventEnvelopeDto
23729
- */
23730
- 'createdAt': string;
23731
- /**
23732
- *
23733
- * @type {WorldlineEventType}
23734
- * @memberof WorldlineEventEnvelopeDto
23735
- */
23736
- 'type': WorldlineEventType;
23737
- /**
23738
- * Business operation identifier
23739
- * @type {string}
23740
- * @memberof WorldlineEventEnvelopeDto
23741
- */
23742
- 'operationId'?: string;
23743
- /**
23744
- *
23745
- * @type {WorldlineEventEnvelopeDtoData}
23746
- * @memberof WorldlineEventEnvelopeDto
23747
- */
23748
- 'data'?: WorldlineEventEnvelopeDtoData;
23749
- }
23750
-
23751
-
23752
- /**
23753
- * @type WorldlineEventEnvelopeDtoData
23754
- * Event payload
23755
- * @export
23756
- */
23757
- export type WorldlineEventEnvelopeDtoData = WorldlineDialogDto | WorldlinePaymentResponseDto;
23758
-
23759
- /**
23760
- *
23761
- * @export
23762
- * @enum {string}
23763
- */
23764
-
23765
- export const WorldlineEventType = {
23766
- PaymentCompleted: 'PaymentCompleted',
23767
- RefundCompleted: 'RefundCompleted',
23768
- CaptureCompleted: 'CaptureCompleted',
23769
- ReversalCompleted: 'ReversalCompleted',
23770
- ReadCardCompleted: 'ReadCardCompleted',
23771
- PrintCompleted: 'PrintCompleted',
23772
- DialogShown: 'DialogShown'
23773
- } as const;
23774
-
23775
- export type WorldlineEventType = typeof WorldlineEventType[keyof typeof WorldlineEventType];
23776
-
23777
-
23778
- /**
23779
- *
23780
- * @export
23781
- * @interface WorldlineMerchantDto
23782
- */
23783
- export interface WorldlineMerchantDto {
23784
- /**
23785
- * Merchant identifier
23786
- * @type {string}
23787
- * @memberof WorldlineMerchantDto
23788
- */
23789
- 'id'?: string;
23790
- /**
23791
- * Merchant display name
23792
- * @type {string}
23793
- * @memberof WorldlineMerchantDto
23794
- */
23795
- 'name': string;
23796
- /**
23797
- * Merchant street address
23798
- * @type {string}
23799
- * @memberof WorldlineMerchantDto
23800
- */
23801
- 'address'?: string;
23802
- /**
23803
- * Postal code and city
23804
- * @type {string}
23805
- * @memberof WorldlineMerchantDto
23806
- */
23807
- 'city'?: string;
23808
- /**
23809
- * Organization number
23810
- * @type {string}
23811
- * @memberof WorldlineMerchantDto
23812
- */
23813
- 'organizationNumber'?: string;
23814
- /**
23815
- * Phone number
23816
- * @type {string}
23817
- * @memberof WorldlineMerchantDto
23818
- */
23819
- 'phoneNumber'?: string;
23820
- }
23821
- /**
23822
- *
23823
- * @export
23824
- * @interface WorldlineOngoingOperationDto
23825
- */
23826
- export interface WorldlineOngoingOperationDto {
23827
- /**
23828
- * Current operation identifier
23829
- * @type {string}
23830
- * @memberof WorldlineOngoingOperationDto
23831
- */
23832
- 'operationId': string;
23833
- /**
23834
- * Current ongoing operation type
23835
- * @type {string}
23836
- * @memberof WorldlineOngoingOperationDto
23837
- */
23838
- 'type': string;
23839
- }
23840
- /**
23841
- *
23842
- * @export
23843
- * @enum {string}
23844
- */
23845
-
23846
- export const WorldlineOutcomeDescription = {
23847
- None: 'None',
23848
- Aborted: 'Aborted',
23849
- UserCancel: 'UserCancel',
23850
- UserTimeout: 'UserTimeout',
23851
- CommunicationError: 'CommunicationError',
23852
- GenericError: 'GenericError'
23853
- } as const;
23854
-
23855
- export type WorldlineOutcomeDescription = typeof WorldlineOutcomeDescription[keyof typeof WorldlineOutcomeDescription];
23856
-
23857
-
23858
23369
  /**
23859
23370
  *
23860
23371
  * @export
@@ -23929,408 +23440,6 @@ export interface WorldlinePaymentRequestDataDtoAmounts {
23929
23440
  */
23930
23441
  'tip'?: number;
23931
23442
  }
23932
- /**
23933
- *
23934
- * @export
23935
- * @interface WorldlinePaymentResponseDto
23936
- */
23937
- export interface WorldlinePaymentResponseDto {
23938
- /**
23939
- *
23940
- * @type {WorldlinePaymentResponseDtoAmounts}
23941
- * @memberof WorldlinePaymentResponseDto
23942
- */
23943
- 'amounts'?: WorldlinePaymentResponseDtoAmounts;
23944
- /**
23945
- * Approval code
23946
- * @type {string}
23947
- * @memberof WorldlinePaymentResponseDto
23948
- */
23949
- 'approvalCode'?: string;
23950
- /**
23951
- *
23952
- * @type {WorldlineAuthorizationMethod}
23953
- * @memberof WorldlinePaymentResponseDto
23954
- */
23955
- 'authorizationMethod'?: WorldlineAuthorizationMethod;
23956
- /**
23957
- *
23958
- * @type {WorldlineAuthorizationResponder}
23959
- * @memberof WorldlinePaymentResponseDto
23960
- */
23961
- 'authorizationResponder'?: WorldlineAuthorizationResponder;
23962
- /**
23963
- * Batch number
23964
- * @type {string}
23965
- * @memberof WorldlinePaymentResponseDto
23966
- */
23967
- 'batchNumber'?: string;
23968
- /**
23969
- * Card product name
23970
- * @type {string}
23971
- * @memberof WorldlinePaymentResponseDto
23972
- */
23973
- 'cardProductName'?: string;
23974
- /**
23975
- * Cashier identifier
23976
- * @type {string}
23977
- * @memberof WorldlinePaymentResponseDto
23978
- */
23979
- 'cashierId'?: string;
23980
- /**
23981
- * POS custom data
23982
- * @type {object}
23983
- * @memberof WorldlinePaymentResponseDto
23984
- */
23985
- 'customData'?: object;
23986
- /**
23987
- *
23988
- * @type {WorldlineEntryMode}
23989
- * @memberof WorldlinePaymentResponseDto
23990
- */
23991
- 'entryMode'?: WorldlineEntryMode;
23992
- /**
23993
- * Financial institution
23994
- * @type {string}
23995
- * @memberof WorldlinePaymentResponseDto
23996
- */
23997
- 'financialInstitution'?: string;
23998
- /**
23999
- * Masked PAN
24000
- * @type {string}
24001
- * @memberof WorldlinePaymentResponseDto
24002
- */
24003
- 'maskedPan'?: string;
24004
- /**
24005
- *
24006
- * @type {WorldlinePaymentResponseDtoMerchant}
24007
- * @memberof WorldlinePaymentResponseDto
24008
- */
24009
- 'merchant'?: WorldlinePaymentResponseDtoMerchant;
24010
- /**
24011
- *
24012
- * @type {WorldlinePaymentResponseDtoReceipt}
24013
- * @memberof WorldlinePaymentResponseDto
24014
- */
24015
- 'receipt'?: WorldlinePaymentResponseDtoReceipt;
24016
- /**
24017
- * Receipt number
24018
- * @type {string}
24019
- * @memberof WorldlinePaymentResponseDto
24020
- */
24021
- 'receiptNumber'?: string;
24022
- /**
24023
- * Action code
24024
- * @type {string}
24025
- * @memberof WorldlinePaymentResponseDto
24026
- */
24027
- 'actionCode'?: string;
24028
- /**
24029
- *
24030
- * @type {WorldlinePaymentResponseDtoTerminal}
24031
- * @memberof WorldlinePaymentResponseDto
24032
- */
24033
- 'terminal'?: WorldlinePaymentResponseDtoTerminal;
24034
- /**
24035
- * Terminal reference number
24036
- * @type {string}
24037
- * @memberof WorldlinePaymentResponseDto
24038
- */
24039
- 'terminalRrn'?: string;
24040
- /**
24041
- * Transaction timestamp
24042
- * @type {string}
24043
- * @memberof WorldlinePaymentResponseDto
24044
- */
24045
- 'timestamp'?: string;
24046
- /**
24047
- * Worldline transaction identifier
24048
- * @type {string}
24049
- * @memberof WorldlinePaymentResponseDto
24050
- */
24051
- 'transactionId'?: string;
24052
- /**
24053
- *
24054
- * @type {WorldlineTransactionOutcome}
24055
- * @memberof WorldlinePaymentResponseDto
24056
- */
24057
- 'transactionOutcome'?: WorldlineTransactionOutcome;
24058
- /**
24059
- *
24060
- * @type {WorldlineOutcomeDescription}
24061
- * @memberof WorldlinePaymentResponseDto
24062
- */
24063
- 'outcomeDescription'?: WorldlineOutcomeDescription;
24064
- /**
24065
- *
24066
- * @type {WorldlineTransactionType}
24067
- * @memberof WorldlinePaymentResponseDto
24068
- */
24069
- 'transactionType'?: WorldlineTransactionType;
24070
- /**
24071
- *
24072
- * @type {WorldlineVerificationMethod}
24073
- * @memberof WorldlinePaymentResponseDto
24074
- */
24075
- 'verificationMethod'?: WorldlineVerificationMethod;
24076
- /**
24077
- * Cardholder language
24078
- * @type {string}
24079
- * @memberof WorldlinePaymentResponseDto
24080
- */
24081
- 'cardholderLanguage'?: string;
24082
- }
24083
-
24084
-
24085
- /**
24086
- * Transaction amounts
24087
- * @export
24088
- * @interface WorldlinePaymentResponseDtoAmounts
24089
- */
24090
- export interface WorldlinePaymentResponseDtoAmounts {
24091
- /**
24092
- *
24093
- * @type {WorldlineAmountsResponseDtoCurrency}
24094
- * @memberof WorldlinePaymentResponseDtoAmounts
24095
- */
24096
- 'currency': WorldlineAmountsResponseDtoCurrency;
24097
- /**
24098
- * Base amount
24099
- * @type {number}
24100
- * @memberof WorldlinePaymentResponseDtoAmounts
24101
- */
24102
- 'base': number;
24103
- /**
24104
- * Total amount
24105
- * @type {number}
24106
- * @memberof WorldlinePaymentResponseDtoAmounts
24107
- */
24108
- 'total': number;
24109
- /**
24110
- * Tip amount
24111
- * @type {number}
24112
- * @memberof WorldlinePaymentResponseDtoAmounts
24113
- */
24114
- 'tip'?: number;
24115
- }
24116
- /**
24117
- * Merchant information
24118
- * @export
24119
- * @interface WorldlinePaymentResponseDtoMerchant
24120
- */
24121
- export interface WorldlinePaymentResponseDtoMerchant {
24122
- /**
24123
- * Merchant identifier
24124
- * @type {string}
24125
- * @memberof WorldlinePaymentResponseDtoMerchant
24126
- */
24127
- 'id'?: string;
24128
- /**
24129
- * Merchant display name
24130
- * @type {string}
24131
- * @memberof WorldlinePaymentResponseDtoMerchant
24132
- */
24133
- 'name': string;
24134
- /**
24135
- * Merchant street address
24136
- * @type {string}
24137
- * @memberof WorldlinePaymentResponseDtoMerchant
24138
- */
24139
- 'address'?: string;
24140
- /**
24141
- * Postal code and city
24142
- * @type {string}
24143
- * @memberof WorldlinePaymentResponseDtoMerchant
24144
- */
24145
- 'city'?: string;
24146
- /**
24147
- * Organization number
24148
- * @type {string}
24149
- * @memberof WorldlinePaymentResponseDtoMerchant
24150
- */
24151
- 'organizationNumber'?: string;
24152
- /**
24153
- * Phone number
24154
- * @type {string}
24155
- * @memberof WorldlinePaymentResponseDtoMerchant
24156
- */
24157
- 'phoneNumber'?: string;
24158
- }
24159
- /**
24160
- * Receipt data
24161
- * @export
24162
- * @interface WorldlinePaymentResponseDtoReceipt
24163
- */
24164
- export interface WorldlinePaymentResponseDtoReceipt {
24165
- /**
24166
- *
24167
- * @type {WorldlineReceiptDtoCustomer}
24168
- * @memberof WorldlinePaymentResponseDtoReceipt
24169
- */
24170
- 'customer'?: WorldlineReceiptDtoCustomer;
24171
- /**
24172
- *
24173
- * @type {WorldlineReceiptDtoMerchant}
24174
- * @memberof WorldlinePaymentResponseDtoReceipt
24175
- */
24176
- 'merchant'?: WorldlineReceiptDtoMerchant;
24177
- }
24178
- /**
24179
- * Terminal information
24180
- * @export
24181
- * @interface WorldlinePaymentResponseDtoTerminal
24182
- */
24183
- export interface WorldlinePaymentResponseDtoTerminal {
24184
- /**
24185
- * Terminal identifier
24186
- * @type {string}
24187
- * @memberof WorldlinePaymentResponseDtoTerminal
24188
- */
24189
- 'id': string;
24190
- /**
24191
- * Current date and time in the terminal
24192
- * @type {string}
24193
- * @memberof WorldlinePaymentResponseDtoTerminal
24194
- */
24195
- 'dateTime': string;
24196
- /**
24197
- * Terminal uptime in seconds
24198
- * @type {number}
24199
- * @memberof WorldlinePaymentResponseDtoTerminal
24200
- */
24201
- 'uptimeSeconds'?: number;
24202
- /**
24203
- *
24204
- * @type {WorldlineTerminalInformationDtoSoftware}
24205
- * @memberof WorldlinePaymentResponseDtoTerminal
24206
- */
24207
- 'software'?: WorldlineTerminalInformationDtoSoftware;
24208
- /**
24209
- * Configured reboot time
24210
- * @type {string}
24211
- * @memberof WorldlinePaymentResponseDtoTerminal
24212
- */
24213
- 'rebootTime'?: string;
24214
- }
24215
- /**
24216
- *
24217
- * @export
24218
- * @interface WorldlineReceiptContentDto
24219
- */
24220
- export interface WorldlineReceiptContentDto {
24221
- /**
24222
- * Recommendation whether the receipt should be printed
24223
- * @type {boolean}
24224
- * @memberof WorldlineReceiptContentDto
24225
- */
24226
- 'shouldPrint'?: boolean;
24227
- /**
24228
- * Plain text receipt
24229
- * @type {string}
24230
- * @memberof WorldlineReceiptContentDto
24231
- */
24232
- 'plain'?: string;
24233
- /**
24234
- *
24235
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
24236
- * @memberof WorldlineReceiptContentDto
24237
- */
24238
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
24239
- }
24240
- /**
24241
- * Embedded receipt sections
24242
- * @export
24243
- * @interface WorldlineReceiptContentDtoEmbeddedPlain
24244
- */
24245
- export interface WorldlineReceiptContentDtoEmbeddedPlain {
24246
- /**
24247
- * Receipt header
24248
- * @type {string}
24249
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
24250
- */
24251
- 'header'?: string;
24252
- /**
24253
- * Receipt content
24254
- * @type {string}
24255
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
24256
- */
24257
- 'content'?: string;
24258
- /**
24259
- * Receipt footer
24260
- * @type {string}
24261
- * @memberof WorldlineReceiptContentDtoEmbeddedPlain
24262
- */
24263
- 'footer'?: string;
24264
- }
24265
- /**
24266
- *
24267
- * @export
24268
- * @interface WorldlineReceiptDto
24269
- */
24270
- export interface WorldlineReceiptDto {
24271
- /**
24272
- *
24273
- * @type {WorldlineReceiptDtoCustomer}
24274
- * @memberof WorldlineReceiptDto
24275
- */
24276
- 'customer'?: WorldlineReceiptDtoCustomer;
24277
- /**
24278
- *
24279
- * @type {WorldlineReceiptDtoMerchant}
24280
- * @memberof WorldlineReceiptDto
24281
- */
24282
- 'merchant'?: WorldlineReceiptDtoMerchant;
24283
- }
24284
- /**
24285
- * Customer receipt
24286
- * @export
24287
- * @interface WorldlineReceiptDtoCustomer
24288
- */
24289
- export interface WorldlineReceiptDtoCustomer {
24290
- /**
24291
- * Recommendation whether the receipt should be printed
24292
- * @type {boolean}
24293
- * @memberof WorldlineReceiptDtoCustomer
24294
- */
24295
- 'shouldPrint'?: boolean;
24296
- /**
24297
- * Plain text receipt
24298
- * @type {string}
24299
- * @memberof WorldlineReceiptDtoCustomer
24300
- */
24301
- 'plain'?: string;
24302
- /**
24303
- *
24304
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
24305
- * @memberof WorldlineReceiptDtoCustomer
24306
- */
24307
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
24308
- }
24309
- /**
24310
- * Merchant receipt
24311
- * @export
24312
- * @interface WorldlineReceiptDtoMerchant
24313
- */
24314
- export interface WorldlineReceiptDtoMerchant {
24315
- /**
24316
- * Recommendation whether the receipt should be printed
24317
- * @type {boolean}
24318
- * @memberof WorldlineReceiptDtoMerchant
24319
- */
24320
- 'shouldPrint'?: boolean;
24321
- /**
24322
- * Plain text receipt
24323
- * @type {string}
24324
- * @memberof WorldlineReceiptDtoMerchant
24325
- */
24326
- 'plain'?: string;
24327
- /**
24328
- *
24329
- * @type {WorldlineReceiptContentDtoEmbeddedPlain}
24330
- * @memberof WorldlineReceiptDtoMerchant
24331
- */
24332
- 'embeddedPlain'?: WorldlineReceiptContentDtoEmbeddedPlain;
24333
- }
24334
23443
  /**
24335
23444
  *
24336
23445
  * @export
@@ -24405,180 +23514,6 @@ export interface WorldlineRefundRequestDataDtoAmounts {
24405
23514
  */
24406
23515
  'tip'?: number;
24407
23516
  }
24408
- /**
24409
- *
24410
- * @export
24411
- * @interface WorldlineResponseEnvelopeDto
24412
- */
24413
- export interface WorldlineResponseEnvelopeDto {
24414
- /**
24415
- * Identifier of the request this response belongs to
24416
- * @type {string}
24417
- * @memberof WorldlineResponseEnvelopeDto
24418
- */
24419
- 'id'?: string;
24420
- /**
24421
- * Timestamp when the response was created
24422
- * @type {string}
24423
- * @memberof WorldlineResponseEnvelopeDto
24424
- */
24425
- 'createdAt': string;
24426
- /**
24427
- *
24428
- * @type {WorldlineResponseStatus}
24429
- * @memberof WorldlineResponseEnvelopeDto
24430
- */
24431
- 'status': WorldlineResponseStatus;
24432
- /**
24433
- *
24434
- * @type {WorldlineResponseEnvelopeDtoData}
24435
- * @memberof WorldlineResponseEnvelopeDto
24436
- */
24437
- 'data': WorldlineResponseEnvelopeDtoData;
24438
- }
24439
-
24440
-
24441
- /**
24442
- * @type WorldlineResponseEnvelopeDtoData
24443
- * Response payload
24444
- * @export
24445
- */
24446
- export type WorldlineResponseEnvelopeDtoData = WorldlineAsyncResponseDto | WorldlineDeviceInformationResponseDto | WorldlineErrorResponseDto | WorldlinePaymentResponseDto;
24447
-
24448
- /**
24449
- *
24450
- * @export
24451
- * @enum {string}
24452
- */
24453
-
24454
- export const WorldlineResponseStatus = {
24455
- Ok: 'OK',
24456
- NotFound: 'NotFound',
24457
- BadRequest: 'BadRequest',
24458
- Unauthorized: 'Unauthorized',
24459
- Forbidden: 'Forbidden',
24460
- TooManyRequests: 'TooManyRequests',
24461
- ServiceUnavailable: 'ServiceUnavailable',
24462
- InternalServerError: 'InternalServerError'
24463
- } as const;
24464
-
24465
- export type WorldlineResponseStatus = typeof WorldlineResponseStatus[keyof typeof WorldlineResponseStatus];
24466
-
24467
-
24468
- /**
24469
- *
24470
- * @export
24471
- * @interface WorldlineTerminalInformationDto
24472
- */
24473
- export interface WorldlineTerminalInformationDto {
24474
- /**
24475
- * Terminal identifier
24476
- * @type {string}
24477
- * @memberof WorldlineTerminalInformationDto
24478
- */
24479
- 'id': string;
24480
- /**
24481
- * Current date and time in the terminal
24482
- * @type {string}
24483
- * @memberof WorldlineTerminalInformationDto
24484
- */
24485
- 'dateTime': string;
24486
- /**
24487
- * Terminal uptime in seconds
24488
- * @type {number}
24489
- * @memberof WorldlineTerminalInformationDto
24490
- */
24491
- 'uptimeSeconds'?: number;
24492
- /**
24493
- *
24494
- * @type {WorldlineTerminalInformationDtoSoftware}
24495
- * @memberof WorldlineTerminalInformationDto
24496
- */
24497
- 'software'?: WorldlineTerminalInformationDtoSoftware;
24498
- /**
24499
- * Configured reboot time
24500
- * @type {string}
24501
- * @memberof WorldlineTerminalInformationDto
24502
- */
24503
- 'rebootTime'?: string;
24504
- }
24505
- /**
24506
- * Terminal software information
24507
- * @export
24508
- * @interface WorldlineTerminalInformationDtoSoftware
24509
- */
24510
- export interface WorldlineTerminalInformationDtoSoftware {
24511
- /**
24512
- * Current terminal software version
24513
- * @type {string}
24514
- * @memberof WorldlineTerminalInformationDtoSoftware
24515
- */
24516
- 'current': string;
24517
- }
24518
- /**
24519
- *
24520
- * @export
24521
- * @interface WorldlineTerminalSoftwareDto
24522
- */
24523
- export interface WorldlineTerminalSoftwareDto {
24524
- /**
24525
- * Current terminal software version
24526
- * @type {string}
24527
- * @memberof WorldlineTerminalSoftwareDto
24528
- */
24529
- 'current': string;
24530
- }
24531
- /**
24532
- *
24533
- * @export
24534
- * @enum {string}
24535
- */
24536
-
24537
- export const WorldlineTransactionOutcome = {
24538
- Approved: 'Approved',
24539
- Declined: 'Declined',
24540
- Cancelled: 'Cancelled'
24541
- } as const;
24542
-
24543
- export type WorldlineTransactionOutcome = typeof WorldlineTransactionOutcome[keyof typeof WorldlineTransactionOutcome];
24544
-
24545
-
24546
- /**
24547
- *
24548
- * @export
24549
- * @enum {string}
24550
- */
24551
-
24552
- export const WorldlineTransactionType = {
24553
- Payment: 'Payment',
24554
- Refund: 'Refund',
24555
- Capture: 'Capture',
24556
- Reversal: 'Reversal',
24557
- Print: 'Print'
24558
- } as const;
24559
-
24560
- export type WorldlineTransactionType = typeof WorldlineTransactionType[keyof typeof WorldlineTransactionType];
24561
-
24562
-
24563
- /**
24564
- *
24565
- * @export
24566
- * @enum {string}
24567
- */
24568
-
24569
- export const WorldlineVerificationMethod = {
24570
- Failed: 'Failed',
24571
- OnlinePin: 'OnlinePin',
24572
- OfflinePin: 'OfflinePin',
24573
- Signature: 'Signature',
24574
- NoCvm: 'NoCvm',
24575
- ConsumerDevice: 'ConsumerDevice',
24576
- Skipped: 'Skipped'
24577
- } as const;
24578
-
24579
- export type WorldlineVerificationMethod = typeof WorldlineVerificationMethod[keyof typeof WorldlineVerificationMethod];
24580
-
24581
-
24582
23517
 
24583
23518
  /**
24584
23519
  * AblyApi - axios parameter creator
@@ -29655,6 +28590,44 @@ export class ConfigManagementApi extends BaseAPI implements ConfigManagementApiI
29655
28590
  */
29656
28591
  export const CoursesApiAxiosParamCreator = function (configuration?: Configuration) {
29657
28592
  return {
28593
+ /**
28594
+ *
28595
+ * @summary Get course config for a business
28596
+ * @param {number} businessId Business ID
28597
+ * @param {*} [options] Override http request option.
28598
+ * @throws {RequiredError}
28599
+ */
28600
+ getCourseConfig: async (businessId: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
28601
+ // verify required parameter 'businessId' is not null or undefined
28602
+ assertParamExists('getCourseConfig', 'businessId', businessId)
28603
+ const localVarPath = `/api/v1/courses/{businessId}/config`
28604
+ .replace(`{${"businessId"}}`, encodeURIComponent(String(businessId)));
28605
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28606
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28607
+ let baseOptions;
28608
+ if (configuration) {
28609
+ baseOptions = configuration.baseOptions;
28610
+ }
28611
+
28612
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
28613
+ const localVarHeaderParameter = {} as any;
28614
+ const localVarQueryParameter = {} as any;
28615
+
28616
+ // authentication JWT-auth required
28617
+ // http bearer authentication required
28618
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
28619
+
28620
+
28621
+
28622
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28623
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28624
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
28625
+
28626
+ return {
28627
+ url: toPathString(localVarUrlObj),
28628
+ options: localVarRequestOptions,
28629
+ };
28630
+ },
29658
28631
  /**
29659
28632
  *
29660
28633
  * @summary Get courses for a business
@@ -29703,6 +28676,17 @@ export const CoursesApiAxiosParamCreator = function (configuration?: Configurati
29703
28676
  export const CoursesApiFp = function(configuration?: Configuration) {
29704
28677
  const localVarAxiosParamCreator = CoursesApiAxiosParamCreator(configuration)
29705
28678
  return {
28679
+ /**
28680
+ *
28681
+ * @summary Get course config for a business
28682
+ * @param {number} businessId Business ID
28683
+ * @param {*} [options] Override http request option.
28684
+ * @throws {RequiredError}
28685
+ */
28686
+ async getCourseConfig(businessId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CourseConfigDto>> {
28687
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCourseConfig(businessId, options);
28688
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
28689
+ },
29706
28690
  /**
29707
28691
  *
29708
28692
  * @summary Get courses for a business
@@ -29724,6 +28708,16 @@ export const CoursesApiFp = function(configuration?: Configuration) {
29724
28708
  export const CoursesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
29725
28709
  const localVarFp = CoursesApiFp(configuration)
29726
28710
  return {
28711
+ /**
28712
+ *
28713
+ * @summary Get course config for a business
28714
+ * @param {number} businessId Business ID
28715
+ * @param {*} [options] Override http request option.
28716
+ * @throws {RequiredError}
28717
+ */
28718
+ getCourseConfig(businessId: number, options?: any): AxiosPromise<CourseConfigDto> {
28719
+ return localVarFp.getCourseConfig(businessId, options).then((request) => request(axios, basePath));
28720
+ },
29727
28721
  /**
29728
28722
  *
29729
28723
  * @summary Get courses for a business
@@ -29743,6 +28737,16 @@ export const CoursesApiFactory = function (configuration?: Configuration, basePa
29743
28737
  * @interface CoursesApi
29744
28738
  */
29745
28739
  export interface CoursesApiInterface {
28740
+ /**
28741
+ *
28742
+ * @summary Get course config for a business
28743
+ * @param {number} businessId Business ID
28744
+ * @param {*} [options] Override http request option.
28745
+ * @throws {RequiredError}
28746
+ * @memberof CoursesApiInterface
28747
+ */
28748
+ getCourseConfig(businessId: number, options?: AxiosRequestConfig): AxiosPromise<CourseConfigDto>;
28749
+
29746
28750
  /**
29747
28751
  *
29748
28752
  * @summary Get courses for a business
@@ -29762,6 +28766,18 @@ export interface CoursesApiInterface {
29762
28766
  * @extends {BaseAPI}
29763
28767
  */
29764
28768
  export class CoursesApi extends BaseAPI implements CoursesApiInterface {
28769
+ /**
28770
+ *
28771
+ * @summary Get course config for a business
28772
+ * @param {number} businessId Business ID
28773
+ * @param {*} [options] Override http request option.
28774
+ * @throws {RequiredError}
28775
+ * @memberof CoursesApi
28776
+ */
28777
+ public getCourseConfig(businessId: number, options?: AxiosRequestConfig) {
28778
+ return CoursesApiFp(this.configuration).getCourseConfig(businessId, options).then((request) => request(this.axios, this.basePath));
28779
+ }
28780
+
29765
28781
  /**
29766
28782
  *
29767
28783
  * @summary Get courses for a business
@@ -35798,131 +34814,6 @@ export class OrderInternalApi extends BaseAPI implements OrderInternalApiInterfa
35798
34814
  }
35799
34815
 
35800
34816
 
35801
- /**
35802
- * OrderingCoApi - axios parameter creator
35803
- * @export
35804
- */
35805
- export const OrderingCoApiAxiosParamCreator = function (configuration?: Configuration) {
35806
- return {
35807
- /**
35808
- *
35809
- * @summary Update tax rate for businesses
35810
- * @param {object} body
35811
- * @param {*} [options] Override http request option.
35812
- * @throws {RequiredError}
35813
- */
35814
- updateTaxRate: async (body: object, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
35815
- // verify required parameter 'body' is not null or undefined
35816
- assertParamExists('updateTaxRate', 'body', body)
35817
- const localVarPath = `/api/v1/ordering/update-tax-rate`;
35818
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
35819
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
35820
- let baseOptions;
35821
- if (configuration) {
35822
- baseOptions = configuration.baseOptions;
35823
- }
35824
-
35825
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
35826
- const localVarHeaderParameter = {} as any;
35827
- const localVarQueryParameter = {} as any;
35828
-
35829
-
35830
-
35831
- localVarHeaderParameter['Content-Type'] = 'application/json';
35832
-
35833
- setSearchParams(localVarUrlObj, localVarQueryParameter);
35834
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
35835
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
35836
- localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
35837
-
35838
- return {
35839
- url: toPathString(localVarUrlObj),
35840
- options: localVarRequestOptions,
35841
- };
35842
- },
35843
- }
35844
- };
35845
-
35846
- /**
35847
- * OrderingCoApi - functional programming interface
35848
- * @export
35849
- */
35850
- export const OrderingCoApiFp = function(configuration?: Configuration) {
35851
- const localVarAxiosParamCreator = OrderingCoApiAxiosParamCreator(configuration)
35852
- return {
35853
- /**
35854
- *
35855
- * @summary Update tax rate for businesses
35856
- * @param {object} body
35857
- * @param {*} [options] Override http request option.
35858
- * @throws {RequiredError}
35859
- */
35860
- async updateTaxRate(body: object, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
35861
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateTaxRate(body, options);
35862
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
35863
- },
35864
- }
35865
- };
35866
-
35867
- /**
35868
- * OrderingCoApi - factory interface
35869
- * @export
35870
- */
35871
- export const OrderingCoApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
35872
- const localVarFp = OrderingCoApiFp(configuration)
35873
- return {
35874
- /**
35875
- *
35876
- * @summary Update tax rate for businesses
35877
- * @param {object} body
35878
- * @param {*} [options] Override http request option.
35879
- * @throws {RequiredError}
35880
- */
35881
- updateTaxRate(body: object, options?: any): AxiosPromise<void> {
35882
- return localVarFp.updateTaxRate(body, options).then((request) => request(axios, basePath));
35883
- },
35884
- };
35885
- };
35886
-
35887
- /**
35888
- * OrderingCoApi - interface
35889
- * @export
35890
- * @interface OrderingCoApi
35891
- */
35892
- export interface OrderingCoApiInterface {
35893
- /**
35894
- *
35895
- * @summary Update tax rate for businesses
35896
- * @param {object} body
35897
- * @param {*} [options] Override http request option.
35898
- * @throws {RequiredError}
35899
- * @memberof OrderingCoApiInterface
35900
- */
35901
- updateTaxRate(body: object, options?: AxiosRequestConfig): AxiosPromise<void>;
35902
-
35903
- }
35904
-
35905
- /**
35906
- * OrderingCoApi - object-oriented interface
35907
- * @export
35908
- * @class OrderingCoApi
35909
- * @extends {BaseAPI}
35910
- */
35911
- export class OrderingCoApi extends BaseAPI implements OrderingCoApiInterface {
35912
- /**
35913
- *
35914
- * @summary Update tax rate for businesses
35915
- * @param {object} body
35916
- * @param {*} [options] Override http request option.
35917
- * @throws {RequiredError}
35918
- * @memberof OrderingCoApi
35919
- */
35920
- public updateTaxRate(body: object, options?: AxiosRequestConfig) {
35921
- return OrderingCoApiFp(this.configuration).updateTaxRate(body, options).then((request) => request(this.axios, this.basePath));
35922
- }
35923
- }
35924
-
35925
-
35926
34817
  /**
35927
34818
  * OrdersApi - axios parameter creator
35928
34819
  * @export
@@ -38446,6 +37337,42 @@ export const PaymentSessionApiAxiosParamCreator = function (configuration?: Conf
38446
37337
  options: localVarRequestOptions,
38447
37338
  };
38448
37339
  },
37340
+ /**
37341
+ * 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.
37342
+ * @summary Initiate a Viva app-to-app payment session
37343
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
37344
+ * @param {*} [options] Override http request option.
37345
+ * @throws {RequiredError}
37346
+ */
37347
+ initiateVivaA2aSession: async (initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
37348
+ // verify required parameter 'initiateVivaA2aSessionDto' is not null or undefined
37349
+ assertParamExists('initiateVivaA2aSession', 'initiateVivaA2aSessionDto', initiateVivaA2aSessionDto)
37350
+ const localVarPath = `/api/v1/payment-session/viva/a2a`;
37351
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37352
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37353
+ let baseOptions;
37354
+ if (configuration) {
37355
+ baseOptions = configuration.baseOptions;
37356
+ }
37357
+
37358
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
37359
+ const localVarHeaderParameter = {} as any;
37360
+ const localVarQueryParameter = {} as any;
37361
+
37362
+
37363
+
37364
+ localVarHeaderParameter['Content-Type'] = 'application/json';
37365
+
37366
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37367
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37368
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
37369
+ localVarRequestOptions.data = serializeDataIfNeeded(initiateVivaA2aSessionDto, localVarRequestOptions, configuration)
37370
+
37371
+ return {
37372
+ url: toPathString(localVarUrlObj),
37373
+ options: localVarRequestOptions,
37374
+ };
37375
+ },
38449
37376
  /**
38450
37377
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
38451
37378
  * @summary Initiate a Viva payment session
@@ -38663,6 +37590,17 @@ export const PaymentSessionApiFp = function(configuration?: Configuration) {
38663
37590
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentSession(clientToken, options);
38664
37591
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
38665
37592
  },
37593
+ /**
37594
+ * 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.
37595
+ * @summary Initiate a Viva app-to-app payment session
37596
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
37597
+ * @param {*} [options] Override http request option.
37598
+ * @throws {RequiredError}
37599
+ */
37600
+ async initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InitiateVivaA2aSessionResponseDto>> {
37601
+ const localVarAxiosArgs = await localVarAxiosParamCreator.initiateVivaA2aSession(initiateVivaA2aSessionDto, options);
37602
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
37603
+ },
38666
37604
  /**
38667
37605
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
38668
37606
  * @summary Initiate a Viva payment session
@@ -38749,6 +37687,16 @@ export const PaymentSessionApiFactory = function (configuration?: Configuration,
38749
37687
  getPaymentSession(clientToken: string, options?: any): AxiosPromise<PaymentSessionViewDto> {
38750
37688
  return localVarFp.getPaymentSession(clientToken, options).then((request) => request(axios, basePath));
38751
37689
  },
37690
+ /**
37691
+ * 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.
37692
+ * @summary Initiate a Viva app-to-app payment session
37693
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
37694
+ * @param {*} [options] Override http request option.
37695
+ * @throws {RequiredError}
37696
+ */
37697
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: any): AxiosPromise<InitiateVivaA2aSessionResponseDto> {
37698
+ return localVarFp.initiateVivaA2aSession(initiateVivaA2aSessionDto, options).then((request) => request(axios, basePath));
37699
+ },
38752
37700
  /**
38753
37701
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
38754
37702
  * @summary Initiate a Viva payment session
@@ -38829,6 +37777,16 @@ export interface PaymentSessionApiInterface {
38829
37777
  */
38830
37778
  getPaymentSession(clientToken: string, options?: AxiosRequestConfig): AxiosPromise<PaymentSessionViewDto>;
38831
37779
 
37780
+ /**
37781
+ * 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.
37782
+ * @summary Initiate a Viva app-to-app payment session
37783
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
37784
+ * @param {*} [options] Override http request option.
37785
+ * @throws {RequiredError}
37786
+ * @memberof PaymentSessionApiInterface
37787
+ */
37788
+ initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig): AxiosPromise<InitiateVivaA2aSessionResponseDto>;
37789
+
38832
37790
  /**
38833
37791
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
38834
37792
  * @summary Initiate a Viva payment session
@@ -38913,6 +37871,18 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
38913
37871
  return PaymentSessionApiFp(this.configuration).getPaymentSession(clientToken, options).then((request) => request(this.axios, this.basePath));
38914
37872
  }
38915
37873
 
37874
+ /**
37875
+ * 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.
37876
+ * @summary Initiate a Viva app-to-app payment session
37877
+ * @param {InitiateVivaA2aSessionDto} initiateVivaA2aSessionDto
37878
+ * @param {*} [options] Override http request option.
37879
+ * @throws {RequiredError}
37880
+ * @memberof PaymentSessionApi
37881
+ */
37882
+ public initiateVivaA2aSession(initiateVivaA2aSessionDto: InitiateVivaA2aSessionDto, options?: AxiosRequestConfig) {
37883
+ return PaymentSessionApiFp(this.configuration).initiateVivaA2aSession(initiateVivaA2aSessionDto, options).then((request) => request(this.axios, this.basePath));
37884
+ }
37885
+
38916
37886
  /**
38917
37887
  * Creates a PaymentSession row, calls Viva createTransaction, returns a client-facing token and the Viva payment intent. Idempotent via X-Idempotency-Key header.
38918
37888
  * @summary Initiate a Viva payment session
@@ -38976,180 +37946,6 @@ export class PaymentSessionApi extends BaseAPI implements PaymentSessionApiInter
38976
37946
  }
38977
37947
 
38978
37948
 
38979
- /**
38980
- * PluginApi - axios parameter creator
38981
- * @export
38982
- */
38983
- export const PluginApiAxiosParamCreator = function (configuration?: Configuration) {
38984
- return {
38985
- /**
38986
- *
38987
- * @param {*} [options] Override http request option.
38988
- * @throws {RequiredError}
38989
- */
38990
- loadConfigFile: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38991
- const localVarPath = `/api/plugin/config.json`;
38992
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
38993
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38994
- let baseOptions;
38995
- if (configuration) {
38996
- baseOptions = configuration.baseOptions;
38997
- }
38998
-
38999
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
39000
- const localVarHeaderParameter = {} as any;
39001
- const localVarQueryParameter = {} as any;
39002
-
39003
-
39004
-
39005
- setSearchParams(localVarUrlObj, localVarQueryParameter);
39006
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39007
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
39008
-
39009
- return {
39010
- url: toPathString(localVarUrlObj),
39011
- options: localVarRequestOptions,
39012
- };
39013
- },
39014
- /**
39015
- *
39016
- * @param {*} [options] Override http request option.
39017
- * @throws {RequiredError}
39018
- */
39019
- upsertBusiness: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
39020
- const localVarPath = `/api/plugin/business/upsert`;
39021
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
39022
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
39023
- let baseOptions;
39024
- if (configuration) {
39025
- baseOptions = configuration.baseOptions;
39026
- }
39027
-
39028
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
39029
- const localVarHeaderParameter = {} as any;
39030
- const localVarQueryParameter = {} as any;
39031
-
39032
-
39033
-
39034
- setSearchParams(localVarUrlObj, localVarQueryParameter);
39035
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
39036
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
39037
-
39038
- return {
39039
- url: toPathString(localVarUrlObj),
39040
- options: localVarRequestOptions,
39041
- };
39042
- },
39043
- }
39044
- };
39045
-
39046
- /**
39047
- * PluginApi - functional programming interface
39048
- * @export
39049
- */
39050
- export const PluginApiFp = function(configuration?: Configuration) {
39051
- const localVarAxiosParamCreator = PluginApiAxiosParamCreator(configuration)
39052
- return {
39053
- /**
39054
- *
39055
- * @param {*} [options] Override http request option.
39056
- * @throws {RequiredError}
39057
- */
39058
- async loadConfigFile(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
39059
- const localVarAxiosArgs = await localVarAxiosParamCreator.loadConfigFile(options);
39060
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39061
- },
39062
- /**
39063
- *
39064
- * @param {*} [options] Override http request option.
39065
- * @throws {RequiredError}
39066
- */
39067
- async upsertBusiness(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
39068
- const localVarAxiosArgs = await localVarAxiosParamCreator.upsertBusiness(options);
39069
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
39070
- },
39071
- }
39072
- };
39073
-
39074
- /**
39075
- * PluginApi - factory interface
39076
- * @export
39077
- */
39078
- export const PluginApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
39079
- const localVarFp = PluginApiFp(configuration)
39080
- return {
39081
- /**
39082
- *
39083
- * @param {*} [options] Override http request option.
39084
- * @throws {RequiredError}
39085
- */
39086
- loadConfigFile(options?: any): AxiosPromise<void> {
39087
- return localVarFp.loadConfigFile(options).then((request) => request(axios, basePath));
39088
- },
39089
- /**
39090
- *
39091
- * @param {*} [options] Override http request option.
39092
- * @throws {RequiredError}
39093
- */
39094
- upsertBusiness(options?: any): AxiosPromise<void> {
39095
- return localVarFp.upsertBusiness(options).then((request) => request(axios, basePath));
39096
- },
39097
- };
39098
- };
39099
-
39100
- /**
39101
- * PluginApi - interface
39102
- * @export
39103
- * @interface PluginApi
39104
- */
39105
- export interface PluginApiInterface {
39106
- /**
39107
- *
39108
- * @param {*} [options] Override http request option.
39109
- * @throws {RequiredError}
39110
- * @memberof PluginApiInterface
39111
- */
39112
- loadConfigFile(options?: AxiosRequestConfig): AxiosPromise<void>;
39113
-
39114
- /**
39115
- *
39116
- * @param {*} [options] Override http request option.
39117
- * @throws {RequiredError}
39118
- * @memberof PluginApiInterface
39119
- */
39120
- upsertBusiness(options?: AxiosRequestConfig): AxiosPromise<void>;
39121
-
39122
- }
39123
-
39124
- /**
39125
- * PluginApi - object-oriented interface
39126
- * @export
39127
- * @class PluginApi
39128
- * @extends {BaseAPI}
39129
- */
39130
- export class PluginApi extends BaseAPI implements PluginApiInterface {
39131
- /**
39132
- *
39133
- * @param {*} [options] Override http request option.
39134
- * @throws {RequiredError}
39135
- * @memberof PluginApi
39136
- */
39137
- public loadConfigFile(options?: AxiosRequestConfig) {
39138
- return PluginApiFp(this.configuration).loadConfigFile(options).then((request) => request(this.axios, this.basePath));
39139
- }
39140
-
39141
- /**
39142
- *
39143
- * @param {*} [options] Override http request option.
39144
- * @throws {RequiredError}
39145
- * @memberof PluginApi
39146
- */
39147
- public upsertBusiness(options?: AxiosRequestConfig) {
39148
- return PluginApiFp(this.configuration).upsertBusiness(options).then((request) => request(this.axios, this.basePath));
39149
- }
39150
- }
39151
-
39152
-
39153
37949
  /**
39154
37950
  * PrintersApi - axios parameter creator
39155
37951
  * @export
@@ -43097,234 +41893,6 @@ export class UserApi extends BaseAPI implements UserApiInterface {
43097
41893
  }
43098
41894
 
43099
41895
 
43100
- /**
43101
- * UsersApi - axios parameter creator
43102
- * @export
43103
- */
43104
- export const UsersApiAxiosParamCreator = function (configuration?: Configuration) {
43105
- return {
43106
- /**
43107
- *
43108
- * @summary Filter user information with phone number
43109
- * @param {UserValidation} userValidation User body data
43110
- * @param {*} [options] Override http request option.
43111
- * @throws {RequiredError}
43112
- */
43113
- getUser: async (userValidation: UserValidation, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43114
- // verify required parameter 'userValidation' is not null or undefined
43115
- assertParamExists('getUser', 'userValidation', userValidation)
43116
- const localVarPath = `/api/v1/users`;
43117
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
43118
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43119
- let baseOptions;
43120
- if (configuration) {
43121
- baseOptions = configuration.baseOptions;
43122
- }
43123
-
43124
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
43125
- const localVarHeaderParameter = {} as any;
43126
- const localVarQueryParameter = {} as any;
43127
-
43128
- // authentication JWT-auth required
43129
- // http bearer authentication required
43130
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
43131
-
43132
-
43133
-
43134
- localVarHeaderParameter['Content-Type'] = 'application/json';
43135
-
43136
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43137
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43138
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43139
- localVarRequestOptions.data = serializeDataIfNeeded(userValidation, localVarRequestOptions, configuration)
43140
-
43141
- return {
43142
- url: toPathString(localVarUrlObj),
43143
- options: localVarRequestOptions,
43144
- };
43145
- },
43146
- /**
43147
- *
43148
- * @summary Add credit points to user wallet
43149
- * @param {number} userId
43150
- * @param {number} walletId
43151
- * @param {RewardPointPayload} rewardPointPayload
43152
- * @param {*} [options] Override http request option.
43153
- * @throws {RequiredError}
43154
- */
43155
- updateUserRewardPoints: async (userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
43156
- // verify required parameter 'userId' is not null or undefined
43157
- assertParamExists('updateUserRewardPoints', 'userId', userId)
43158
- // verify required parameter 'walletId' is not null or undefined
43159
- assertParamExists('updateUserRewardPoints', 'walletId', walletId)
43160
- // verify required parameter 'rewardPointPayload' is not null or undefined
43161
- assertParamExists('updateUserRewardPoints', 'rewardPointPayload', rewardPointPayload)
43162
- const localVarPath = `/api/v1/users/{userId}/wallets/{walletId}/events`
43163
- .replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
43164
- .replace(`{${"walletId"}}`, encodeURIComponent(String(walletId)));
43165
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
43166
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43167
- let baseOptions;
43168
- if (configuration) {
43169
- baseOptions = configuration.baseOptions;
43170
- }
43171
-
43172
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
43173
- const localVarHeaderParameter = {} as any;
43174
- const localVarQueryParameter = {} as any;
43175
-
43176
- // authentication JWT-auth required
43177
- // http bearer authentication required
43178
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
43179
-
43180
-
43181
-
43182
- localVarHeaderParameter['Content-Type'] = 'application/json';
43183
-
43184
- setSearchParams(localVarUrlObj, localVarQueryParameter);
43185
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
43186
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
43187
- localVarRequestOptions.data = serializeDataIfNeeded(rewardPointPayload, localVarRequestOptions, configuration)
43188
-
43189
- return {
43190
- url: toPathString(localVarUrlObj),
43191
- options: localVarRequestOptions,
43192
- };
43193
- },
43194
- }
43195
- };
43196
-
43197
- /**
43198
- * UsersApi - functional programming interface
43199
- * @export
43200
- */
43201
- export const UsersApiFp = function(configuration?: Configuration) {
43202
- const localVarAxiosParamCreator = UsersApiAxiosParamCreator(configuration)
43203
- return {
43204
- /**
43205
- *
43206
- * @summary Filter user information with phone number
43207
- * @param {UserValidation} userValidation User body data
43208
- * @param {*} [options] Override http request option.
43209
- * @throws {RequiredError}
43210
- */
43211
- async getUser(userValidation: UserValidation, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LoyaltyUserDto>>> {
43212
- const localVarAxiosArgs = await localVarAxiosParamCreator.getUser(userValidation, options);
43213
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43214
- },
43215
- /**
43216
- *
43217
- * @summary Add credit points to user wallet
43218
- * @param {number} userId
43219
- * @param {number} walletId
43220
- * @param {RewardPointPayload} rewardPointPayload
43221
- * @param {*} [options] Override http request option.
43222
- * @throws {RequiredError}
43223
- */
43224
- async updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
43225
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateUserRewardPoints(userId, walletId, rewardPointPayload, options);
43226
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
43227
- },
43228
- }
43229
- };
43230
-
43231
- /**
43232
- * UsersApi - factory interface
43233
- * @export
43234
- */
43235
- export const UsersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
43236
- const localVarFp = UsersApiFp(configuration)
43237
- return {
43238
- /**
43239
- *
43240
- * @summary Filter user information with phone number
43241
- * @param {UserValidation} userValidation User body data
43242
- * @param {*} [options] Override http request option.
43243
- * @throws {RequiredError}
43244
- */
43245
- getUser(userValidation: UserValidation, options?: any): AxiosPromise<Array<LoyaltyUserDto>> {
43246
- return localVarFp.getUser(userValidation, options).then((request) => request(axios, basePath));
43247
- },
43248
- /**
43249
- *
43250
- * @summary Add credit points to user wallet
43251
- * @param {number} userId
43252
- * @param {number} walletId
43253
- * @param {RewardPointPayload} rewardPointPayload
43254
- * @param {*} [options] Override http request option.
43255
- * @throws {RequiredError}
43256
- */
43257
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: any): AxiosPromise<void> {
43258
- return localVarFp.updateUserRewardPoints(userId, walletId, rewardPointPayload, options).then((request) => request(axios, basePath));
43259
- },
43260
- };
43261
- };
43262
-
43263
- /**
43264
- * UsersApi - interface
43265
- * @export
43266
- * @interface UsersApi
43267
- */
43268
- export interface UsersApiInterface {
43269
- /**
43270
- *
43271
- * @summary Filter user information with phone number
43272
- * @param {UserValidation} userValidation User body data
43273
- * @param {*} [options] Override http request option.
43274
- * @throws {RequiredError}
43275
- * @memberof UsersApiInterface
43276
- */
43277
- getUser(userValidation: UserValidation, options?: AxiosRequestConfig): AxiosPromise<Array<LoyaltyUserDto>>;
43278
-
43279
- /**
43280
- *
43281
- * @summary Add credit points to user wallet
43282
- * @param {number} userId
43283
- * @param {number} walletId
43284
- * @param {RewardPointPayload} rewardPointPayload
43285
- * @param {*} [options] Override http request option.
43286
- * @throws {RequiredError}
43287
- * @memberof UsersApiInterface
43288
- */
43289
- updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig): AxiosPromise<void>;
43290
-
43291
- }
43292
-
43293
- /**
43294
- * UsersApi - object-oriented interface
43295
- * @export
43296
- * @class UsersApi
43297
- * @extends {BaseAPI}
43298
- */
43299
- export class UsersApi extends BaseAPI implements UsersApiInterface {
43300
- /**
43301
- *
43302
- * @summary Filter user information with phone number
43303
- * @param {UserValidation} userValidation User body data
43304
- * @param {*} [options] Override http request option.
43305
- * @throws {RequiredError}
43306
- * @memberof UsersApi
43307
- */
43308
- public getUser(userValidation: UserValidation, options?: AxiosRequestConfig) {
43309
- return UsersApiFp(this.configuration).getUser(userValidation, options).then((request) => request(this.axios, this.basePath));
43310
- }
43311
-
43312
- /**
43313
- *
43314
- * @summary Add credit points to user wallet
43315
- * @param {number} userId
43316
- * @param {number} walletId
43317
- * @param {RewardPointPayload} rewardPointPayload
43318
- * @param {*} [options] Override http request option.
43319
- * @throws {RequiredError}
43320
- * @memberof UsersApi
43321
- */
43322
- public updateUserRewardPoints(userId: number, walletId: number, rewardPointPayload: RewardPointPayload, options?: AxiosRequestConfig) {
43323
- return UsersApiFp(this.configuration).updateUserRewardPoints(userId, walletId, rewardPointPayload, options).then((request) => request(this.axios, this.basePath));
43324
- }
43325
- }
43326
-
43327
-
43328
41896
  /**
43329
41897
  * VendureSellerApi - axios parameter creator
43330
41898
  * @export
@@ -45088,141 +43656,6 @@ export const WorldlineApiAxiosParamCreator = function (configuration?: Configura
45088
43656
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45089
43657
  localVarRequestOptions.data = serializeDataIfNeeded(createWorldlineRefundDto, localVarRequestOptions, configuration)
45090
43658
 
45091
- return {
45092
- url: toPathString(localVarUrlObj),
45093
- options: localVarRequestOptions,
45094
- };
45095
- },
45096
- /**
45097
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
45098
- * @summary Long-poll for the next unhandled Worldline WAN request
45099
- * @param {string} terminalId The unique identifier of the terminal
45100
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
45101
- * @param {string} sessionID The terminal session UUID
45102
- * @param {string} protocolVersion The version of the API protocol being used
45103
- * @param {*} [options] Override http request option.
45104
- * @throws {RequiredError}
45105
- */
45106
- getNextRequest: async (terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45107
- // verify required parameter 'terminalId' is not null or undefined
45108
- assertParamExists('getNextRequest', 'terminalId', terminalId)
45109
- // verify required parameter 'authorization' is not null or undefined
45110
- assertParamExists('getNextRequest', 'authorization', authorization)
45111
- // verify required parameter 'sessionID' is not null or undefined
45112
- assertParamExists('getNextRequest', 'sessionID', sessionID)
45113
- // verify required parameter 'protocolVersion' is not null or undefined
45114
- assertParamExists('getNextRequest', 'protocolVersion', protocolVersion)
45115
- const localVarPath = `/api/v2/terminals/{terminalId}/requests`
45116
- .replace(`{${"terminalId"}}`, encodeURIComponent(String(terminalId)));
45117
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
45118
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45119
- let baseOptions;
45120
- if (configuration) {
45121
- baseOptions = configuration.baseOptions;
45122
- }
45123
-
45124
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
45125
- const localVarHeaderParameter = {} as any;
45126
- const localVarQueryParameter = {} as any;
45127
-
45128
- if (authorization != null) {
45129
- localVarHeaderParameter['Authorization'] = String(authorization);
45130
- }
45131
-
45132
- if (sessionID != null) {
45133
- localVarHeaderParameter['Session-ID'] = String(sessionID);
45134
- }
45135
-
45136
- if (protocolVersion != null) {
45137
- localVarHeaderParameter['Protocol-Version'] = String(protocolVersion);
45138
- }
45139
-
45140
-
45141
-
45142
- setSearchParams(localVarUrlObj, localVarQueryParameter);
45143
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45144
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45145
-
45146
- return {
45147
- url: toPathString(localVarUrlObj),
45148
- options: localVarRequestOptions,
45149
- };
45150
- },
45151
- /**
45152
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
45153
- * @summary Report a terminal event such as dialog shown or operation completion
45154
- * @param {string} terminalId The unique identifier of the terminal
45155
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
45156
- * @param {*} [options] Override http request option.
45157
- * @throws {RequiredError}
45158
- */
45159
- submitEvent: async (terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45160
- // verify required parameter 'terminalId' is not null or undefined
45161
- assertParamExists('submitEvent', 'terminalId', terminalId)
45162
- // verify required parameter 'worldlineEventEnvelopeDto' is not null or undefined
45163
- assertParamExists('submitEvent', 'worldlineEventEnvelopeDto', worldlineEventEnvelopeDto)
45164
- const localVarPath = `/api/v2/terminals/{terminalId}/events`
45165
- .replace(`{${"terminalId"}}`, encodeURIComponent(String(terminalId)));
45166
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
45167
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45168
- let baseOptions;
45169
- if (configuration) {
45170
- baseOptions = configuration.baseOptions;
45171
- }
45172
-
45173
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
45174
- const localVarHeaderParameter = {} as any;
45175
- const localVarQueryParameter = {} as any;
45176
-
45177
-
45178
-
45179
- localVarHeaderParameter['Content-Type'] = 'application/json';
45180
-
45181
- setSearchParams(localVarUrlObj, localVarQueryParameter);
45182
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45183
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45184
- localVarRequestOptions.data = serializeDataIfNeeded(worldlineEventEnvelopeDto, localVarRequestOptions, configuration)
45185
-
45186
- return {
45187
- url: toPathString(localVarUrlObj),
45188
- options: localVarRequestOptions,
45189
- };
45190
- },
45191
- /**
45192
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
45193
- * @summary Submit a response to a previously fetched request
45194
- * @param {string} terminalId The unique identifier of the terminal
45195
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
45196
- * @param {*} [options] Override http request option.
45197
- * @throws {RequiredError}
45198
- */
45199
- submitResponse: async (terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
45200
- // verify required parameter 'terminalId' is not null or undefined
45201
- assertParamExists('submitResponse', 'terminalId', terminalId)
45202
- // verify required parameter 'worldlineResponseEnvelopeDto' is not null or undefined
45203
- assertParamExists('submitResponse', 'worldlineResponseEnvelopeDto', worldlineResponseEnvelopeDto)
45204
- const localVarPath = `/api/v2/terminals/{terminalId}/responses`
45205
- .replace(`{${"terminalId"}}`, encodeURIComponent(String(terminalId)));
45206
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
45207
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
45208
- let baseOptions;
45209
- if (configuration) {
45210
- baseOptions = configuration.baseOptions;
45211
- }
45212
-
45213
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
45214
- const localVarHeaderParameter = {} as any;
45215
- const localVarQueryParameter = {} as any;
45216
-
45217
-
45218
-
45219
- localVarHeaderParameter['Content-Type'] = 'application/json';
45220
-
45221
- setSearchParams(localVarUrlObj, localVarQueryParameter);
45222
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45223
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45224
- localVarRequestOptions.data = serializeDataIfNeeded(worldlineResponseEnvelopeDto, localVarRequestOptions, configuration)
45225
-
45226
43659
  return {
45227
43660
  url: toPathString(localVarUrlObj),
45228
43661
  options: localVarRequestOptions,
@@ -45271,44 +43704,6 @@ export const WorldlineApiFp = function(configuration?: Configuration) {
45271
43704
  const localVarAxiosArgs = await localVarAxiosParamCreator.createRefund(createWorldlineRefundDto, options);
45272
43705
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
45273
43706
  },
45274
- /**
45275
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
45276
- * @summary Long-poll for the next unhandled Worldline WAN request
45277
- * @param {string} terminalId The unique identifier of the terminal
45278
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
45279
- * @param {string} sessionID The terminal session UUID
45280
- * @param {string} protocolVersion The version of the API protocol being used
45281
- * @param {*} [options] Override http request option.
45282
- * @throws {RequiredError}
45283
- */
45284
- async getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
45285
- const localVarAxiosArgs = await localVarAxiosParamCreator.getNextRequest(terminalId, authorization, sessionID, protocolVersion, options);
45286
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
45287
- },
45288
- /**
45289
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
45290
- * @summary Report a terminal event such as dialog shown or operation completion
45291
- * @param {string} terminalId The unique identifier of the terminal
45292
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
45293
- * @param {*} [options] Override http request option.
45294
- * @throws {RequiredError}
45295
- */
45296
- async submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
45297
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitEvent(terminalId, worldlineEventEnvelopeDto, options);
45298
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
45299
- },
45300
- /**
45301
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
45302
- * @summary Submit a response to a previously fetched request
45303
- * @param {string} terminalId The unique identifier of the terminal
45304
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
45305
- * @param {*} [options] Override http request option.
45306
- * @throws {RequiredError}
45307
- */
45308
- async submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
45309
- const localVarAxiosArgs = await localVarAxiosParamCreator.submitResponse(terminalId, worldlineResponseEnvelopeDto, options);
45310
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
45311
- },
45312
43707
  }
45313
43708
  };
45314
43709
 
@@ -45349,41 +43744,6 @@ export const WorldlineApiFactory = function (configuration?: Configuration, base
45349
43744
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: any): AxiosPromise<void> {
45350
43745
  return localVarFp.createRefund(createWorldlineRefundDto, options).then((request) => request(axios, basePath));
45351
43746
  },
45352
- /**
45353
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
45354
- * @summary Long-poll for the next unhandled Worldline WAN request
45355
- * @param {string} terminalId The unique identifier of the terminal
45356
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
45357
- * @param {string} sessionID The terminal session UUID
45358
- * @param {string} protocolVersion The version of the API protocol being used
45359
- * @param {*} [options] Override http request option.
45360
- * @throws {RequiredError}
45361
- */
45362
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: any): AxiosPromise<void> {
45363
- return localVarFp.getNextRequest(terminalId, authorization, sessionID, protocolVersion, options).then((request) => request(axios, basePath));
45364
- },
45365
- /**
45366
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
45367
- * @summary Report a terminal event such as dialog shown or operation completion
45368
- * @param {string} terminalId The unique identifier of the terminal
45369
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
45370
- * @param {*} [options] Override http request option.
45371
- * @throws {RequiredError}
45372
- */
45373
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: any): AxiosPromise<void> {
45374
- return localVarFp.submitEvent(terminalId, worldlineEventEnvelopeDto, options).then((request) => request(axios, basePath));
45375
- },
45376
- /**
45377
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
45378
- * @summary Submit a response to a previously fetched request
45379
- * @param {string} terminalId The unique identifier of the terminal
45380
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
45381
- * @param {*} [options] Override http request option.
45382
- * @throws {RequiredError}
45383
- */
45384
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: any): AxiosPromise<void> {
45385
- return localVarFp.submitResponse(terminalId, worldlineResponseEnvelopeDto, options).then((request) => request(axios, basePath));
45386
- },
45387
43747
  };
45388
43748
  };
45389
43749
 
@@ -45423,41 +43783,6 @@ export interface WorldlineApiInterface {
45423
43783
  */
45424
43784
  createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig): AxiosPromise<void>;
45425
43785
 
45426
- /**
45427
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
45428
- * @summary Long-poll for the next unhandled Worldline WAN request
45429
- * @param {string} terminalId The unique identifier of the terminal
45430
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
45431
- * @param {string} sessionID The terminal session UUID
45432
- * @param {string} protocolVersion The version of the API protocol being used
45433
- * @param {*} [options] Override http request option.
45434
- * @throws {RequiredError}
45435
- * @memberof WorldlineApiInterface
45436
- */
45437
- getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig): AxiosPromise<void>;
45438
-
45439
- /**
45440
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
45441
- * @summary Report a terminal event such as dialog shown or operation completion
45442
- * @param {string} terminalId The unique identifier of the terminal
45443
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
45444
- * @param {*} [options] Override http request option.
45445
- * @throws {RequiredError}
45446
- * @memberof WorldlineApiInterface
45447
- */
45448
- submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
45449
-
45450
- /**
45451
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
45452
- * @summary Submit a response to a previously fetched request
45453
- * @param {string} terminalId The unique identifier of the terminal
45454
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
45455
- * @param {*} [options] Override http request option.
45456
- * @throws {RequiredError}
45457
- * @memberof WorldlineApiInterface
45458
- */
45459
- submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig): AxiosPromise<void>;
45460
-
45461
43786
  }
45462
43787
 
45463
43788
  /**
@@ -45502,47 +43827,6 @@ export class WorldlineApi extends BaseAPI implements WorldlineApiInterface {
45502
43827
  public createRefund(createWorldlineRefundDto: CreateWorldlineRefundDto, options?: AxiosRequestConfig) {
45503
43828
  return WorldlineApiFp(this.configuration).createRefund(createWorldlineRefundDto, options).then((request) => request(this.axios, this.basePath));
45504
43829
  }
45505
-
45506
- /**
45507
- * Proxy endpoint forwarding the Worldline WAN polling contract to the Worldline microservice.
45508
- * @summary Long-poll for the next unhandled Worldline WAN request
45509
- * @param {string} terminalId The unique identifier of the terminal
45510
- * @param {string} authorization Forwarded to the Worldline microservice as received from the terminal
45511
- * @param {string} sessionID The terminal session UUID
45512
- * @param {string} protocolVersion The version of the API protocol being used
45513
- * @param {*} [options] Override http request option.
45514
- * @throws {RequiredError}
45515
- * @memberof WorldlineApi
45516
- */
45517
- public getNextRequest(terminalId: string, authorization: string, sessionID: string, protocolVersion: string, options?: AxiosRequestConfig) {
45518
- return WorldlineApiFp(this.configuration).getNextRequest(terminalId, authorization, sessionID, protocolVersion, options).then((request) => request(this.axios, this.basePath));
45519
- }
45520
-
45521
- /**
45522
- * Proxy endpoint forwarding terminal event envelopes to the Worldline microservice.
45523
- * @summary Report a terminal event such as dialog shown or operation completion
45524
- * @param {string} terminalId The unique identifier of the terminal
45525
- * @param {WorldlineEventEnvelopeDto} worldlineEventEnvelopeDto
45526
- * @param {*} [options] Override http request option.
45527
- * @throws {RequiredError}
45528
- * @memberof WorldlineApi
45529
- */
45530
- public submitEvent(terminalId: string, worldlineEventEnvelopeDto: WorldlineEventEnvelopeDto, options?: AxiosRequestConfig) {
45531
- return WorldlineApiFp(this.configuration).submitEvent(terminalId, worldlineEventEnvelopeDto, options).then((request) => request(this.axios, this.basePath));
45532
- }
45533
-
45534
- /**
45535
- * Proxy endpoint forwarding terminal response envelopes to the Worldline microservice.
45536
- * @summary Submit a response to a previously fetched request
45537
- * @param {string} terminalId The unique identifier of the terminal
45538
- * @param {WorldlineResponseEnvelopeDto} worldlineResponseEnvelopeDto
45539
- * @param {*} [options] Override http request option.
45540
- * @throws {RequiredError}
45541
- * @memberof WorldlineApi
45542
- */
45543
- public submitResponse(terminalId: string, worldlineResponseEnvelopeDto: WorldlineResponseEnvelopeDto, options?: AxiosRequestConfig) {
45544
- return WorldlineApiFp(this.configuration).submitResponse(terminalId, worldlineResponseEnvelopeDto, options).then((request) => request(this.axios, this.basePath));
45545
- }
45546
43830
  }
45547
43831
 
45548
43832