@blockchyp/blockchyp-ts 2.30.1 → 2.30.4

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/src/models.ts CHANGED
@@ -2036,6 +2036,11 @@ export class CustomerToken {
2036
2036
  */
2037
2037
  cardHolderName?: string;
2038
2038
 
2039
+ /**
2040
+ * Whether the token was enrolled with a CVV value present.
2041
+ */
2042
+ hasCvv: boolean | null = null;
2043
+
2039
2044
  /**
2040
2045
  * Models customer records associated with a payment token.
2041
2046
  */
@@ -2058,6 +2063,7 @@ export class CustomerToken {
2058
2063
  address: string | undefined = undefined,
2059
2064
  country: string | undefined = undefined,
2060
2065
  cardHolderName: string | undefined = undefined,
2066
+ hasCvv: boolean | null = null,
2061
2067
  customers: Customer[] | null = null,
2062
2068
  ) {
2063
2069
  this.token = token;
@@ -2075,6 +2081,7 @@ export class CustomerToken {
2075
2081
  this.address = address;
2076
2082
  this.country = country;
2077
2083
  this.cardHolderName = cardHolderName;
2084
+ this.hasCvv = hasCvv;
2078
2085
  this.customers = customers;
2079
2086
  }
2080
2087
  }
@@ -2653,6 +2660,11 @@ export class AuthorizationRequest {
2653
2660
  */
2654
2661
  shipmentNumber: number | null = null;
2655
2662
 
2663
+ /**
2664
+ * An optional field that can be used to pass through data to external partners.
2665
+ */
2666
+ externalPartnerMetadata?: string;
2667
+
2656
2668
  // Constructor with default values for optional fields
2657
2669
  constructor(
2658
2670
  timeout: number | null = null,
@@ -2739,6 +2751,7 @@ export class AuthorizationRequest {
2739
2751
  orderDate: Date | undefined = undefined,
2740
2752
  shipmentCount: number | null = null,
2741
2753
  shipmentNumber: number | null = null,
2754
+ externalPartnerMetadata: string | undefined = undefined,
2742
2755
  ) {
2743
2756
  this.timeout = timeout;
2744
2757
  this.test = test;
@@ -2824,6 +2837,7 @@ export class AuthorizationRequest {
2824
2837
  this.orderDate = orderDate;
2825
2838
  this.shipmentCount = shipmentCount;
2826
2839
  this.shipmentNumber = shipmentNumber;
2840
+ this.externalPartnerMetadata = externalPartnerMetadata;
2827
2841
  }
2828
2842
  }
2829
2843
 
@@ -4591,6 +4605,11 @@ export class CaptureResponse {
4591
4605
  */
4592
4606
  customers: Customer[] | null = null;
4593
4607
 
4608
+ /**
4609
+ * Whether enhanced data was passed for the transaction.
4610
+ */
4611
+ enhancedDataPassed?: boolean;
4612
+
4594
4613
  // Constructor with default values for optional fields
4595
4614
  constructor(
4596
4615
  success: boolean | null = null,
@@ -4638,6 +4657,7 @@ export class CaptureResponse {
4638
4657
  receiptSuggestions: ReceiptSuggestions | null = null,
4639
4658
  customer: Customer | undefined = undefined,
4640
4659
  customers: Customer[] | null = null,
4660
+ enhancedDataPassed: boolean = false,
4641
4661
  ) {
4642
4662
  this.success = success;
4643
4663
  this.error = error;
@@ -4684,6 +4704,7 @@ export class CaptureResponse {
4684
4704
  this.receiptSuggestions = receiptSuggestions;
4685
4705
  this.customer = customer;
4686
4706
  this.customers = customers;
4707
+ this.enhancedDataPassed = enhancedDataPassed;
4687
4708
  }
4688
4709
  }
4689
4710
 
@@ -5557,6 +5578,11 @@ export class EnrollResponse {
5557
5578
  */
5558
5579
  bin?: string;
5559
5580
 
5581
+ /**
5582
+ * Whether the token was enrolled with a CVV value present.
5583
+ */
5584
+ hasCvv: boolean | null = null;
5585
+
5560
5586
  // Constructor with default values for optional fields
5561
5587
  constructor(
5562
5588
  success: boolean | null = null,
@@ -5600,6 +5626,7 @@ export class EnrollResponse {
5600
5626
  bankName: string | undefined = undefined,
5601
5627
  tokenHash: string | undefined = undefined,
5602
5628
  bin: string | undefined = undefined,
5629
+ hasCvv: boolean | null = null,
5603
5630
  ) {
5604
5631
  this.success = success;
5605
5632
  this.error = error;
@@ -5642,6 +5669,7 @@ export class EnrollResponse {
5642
5669
  this.bankName = bankName;
5643
5670
  this.tokenHash = tokenHash;
5644
5671
  this.bin = bin;
5672
+ this.hasCvv = hasCvv;
5645
5673
  }
5646
5674
  }
5647
5675
 
@@ -6847,6 +6875,11 @@ export class AuthorizationResponse {
6847
6875
  */
6848
6876
  cardMetadata?: CardMetadata;
6849
6877
 
6878
+ /**
6879
+ * Whether enhanced data was passed for the transaction.
6880
+ */
6881
+ enhancedDataPassed?: boolean;
6882
+
6850
6883
  // Constructor with default values for optional fields
6851
6884
  constructor(
6852
6885
  success: boolean | null = null,
@@ -6909,6 +6942,7 @@ export class AuthorizationResponse {
6909
6942
  storeAndForward: boolean | null = null,
6910
6943
  status: string | null = null,
6911
6944
  cardMetadata: CardMetadata | undefined = undefined,
6945
+ enhancedDataPassed: boolean = false,
6912
6946
  ) {
6913
6947
  this.success = success;
6914
6948
  this.error = error;
@@ -6970,6 +7004,7 @@ export class AuthorizationResponse {
6970
7004
  this.storeAndForward = storeAndForward;
6971
7005
  this.status = status;
6972
7006
  this.cardMetadata = cardMetadata;
7007
+ this.enhancedDataPassed = enhancedDataPassed;
6973
7008
  }
6974
7009
  }
6975
7010
 
@@ -9713,7 +9748,7 @@ export class BatchDetailsResponse {
9713
9748
  netDeposit: string | null = null;
9714
9749
 
9715
9750
  /**
9716
- * The daily fees for this batch
9751
+ * The daily fees for this batch.
9717
9752
  */
9718
9753
  dailyFees: string | null = null;
9719
9754
 
@@ -17758,197 +17793,140 @@ export class SubmitApplicationRequest {
17758
17793
  }
17759
17794
 
17760
17795
  /**
17761
- * Models settings related to state checks for a merchant.
17762
- */
17763
- export class StateCheckSettings {
17764
-
17765
- /**
17766
- * If state checks are enabled for the merchant.
17767
- */
17768
- enabled: boolean | null = null;
17769
-
17770
- /**
17771
- * The list of states that are exempt from surcharges.
17772
- */
17773
- surchargeExemptStates: string[] | null = null;
17774
-
17775
- // Constructor with default values for optional fields
17776
- constructor(
17777
- enabled: boolean | null = null,
17778
- surchargeExemptStates: string[] | null = null,
17779
- ) {
17780
- this.enabled = enabled;
17781
- this.surchargeExemptStates = surchargeExemptStates;
17782
- }
17783
- }
17784
-
17785
- /**
17786
- * Models merchant settings and configuration.
17787
- */
17788
- export class PricingMerchantSettings {
17789
-
17790
- /**
17791
- * The merchant account identifier.
17796
+ * Models a surcharge review request.
17792
17797
  */
17793
- account: string | null = null;
17798
+ export class SurchargeReviewRequest {
17794
17799
 
17795
17800
  /**
17796
- * The gateway identifier.
17797
- */
17798
- gateway: string | null = null;
17799
-
17800
- /**
17801
- * Whether surcharging is enabled for the merchant.
17802
- */
17803
- surchargingEnabled: boolean | null = null;
17804
-
17805
- /**
17806
- * The custom surcharge percentage, if applicable.
17807
- */
17808
- customSurchargePercent?: number;
17809
-
17810
- /**
17811
- * If reduced rate pricing is enabled.
17801
+ * The request timeout in seconds.
17812
17802
  */
17813
- reducedRate?: boolean;
17803
+ timeout: number | null = null;
17814
17804
 
17815
17805
  /**
17816
- * If inverse pricing is enabled.
17806
+ * Whether or not to route transaction to the test gateway.
17817
17807
  */
17818
- inversePricingEnabled?: boolean;
17808
+ test: boolean | null = null;
17819
17809
 
17820
17810
  /**
17821
- * The credit discount rate, if applicable.
17811
+ * The card number for the pricing request.
17822
17812
  */
17823
- creditDiscountRate?: number;
17813
+ cardNumber?: string;
17824
17814
 
17825
17815
  /**
17826
- * The acquiring solution identifier.
17816
+ * The payment token.
17827
17817
  */
17828
- acquiringSolution: string | null = null;
17818
+ token?: string;
17829
17819
 
17830
17820
  /**
17831
- * Whether the merchant accepts debit cards.
17821
+ * The transaction amount.
17832
17822
  */
17833
- acceptDebit?: boolean;
17823
+ amount?: string;
17834
17824
 
17835
17825
  /**
17836
- * State check settings for the merchant.
17826
+ * The surcharge rate.
17837
17827
  */
17838
- stateCheckSettings?: StateCheckSettings;
17839
-
17840
- // Constructor with default values for optional fields
17841
- constructor(
17842
- account: string | null = null,
17843
- gateway: string | null = null,
17844
- surchargingEnabled: boolean | null = null,
17845
- customSurchargePercent: number = 0,
17846
- reducedRate: boolean = false,
17847
- inversePricingEnabled: boolean = false,
17848
- creditDiscountRate: number = 0,
17849
- acquiringSolution: string | null = null,
17850
- acceptDebit: boolean = false,
17851
- stateCheckSettings: StateCheckSettings | undefined = undefined,
17852
- ) {
17853
- this.account = account;
17854
- this.gateway = gateway;
17855
- this.surchargingEnabled = surchargingEnabled;
17856
- this.customSurchargePercent = customSurchargePercent;
17857
- this.reducedRate = reducedRate;
17858
- this.inversePricingEnabled = inversePricingEnabled;
17859
- this.creditDiscountRate = creditDiscountRate;
17860
- this.acquiringSolution = acquiringSolution;
17861
- this.acceptDebit = acceptDebit;
17862
- this.stateCheckSettings = stateCheckSettings;
17863
- }
17864
- }
17828
+ surchargeRate?: string;
17865
17829
 
17866
17830
  /**
17867
- * Models the attributes for a pricing request.
17831
+ * The debit transaction fee.
17868
17832
  */
17869
- export class PricingRequestAttributes {
17833
+ debitTransFee?: string;
17870
17834
 
17871
17835
  /**
17872
- * The card number for the pricing request.
17836
+ * The debit discount rate.
17873
17837
  */
17874
- cardNumber?: string;
17838
+ debitDiscountRate?: string;
17875
17839
 
17876
17840
  /**
17877
- * The payment token.
17841
+ * The surcharge policy.
17878
17842
  */
17879
- token: string | null = null;
17843
+ surchargePolicy: string | null = null;
17880
17844
 
17881
17845
  /**
17882
- * The merchant identifier.
17846
+ * The list of excluded merchant states.
17883
17847
  */
17884
- merchantIdentifier?: string;
17848
+ excludedMerchantStates: string[] | null = null;
17885
17849
 
17886
17850
  /**
17887
- * The transaction amount.
17851
+ * The zip code.
17888
17852
  */
17889
- amount: number | null = null;
17853
+ zip: string | null = null;
17890
17854
 
17891
17855
  /**
17892
- * The country code.
17856
+ * The state or province.
17893
17857
  */
17894
- country?: string;
17858
+ state: string | null = null;
17895
17859
 
17896
17860
  /**
17897
- * The postal code.
17861
+ * If foreign cards are exempt.
17898
17862
  */
17899
- postalCode?: string;
17863
+ exemptForeignCards: boolean | null = null;
17900
17864
 
17901
17865
  /**
17902
- * The state or province.
17866
+ * The surcharging mode.
17903
17867
  */
17904
- state?: string;
17868
+ surchargingMode: string | null = null;
17905
17869
 
17906
17870
  /**
17907
- * Merchant settings for the pricing request.
17871
+ * The pricing plan.
17908
17872
  */
17909
- merchantSettings?: PricingMerchantSettings;
17873
+ pricingPlan: string | null = null;
17910
17874
 
17911
17875
  // Constructor with default values for optional fields
17912
17876
  constructor(
17877
+ timeout: number | null = null,
17878
+ test: boolean | null = null,
17913
17879
  cardNumber: string | undefined = undefined,
17914
- token: string | null = null,
17915
- merchantIdentifier: string | undefined = undefined,
17916
- amount: number | null = null,
17917
- country: string | undefined = undefined,
17918
- postalCode: string | undefined = undefined,
17919
- state: string | undefined = undefined,
17920
- merchantSettings: PricingMerchantSettings | undefined = undefined,
17880
+ token: string | undefined = undefined,
17881
+ amount: string | undefined = undefined,
17882
+ surchargeRate: string | undefined = undefined,
17883
+ debitTransFee: string | undefined = undefined,
17884
+ debitDiscountRate: string | undefined = undefined,
17885
+ surchargePolicy: string | null = null,
17886
+ excludedMerchantStates: string[] | null = null,
17887
+ zip: string | null = null,
17888
+ state: string | null = null,
17889
+ exemptForeignCards: boolean | null = null,
17890
+ surchargingMode: string | null = null,
17891
+ pricingPlan: string | null = null,
17921
17892
  ) {
17893
+ this.timeout = timeout;
17894
+ this.test = test;
17922
17895
  this.cardNumber = cardNumber;
17923
17896
  this.token = token;
17924
- this.merchantIdentifier = merchantIdentifier;
17925
17897
  this.amount = amount;
17926
- this.country = country;
17927
- this.postalCode = postalCode;
17898
+ this.surchargeRate = surchargeRate;
17899
+ this.debitTransFee = debitTransFee;
17900
+ this.debitDiscountRate = debitDiscountRate;
17901
+ this.surchargePolicy = surchargePolicy;
17902
+ this.excludedMerchantStates = excludedMerchantStates;
17903
+ this.zip = zip;
17928
17904
  this.state = state;
17929
- this.merchantSettings = merchantSettings;
17905
+ this.exemptForeignCards = exemptForeignCards;
17906
+ this.surchargingMode = surchargingMode;
17907
+ this.pricingPlan = pricingPlan;
17930
17908
  }
17931
17909
  }
17932
17910
 
17933
17911
  /**
17934
- * Models the data wrapper for a pricing request.
17912
+ * Models the data included in a surcharge review response.
17935
17913
  */
17936
- export class PricingRequestData {
17914
+ export class SurchargeReviewResponseData {
17937
17915
 
17938
17916
  /**
17939
- * The type of the request.
17917
+ * The type of the response.
17940
17918
  */
17941
17919
  type: string | null = null;
17942
17920
 
17943
17921
  /**
17944
- * The pricing request attributes.
17922
+ * The attributes of the response.
17945
17923
  */
17946
- attributes: PricingRequestAttributes | null = null;
17924
+ attributes: SurchargeAttributeResponseData | null = null;
17947
17925
 
17948
17926
  // Constructor with default values for optional fields
17949
17927
  constructor(
17950
17928
  type: string | null = null,
17951
- attributes: PricingRequestAttributes | null = null,
17929
+ attributes: SurchargeAttributeResponseData | null = null,
17952
17930
  ) {
17953
17931
  this.type = type;
17954
17932
  this.attributes = attributes;
@@ -17956,51 +17934,34 @@ export class PricingRequestData {
17956
17934
  }
17957
17935
 
17958
17936
  /**
17959
- * Models a pricing request.
17937
+ * Models the surcharge attributes included in a surcharge review response.
17960
17938
  */
17961
- export class PricingRequest {
17939
+ export class SurchargeAttributeResponseData {
17962
17940
 
17963
17941
  /**
17964
- * The request timeout in seconds.
17942
+ * The total amount including surcharge.
17965
17943
  */
17966
- timeout: number | null = null;
17944
+ totalWithSurchargeAmount: string | null = null;
17967
17945
 
17968
17946
  /**
17969
- * Whether or not to route transaction to the test gateway.
17947
+ * If the surcharge review was successful.
17970
17948
  */
17971
- test: boolean | null = null;
17972
-
17973
- /**
17974
- * The pricing request data.
17975
- */
17976
- data: PricingRequestData | null = null;
17977
-
17978
- // Constructor with default values for optional fields
17979
- constructor(
17980
- timeout: number | null = null,
17981
- test: boolean | null = null,
17982
- data: PricingRequestData | null = null,
17983
- ) {
17984
- this.timeout = timeout;
17985
- this.test = test;
17986
- this.data = data;
17987
- }
17988
- }
17949
+ success: boolean | null = null;
17989
17950
 
17990
17951
  /**
17991
- * Models pricing response data for new handler for pricing api responses.
17952
+ * The type of the response.
17992
17953
  */
17993
- export class PricingResponseAttributes {
17954
+ type: string | null = null;
17994
17955
 
17995
17956
  /**
17996
17957
  * The surcharge percentage.
17997
17958
  */
17998
- surchargePercent: number | null = null;
17959
+ surchargePercent: string | null = null;
17999
17960
 
18000
17961
  /**
18001
17962
  * The surcharge amount.
18002
17963
  */
18003
- surchargeAmount: number | null = null;
17964
+ surchargeAmount: string | null = null;
18004
17965
 
18005
17966
  /**
18006
17967
  * If the transaction is exempt from surcharges.
@@ -18030,7 +17991,27 @@ export class PricingResponseAttributes {
18030
17991
  /**
18031
17992
  * The commercial card indicator.
18032
17993
  */
18033
- commercialIndicator: string | null = null;
17994
+ commercialIndicator?: string;
17995
+
17996
+ /**
17997
+ * If the card is commercial.
17998
+ */
17999
+ isCommercial: boolean | null = null;
18000
+
18001
+ /**
18002
+ * If the card is Durbin-regulated (US debit).
18003
+ */
18004
+ isRegulated: boolean | null = null;
18005
+
18006
+ /**
18007
+ * The reason for the exemption.
18008
+ */
18009
+ exemptionReason?: string;
18010
+
18011
+ /**
18012
+ * The debit fee amount.
18013
+ */
18014
+ debitFeeAmount?: string;
18034
18015
 
18035
18016
  /**
18036
18017
  * The disclosure statement.
@@ -18040,33 +18021,68 @@ export class PricingResponseAttributes {
18040
18021
  /**
18041
18022
  * The debit card category.
18042
18023
  */
18043
- debitCategory: string | null = null;
18024
+ debitCategory?: string;
18044
18025
 
18045
18026
  /**
18046
18027
  * The country where the card was issued.
18047
18028
  */
18048
- countryIssued: string | null = null;
18029
+ countryCode: string | null = null;
18030
+
18031
+ /**
18032
+ * Only included if state was sent in request OR derived from ZIP code.
18033
+ */
18034
+ state?: string;
18049
18035
 
18050
18036
  /**
18051
18037
  * The unique identifier for the pricing response.
18052
18038
  */
18053
18039
  uuid: string | null = null;
18054
18040
 
18041
+ /**
18042
+ * The expiration date of the card.
18043
+ */
18044
+ expirationDate?: string;
18045
+
18046
+ /**
18047
+ * When surcharging is enabled AND state is 'CO' (Colorado-specific statutory
18048
+ * language).
18049
+ */
18050
+ disclosureAdditional?: string;
18051
+
18052
+ /**
18053
+ * The cardholder information.
18054
+ */
18055
+ cardholderInfo?: string;
18056
+
18055
18057
  // Constructor with default values for optional fields
18056
18058
  constructor(
18057
- surchargePercent: number | null = null,
18058
- surchargeAmount: number | null = null,
18059
+ totalWithSurchargeAmount: string | null = null,
18060
+ success: boolean | null = null,
18061
+ type: string | null = null,
18062
+ surchargePercent: string | null = null,
18063
+ surchargeAmount: string | null = null,
18059
18064
  surchargeExempt: boolean | null = null,
18060
18065
  cardType: string | null = null,
18061
18066
  cardToken: string | undefined = undefined,
18062
18067
  brand: string | null = null,
18063
18068
  bin: string | null = null,
18064
- commercialIndicator: string | null = null,
18069
+ commercialIndicator: string | undefined = undefined,
18070
+ isCommercial: boolean | null = null,
18071
+ isRegulated: boolean | null = null,
18072
+ exemptionReason: string | undefined = undefined,
18073
+ debitFeeAmount: string | undefined = undefined,
18065
18074
  disclosure: string | undefined = undefined,
18066
- debitCategory: string | null = null,
18067
- countryIssued: string | null = null,
18075
+ debitCategory: string | undefined = undefined,
18076
+ countryCode: string | null = null,
18077
+ state: string | undefined = undefined,
18068
18078
  uuid: string | null = null,
18079
+ expirationDate: string | undefined = undefined,
18080
+ disclosureAdditional: string | undefined = undefined,
18081
+ cardholderInfo: string | undefined = undefined,
18069
18082
  ) {
18083
+ this.totalWithSurchargeAmount = totalWithSurchargeAmount;
18084
+ this.success = success;
18085
+ this.type = type;
18070
18086
  this.surchargePercent = surchargePercent;
18071
18087
  this.surchargeAmount = surchargeAmount;
18072
18088
  this.surchargeExempt = surchargeExempt;
@@ -18075,74 +18091,96 @@ export class PricingResponseAttributes {
18075
18091
  this.brand = brand;
18076
18092
  this.bin = bin;
18077
18093
  this.commercialIndicator = commercialIndicator;
18094
+ this.isCommercial = isCommercial;
18095
+ this.isRegulated = isRegulated;
18096
+ this.exemptionReason = exemptionReason;
18097
+ this.debitFeeAmount = debitFeeAmount;
18078
18098
  this.disclosure = disclosure;
18079
18099
  this.debitCategory = debitCategory;
18080
- this.countryIssued = countryIssued;
18100
+ this.countryCode = countryCode;
18101
+ this.state = state;
18081
18102
  this.uuid = uuid;
18103
+ this.expirationDate = expirationDate;
18104
+ this.disclosureAdditional = disclosureAdditional;
18105
+ this.cardholderInfo = cardholderInfo;
18082
18106
  }
18083
18107
  }
18084
18108
 
18085
18109
  /**
18086
- * Models the data wrapper for a pricing response.
18110
+ * Models a surcharge review response.
18087
18111
  */
18088
- export class PricingResponseData {
18112
+ export class SurchargeReviewResponse {
18089
18113
 
18090
18114
  /**
18091
- * The type of the response.
18115
+ * Whether or not the request succeeded.
18092
18116
  */
18093
- type: string | null = null;
18117
+ success: boolean | null = null;
18118
+
18119
+ /**
18120
+ * The error, if an error occurred.
18121
+ */
18122
+ error: string | null = null;
18123
+
18124
+ /**
18125
+ * A narrative description of the transaction result.
18126
+ */
18127
+ responseDescription: string | null = null;
18094
18128
 
18095
18129
  /**
18096
- * The pricing response attributes.
18130
+ * The data included in the surcharge review response.
18097
18131
  */
18098
- attributes: PricingResponseAttributes | null = null;
18132
+ data: SurchargeReviewResponseData | null = null;
18099
18133
 
18100
18134
  // Constructor with default values for optional fields
18101
18135
  constructor(
18102
- type: string | null = null,
18103
- attributes: PricingResponseAttributes | null = null,
18136
+ success: boolean | null = null,
18137
+ error: string | null = null,
18138
+ responseDescription: string | null = null,
18139
+ data: SurchargeReviewResponseData | null = null,
18104
18140
  ) {
18105
- this.type = type;
18106
- this.attributes = attributes;
18141
+ this.success = success;
18142
+ this.error = error;
18143
+ this.responseDescription = responseDescription;
18144
+ this.data = data;
18107
18145
  }
18108
18146
  }
18109
18147
 
18110
18148
  /**
18111
- * Models an error response.
18149
+ * Models a request for short-lived API credentials.
18112
18150
  */
18113
- export class ErrorType {
18151
+ export class TransientKeyRequest {
18114
18152
 
18115
18153
  /**
18116
- * The HTTP status code.
18154
+ * The request timeout in seconds.
18117
18155
  */
18118
- status: number | null = null;
18156
+ timeout: number | null = null;
18119
18157
 
18120
18158
  /**
18121
- * The error title.
18159
+ * Whether or not to route transaction to the test gateway.
18122
18160
  */
18123
- title: string | null = null;
18161
+ test: boolean | null = null;
18124
18162
 
18125
18163
  /**
18126
- * The detailed error message.
18164
+ * Restricts the returned credentials to a single API call when true.
18127
18165
  */
18128
- detail: string | null = null;
18166
+ oneTime?: boolean;
18129
18167
 
18130
18168
  // Constructor with default values for optional fields
18131
18169
  constructor(
18132
- status: number | null = null,
18133
- title: string | null = null,
18134
- detail: string | null = null,
18170
+ timeout: number | null = null,
18171
+ test: boolean | null = null,
18172
+ oneTime: boolean = false,
18135
18173
  ) {
18136
- this.status = status;
18137
- this.title = title;
18138
- this.detail = detail;
18174
+ this.timeout = timeout;
18175
+ this.test = test;
18176
+ this.oneTime = oneTime;
18139
18177
  }
18140
18178
  }
18141
18179
 
18142
18180
  /**
18143
- * Models a pricing response.
18181
+ * Models a response containing short-lived API credentials.
18144
18182
  */
18145
- export class PricingResponse {
18183
+ export class TransientKeyResponse {
18146
18184
 
18147
18185
  /**
18148
18186
  * Whether or not the request succeeded.
@@ -18160,21 +18198,35 @@ export class PricingResponse {
18160
18198
  responseDescription: string | null = null;
18161
18199
 
18162
18200
  /**
18163
- * The pricing response data.
18201
+ * The transient API key.
18202
+ */
18203
+ apiKey: string | null = null;
18204
+
18205
+ /**
18206
+ * The transient bearer token.
18164
18207
  */
18165
- data: PricingResponseData | null = null;
18208
+ bearerToken: string | null = null;
18209
+
18210
+ /**
18211
+ * The transient signing key.
18212
+ */
18213
+ signingKey: string | null = null;
18166
18214
 
18167
18215
  // Constructor with default values for optional fields
18168
18216
  constructor(
18169
18217
  success: boolean | null = null,
18170
18218
  error: string | null = null,
18171
18219
  responseDescription: string | null = null,
18172
- data: PricingResponseData | null = null,
18220
+ apiKey: string | null = null,
18221
+ bearerToken: string | null = null,
18222
+ signingKey: string | null = null,
18173
18223
  ) {
18174
18224
  this.success = success;
18175
18225
  this.error = error;
18176
18226
  this.responseDescription = responseDescription;
18177
- this.data = data;
18227
+ this.apiKey = apiKey;
18228
+ this.bearerToken = bearerToken;
18229
+ this.signingKey = signingKey;
18178
18230
  }
18179
18231
  }
18180
18232