hs-playlib 0.4.0 → 0.6.0

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.
@@ -7430,7 +7430,7 @@ export namespace types {
7430
7430
  constructor(properties?: types.IPaymentServiceGetResponse);
7431
7431
 
7432
7432
  /** Identification */
7433
- public connectorTransactionId?: (string|null);
7433
+ public connectorTransactionId: string;
7434
7434
 
7435
7435
  /** Status Information */
7436
7436
  public status: types.PaymentStatus;
@@ -7688,7 +7688,7 @@ export namespace types {
7688
7688
  responseHeaders?: ({ [k: string]: string }|null);
7689
7689
 
7690
7690
  /** Reference */
7691
- merchantTransactionId?: (string|null);
7691
+ merchantVoidId?: (string|null);
7692
7692
 
7693
7693
  /** State Information */
7694
7694
  state?: (types.IConnectorState|null);
@@ -7716,7 +7716,7 @@ export namespace types {
7716
7716
  constructor(properties?: types.IPaymentServiceVoidResponse);
7717
7717
 
7718
7718
  /** Identification */
7719
- public connectorTransactionId?: (string|null);
7719
+ public connectorTransactionId: string;
7720
7720
 
7721
7721
  /** Status Information */
7722
7722
  public status: types.PaymentStatus;
@@ -7731,7 +7731,7 @@ export namespace types {
7731
7731
  public responseHeaders: { [k: string]: string };
7732
7732
 
7733
7733
  /** Reference */
7734
- public merchantTransactionId?: (string|null);
7734
+ public merchantVoidId?: (string|null);
7735
7735
 
7736
7736
  /** State Information */
7737
7737
  public state?: (types.IConnectorState|null);
@@ -7823,7 +7823,7 @@ export namespace types {
7823
7823
  constructor(properties?: types.IPaymentServiceReverseRequest);
7824
7824
 
7825
7825
  /** Identification */
7826
- public merchantReverseId: string;
7826
+ public merchantReverseId?: (string|null);
7827
7827
 
7828
7828
  /** PaymentServiceReverseRequest connectorTransactionId. */
7829
7829
  public connectorTransactionId: string;
@@ -7915,7 +7915,7 @@ export namespace types {
7915
7915
  constructor(properties?: types.IPaymentServiceReverseResponse);
7916
7916
 
7917
7917
  /** Identification */
7918
- public connectorTransactionId?: (string|null);
7918
+ public connectorTransactionId: string;
7919
7919
 
7920
7920
  /** Status Information */
7921
7921
  public status: types.PaymentStatus;
@@ -8185,7 +8185,7 @@ export namespace types {
8185
8185
  constructor(properties?: types.IMerchantAuthenticationServiceCreateSessionTokenRequest);
8186
8186
 
8187
8187
  /** Identification */
8188
- public merchantSessionId: string;
8188
+ public merchantSessionId?: (string|null);
8189
8189
 
8190
8190
  /** Amount Information */
8191
8191
  public amount?: (types.IMoney|null);
@@ -8675,7 +8675,7 @@ export namespace types {
8675
8675
  constructor(properties?: types.IPaymentServiceCaptureResponse);
8676
8676
 
8677
8677
  /** Identification */
8678
- public connectorTransactionId?: (string|null);
8678
+ public connectorTransactionId: string;
8679
8679
 
8680
8680
  /** Status Information */
8681
8681
  public status: types.PaymentStatus;
@@ -8788,7 +8788,7 @@ export namespace types {
8788
8788
  constructor(properties?: types.IPaymentServiceCreateOrderRequest);
8789
8789
 
8790
8790
  /** Identification */
8791
- public merchantOrderId: string;
8791
+ public merchantOrderId?: (string|null);
8792
8792
 
8793
8793
  /** Amount Information */
8794
8794
  public amount?: (types.IMoney|null);
@@ -9020,7 +9020,7 @@ export namespace types {
9020
9020
  constructor(properties?: types.IPaymentServiceRefundRequest);
9021
9021
 
9022
9022
  /** Identification */
9023
- public merchantRefundId: string;
9023
+ public merchantRefundId?: (string|null);
9024
9024
 
9025
9025
  /** PaymentServiceRefundRequest connectorTransactionId. */
9026
9026
  public connectorTransactionId: string;
@@ -9315,7 +9315,7 @@ export namespace types {
9315
9315
  constructor(properties?: types.IPaymentServiceDisputeRequest);
9316
9316
 
9317
9317
  /** Identification */
9318
- public merchantDisputeId: string;
9318
+ public merchantDisputeId?: (string|null);
9319
9319
 
9320
9320
  /** Transaction ID to raise the dispute for */
9321
9321
  public connectorTransactionId: string;
@@ -9785,7 +9785,7 @@ export namespace types {
9785
9785
  interface IPaymentServiceSetupRecurringResponse {
9786
9786
 
9787
9787
  /** Identification */
9788
- connectorRegistrationId?: (string|null);
9788
+ connectorRecurringPaymentId?: (string|null);
9789
9789
 
9790
9790
  /** Status Information */
9791
9791
  status?: (types.PaymentStatus|null);
@@ -9840,7 +9840,7 @@ export namespace types {
9840
9840
  constructor(properties?: types.IPaymentServiceSetupRecurringResponse);
9841
9841
 
9842
9842
  /** Identification */
9843
- public connectorRegistrationId?: (string|null);
9843
+ public connectorRecurringPaymentId?: (string|null);
9844
9844
 
9845
9845
  /** Status Information */
9846
9846
  public status: types.PaymentStatus;
@@ -9864,7 +9864,7 @@ export namespace types {
9864
9864
  public networkTransactionId?: (string|null);
9865
9865
 
9866
9866
  /** PaymentServiceSetupRecurringResponse merchantRecurringPaymentId. */
9867
- public merchantRecurringPaymentId?: (string|null);
9867
+ public merchantRecurringPaymentId: string;
9868
9868
 
9869
9869
  /** Various data regarding the response from connector */
9870
9870
  public connectorResponse?: (types.IConnectorResponseData|null);
@@ -9931,7 +9931,7 @@ export namespace types {
9931
9931
  merchantChargeId?: (string|null);
9932
9932
 
9933
9933
  /** Mandate Information (for MIT) */
9934
- mandateReferenceId?: (types.IMandateReference|null);
9934
+ connectorRecurringPaymentId?: (types.IMandateReference|null);
9935
9935
 
9936
9936
  /** Amount Information */
9937
9937
  amount?: (types.IMoney|null);
@@ -10034,7 +10034,7 @@ export namespace types {
10034
10034
  public merchantChargeId?: (string|null);
10035
10035
 
10036
10036
  /** Mandate Information (for MIT) */
10037
- public mandateReferenceId?: (types.IMandateReference|null);
10037
+ public connectorRecurringPaymentId?: (types.IMandateReference|null);
10038
10038
 
10039
10039
  /** Amount Information */
10040
10040
  public amount?: (types.IMoney|null);
@@ -10329,7 +10329,7 @@ export namespace types {
10329
10329
  constructor(properties?: types.IRecurringPaymentServiceRevokeRequest);
10330
10330
 
10331
10331
  /** Identification */
10332
- public merchantRevokeId: string;
10332
+ public merchantRevokeId?: (string|null);
10333
10333
 
10334
10334
  /** Mandate Details */
10335
10335
  public mandateId: string;
@@ -10534,7 +10534,7 @@ export namespace types {
10534
10534
  constructor(properties?: types.IPaymentMethodAuthenticationServicePreAuthenticateRequest);
10535
10535
 
10536
10536
  /** Payment Identification */
10537
- public merchantOrderId: string;
10537
+ public merchantOrderId?: (string|null);
10538
10538
 
10539
10539
  /** Amount Information */
10540
10540
  public amount?: (types.IMoney|null);
@@ -10796,7 +10796,7 @@ export namespace types {
10796
10796
  constructor(properties?: types.IPaymentMethodAuthenticationServiceAuthenticateRequest);
10797
10797
 
10798
10798
  /** Payment Identification */
10799
- public merchantOrderId: string;
10799
+ public merchantOrderId?: (string|null);
10800
10800
 
10801
10801
  /** Amount Information */
10802
10802
  public amount?: (types.IMoney|null);
@@ -11058,7 +11058,7 @@ export namespace types {
11058
11058
  constructor(properties?: types.IPaymentMethodAuthenticationServicePostAuthenticateRequest);
11059
11059
 
11060
11060
  /** Payment Identification */
11061
- public merchantOrderId: string;
11061
+ public merchantOrderId?: (string|null);
11062
11062
 
11063
11063
  /** Amount Information */
11064
11064
  public amount?: (types.IMoney|null);
@@ -11302,7 +11302,7 @@ export namespace types {
11302
11302
  constructor(properties?: types.IPaymentServiceIncrementalAuthorizationRequest);
11303
11303
 
11304
11304
  /** Identification */
11305
- public merchantAuthorizationId: string;
11305
+ public merchantAuthorizationId?: (string|null);
11306
11306
 
11307
11307
  /** PaymentServiceIncrementalAuthorizationRequest connectorTransactionId. */
11308
11308
  public connectorTransactionId: string;
@@ -11474,7 +11474,7 @@ export namespace types {
11474
11474
  constructor(properties?: types.IEventServiceHandleRequest);
11475
11475
 
11476
11476
  /** Identification */
11477
- public merchantEventId: string;
11477
+ public merchantEventId?: (string|null);
11478
11478
 
11479
11479
  /** Request Details */
11480
11480
  public requestDetails?: (types.IRequestDetails|null);
@@ -11555,7 +11555,7 @@ export namespace types {
11555
11555
  constructor(properties?: types.IPaymentServiceVerifyRedirectResponseRequest);
11556
11556
 
11557
11557
  /** Identification */
11558
- public merchantOrderId: string;
11558
+ public merchantOrderId?: (string|null);
11559
11559
 
11560
11560
  /** Request Details */
11561
11561
  public requestDetails?: (types.IRequestDetails|null);
@@ -12030,7 +12030,7 @@ export namespace types {
12030
12030
  constructor(properties?: types.IDisputeServiceGetRequest);
12031
12031
 
12032
12032
  /** Identification */
12033
- public merchantDisputeId: string;
12033
+ public merchantDisputeId?: (string|null);
12034
12034
 
12035
12035
  /** DisputeServiceGetRequest disputeId. */
12036
12036
  public disputeId?: (string|null);
@@ -12104,7 +12104,7 @@ export namespace types {
12104
12104
  constructor(properties?: types.IDisputeServiceDefendRequest);
12105
12105
 
12106
12106
  /** Identification */
12107
- public merchantDisputeId: string;
12107
+ public merchantDisputeId?: (string|null);
12108
12108
 
12109
12109
  /** DisputeServiceDefendRequest connectorTransactionId. */
12110
12110
  public connectorTransactionId: string;
@@ -12279,7 +12279,7 @@ export namespace types {
12279
12279
  constructor(properties?: types.IDisputeServiceAcceptRequest);
12280
12280
 
12281
12281
  /** Identification */
12282
- public merchantDisputeId: string;
12282
+ public merchantDisputeId?: (string|null);
12283
12283
 
12284
12284
  /** DisputeServiceAcceptRequest connectorTransactionId. */
12285
12285
  public connectorTransactionId: string;
@@ -12469,7 +12469,7 @@ export namespace types {
12469
12469
  constructor(properties?: types.IPaymentMethodServiceTokenizeRequest);
12470
12470
 
12471
12471
  /** Identification */
12472
- public merchantPaymentMethodId: string;
12472
+ public merchantPaymentMethodId?: (string|null);
12473
12473
 
12474
12474
  /** Payment Information */
12475
12475
  public amount?: (types.IMoney|null);
@@ -12647,7 +12647,7 @@ export namespace types {
12647
12647
  constructor(properties?: types.IPaymentMethodServiceGetRequest);
12648
12648
 
12649
12649
  /** Identification */
12650
- public merchantPaymentMethodId: string;
12650
+ public merchantPaymentMethodId?: (string|null);
12651
12651
 
12652
12652
  /** Payment Method Information */
12653
12653
  public paymentMethodToken: string;
@@ -12988,7 +12988,7 @@ export namespace types {
12988
12988
  constructor(properties?: types.ICustomerServiceGetRequest);
12989
12989
 
12990
12990
  /** Identification */
12991
- public merchantCustomerId: string;
12991
+ public merchantCustomerId?: (string|null);
12992
12992
 
12993
12993
  /** Customer Information */
12994
12994
  public connectorCustomerId: string;
@@ -13154,7 +13154,7 @@ export namespace types {
13154
13154
  constructor(properties?: types.ICustomerServiceUpdateRequest);
13155
13155
 
13156
13156
  /** Identification */
13157
- public merchantCustomerId: string;
13157
+ public merchantCustomerId?: (string|null);
13158
13158
 
13159
13159
  /** Customer Information */
13160
13160
  public connectorCustomerId: string;
@@ -13320,7 +13320,7 @@ export namespace types {
13320
13320
  constructor(properties?: types.ICustomerServiceDeleteRequest);
13321
13321
 
13322
13322
  /** Identification */
13323
- public merchantCustomerId: string;
13323
+ public merchantCustomerId?: (string|null);
13324
13324
 
13325
13325
  /** Customer Information */
13326
13326
  public connectorCustomerId: string;
@@ -19070,6 +19070,9 @@ export namespace types {
19070
19070
  /** Paze */
19071
19071
  paze?: (types.IPazeWallet|null);
19072
19072
 
19073
+ /** Samsung */
19074
+ samsungPay?: (types.ISamsungWallet|null);
19075
+
19073
19076
  /** UPI METHODS (30-39) - Direct variants */
19074
19077
  upiCollect?: (types.IUpiCollect|null);
19075
19078
 
@@ -19353,6 +19356,9 @@ export namespace types {
19353
19356
  /** Paze */
19354
19357
  public paze?: (types.IPazeWallet|null);
19355
19358
 
19359
+ /** Samsung */
19360
+ public samsungPay?: (types.ISamsungWallet|null);
19361
+
19356
19362
  /** UPI METHODS (30-39) - Direct variants */
19357
19363
  public upiCollect?: (types.IUpiCollect|null);
19358
19364
 
@@ -19570,7 +19576,7 @@ export namespace types {
19570
19576
  public payEasy?: (types.IPayEasy|null);
19571
19577
 
19572
19578
  /** PaymentMethod paymentMethod. */
19573
- public paymentMethod?: ("card"|"cardRedirect"|"cardProxy"|"token"|"applePay"|"googlePay"|"applePayThirdPartySdk"|"googlePayThirdPartySdk"|"paypalSdk"|"amazonPayRedirect"|"cashappQr"|"paypalRedirect"|"weChatPayQr"|"aliPayRedirect"|"revolutPay"|"mifinity"|"bluecode"|"paze"|"upiCollect"|"upiIntent"|"upiQr"|"onlineBankingThailand"|"onlineBankingCzechRepublic"|"onlineBankingFinland"|"onlineBankingFpx"|"onlineBankingPoland"|"onlineBankingSlovakia"|"openBankingUk"|"openBankingPis"|"localBankRedirect"|"ideal"|"sofort"|"trustly"|"giropay"|"eps"|"przelewy24"|"pse"|"bancontactCard"|"blik"|"openBanking"|"interac"|"bizum"|"eft"|"duitNow"|"crypto"|"classicReward"|"eVoucher"|"instantBankTransfer"|"achBankTransfer"|"sepaBankTransfer"|"bacsBankTransfer"|"multibancoBankTransfer"|"instantBankTransferFinland"|"instantBankTransferPoland"|"pix"|"permataBankTransfer"|"bcaBankTransfer"|"bniVaBankTransfer"|"briVaBankTransfer"|"cimbVaBankTransfer"|"danamonVaBankTransfer"|"mandiriVaBankTransfer"|"localBankTransfer"|"indonesianBankTransfer"|"ach"|"sepa"|"bacs"|"becs"|"sepaGuaranteedDebit"|"affirm"|"afterpayClearpay"|"klarna"|"cardDetailsForNetworkTransactionId"|"networkToken"|"givex"|"paySafeCard"|"boleto"|"efecty"|"pagoEfectivo"|"redCompra"|"redPagos"|"alfamart"|"indomaret"|"oxxo"|"sevenEleven"|"lawson"|"miniStop"|"familyMart"|"seicomart"|"payEasy");
19579
+ public paymentMethod?: ("card"|"cardRedirect"|"cardProxy"|"token"|"applePay"|"googlePay"|"applePayThirdPartySdk"|"googlePayThirdPartySdk"|"paypalSdk"|"amazonPayRedirect"|"cashappQr"|"paypalRedirect"|"weChatPayQr"|"aliPayRedirect"|"revolutPay"|"mifinity"|"bluecode"|"paze"|"samsungPay"|"upiCollect"|"upiIntent"|"upiQr"|"onlineBankingThailand"|"onlineBankingCzechRepublic"|"onlineBankingFinland"|"onlineBankingFpx"|"onlineBankingPoland"|"onlineBankingSlovakia"|"openBankingUk"|"openBankingPis"|"localBankRedirect"|"ideal"|"sofort"|"trustly"|"giropay"|"eps"|"przelewy24"|"pse"|"bancontactCard"|"blik"|"openBanking"|"interac"|"bizum"|"eft"|"duitNow"|"crypto"|"classicReward"|"eVoucher"|"instantBankTransfer"|"achBankTransfer"|"sepaBankTransfer"|"bacsBankTransfer"|"multibancoBankTransfer"|"instantBankTransferFinland"|"instantBankTransferPoland"|"pix"|"permataBankTransfer"|"bcaBankTransfer"|"bniVaBankTransfer"|"briVaBankTransfer"|"cimbVaBankTransfer"|"danamonVaBankTransfer"|"mandiriVaBankTransfer"|"localBankTransfer"|"indonesianBankTransfer"|"ach"|"sepa"|"bacs"|"becs"|"sepaGuaranteedDebit"|"affirm"|"afterpayClearpay"|"klarna"|"cardDetailsForNetworkTransactionId"|"networkToken"|"givex"|"paySafeCard"|"boleto"|"efecty"|"pagoEfectivo"|"redCompra"|"redPagos"|"alfamart"|"indomaret"|"oxxo"|"sevenEleven"|"lawson"|"miniStop"|"familyMart"|"seicomart"|"payEasy");
19574
19580
 
19575
19581
  /**
19576
19582
  * Creates a new PaymentMethod instance using the specified properties.
@@ -20843,13 +20849,13 @@ export namespace types {
20843
20849
  recurringPayment?: (boolean|null);
20844
20850
 
20845
20851
  /** PaymentCredential cardBrand */
20846
- cardBrand?: (types.SamsungWallet.PaymentCredential.CardBrand|null);
20852
+ cardBrand?: (types.CardNetwork|null);
20847
20853
 
20848
20854
  /** Last four digits of DPAN (Device Primary Account Number) */
20849
- dpanLastFourDigits?: (string|null);
20855
+ dpanLastFourDigits?: (types.ISecretString|null);
20850
20856
 
20851
20857
  /** Last four digits of card */
20852
- cardLastFourDigits?: (string|null);
20858
+ cardLastFourDigits?: (types.ISecretString|null);
20853
20859
 
20854
20860
  /** PaymentCredential tokenData */
20855
20861
  tokenData?: (types.SamsungWallet.PaymentCredential.ITokenData|null);
@@ -20871,13 +20877,13 @@ export namespace types {
20871
20877
  public recurringPayment?: (boolean|null);
20872
20878
 
20873
20879
  /** PaymentCredential cardBrand. */
20874
- public cardBrand: types.SamsungWallet.PaymentCredential.CardBrand;
20880
+ public cardBrand: types.CardNetwork;
20875
20881
 
20876
20882
  /** Last four digits of DPAN (Device Primary Account Number) */
20877
- public dpanLastFourDigits?: (string|null);
20883
+ public dpanLastFourDigits?: (types.ISecretString|null);
20878
20884
 
20879
20885
  /** Last four digits of card */
20880
- public cardLastFourDigits: string;
20886
+ public cardLastFourDigits?: (types.ISecretString|null);
20881
20887
 
20882
20888
  /** PaymentCredential tokenData. */
20883
20889
  public tokenData?: (types.SamsungWallet.PaymentCredential.ITokenData|null);
@@ -20924,16 +20930,6 @@ export namespace types {
20924
20930
 
20925
20931
  namespace PaymentCredential {
20926
20932
 
20927
- /** Card brand */
20928
- enum CardBrand {
20929
- CARD_BRAND_UNSPECIFIED = 0,
20930
- VISA = 1,
20931
- MASTERCARD = 2,
20932
- AMEX = 3,
20933
- DISCOVER = 4,
20934
- JCB = 5
20935
- }
20936
-
20937
20933
  /** Properties of a TokenData. */
20938
20934
  interface ITokenData {
20939
20935
 
@@ -20944,7 +20940,7 @@ export namespace types {
20944
20940
  version?: (string|null);
20945
20941
 
20946
20942
  /** Token data */
20947
- data?: (string|null);
20943
+ data?: (types.ISecretString|null);
20948
20944
  }
20949
20945
 
20950
20946
  /** 3DS token data */
@@ -20963,7 +20959,7 @@ export namespace types {
20963
20959
  public version: string;
20964
20960
 
20965
20961
  /** Token data */
20966
- public data: string;
20962
+ public data?: (types.ISecretString|null);
20967
20963
 
20968
20964
  /**
20969
20965
  * Creates a new TokenData instance using the specified properties.